Ultimate access to all questions.
A live-events company is planning to enhance the scalability of its ticket application on AWS, which experiences significant traffic spikes during scheduled sale events. The application operates on Amazon EC2 instances within an Auto Scaling group and utilizes PostgreSQL for its database. To ensure high availability during these peak periods, the company requires an effective scaling solution. What approach should be adopted to meet these requirements?
Explanation:
The best solution for handling the predictable traffic peaks during scheduled sale events is to use a scheduled scaling policy for the EC2 instances, as this allows you to plan for the exact times when the traffic will spike. Hosting the database on an Amazon Aurora PostgreSQL Multi-AZ DB cluster provides high performance and reliability. The use of Amazon EventBridge rules to manage the creation and scaling of a larger Aurora Replica before and after the sale events ensures efficient resource utilization while maintaining performance. While other options introduce more complexity or may not be as optimal in terms of scaling strategies, option D offers a balanced approach that closely aligns with the requirements of maximizing availability during the sale events.