AWS Certified Developer – Associate — Question 41
A company has a two-tier application running on an Amazon EC2 server that handles all of its AWS based e-commerce activity. During peak times, the backend servers that process orders are overloaded with requests. This results in some orders failing to process. A developer needs to create a solution that will re-factor the application.
Which steps will allow for more flexibility during peak times, while still remaining cost-effective? (Choose two.)
Answer options
- A. Increase the backend T2 EC2 instance sizes to x1 to handle the largest possible load throughout the year.
- B. Implement an Amazon SQS queue to decouple the front-end and backend servers.
- C. Use an Amazon SNS queue to decouple the front-end and backend servers.
- D. Migrate the backend servers to on-premises and pull from an Amazon SNS queue.
- E. Modify the backend servers to pull from an Amazon SQS queue.
Correct answer: B, E
Explanation
The correct answers, B and E, focus on using Amazon SQS to effectively decouple the front-end from the backend, allowing for asynchronous processing of orders and preventing overload during peak times. Options A and D do not provide the necessary flexibility and scalability needed during high demand, while C suggests using SNS, which is better for pub/sub messaging rather than queueing tasks for load management.