SAP-C02 · Question #94
SAP-C02 Question #94: Real Exam Question with Answer & Explanation
Sign in or unlock SAP-C02 to reveal the answer and full explanation for question #94. The question stem and answer options stay visible for context.
Question
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?
Options
- ACreate and deploy nested AWS CloudFormation stacks with the parent stack consisting of the
- BUse AWS SAM and built-in AWS CodeDeploy to deploy the new Lambda version, gradually shift
- CRefactor the AWS CLI scripts into a single script that deploys the new Lambda version. When
- DCreate and deploy an AWS CloudFormation stack that consists of a new API Gateway endpoint
Unlock SAP-C02 to see the answer
You've previewed enough free SAP-C02 questions. Unlock SAP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.