Question 1 of 30
A company is experiencing performance issues with its web application, which is hosted on AWS. The application is built using microservices architecture and utilizes Amazon ECS for container orchestration. The development team has identified that the response time for API calls is significantly higher during peak traffic hours. They are considering various strategies to optimize performance. Which of the following strategies would be the most effective in improving the response time during peak traffic while ensuring cost efficiency?
Implementing auto-scaling for the ECS service to dynamically adjust the number of running containers based on traffic demand.
Increasing the instance size of the EC2 instances running the containers to handle more load.
Caching API responses using Amazon ElastiCache to reduce the number of calls made to the backend services.
Refactoring the application to a monolithic architecture to reduce inter-service communication overhead.