
Answer-first summary for fast verification
Answer: Use an AWS CodeArtifact repository for the .jar file and activate a pipeline build with a rule.
The correct answer is D. AWS CodeArtifact is a fully managed artifact repository service that can be used to securely store and share software packages used in your application. When a new .jar file is added to the CodeArtifact repository, you can use an Amazon EventBridge rule to detect this event and trigger a build in CodePipeline. This ensures that the pipeline responds to the availability of the new dependency immediately and automates the process effectively.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer requires a CI/CD pipeline for a Java application using AWS CodePipeline. The pipeline must trigger a build upon the availability of a new .jar file dependency.
A
Utilize an Amazon S3 bucket for the .jar file and initiate a pipeline build using a notification service.
B
Leverage an Amazon ECR repository for the .jar file and trigger a pipeline build with a source action.
C
Deploy the .jar file in an Amazon ECR repository and start a pipeline build using a notification service.
D
Use an AWS CodeArtifact repository for the .jar file and activate a pipeline build with a rule.
No comments yet.