Courseiva

SOA-C02 Monitoring, Logging, and Remediation Practice Question

A company uses Amazon CloudWatch to monitor its Amazon EC2 instances. The SysOps administrator wants to receive an email notification when any EC2 instance's CPUUtilization metric exceeds 90% for 5 consecutive minutes. Which combination of services should be used to meet this requirement with the least operational overhead?

⚠ Common exam trap

The trap here is that candidates may overcomplicate the solution by introducing Lambda, SQS, or SES, when a native CloudWatch alarm with SNS is the simplest and most operationally efficient approach for metric-based threshold notifications.

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 metric alarm that sends a notification to an Amazon SNS topic subscribed with email endpoints

It directly uses a CloudWatch metric alarm configured to trigger when CPUUtilization exceeds 90% for 5 consecutive minutes, which then publishes to an Amazon SNS topic with email endpoints. This combination requires no custom code, no Lambda functions, and no additional services, minimizing operational overhead while meeting the requirement precisely.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Create a CloudWatch Logs metric filter and a Lambda function that sends email via SES

    Why it's wrong here

    CPUUtilization is published as a numerical metric by the EC2 instance, not as a log event, so a CloudWatch Logs metric filter cannot parse it from actual log data. Even if you attempted to bridge the gap by having an agent send logs, you would still need a metric filter and an alarm on the resulting custom metric to trigger the Lambda, making the SES/Lambda pipeline redundant and more costly. The native alarm-to-SNS path eliminates Lambda cold starts, IAM permission complexity, and SES email configuration overhead.

  • ✓

    Create a CloudWatch metric alarm that sends a notification to an Amazon SNS topic subscribed with email endpoints

    Why this is correct

    A CloudWatch metric alarm continuously evaluates the CPUUtilization metric against a defined threshold, such as 80% for five consecutive evaluation periods. When the alarm enters the ALARM state, it automatically publishes a message to an Amazon SNS topic, and that topic's email-subscribed endpoints receive a notification without any additional infrastructure. This is the standard, fully managed pattern for EC2 metric alerting; SNS handles message delivery, retries, and fan-out to multiple endpoints (email, SMS, etc.) with no servers to manage.

  • ✗

    Create a CloudWatch Events rule that matches EC2 instance state changes and sends to SQS with a Lambda consumer

    Why it's wrong here

    CloudWatch Events—now offered through Amazon EventBridge—reacts to event patterns such as EC2 instance state-change notifications (e.g., 'running' or 'stopped'), not to metric thresholds or CPU utilization levels. A rule matching instance state changes would never fire for a CPU spike, so the SQS queue would receive no messages and the Lambda consumer would never trigger an email. This approach also introduces unnecessary asynchronous components that require separate configuration for queue polling, dead-letter queues, and Lambda permissions, adding latency and operational complexity.

  • ✗

    Configure a CloudWatch dashboard that displays CPU utilization and share it with the team

    Why it's wrong here

    A CloudWatch dashboard provides a real-time graphical view of CPUUtilization and can be shared via a console link, but it only displays data when someone actively opens it. It does not evaluate thresholds, generate alerts, or initiate any delivery mechanism such as email or SMS. Relying on a dashboard means a human must continuously watch the screen to notice a spike, which is not automated and directly fails the requirement for proactive notification when CPU utilization exceeds a threshold.

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.