A DevOps Engineer is reviewing a system that uses Amazon EC2 instances in an Auto Scaling group.

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 the 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 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.

amazon-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.