Courseiva

SCS-C02 Security Logging and Monitoring Practice Question

A company uses AWS CloudTrail and wants to ensure that any modification to the trail itself is detected immediately. What should be done?

⚠ Common exam trap

Candidates often confuse monitoring the trail's log files (S3 events) with monitoring the trail's configuration (CloudTrail API calls), leading them to choose Option D instead of the correct CloudWatch Events approach.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Create a CloudWatch Events rule that matches the StopLogging or UpdateTrail API calls and sends an alert

CloudWatch Events (now part of Amazon EventBridge) can be configured with a rule that matches specific API calls like StopLogging or UpdateTrail via CloudTrail. When such an API call is made, the rule triggers an action such as sending an SNS notification or invoking a Lambda function, enabling immediate detection of trail modifications. This approach directly monitors the control plane operations that alter the trail's configuration.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Configure Amazon GuardDuty to monitor for trail modifications

    Why it's wrong here

    Amazon GuardDuty consumes CloudTrail management and S3 data events to detect threats like credential exfiltration or malicious API activity, but it does not inspect or alert on the configuration state of the CloudTrail service itself. An attacker who disables a trail via StopLogging would not generate a GuardDuty finding, because GuardDuty treats CloudTrail's own control-plane calls as data rather than as a signal to act on. Consequently, this approach leaves the trail modification unnoticed.

  • ✗

    Enable CloudTrail Insights to detect unusual activity

    Why it's wrong here

    CloudTrail Insights uses machine learning to detect anomalous write API activity by establishing baseline patterns of your account's normal behavior, not to react to administrative configuration changes. A single StopLogging or UpdateTrail call is an expected, low-volume management event that would not be flagged as an anomaly, and Insights must be enabled on the trail itself, so if the trail is stopped, insight monitoring also stops. Thus, it fails to provide the immediate, deterministic alert required for trail integrity.

  • ✓

    Create a CloudWatch Events rule that matches the StopLogging or UpdateTrail API calls and sends an alert

    Why this is correct

    The correct solution is a CloudWatch Events rule (now Amazon EventBridge) that matches the management events CloudTrail emits for the StopLogging, UpdateTrail, or DeleteTrail API calls, using an event pattern with source 'aws.cloudtrail' and eventName in the list. When such a call occurs, the rule triggers an SNS topic or Lambda function to notify security teams in near real-time. This works because CloudTrail delivers every management event to CloudWatch Events as a default integration, including the very call that disables logging.

  • ✗

    Enable S3 event notifications on the trail's S3 bucket

    Why it's wrong here

    S3 event notifications on the trail's bucket are configured for s3:ObjectCreated and similar object-level events, so they only fire when new log files are delivered, not when a trail's configuration is altered. If an attacker calls StopLogging or UpdateTrail, no new object lands in the bucket, so no notification is sent; moreover, such calls are control-plane operations outside S3's data path. This approach also generates substantial noise from normal log delivery and can be bypassed simply by redirecting the trail to another bucket.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

One of 1,205 original SCS-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SCS-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SCS-C02 exam.