AWS Certified SysOps Administrator – Associate (legacy) — Question 720
A Development team has an application stack consisting of many OS dependencies and language runtime dependencies. When deploying the application to production, the most important factor is how quickly the instance is operational.
What deployment methodology should be used to update the running environments to meet the requirement?
Answer options
- A. Use fully baked AMIs (ג€golden imagesג€) created after each successful build, creating a new Auto Scaling group, and blue/green deployments with rollbacks.
- B. Use user-data scripts to configure the instance correctly on boot by installing all dependencies when needed.
- C. Use an AWS Lambda function to only update the application locally on each instance, then re-attach it to the load balancer when the process complete.
- D. Use AWS OpsWorks scripts to execute on reboot of each instance to install all known dependencies, then re-attach the instances to the load balancer.
Correct answer: A
Explanation
Using fully baked AMIs ('golden images') ensures that all OS and language runtime dependencies are pre-installed, resulting in the fastest possible boot and operational times during deployment. Options B, C, and D require installing dependencies or running scripts at boot/reboot time, which significantly increases the time it takes for an instance to become healthy and operational.