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

A company produces builds for an open source project every day. The company hosts the open source project in a public code repository that the company supports. The company manually invokes a pipeline in AWS CodePipeline to build artifacts for the project. The company wants to make the build artifacts publicly available on a website that the company hosts in an Amazon S3 bucket.

Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: D

Explanation

Option D is the most efficient solution because it builds upon the existing AWS CodePipeline by adding a simple S3 deploy stage, and automates the daily execution using an Amazon EventBridge cron schedule. Options A and B introduce unnecessary operational overhead by creating a brand-new AWS CodeBuild project from scratch. Option C is incorrect because running the pipeline on every pull request does not satisfy the daily build requirement.