
Answer-first summary for fast verification
Answer: Develop the SAM template locally => upload the template to S3 => deploy your application to the cloud
Overall explanation Correct option: Develop the SAM template locally => upload the template to S3 => deploy your application to the cloud The AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications. It provides shorthand syntax to express functions, APIs, databases, and event source mappings. With just a few lines per resource, you can define the application you want and model it using YAML. You can develop and test your serverless application locally, and then you can deploy your application by using the sam deploy command. The sam deploy command zips your application artifacts, uploads them to Amazon Simple Storage Service (Amazon S3), and deploys your application to the AWS Cloud. AWS SAM uses AWS CloudFormation as the underlying deployment mechanism.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A media analytics company has developed a streaming application leveraging AWS Lambda by utilizing the Serverless Application Model (SAM) framework.
As a Developer Associate, which sequence should you follow to deploy the application successfully from start to finish?
A
Develop the SAM template locally => deploy the template to S3 => use your application in the cloud
B
Develop the SAM template locally => upload the template to S3 => deploy your application to the cloud
C
Develop the SAM template locally => upload the template to Lambda => deploy your application to the cloud
D
Develop the SAM template locally => upload the template to CodeCommit => deploy your application to CodeDeploy