AWS Certified Developer – Associate — Question 103

A developer has built an application running on AWS Lambda using AWS Serverless Application Model (AWS SAM).

What is the correct sequence of steps to successfully deploy the application?

Answer options

Correct answer: B

Explanation

The correct answer is B because the deployment process for AWS SAM requires building the template locally, packaging it to Amazon S3, and then deploying from there. Option A incorrectly uses Amazon EC2 and EBS, while C and D do not follow the correct sequence of packaging before deployment.