AWS Certified Developer – Associate — Question 144

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

The correct answer is D because AWS CodeArtifact is designed for managing dependencies and integrates well with event-driven architectures, allowing EventBridge to trigger builds based on new versions. Option A is incorrect as SNS notifications do not directly monitor S3 for changes. Option B does not utilize the most suitable service for dependency management. Option C also incorrectly uses SNS for triggering builds instead of an event-based approach.