ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

420 / 500

Question 420:

<strong>The Development Lead wants to know the status of CodeDeploy in time such as DeploymentStart, DeploymentSuccess or DeploymentFailure for the deployment of an autoscaling group. One DevOps engineer is in charge of this task. He needs to make sure that most of the major CodeDeploy activities are monitored and the Development Lead is notified in a suitable manner. What below method should the DevOps engineer use to meet the Development Lead’s need in a straightforward way?</strong>

Answer options:

A.AWS Config should be used as it is able to show the status of every CodeDeploy activity. One SNS topic can be used to subscribe to the CodeDeploy activities in AWS Config to get the development lead notified.
B.CodeDeploy is able to pass all its status to Cloudwatch metrics including CodeDeploy start, stop or pause. Create an alarm in the CodeDeploy metrics such as when a CodeDeploy failure happens. And then subscribe this alarm to an existing SNS topic. The SNS topic is responsible for notifying the development lead by email or SMS.
C.Create a new Cloudtrail and use it to record all the CodeDeploy API calls. When a CodeDeploy activity happens, the development lead will be able to see the details for the CodeDeploy status. He can then filter the CodeDeploy specific events in the Cloudtrail console/CLI and understand the running status.
D.The DevOps engineer should create a trigger in AWS CodeDeploy that publishes an Amazon Simple Notification Service (Amazon SNS) topic for the relevant AWS CodeDeploy deployment event. Then, when that event occurs, all subscribers to the associated topic will receive notifications through the endpoint specified in the topic, such as an SMS message or email message to the development lead.