Exam SAA-C03 All QuestionsBrowse all questions from this exam
Question 219

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?

    Correct Answer: D

    For a stateful application that requires in-memory tasks on Amazon EC2 instances, selecting an EC2 instance type that is optimized for memory-intensive workloads is crucial. The R5 instance family is optimized for such in-memory tasks, providing better performance than the M5 instance family. Deploying the Amazon CloudWatch agent on the EC2 instances allows for the generation of custom application latency metrics, which can offer deeper insights into performance and assist in future capacity planning. This ensures the most operationally efficient way to resolve the performance issues.

Discussion
ParsonsOption: D

D is the correct answer. "in-memory tasks" => need the "R" EC2 instance type to archive memory optimization. So we are concerned about C & D. Because EC2 instances don't have built-in memory metrics to CW by default. As a result, we have to install the CW agent to archive the purpose.

BabbaOption: D

It's D, EC2 do not provide by default memory metrics to CloudWatch and require the CloudWatch Agent to be installed on the monitored instances : https://aws.amazon.com/premiumsupport/knowledge-center/cloudwatch-memory-metrics-ec2/

Guru4CloudOption: D

R5 instances are better optimized for the in-memory workload than M5. Auto Scaling alone doesn't handle stateful applications well, manual capacity adjustments would still be needed. Custom latency metrics give better visibility than built-in metrics for capacity planning.

cookieMrOption: D

By replacing the M5 instances with R5 instances, which are optimized for memory-intensive workloads, the application can benefit from increased memory capacity and performance. In addition, deploying the CloudWatch agent on the EC2 instances allows for the generation of custom application latency metrics, which can provide valuable insights into the application's performance. This solution addresses the performance issues efficiently by leveraging the appropriate instance types and collecting custom application metrics for better monitoring and future capacity planning. A. Replacing with T3 instances may not provide enough memory capacity for in-memory tasks. B. Manually increasing the capacity of the ASG does not directly address the performance issues. C. Relying solely on built-in EC2 memory metrics may not provide enough granularity for optimizing in-memory tasks. The most efficient solution is to modify the CloudFormation templates, replace with R5 instances, and deploy the CloudWatch agent for custom metrics.

jatricOption: A

how future capacity planning and just do verticall scalling will improve the performance. Question doesn't specify if these EC2 are behind auto scalling so it means they are not. out of all A seems more close to the solution

a7md0Option: B

B will reduce operational overhead and better solution than keep changing the family. Also, I don't think the exam will require you to remember instance families like M5 and R5

lofzeeOption: D

D .....

BmarodiOption: D

Option D is the correct answer.

BABU97

will go for C

AnininaOption: D

Would go with D

mhmt4438Option: D

ı think D