Troubleshooting and Optimization

An application on a burstable EC2 instance in Standard mode slows after sustained CPU activity; its CPU credit balance reaches zero while memory remains sufficient. The application needs sustained CPU performance without surplus-credit charges. Which change is BEST?

Show the answer

Correct answerC. Move to a suitably sized non-burstable instance.

AWhy not this: A larger burstable instance still depends on its baseline and credits; it does not directly remove the constraint.

BWhy not this: Unlimited mode can incur surplus-credit charges when sustained CPU usage exceeds the baseline.

CWhy this is right: Non-burstable instances provide sustained CPU capacity without relying on accumulated CPU credits.

DWhy not this: Caching might reduce repeated work, but no cacheable workload is established and CPU capacity remains constrained.

A suitably sized non-burstable instance provides sustained CPU capacity without CPU-credit accounting. Unlimited mode can sustain performance beyond the baseline, but sustained excess usage can incur surplus-credit charges.