Q17 — AWS DVA-C02 Ch.3

Question 17 of 100 | ← Chapter 3

A company hosts a batch processing application on AWS Elastic Beanstalk, where instances run the latest Amazon Linux version. The application sorts and processes large datasets. Over recent weeks, application performance has significantly degraded during traffic peaks. Developers suspect memory-related issues but notice memory usage is not tracked in the Elastic Beanstalk console. How should developers collect more detailed information about the performance issue?

Correct Answer: C. Configure the Amazon CloudWatch agent to track instance memory usage.

Explanation

The Amazon CloudWatch agent is the standard, supported method to collect and publish detailed OS-level metrics—including memory utilization—to CloudWatch. While CloudWatch dashboards (option D) visualize metrics, they do not collect them. .ebextensions (option B) can install agents but do not themselves collect metrics. Option C directly addresses the need by enabling memory metric collection via the CloudWatch agent.