AWS Certified Developer – Associate — Question 87
A company has developed a new serverless application using AWS Lambda functions that will be deployed using the AWS Serverless Application Model (AWS SAM) CLI.
Which step should the developer complete prior to deploying the application?
Answer options
- A. Compress the application to a .zip file and upload it into AWS Lambda.
- B. Test the new AWS Lambda function by first tracing it in AWS X-Ray.
- C. Bundle the serverless application using a SAM package.
- D. Create the application environment using the eb create my-env command.
Correct answer: C
Explanation
The correct answer is C because before deployment, the application must be bundled using a SAM package to prepare it for deployment. Options A and B describe actions that occur after the packaging step, while option D refers to an Elastic Beanstalk command that is not relevant to AWS Lambda applications.