
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 is experiencing sudden increases in demand. The company needs to provision large Amazon EC2 instances from an Amazon Machine Image (AMI). The instances will run in an Auto Scaling group. The company needs a solution that provides minimum initialization latency to meet the demand.
Which solution meets these requirements?
A
Use the aws ec2 register-image command to create an AMI from a snapshot. Use AWS Step Functions to replace the AMI in the Auto Scaling group.
B
Enable Amazon Elastic Block Store (Amazon EBS) fast snapshot restore on a snapshot. Provision an AMI by using the snapshot. Replace the AMI in the Auto Scaling group with the new AMI.
C
Enable AMI creation and define lifecycle rules in Amazon Data Lifecycle Manager (Amazon DLM). Create an AWS Lambda function that modifies the AMI in the Auto Scaling group.
D
Use Amazon EventBridge to invoke AWS Backup lifecycle policies that provision AMIs. Configure Auto Scaling group capacity limits as an event source in EventBridge.
Explanation:
Correct Answer: B
Why Option B is correct:
Why other options are incorrect:
Option A: Using aws ec2 register-image and AWS Step Functions doesn't address the core latency issue. While it automates AMI replacement, it doesn't provide any performance optimization for instance initialization.
Option C: Amazon Data Lifecycle Manager (DLM) with Lambda functions focuses on automating AMI lifecycle management (creation, retention, deletion) but doesn't optimize for initialization latency. The Lambda function modification doesn't improve the actual instance launch performance.
Option D: AWS Backup lifecycle policies with EventBridge is about backup automation and scheduling, not performance optimization. Configuring Auto Scaling group capacity limits as an event source doesn't reduce the initialization latency of instances.
Key AWS Concepts: