exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 14 discussion

A DevOps engineer is building a continuous deployment pipeline for a serverless application that uses AWS Lambda functions. The company wants to reduce the customer impact of an unsuccessful deployment. The company also wants to monitor for issues.
Which deploy stage configuration will meet these requirements?

  • A. Use an AWS Serverless Application Model (AWS SAM) template to define the serverless application. Use AWS CodeDeploy to deploy the Lambda functions with the Canary10Percent15Minutes Deployment Preference Type. Use Amazon CloudWatch alarms to monitor the health of the functions.
  • B. Use AWS CloudFormation to publish a new stack update, and include Amazon CloudWatch alarms on all resources. Set up an AWS CodePipeline approval action for a developer to verify and approve the AWS CloudFormation change set.
  • C. Use AWS CloudFormation to publish a new version on every stack update, and include Amazon CloudWatch alarms on all resources. Use the RoutingConfig property of the AWS::Lambda::Alias resource to update the traffic routing during the stack update.
  • D. Use AWS CodeBuild to add sample event payloads for testing to the Lambda functions. Publish a new version of the functions, and include Amazon CloudWatch alarms. Update the production alias to point to the new version. Configure rollbacks to occur when an alarm is in the ALARM state.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
zolthar_z
Highly Voted 1 year, 7 months ago
Certification TIP: 99% of questions regarding lambda and cloudformation the answer is the one that involves SAM
upvoted 23 times
harithzainudin
1 year, 7 months ago
i couldnt agree more with this
upvoted 3 times
...
...
Jonfernz
Highly Voted 1 year, 10 months ago
Selected Answer: A
A Reducing Customer Impact: AWS CodeDeploy with Canary deployments (Canary10Percent15Minutes) will incrementally roll out the new version. Initially, 10% of the traffic will be directed to the new version, and if everything goes well, the rest of the traffic will be shifted over the span of 15 minutes. This cautious rollout minimizes the risk and impact on customers. Monitoring: Amazon CloudWatch alarms can be configured to track function errors, latency, and other important metrics. If anything goes awry, you can act promptly.
upvoted 7 times
...
jamesf
Most Recent 11 months, 2 weeks ago
Selected Answer: A
A Keywords: Serverless Application related with AWS SAM
upvoted 4 times
...
zijo
1 year, 4 months ago
Canary10Percent15Minutes refers to a specific type of deployment strategy used in the context of serverless applications, particularly with tools like AWS SAM (Serverless Application Model).
upvoted 1 times
...
thanhnv142
1 year, 5 months ago
A is correct: <a continuous deployment pipeline for a serverless application> means AWS SAM. B, C and D: no mention of SAM
upvoted 4 times
...
thanhnv142
1 year, 5 months ago
A: use serverless code deployment is the right way
upvoted 1 times
...
z_inderjot
1 year, 6 months ago
Selected Answer: A
A - SAM for Lambda deployment Reduce Custome Impact - Canary got it covered
upvoted 1 times
...
RVivek
1 year, 9 months ago
Selected Answer: A
A CodeDepoly is for canary deployment , cloudwatch alarm for monitoring, if aram is raised then codedeploy automatically rolls back D- Using Codebuild for controlled deployment is not good. Codebuild is for build and testing
upvoted 1 times
...
DaddyDee
1 year, 10 months ago
A is the answer: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html
upvoted 2 times
...
Kojhani
1 year, 11 months ago
Selected Answer: A Canary Deployment
upvoted 3 times
...
SanChan
2 years ago
Selected Answer: D
My Answer is D which can help reduce the customer impact of an unsuccessful deployment, also got monitor and rollbacks to occur when an alarm is in the ALARM state. A, this option does not provide a rollback plan in case of failures, which could further increase the customer impact of a failed deployment. This strategy can help detect any issues early on, it does not guarantee that the impact on customers will be reduced since some customers might still be affected by the issues. Someone can tell me more?
upvoted 3 times
RVivek
1 year, 10 months ago
Alarms: These are CloudWatch alarms that are triggered by any errors raised by the deployment. When encountered, they automatically roll back your deployment. For example, if the updated code you're deploying causes errors within the application. Another example is if any AWS Lambda or custom CloudWatch metrics that you specified have breached the alarm threshold. https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html
upvoted 1 times
...
franklinfocus
2 years ago
codebuild is not use for continous deployment
upvoted 2 times
...
SanChan
2 years ago
checked, Answer D does not provide a gradual deployment strategy that reduces the customer impact of a new deployment, which was one of the requirements given in the question. So the final answer should be A
upvoted 6 times
...
...
madperro
2 years ago
Selected Answer: A
A looks fine.
upvoted 1 times
...
haazybanj
2 years, 2 months ago
Selected Answer: A
A. Use an AWS Serverless Application Model (AWS SAM) template to define the serverless application. Use AWS CodeDeploy to deploy the Lambda functions with the Canary10Percent15Minutes Deployment Preference Type. Use Amazon CloudWatch alarms to monitor the health of the functions would be the best deploy stage configuration for meeting the requirements of reducing customer impact of an unsuccessful deployment and monitoring for issues. Option A uses AWS CodeDeploy to deploy the Lambda functions with the Canary10Percent15Minutes Deployment Preference Type, which gradually deploys the new version of the function to a small subset of users before deploying it to the entire fleet. This approach reduces customer impact of an unsuccessful deployment. Additionally, Amazon CloudWatch alarms are used to monitor the health of the functions, which can provide real-time feedback on any issues that arise. This meets the requirement of monitoring for issues.
upvoted 2 times
...
alce2020
2 years, 2 months ago
A is the correct answer
upvoted 1 times
...
ele
2 years, 3 months ago
Selected Answer: A
A looks realistic
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 ...