
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
An ecommerce application uses a PostgreSQL database that runs on an Amazon EC2 instance. During a monthly sales event, database usage increases and causes database connection issues for the application. The traffic is unpredictable for subsequent monthly sales events, which impacts the sales forecast. The company needs to maintain performance when there is an unpredictable increase in traffic.
Which solution resolves this issue in the MOST cost-effective way?
A
Migrate the PostgreSQL database to Amazon Aurora Serverless v2.
B
Enable auto scaling for the PostgreSQL database on the EC2 instance to accommodate increased usage.
C
Migrate the PostgreSQL database to Amazon RDS for PostgreSQL with a larger instance type.
D
Migrate the PostgreSQL database to Amazon Redshift to accommodate increased usage.
Explanation:
Correct Answer: A - Migrate the PostgreSQL database to Amazon Aurora Serverless v2.
Why this is the most cost-effective solution:
Serverless Architecture: Amazon Aurora Serverless v2 automatically scales database capacity up and down based on actual workload demands. It can scale to hundreds of thousands of transactions per second in fractions of a second.
Cost Optimization: With unpredictable traffic patterns, Aurora Serverless v2 only charges for the database capacity actually consumed, measured in Aurora Capacity Units (ACUs). This is much more cost-effective than:
Performance Maintenance: Aurora Serverless v2 can handle sudden traffic spikes automatically without manual intervention, ensuring performance during unpredictable monthly sales events.
PostgreSQL Compatibility: Aurora Serverless v2 is PostgreSQL compatible, so migration is straightforward.
Why other options are not optimal:
Key AWS Concepts: