Q65 — AWS DOP-C02 Ch.3
Question 65 of 100 | ← Chapter 3
• An Amazon S3 bucket for static content • Amazon EC2 instances for frontend web servers • AWS Lambda functions for image processing • Amazon DynamoDB for storing application metadata The team expects significant traffic growth. The application must handle increased load continuously. Initially, the team tested scaling by adding new EC2 servers behind the ALB—but each instance takes up to 20 minutes to become fully configured. The team wants to reduce this provisioning time. Which solution best meets the expected demand while maximizing elasticity and high availability?
- A. Use AWS OpsWorks to automatically configure each new EC2 instance at launch. Configure EC2 instances in an Auto Scaling group behind an Application Load Balancer across multiple Availability Zones. Implement Amazon DynamoDB Auto Scaling. Use Amazon Route 53 to point the application DNS record to the Application Load Balancer.
- B. Deploy a set of EC2 instances, doubling current capacity, and place them behind the Application Load Balancer. Increase Amazon DynamoDB read and write capacity units. Add an alias record pointing to the Application Load Balancer endpoint in the existing Amazon Route 53 DNS record.
- C. Configure Amazon CloudFront with Amazon S3 as the origin to host the web application. Implement Amazon DynamoDB Auto Scaling. Use Amazon Route 53 to point the application DNS record to the CloudFront domain name.
- D. Use AWS Elastic Beanstalk with a custom AMI containing all web components. Deploy the platform using an Auto Scaling group behind an Application Load Balancer across multiple Availability Zones. Implement Amazon DynamoDB Auto Scaling. Use Amazon Route 53 to point the application DNS record to the Elastic Beanstalk load balancer. ✓
Correct Answer: D. Use AWS Elastic Beanstalk with a custom AMI containing all web components. Deploy the platform using an Auto Scaling group behind an Application Load Balancer across multiple Availability Zones. Implement Amazon DynamoDB Auto Scaling. Use Amazon Route 53 to point the application DNS record to the Elastic Beanstalk load balancer.
Explanation
The primary bottleneck is slow EC2 instance provisioning (20 minutes). To maximize elasticity and high availability, infrastructure must scale rapidly and tolerate AZ failures. AWS Elastic Beanstalk automates environment provisioning, load balancing, health monitoring, and Auto Scaling—significantly reducing bootstrapping time compared to raw EC2+OpsWorks. Using a custom AMI pre-installs dependencies, further accelerating instance readiness. Cross-AZ Auto Scaling and ALB ensure fault tolerance and traffic distribution. DynamoDB Auto Scaling handles database load dynamically. Route 53 integration provides resilient DNS routing. While CloudFront+S3 offloads static content, it doesn’t address the EC2 provisioning delay for dynamic application logic. Option D delivers the most integrated, scalable, and operationally efficient solution for the described architecture.