Troubleshooting and Optimization

AWS Compute Optimizer recommends downsizing an EC2 instance, but the application holds a large dataset in memory and no memory metrics are available. What should the developer do before accepting the recommendation?

Show the answer

Correct answerB. Publish memory utilization through the CloudWatch agent and reassess.

AWhy not this: A stronger savings preference does not resolve the missing memory utilization evidence.

BWhy this is right: Guest memory metrics let Compute Optimizer account for the application's memory requirements.

CWhy not this: Detailed monitoring does not collect guest operating system memory utilization.

DWhy not this: Adding instances does not supply the missing memory data needed to evaluate the proposed instance size.

The CloudWatch agent can supply memory utilization that Compute Optimizer can incorporate into EC2 recommendations. EC2 detailed monitoring increases the frequency of supported EC2 metrics but does not add guest memory utilization.