
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.
A company hosts a multi-tier web application on Amazon Linux Amazon EC2 instances behind an Application Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The company observes that the Auto Scaling group launches more On-Demand Instances when the application's end users access high volumes of static web content. The company wants to optimize cost.
What should a solutions architect do to redesign the application MOST cost-effectively?
A
Update the Auto Scaling group to use Reserved Instances instead of On-Demand Instances.
B
Update the Auto Scaling group to scale by launching Spot Instances instead of On-Demand Instances.
C
Create an Amazon CloudFront distribution to host the static web contents from an Amazon S3 bucket.
D
Create an AWS Lambda function behind an Amazon API Gateway API to host the static website contents.
Explanation:
Correct Answer: C - Create an Amazon CloudFront distribution to host the static web contents from an Amazon S3 bucket.
Why this is the MOST cost-effective solution:
Problem Analysis: The issue is that high volumes of static web content access are triggering Auto Scaling to launch additional EC2 instances (On-Demand). This is inefficient because:
Solution Benefits:
$0.023 per GB/month)Why other options are less optimal:
Cost Comparison:
$0.09 per GB for first 10TB (including storage and transfer)$0.10-0.50 per hour + data transfer costs$0.20 per 1M requests + compute time + API Gateway costsImplementation Steps:
This solution directly addresses the cost inefficiency of using EC2 instances for static content delivery while maintaining performance and scalability.