exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 24 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 24
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

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?

  • A. Implement AWS CloudWatch Logs for CodePipeline and CodeDeploy, create an AWS Config rule to evaluate code deployment issues, and create an Amazon SNS topic to notify stakeholders of deployment issues.
  • B. Implement AWS CloudWatch Events for CodePipeline and CodeDeploy, create an AWS Lambda function to evaluate code deployment issues, and create an Amazon SNS topic to notify stakeholders of deployment issues.
  • C. 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 SNS topic to notify stakeholders of deployment issues.
  • D. Implement AWS CloudWatch Events for CodePipeline and CodeDeploy, create an Amazon Inspector assessment target to evaluate code deployment issues, and create an Amazon SNS topic to notify stakeholders of deployment issues.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Hyunseok
Highly Voted 3 years, 9 months ago
I think the answer is B
upvoted 15 times
BeastX
3 years, 9 months ago
I agree.
upvoted 1 times
...
...
jackdryan
Highly Voted 3 years, 7 months ago
I'll go with B
upvoted 6 times
...
ioripark
Most Recent 1 year, 11 months ago
Selected Answer: B
I think B
upvoted 1 times
...
Tika01
2 years, 3 months ago
Selected Answer: B
AWS CloudWatch Events can be used to monitor events across different AWS resources, and a CloudWatch Event Rule can be created to trigger an AWS Lambda function when a deployment issue is detected in the pipeline. The Lambda function can then evaluate the issue and send a notification to the appropriate stakeholders through an Amazon SNS topic. This approach allows for real-time notifications and faster resolution times.
upvoted 2 times
...
sasa33_p
2 years, 3 months ago
Selected Answer: B
B looks good.
upvoted 1 times
...
Piccaso
2 years, 4 months ago
Selected Answer: A
A is the most managed approach.
upvoted 1 times
Piccaso
2 years, 4 months ago
Sorry, I was wrong with A. AWS Config is to assess configuration, does not help to evaluate code deployment issues.
upvoted 1 times
...
...
Bulti
2 years, 5 months ago
Correct answer is B. Using CloudWatch event, we can detect CodeDeploy State changes like Failures and then chose Lambda to determine the nature of the Deployment failure and have the root cause sent to SNS which can send an email to the subscribers.
upvoted 1 times
...
saeidp
2 years, 6 months ago
It is B
upvoted 1 times
...
Maygam
2 years, 6 months ago
Selected Answer: C
https://docs.aws.amazon.com/codepipeline/latest/userguide/monitoring-cloudtrail-logs.html
upvoted 1 times
...
MikeyJ
2 years, 9 months ago
Selected Answer: B
You can use Amazon CloudWatch Events to detect and react to changes in the state of an instance or a deployment (an "event") in your CodeDeploy operations. Then, based on rules you create, CloudWatch Events will invoke one or more target actions when a deployment or instance enters the state you specify in a rule. Depending on the type of state change, you might want to send notifications, capture state information, take corrective action, initiate events, or take other actions. You can select the following types of targets when using CloudWatch Events as part of your CodeDeploy operations: AWS Lambda functions Kinesis streams Amazon SQS queues Built-in targets (EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call , and EC2 TerminateInstances API call) Amazon SNS topics https://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-cloudwatch-events.html
upvoted 4 times
...
gmandala
3 years, 7 months ago
B it is
upvoted 2 times
...
ChauPhan
3 years, 8 months ago
B is the right one.
upvoted 2 times
...
df1228
3 years, 8 months ago
I go with B
upvoted 1 times
...
secreatUser
3 years, 8 months ago
I will stick with B.
upvoted 1 times
...
Ebi
3 years, 8 months ago
Answer is ABE
upvoted 1 times
Ebi
3 years, 8 months ago
This is actually for question 99
upvoted 1 times
...
...
yassu
3 years, 8 months ago
B is correct
upvoted 1 times
...
toshko85
3 years, 8 months ago
B looks right
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...