Q43. A company has a serverless application comprised of Amazon CloudFront Amazon API Gateway and AWS Lambda functions. The current deployment process of the application code is to create a new version number of the Lambda func

欢迎免费使用小程序搜题/刷题/查看解析,提升学历,成考自考报名,论文代写、论文查重请加客服微信skr-web


Q43. A company has a serverless application comprised of Amazon CloudFront Amazon API Gateway and AWS Lambda functions. The current deployment process of the application code is to create a new version number of the Lambda function and run an AWS CLI script to update. If the new function version has errors another CLI script reverts by deploying the previous working version of the function. The company would like to decrease the time to deploy new versions of the application logic provided by the Lambda functions and also reduce the time to detect and revert when errors are identified. How can this be accomplished?

A.Create and deploy nested AWS CloudFormation stacks with the parent stack consisting of the AWS CloudFront distribution and API Gateway and the child stack containing the Lambda function. For changes to Lambda create an AWS
CloudFormation change set and deploy; if errors are triggered revert the AWS CloudFormation change set to the previous version. B.Use AWS SAM and built-in AWS CodeDeploy to deploy the new Lambda version gradually shift traffic to the new version and use pre-traffic and post- traffic test functions to verify code. Rollback if Amazon CloudWatch alarms are triggered. C.Refactor the AWS CLI scripts into a single script that deploys the new Lambda version.When deployment is completed the script tests execute. If errors are detected revert to the previous Lambda version. D.Create and deploy an AWS CloudFormation stack that consists of a new API Gateway endpoint that references the new Lambda version. Change the CloudFront origin to the new API Gateway endpoint monitor errors and if detected change the AWS CloudFront origin to the previous API Gateway endpoint.
正确答案B
访客
邮箱
网址

通用的占位符缩略图

人工智能机器人,扫码免费帮你完成工作


  • 自动写文案
  • 自动写小说
  • 马上扫码让Ai帮你完成工作
通用的占位符缩略图

人工智能机器人,扫码免费帮你完成工作

  • 自动写论文
  • 自动写软件
  • 我不是人,但是我比人更聪明,我是强大的Ai
Top