What should the DevOps engineer do to create notifications when issues are discovered?
Implement Amazon CloudWatch Logs for CodePipeline and CodeDeploy, create an AWS Config rule to evaluate code deployment issues, and create an Amazon Simple Notification Service (Amazon SNS) topic to notify stakeholders of deployment issues.
Implement Amazon EventBridge for CodePipeline and CodeDeploy, create an AWS Lambda function to evaluate code deployment issues, and create an Amazon Simple Notification Service (Amazon SNS) topic to notify stakeholders of deployment issues.
Implement AWS CloudTrail to record CodePipeline and CodeDeploy API call information, create an AWS Lambda function to evaluate code deployment issues, and create an Amazon Simple Notification Service (Amazon SNS) topic to notify stakeholders of deployment issues.
Implement Amazon EventBridge for CodePipeline and CodeDeploy, create an Amazon Inspector assessment target to evaluate code deployment issues, and create an Amazon Simple Notification Service (Amazon SNS) topic to notify stakeholders of deployment issues.
Explanations:
Amazon CloudWatch Logs can provide insights into logs, but AWS Config rules are not specifically designed to evaluate CodeDeploy issues. AWS Config is better suited for resource compliance and configuration monitoring.
Amazon EventBridge can capture events from CodePipeline and CodeDeploy. Using EventBridge, you can trigger an AWS Lambda function to evaluate deployment issues and then send notifications through SNS, which is ideal for real-time alerts.
AWS CloudTrail records API calls but does not provide real-time monitoring or notifications for deployment issues. It is not suited for immediate alerts during deployments.
Amazon EventBridge is a good option, but Amazon Inspector is designed for security assessments, not for evaluating deployment issues. This makes it unsuitable for monitoring and notifying about CodeDeploy issues.