AWS Certified Developer – Associate (DVA-C02) — Question 330

A developer is using an AWS CodePipeline pipeline to provide continuous integration and continuous delivery (CI/CD) support for a Java application. The developer needs to update the pipeline to support the introduction of a new application dependency .jar file. The pipeline must start a build when a new version of the .jar file becomes available.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

AWS CodeArtifact is the designated service for storing, publishing, and managing software package dependencies like Java .jar files. By publishing the .jar file to CodeArtifact, you can leverage Amazon EventBridge to detect package state changes and automatically trigger a CodePipeline execution. Other options like Amazon ECR are designed for container images rather than individual application dependencies, making them incorrect for this scenario.