Courseiva

SOA-C02 Monitoring, Logging, and Remediation Practice Question

A company uses AWS CloudTrail to record all API activity. The SysOps administrator needs to be alerted in real time when an IAM user creates a new access key. Which combination of AWS services should be used to create this alert?

⚠ Common exam trap

Many candidates assume CloudWatch Logs is required for any CloudTrail-based alerting, but EventBridge provides a simpler, lower-latency, and more direct integration for real-time API event monitoring.

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

✓

CloudTrail + Amazon EventBridge + Amazon SNS

Amazon EventBridge can directly consume CloudTrail events in real time and trigger an SNS notification when an IAM user creates a new access key. EventBridge provides a serverless event bus that matches specific API calls (e.g., CreateAccessKey) using event patterns, enabling immediate alerting without additional polling or log processing.

Answer analysis

Option-by-option breakdown

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

  • ✗

    CloudTrail + Amazon S3 + Amazon SNS

    Why it's wrong here

    While you can configure CloudTrail to deliver logs to S3 and then use S3 event notifications to trigger SNS, this is an indirect, batch-oriented mechanism. S3 event notifications are typically delivered within seconds, but they rely on object writes, and you must separately set up the event notification on the bucket. This approach introduces extra components, potential permissions, and doesn't natively filter on API action types, making it less precise and more latent than a native event-driven service like EventBridge.

  • ✗

    CloudTrail + Amazon CloudWatch Logs + Amazon SNS

    Why it's wrong here

    You can send CloudTrail logs to CloudWatch Logs and create a metric filter to count specific events, then set an alarm on that metric to trigger SNS. This works but requires more steps than using EventBridge.

  • ✗

    CloudTrail + AWS Config + Amazon SNS

    Why it's wrong here

    AWS Config records configuration changes of resources, not every API call. It evaluates resources against desired policies and can trigger SNS when a resource becomes non-compliant, but it does not capture the full CloudTrail API activity stream. Thus, it cannot alert on specific API actions in real time; its scope is config drift, not audit trail events. You would need to set up Config rules and rely on its evaluation cycle, which is fundamentally different from direct event-driven processing of CloudTrail.

  • ✓

    CloudTrail + Amazon EventBridge + Amazon SNS

    Why this is correct

    CloudTrail continuously delivers management events to EventBridge (formerly CloudWatch Events) as the default event bus. You can create an EventBridge rule with an event pattern that matches a specific API call, such as s3.amazonaws.com: DeleteBucket or an IAM action, and set an SNS topic as the target for immediate notification. This is the most direct, low-latency, and fully managed approach; no extra storage or external monitoring is needed. Because EventBridge natively ingests CloudTrail events, you get built-in filtering and fan-out, which is ideal for real-time alerting.

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,169 original SOA-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 SOA-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 SOA-C02 exam.