Operating, Monitoring, and Securing ML and AI Solutions
An inference application on Amazon EC2 becomes unresponsive while CPU utilization remains low. Only default EC2 metrics are collected, and engineers suspect exhausted operating-system memory; what should they do to test this hypothesis?
Show the answer
Correct answerB. Install and configure the CloudWatch agent to publish memory utilization.
AWhy not this: Detailed monitoring increases metric frequency but does not add guest operating-system memory metrics.
BWhy this is right: The agent can collect guest memory utilization and publish it to CloudWatch.
CWhy not this: CPU utilization does not contain enough information to calculate memory utilization.
DWhy not this: CloudTrail records API activity, not operating-system memory consumption.
The CloudWatch agent can collect operating-system memory metrics that default EC2 monitoring does not provide. EC2 detailed monitoring increases the frequency of supported EC2 metrics; it does not add guest memory utilization.