Multiple Choice
A DevOps Engineer is reviewing a system that uses Amazon EC2 instances in an Auto Scaling group. This system uses a configuration management tool that runs locally on each EC2 instance. Because of the volatility of the application load, new instances must be fully functional within 3 minutes of entering a running state. Current setup tasks include: Installing the configuration management agent - 2 minutes Installing the application framework - 15 minutes Copying configuration data from Amazon S3 - 2 minutes Running the configuration management agent to configure instances - 1 minute Deploying the application code from Amazon S3 - 2 minutes How should the Engineer set up system so it meets the launch time requirement?
A) Trigger an AWS Lambda function from an Amazon CloudWatch Events rule when a new EC2 instance launches. Have the function install the configuration management agent and the application framework, pull configuration data from Amazon S3, run the agent to configure the instance, and deploy the application from S3.
B) Write a bootstrap script to install the configuration management agent, install and the application framework, pull configuration data from Amazon S3, run the agent to configure the instance, and deploy the application from S3.
C) Build a custom AMI that includes the configuration management agent and application framework. Write a bootstrap script to pull configuration data from Amazon S3, run the agent to configure the instance, and deploy the application from S3.
D) Build a custom AMI that includes the configuration management agent, application framework, and configuration data. Write a bootstrap script to run the agent to configure the instance and deploy the application from Amazon S3.
Correct Answer:

Verified
Correct Answer:
Verified
Q438: When writing plays, tasks and playbooks, Ansible
Q439: There is a very serious outage at
Q440: You are experiencing performance issues writing to
Q441: A DevOps Engineer is asked to implement
Q442: If designing a single playbook to run
Q444: A company is adopting serverless computing and
Q445: You have enabled Elastic Load Balancing HTTP
Q446: A security review has identified that an
Q447: After conducting a disaster recovery exercise, an
Q448: Am Amazon EC2 instance with no internet