Question 73:
You have written an AWS Serverless Application Model (AWS SAM) template to create a Lambda function. As AWS SAM service has integrated with AWS CodeDeploy to ensure safe Lambda deployments, you prefer to shift users to the new version gradually. A piece of template is as below:
Answer options:
A.If an alarm such as AliasErrorMetricAlarm appears, CodeDeploy does not roll back the deployment. B.10 percent of the traffic is shifted to the new version all at once. Then the remaining 90 percent of traffic is shifted to the new version 5 minutes later. C.If PreTrafficLambdaForValidation has failed, the deployment is not rolled back. D.If PostTrafficLambdaForValidation has failed, the deployment is not rolled back.