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?
- A. Configure the Amazon CloudWatch agent to push logs to Amazon CloudWatch Logs over port 443.
- B. Configure Elastic Beanstalk .ebextensions to track instance memory usage.
- C. Configure the Amazon CloudWatch agent to track instance memory usage. ✓
- D. Configure an Amazon CloudWatch dashboard to track instance memory usage.
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.