AWS Certified Solutions Architect – Professional — Question 1000

A company is running an application on Amazon EC2 instances in three environments: development, testing, and production. The company uses AMIs to deploy the EC2 instances. The company builds the AMIs by using custom deployment scripts and infrastructure orchestration tools for each release in each environment.
The company is receiving errors in its deployment process. Errors appear during operating system package downloads and during application code installation from a third-party Git hosting service. The company needs deployments to become more reliable across all environments.
Which combination of steps will meet these requirements? (Choose three.)

Answer options

Correct answer: A, C, F

Explanation

Mirroring application code to AWS CodeCommit (Option A) removes dependencies on third-party Git hosts, resolving external integration errors. Generating a single AMI per release (Option C) ensures that the exact same build is tested and promoted across all environments, eliminating environment-specific compilation variances. Finally, replacing unreliable custom scripts with EC2 Image Builder and managing the deployments with AWS CloudFormation (Option F) provides a robust, standardized, and repeatable infrastructure pipeline.