
Answer-first summary for fast verification
Answer: Create an AMI with EC2 Image Builder pre-installed with necessary patches and agents, then update the Auto Scaling launch configuration., Eliminate OS patching commands from the UserData script to expedite instance readiness.
Option A involves using EC2 Image Builder to create an AMI with all necessary patches and agents, which preconfigures instances to reduce initialization time. Option E suggests removing OS patching commands from the UserData script, further shortening the instance availability time since the AMI already includes the necessary patches. This approach ensures that instances launch faster, keeping security updates applied, and minimizing the number of images created.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
An EC2 Auto Scaling group's instances are slow to launch due to lengthy UserData scripts. Optimize instance availability, ensure the latest app version and security patches, and minimize AMI creation with validation.
A
Create an AMI with EC2 Image Builder pre-installed with necessary patches and agents, then update the Auto Scaling launch configuration.
B
Produce an AMI with EC2 Image Builder incorporating the latest app version, patches, and agents, then revise the Auto Scaling launch configuration.
C
Employ AWS CodeDeploy for runtime deployment of the most current application version.
D
Utilize AWS CodePipeline for automated runtime deployment of the latest application version, including updates and patches.
E
Eliminate OS patching commands from the UserData script to expedite instance readiness.
No comments yet.