PdfPrep.com

How can this deployment be automated, based on these requirements?

A Developer has written a serverless application using multiple AWS services. The business logic is written as a Lambda function which has dependencies on third-party libraries. The Lambda function endpoints will be exposed using Amazon API Gateway. The Lambda function will write the information to Amazon DynamoDB. The Developer is ready to deploy the application but must have the ability to rollback.

How can this deployment be automated, based on these requirements?
A . Deploy using Amazon Lambda API operations to create the Lambda function by providing a deployment package.
B . Use an AWS CloudFormation template and use CloudFormation syntax to define the Lambda function resource in the template.
C . Use syntax conforming to the Serverless Application Model in the AWS CloudFormation template to define the Lambda function resource.
D . Create a bash script which uses AWS CLI to package and deploy the application.

Answer: A

Explanation:

Reference: https://docs.aws.amazon.com/lambda/latest/dg/automating-deployment.html

Exit mobile version