AWS Certified SysOps Administrator – Associate (legacy) — Question 11
An organization has developed a new memory-intensive application that is deployed to a large Amazon EC2 Linux fleet. There is concern about potential memory exhaustion, so the Development team wants to monitor memory usage by using Amazon CloudWatch.
What is the MOST efficient way to accomplish this goal?
Answer options
- A. Deploy the solution to memory-optimized EC2 instances, and use the CloudWatch MemoryUtilization metric
- B. Enable the Memory Monitoring option by using AWS Config
- C. Install the AWS Systems Manager agent on the applicable EC2 instances to monitor memory
- D. Monitor memory by using a script within the instance, and send it to CloudWatch as a custom metric
Correct answer: B
Explanation
The correct answer is B because enabling the Memory Monitoring option via AWS Config allows for automated and efficient monitoring without additional setup. Options A and C involve more complex setups that may not provide the same level of integrated monitoring, while D requires manual scripting and management, making it less efficient.