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

  • AEnable Detailed Monitoring (1-minute intervals) on the EC2 instance in the console
  • BInstall the Unified CloudWatch Agent on the EC2 instance with CloudWatchAgentServerPolicyCorrect answer
  • CEnable VPC Flow Logs on the subnet and send packet headers to S3
  • DEnable AWS CloudTrail Data Events on the EBS volume's KMS Customer Managed Key

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.

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.