SAP-C02 Question 359
Select 3A company runs an e-commerce platform on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). Traffic to the platform has grown significantly, and the platform is experiencing intermittent latency issues during peak usage. The company wants to improve the performance of the platform and reduce operational overhead while minimizing changes to the application code. As an AWS Certified Solutions Architect, which actions should you recommend?
- A
Migrate the application to Amazon ECS using Fargate to remove the need to manage EC2 instances.
- B
Enable Auto Scaling for the EC2 instances based on CPU utilization metrics.
- C
Replace the EC2 instances with Amazon Aurora Serverless instances to improve database scalability.
- D
Implement Amazon ElastiCache to cache frequently accessed data and reduce database load.
- E
Use Amazon CloudFront to cache and deliver static content closer to end users.
Show answer and explanation
Correct answers: B, D, E
Explanation
The combination of Auto Scaling, ElastiCache, and CloudFront addresses the performance and latency issues effectively while meeting the company's requirements of minimal changes to the application code and reduced operational overhead. Auto Scaling ensures the platform can handle peak traffic, ElastiCache reduces database load by caching data, and CloudFront improves delivery speed for static content. Migrating to ECS and using Aurora Serverless may be valid long-term strategies but do not provide immediate solutions to the current latency problem.
- A. Incorrect.
Migrating to Amazon ECS using Fargate could reduce operational overhead, but it requires significant application refactoring and may not address the immediate latency issues. This option is not the best fit for the scenario's requirements.
- B. Correct.
Enabling Auto Scaling for the EC2 instances allows the platform to dynamically adjust capacity based on demand, improving performance during peak times without requiring changes to the application code.
- C. Incorrect.
Replacing EC2 instances with Aurora Serverless is not relevant to the scenario because the issue lies with the application layer, not the database layer. Additionally, Aurora Serverless is a database solution and does not replace EC2 instances.
- D. Correct.
Implementing Amazon ElastiCache can help reduce latency by caching frequently accessed data, reducing the load on the database. This solution aligns with the goal of improving performance while requiring minimal changes to the application code.
- E. Correct.
Using Amazon CloudFront to cache and deliver static content closer to end users can significantly reduce latency for static assets, improving the overall user experience without altering the application code.