Incident and Event Response

An Amazon EC2 application becomes unresponsive while its default CloudWatch CPU metrics remain normal. An engineer suspects exhausted operating system memory; what should the engineer configure to collect the missing measurements?

Show the answer

Correct answerD. Configure the CloudWatch agent to publish memory metrics.

AWhy not this: CloudTrail records AWS API activity, not operating system memory utilization.

BWhy not this: Detailed monitoring increases metric frequency but does not collect guest operating system memory usage.

CWhy not this: X-Ray sampling controls trace collection, not host memory measurements.

DWhy this is right: The CloudWatch agent can collect memory utilization and publish it as a CloudWatch metric.

The CloudWatch agent collects operating system measurements such as memory utilization from EC2 instances. EC2 detailed monitoring increases the frequency of supported EC2 metrics but does not add guest operating system memory metrics.