AWS Certified Developer – Associate — Question 149
A developer is creating a template that uses AWS CloudFormation to deploy an application. The application is serverless and uses Amazon API Gateway. Amazon DynamoDB, and AWS Lambda.
Which AWS service or tool should the developer use to define serverless resources in YAML?
Answer options
- A. CloudFormation serverless intrinsic functions
- B. AWS Elastic Beanstalk
- C. AWS Serverless Application Model (AWS SAM)
- D. AWS Cloud Development Kit (AWS CDK)
Correct answer: C
Explanation
The correct answer is C, AWS Serverless Application Model (AWS SAM), as it is specifically designed for building serverless applications and allows developers to define serverless resources in a simplified manner using YAML. Option A refers to intrinsic functions that do not specifically pertain to serverless applications, while B, AWS Elastic Beanstalk, is not focused on serverless architectures, and D, AWS Cloud Development Kit (AWS CDK), is a different approach that uses programming languages instead of YAML.