Topic 1 Question 14
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?
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.
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.
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.
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.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: A
A looks realistic
👍 1ele2023/04/07 A is the correct answer
👍 1alce20202023/04/14- 正解だと思う選択肢: 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.
👍 1haazybanj2023/05/01
シャッフルモード