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