AWS Certified Developer – Associate — Question 321

A company is working on a new serverless application. A developer needs to find an automated way to deploy AWS Lambda functions and the dependent infrastructure with minimum coding effort. The application also needs to be reliable.

Which method will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: B

Explanation

AWS Serverless Application Model (AWS SAM) is specifically designed to simplify the definition and deployment of serverless infrastructure with minimal coding effort. Combining AWS SAM with a CI/CD pipeline and the SAM CLI automates the entire process reliably with the least operational overhead. Other options involving manual uploads, custom shell scripting, or storing container images in AWS CodeArtifact (which is a software package repository, not a container registry like Amazon ECR) introduce significantly more operational overhead and complexity.