AWS SysOps Admin SOA-C02 · Monitoring, Logging, and Remediation · easy
A SysOps administrator needs to create an Amazon CloudWatch alarm that triggers whenever an Amazon EC2 Linux instance's available RAM drops below 15% (mem_used_percent > 85%) or its root / filesystem exceeds 90% disk utilization (disk_used_percent > 90%). However, neither metric appears in the default AWS/EC2 CloudWatch namespace. Why are these metrics missing, and how should the administrator collect them?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. Install the Unified CloudWatch Agent on the EC2 instance with CloudWatchAgentServerPolicy
By default, Amazon EC2 sends only hypervisor-level metrics (CPUUtilization, NetworkIn/Out, DiskReadBytes for instance store, and StatusCheckFailed) to the AWS/EC2 namespace. Operating-system-level metrics such as memory utilization (mem_used_percent) and filesystem disk space (disk_used_percent) require installing and configuring the Unified CloudWatch Agent on the EC2 instance (with an IAM role granting CloudWatchAgentServerPolicy), which publishes them as custom metrics under the CWAgent namespace.
Why the other options are wrong
- A. Enable Detailed Monitoring (1-minute intervals) on the EC2 instance in the console — Detailed Monitoring increases hypervisor metric frequency from 5 minutes to 1 minute, but still does not collect OS-level RAM or filesystem space.
- C. Enable VPC Flow Logs on the subnet and send packet headers to S3 — VPC Flow Logs capture IP network traffic metadata, not guest OS memory or disk usage.
- D. Enable AWS CloudTrail Data Events on the EBS volume's KMS Customer Managed Key — CloudTrail logs AWS API calls, not guest operating system RAM or disk utilization.
More Monitoring, Logging, and Remediation questions
- A financial services auditor requires proof that AWS CloudTrail log files delivered to a central Amazon S3 audit…
- An application cluster frequently experiences brief, harmless 2-minute CPU spikes during scheduled cache warming…
- A legacy application running on EC2 streams plain-text application logs to a CloudWatch Logs log group…
- An Amazon EC2 instance fails its System Status Check (StatusCheckFailed_System = 1) while its Instance Status Check…
- A security auditor suspects that an attacker who briefly compromised an IAM role may have modified or deleted a single…
All Monitoring, Logging, and Remediation questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.