AWS Certified SysOps Administrator – Associate (legacy) — Question 22
A web application accepts orders from online users and places the orders into an Amazon SQS queue. Amazon EC2 instances in an EC2 Auto Scaling group read the messages from the queue, process the orders, and email order confirmations to the users. The Auto Scaling group scales up and down based on the queue depth. At the beginning of each business day, users report confirmation emails are delayed.
What action will address this issue?
Answer options
- A. Create a scheduled scaling action to scale up in anticipation of the traffic.
- B. Change the Auto Scaling group to scale up and down based on CPU utilization.
- C. Change the launch configuration to launch larger EC2 instance types.
- D. Modify the scaling policy to deploy more EC2 instances when scaling up.
Correct answer: D
Explanation
The correct answer is D because modifying the scaling policy to deploy more EC2 instances when scaling up directly addresses the issue of delayed confirmation emails by ensuring that there are sufficient resources to handle the incoming order traffic. Option A, while proactive, does not guarantee that instances will be ready in time; B focuses on CPU utilization, which may not correlate with order volume; and C increases instance size but does not necessarily improve the number of instances available to process orders.