Q69 — AWS DVA-C02 Ch.1

Question 69 of 100 | ← Chapter 1

A developer uses AWS CodePipeline to provide continuous integration and continuous delivery (CI/CD) for a Java application. The developer needs to update the pipeline to support ingestion of new application dependency JAR files. The pipeline must trigger a build whenever a new version of a JAR file becomes available. Which solution satisfies these requirements?

Correct Answer: D. Create an AWS CodeArtifact repository. Publish dependency JAR files to the repository. Use an Amazon EventBridge (Amazon CloudWatch Events) rule to trigger the CodePipeline build.

Explanation

AWS CodeArtifact is purpose-built for managing software packages and dependencies—including Java JARs—and integrates natively with CI/CD workflows. Using an Amazon EventBridge rule to detect new package versions and trigger CodePipeline ensures reliable, event-driven automation. S3 (Option A) lacks native dependency versioning and pipeline integration. ECR (Options B and C) is designed for container images—not JAR artifacts—and offers no direct pipeline triggering capability. Thus, Option D is the correct, most appropriate solution. 【Lantern Certification: swufelp1999】