AWS Certified SysOps Administrator SOA-C01 – Question525

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?

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