AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 61

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

The correct answer is C because using Amazon EventBridge allows for efficient event handling and integration with AWS services, ensuring that the chat webhook receives updates promptly. Option A does not leverage EventBridge's capabilities and instead relies on CloudWatch Logs, which is less efficient for real-time notifications. Option B uses AWS CloudTrail, which is not ideal for real-time updates as it may introduce latency. Option D complicates the pipeline structure by requiring code modifications for different environments, which is less clean and scalable.