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

A company is developing code and wants to use semantic versioning. The company's DevOps team needs to create a pipeline for compiling the code. The team also needs to manage versions of the compiled code. If the code uses any open source libraries, the libraries must also be cached in the build process.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

AWS CodeArtifact is the ideal service for managing, publishing, and storing software packages, and its upstream repository feature automatically caches external open-source dependencies. AWS CodeBuild can compile the code and publish the semantically versioned artifacts to CodeArtifact after proper authentication. AWS CodeDeploy is used for deploying applications rather than building them, and AWS Artifact is a portal for compliance reports, making the other choices incorrect.