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
Q121: The management team at a company with
Q122: A DevOps Engineer is using AWS CodeDeploy
Q123: A company has multiple development groups working
Q124: A mobile application running on eight Amazon
Q125: The Development team has grown substantially in
Q127: A company wants to use Amazon ECS
Q128: A DevOps Engineer is building a multi-stage
Q129: A government agency has multiple AWS accounts,
Q130: A company using AWS CodeCommit for source
Q131: A company is using AWS CodeDeploy 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