AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 131

A company has a legacy application. A DevOps engineer needs to automate the process of building the deployable artifact for the legacy application. The solution must store the deployable artifact in an existing Amazon S3 bucket for future deployments to reference.

Which solution will meet these requirements in the MOST operationally efficient way?

Answer options

Correct answer: A

Explanation

Option A is the most operationally efficient solution as it leverages AWS CodeBuild to automate the build process using a custom Docker image, which encapsulates all dependencies. The other options involve more manual setup or resource management, such as launching and configuring EC2 instances, which can be less efficient and scalable compared to using a managed service like CodeBuild.