
AWS Certified Developer - Associate
Get started today
Ultimate access to all questions.
An online retail application requires migration to AWS due to increasing traffic. The current setup includes a web server handling sessions in memory and a separate MySQL database server. High traffic leads to memory overload and performance issues, primarily due to session management. The developer plans to migrate the web server using EC2 instances with Auto Scaling and an Application Load Balancer. What changes should be made to enhance performance?
An online retail application requires migration to AWS due to increasing traffic. The current setup includes a web server handling sessions in memory and a separate MySQL database server. High traffic leads to memory overload and performance issues, primarily due to session management. The developer plans to migrate the web server using EC2 instances with Auto Scaling and an Application Load Balancer. What changes should be made to enhance performance?
Explanation:
The correct answer is B. This approach leverages Amazon ElastiCache for Memcached to efficiently handle and manage session data, which reduces the memory burden on the web server. Additionally, using Amazon RDS for MySQL ensures that the application data is stored in a scalable, managed database service. This combination significantly improves the scalability and performance of the application in a high traffic environment.