A company hosts a batch processing application on AWS Elastic Beanstalk with instances that run the most recent version of Amazon Linux. The application sorts and processes large datasets. In recent weeks, the application's performance has decreased significantly during a peak period for traffic. A developer suspects that the application issues are related to the memory usage. The developer checks the Elastic Beanstalk console and notices that memory usage is not being tracked. How should the developer gather more information about the application performance issues?
- AConfigure the Amazon CloudWatch agent to push logs to Amazon CloudWatch Logs by using port 443.
- BConfigure the Elastic Beanstalk .ebextensions directory to track the memory usage of the instances.
- CConfigure the Amazon CloudWatch agent to track the memory usage of the instances. (correct answer)
- DConfigure an Amazon CloudWatch dashboard to track the memory usage of the instances.
Reveal answer & explanationHide answer
The correct answer is C. Option C: Configure the Amazon CloudWatch agent to track the memory usage of the instances.
Explanation
Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health. AWS Config tracks resource configuration changes and evaluates compliance.