AWS Certified DevOps Engineer – Professional — Question 97

A DevOps engineer is building a multistage pipeline with AWS CodePipeline to build, verify, stage, test, and deploy an application. A manual approval stage is required between the test stage and the deploy stage. The development team uses a custom chat tool with webhook support that requires near-real-time notifications.

How should the DevOps engineer configure status updates for pipeline activity and approval requests to post to the chat tool?

Answer options

Correct answer: C

Explanation

Option C is correct because it uses Amazon EventBridge to capture pipeline state changes and trigger an AWS Lambda function, which effectively sends notifications to the chat tool. Options A and B do not fully utilize the functionality of AWS services for real-time notifications, while option D requires manual changes to the pipeline code, which is less efficient and scalable.