Q31 — AWS SAA-C03 Ch.15

Question 31 of 100 | ← Chapter 15

Q1131. An ecommerce company is launching a new marketing campaign. The company anticipates the campaign to generate ten times the normal number of daily orders through the company's ecommerce application.The campaign will last 3 days.The ecommerce application architecture is based on Amazon EC2 instances in an Auto Scaling group and an Amazon RDS for MySQL database. The application writes order transactions to an Amazon Elastic File System (Amazon EFS) file system before the application writes orders to the database.During normal operations, the application write operations peak at 5,000 IOPS.A solutions architect needs to ensure that the application can handle the anticipated workload during the marketing campaign.Which solution will meet this requirement?

Correct Answer: B. For the duration of the campaign, increase the provisioned IOPS for the RDS for MySQL database. Set the Amazon EFS throughput mode to Elastic throughput.

Explanation

To ensure that the ecommerce application can handle the anticipated workload during the marketing campaign, the best solution is:B. For the duration of the campaign, increase the provisioned IOPS for the RDS for MySQL database. Set the Amazon EFS throughput mode to Elastic throughput.Explanation:Increase Provisioned IOPS: By increasing the provisioned IOPS for the Amazon RDS for MySQL database, you ensure that the database can handle the higher volume of write operations anticipated during the marketing campaign. This is crucial since the application writes order transactions to the database. Elastic Throughput for EFS: Setting the Amazon EFS throughput mode to Elastic throughput allows the file system to scale its throughput automatically based on the amount of data stored. This flexibility is beneficial during periods of high demand, ensuring that the application can handle increased write operations without throttling.Why Other Options Are Not Suitable:A: While increasing provisioned IOPS is beneficial, setting EFS to Bursting throughput may not provide the necessary performance during sustained high workloads, as it limits the throughput based on the burst capacity.C: Converting the database to a Multi-AZ deployment enhances availability and failover capabilities but does not directly address the increased IOPS requirement during the campaign. Elastic throughput for EFS is beneficial, but the focus should be on IOPS for the database.D: Using AWS DMS to convert the database to RDS for PostgreSQL is unnecessary and adds complexity without addressing the immediate need for increased IOPS and EFS throughput.Thus, option B is the most effective solution for ensuring that the application can handle the anticipated workload during the marketing campaign.