DOP-C02 · Question #139
An AWS CodePipeline pipeline has implemented a code release process. The pipeline is integrated with AWS CodeDeploy to deploy versions of an application to multiple Amazon EC2 instances for each…
The correct answer is B. Implement Amazon EventBridge for CodePipeline and CodeDeploy, create an AWS Lambda function. Amazon EventBridge provides a serverless event bus that integrates with various AWS services. By implementing EventBridge for CodePipeline and CodeDeploy, the engineer can capture deployment events and trigger actions based on those events. Creating an AWS Lambda function…
Question
An AWS CodePipeline pipeline has implemented a code release process. The pipeline is integrated with AWS CodeDeploy to deploy versions of an application to multiple Amazon EC2 instances for each CodePipeline stage. During a recent deployment, the pipeline failed due to a CodeDeploy issue. The DevOps team wants to improve monitoring and notifications during deployment to decrease resolution times. What should the DevOps engineer do to create notifications when issues are discovered?
Options
- AImplement Amazon CloudWatch Logs for CodePipeline and CodeDeploy, create an AWS Config rule
- BImplement Amazon EventBridge for CodePipeline and CodeDeploy, create an AWS Lambda function
- CImplement AWS CloudTrail to record CodePipeline and CodeDeploy API call information, create an
- DImplement Amazon EventBridge for CodePipeline and CodeDeploy, create an Amazon Inspector
How the community answered
(44 responses)- A11% (5)
- B82% (36)
- C2% (1)
- D5% (2)
Explanation
Amazon EventBridge provides a serverless event bus that integrates with various AWS services. By implementing EventBridge for CodePipeline and CodeDeploy, the engineer can capture deployment events and trigger actions based on those events. Creating an AWS Lambda function allows for evaluating code deployment issues and performing custom actions. Additionally, creating an Amazon SNS topic provides a means to notify stakeholders of any deployment issues
Topics
Community Discussion
No community discussion yet for this question.