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?
Select one answer.
Marked answer: B
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose B1
Option. B offers a safe, automated, and fast deployment and rollback strategy using native AWS tools designed for serverless applications. It dramatically reduces operational burden, risk, and downtime compared to manual or partially automated approaches.
Chose B1
A and D are just obviously wrong bc they said "reduce time to deploy" and cloudformation is very very slow. B and C are effectively the same answer, but B uses automatic, serverless, managed architecture, and C is using manual CLI scripts and manual reverting. Generally, manual anything is discouraged.