
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 has Amazon EC2 instances that run nightly batch jobs to process data. The EC2 instances run in an Auto Scaling group that uses On-Demand billing. If a job fails on one instance, another instance will reprocess the job. The batch jobs run between 12:00 AM and 06:00 AM local time every day.
Which solution will provide EC2 instances to meet these requirements MOST cost-effectively?
A
Purchase a 1-year Savings Plan for Amazon EC2 that covers the instance family of the Auto Scaling group that the batch job uses.
B
Purchase a 1-year Reserved Instance for the specific instance type and operating system of the instances in the Auto Scaling group that the batch job uses.
C
Create a new launch template for the Auto Scaling group. Set the instances to Spot Instances. Set a policy to scale out based on CPU usage.
D
Create a new launch template for the Auto Scaling group. Increase the instance size. Set a policy to scale out based on CPU usage.
Explanation:
Correct Answer: C
Why Option C is the most cost-effective solution:
Spot Instances are ideal for batch jobs: The batch jobs run nightly (12:00 AM - 6:00 AM) and are fault-tolerant (if a job fails, another instance reprocesses it). Spot Instances offer up to 90% discount compared to On-Demand instances, making them perfect for:
Auto Scaling with Spot Instances: By creating a new launch template with Spot Instances in the Auto Scaling group, the company can:
Why other options are less cost-effective:
Key AWS Cost Optimization Principles:
Additional Considerations: