AWS Certified Solutions Architect – Associate (SAA-C03) — Question 241

A company’s application is having performance issues. The application is stateful and needs to complete in-memory tasks on Amazon EC2 instances. The company used AWS CloudFormation to deploy infrastructure and used the M5 EC2 instance family. As traffic increased, the application performance degraded. Users are reporting delays when the users attempt to access the application.

Which solution will resolve these issues in the MOST operationally efficient way?

Answer options

Correct answer: D

Explanation

The correct answer is D because replacing the EC2 instances with R5 instances and deploying the Amazon CloudWatch agent allows for custom metrics that provide deeper insights into application latency, which aids in future capacity planning. Option A does not address the memory requirements, while option B lacks the automation benefits of an Auto Scaling group. Option C does not generate custom metrics, which are crucial for understanding performance issues.