AWS Certified SysOps Administrator – Associate (legacy) — Question 63
You have been asked to leverage Amazon VPC BC2 and SOS to implement an application that submits and receives millions of messages per second to a message queue. You want to ensure your application has sufficient bandwidth between your EC2 instances and SQS.
Which option will provide the most scalable solution for communicating between the application and SQS?
Answer options
- A. Ensure the application instances are properly configured with an Elastic Load Balancer
- B. Ensure the application instances are launched in private subnets with the EBS-optimized option enabled
- C. Ensure the application instances are launched in public subnets with the associate-public-IP-address=true option enabled
- D. Launch application instances in private subnets with an Auto Scaling group and Auto Scaling triggers configured to watch the SQS queue size
Correct answer: D
Explanation
Option D is the most scalable solution because it allows the application to automatically adjust the number of EC2 instances based on the demand indicated by the SQS queue size. This ensures optimal resource utilization and bandwidth for message processing. The other options do not provide the same level of scalability and responsiveness to the workload demands, making them less suitable for high-volume message handling.