AWS Certified SysOps Administrator – Associate (legacy) — Question 653
A company developed and now runs a memory-intensive application on multiple Amazon EC2 Linux instances. The memory utilization metrics of the EC2 Linux instances must be monitored.
Which combination of actions must be taken to accomplish this? (Choose two.)
Answer options
- A. Enable detailed monitoring on the instance within Amazon CloudWatch.
- B. Implement an AWS Lambda function to track memory metrics.
- C. Install Amazon CloudWatch agent to track memory metrics.
- D. Publish the memory metrics to Amazon CloudWatch Events.
- E. Publish the memory metrics using Amazon CloudWatch Logs.
Correct answer: A, C
Explanation
Standard Amazon EC2 metrics in CloudWatch do not include OS-level memory utilization, requiring the installation of the Amazon CloudWatch agent on the Linux instances to collect these custom metrics. Enabling detailed monitoring on the EC2 instances allows for higher frequency data collection at 1-minute intervals, which is essential for tracking memory-intensive applications. Other options like AWS Lambda or CloudWatch Events do not natively collect OS-level memory metrics from EC2 instances.