SOA-C02 Monitoring, Logging, and Remediation Practice Question
A SysOps administrator needs to monitor the CPU utilization of an Amazon EC2 instance and receive an alert if it exceeds 80% for 10 consecutive minutes. The instance is in a VPC with no Internet access. What is the MOST efficient way to meet these requirements?
⚠ Common exam trap
Watch out — candidates often assume they need detailed monitoring or the CloudWatch agent to meet a specific time window, but the default 5-minute period with multiple evaluation periods can achieve the same result more efficiently and at lower cost.
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 alarm on the CPUUtilization metric with a period of 5 minutes and an evaluation period of 2.
A CloudWatch alarm with a period of 5 minutes and an evaluation period of 2 means the alarm evaluates two consecutive 5-minute data points, totaling 10 minutes. Since the EC2 instance is in a VPC with no Internet access, CloudWatch metrics are still reported via the CloudWatch service endpoint within the VPC (or via VPC endpoints), so no additional agent or script is needed. This is the most efficient approach as it uses native CloudWatch functionality without requiring any custom scripts or additional software.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use AWS Systems Manager to run a script on the instance that checks CPU and sends an SNS notification.
Why it's wrong here
Using Systems Manager to run a script requires the instance to have outbound internet access or a VPC endpoint for Systems Manager, which is absent in this isolated VPC, so the script cannot call the SNS API. This approach is tempting because Systems Manager is commonly used for automated remediation and script execution on EC2 instances, and would be correct if the VPC had a Systems Manager VPC endpoint configured.
- ✓
Create a CloudWatch alarm on the CPUUtilization metric with a period of 5 minutes and an evaluation period of 2.
Why this is correct
This is the correct approach because EC2 instances automatically emit CPUUtilization metrics every 5 minutes under basic monitoring, so a CloudWatch alarm with a period of 5 minutes will have the data it needs without any extra configuration. An evaluation period of 2 means the alarm only enters ALARM state after two consecutive data points breach the threshold, which reduces false positives from transient spikes. This is the simplest, most cost-effective way to monitor CPU utilization on an EC2 instance.
- ✗
Enable detailed monitoring on the EC2 instance and create a CloudWatch alarm on the CPUUtilization metric.
Why it's wrong here
Enabling detailed monitoring is unnecessary here because it pushes metrics at 1-minute intervals, but the alarm in question uses a 5-minute period, which aligns perfectly with basic monitoring's default 5-minute data points. While detailed monitoring would still work, it incurs additional charges and provides no benefit for a 5-minute evaluation window. Therefore, this option is technically functional but wasteful, making it incorrect when a basic-monitoring alarm fully satisfies the requirement at lower cost.
- ✗
Install the CloudWatch agent on the EC2 instance to collect CPU metrics and create a CloudWatch alarm.
Why it's wrong here
The CloudWatch agent collects OS-level metrics such as memory usage, disk space, and custom application metrics; it is not required for CPU utilization, which is already reported by the EC2 hypervisor to CloudWatch automatically as the CPUUtilization metric. Installing the agent adds operational overhead—installing, configuring, and managing a new component—and is unnecessary for this basic monitoring task. This option is wrong because it misconceives the need for an agent when the native metric is already available.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SOA-C02 question from scratch — 1,169 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.