You are building out a layer in a software stack on AWS that needs to be able to scale out to react to increased demand as fast as possible. You are running the code on EC2 instances in an Auto Scaling Group behind an ELB. Which application code deployment method should you use?
A) SSH into new instances that come online, and deploy new code onto the system by pulling it from an S3 bucket, which is populated by code that you refresh from source control on new pushes.
B) Bake an AMI when deploying new versions of code, and use that AMI for the Auto Scaling Launch Configuration.
C) Create a Dockerfile when preparing to deploy a new version to production and publish it to S3. Use UserData in the Auto Scaling Launch configuration to pull down the Dockerfile from S3 and run it when new instances launch.
D) Create a new Auto Scaling Launch Configuration with UserData scripts configured to pull the latest code at all times.
Correct Answer:
Verified
Q543: You need your CI to build AMIs
Q544: A company is using AWS Organizations and
Q545: When writing custom Ansible modules, which language
Q546: A DevOps Engineer is building a continuous
Q547: A DevOps Engineer manages a large commercial
Q549: Which is the proper syntax for referencing
Q550: What does the Docker network docker_gwbridge do?
A)
Q551: What is server immutability?
A) Not updating a
Q552: A company is adopting serverless computing and
Q553: A company must collect user consent to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents