exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 34 discussion

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?

  • A. CloudFormation serverless intrinsic functions
  • B. AWS Elastic Beanstalk
  • C. AWS Serverless Application Model (AWS SAM)
  • D. AWS Cloud Development Kit (AWS CDK)
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Bibay
Highly Voted 1 year, 1 month ago
The recommended AWS service for defining serverless resources in YAML is the AWS Serverless Application Model (AWS SAM). AWS SAM is an open-source framework that extends AWS CloudFormation to provide a simplified way to define the Amazon API Gateway APIs, AWS Lambda functions, and Amazon DynamoDB tables needed by your serverless application. You can define your serverless resources in a YAML template and then use the AWS SAM CLI to package and deploy your application. AWS CloudFormation serverless intrinsic functions can also be used to define serverless resources in YAML, but they have some limitations compared to AWS SAM. AWS Elastic Beanstalk is a platform as a service (PaaS) that is not serverless specific, while the AWS Cloud Development Kit (AWS CDK) is an alternative to YAML-based templates that uses familiar programming languages like TypeScript, Python, and Java to define AWS infrastructure.
upvoted 20 times
jipark
11 months ago
your explanation helps me a lot !
upvoted 2 times
...
...
Untamables
Highly Voted 1 year, 3 months ago
Selected Answer: C
C https://aws.amazon.com/serverless/sam/
upvoted 6 times
...
sumanshu
Most Recent 2 weeks ago
Selected Answer: C
AWS SAM is specifically designed for serverless applications.
upvoted 1 times
...
trieudo
3 weeks, 1 day ago
Selected Answer: C
==> Discard A. CloudFormation serverless intrinsic functions: Does not exist; CloudFormation has no intrinsic functions specifically for serverless. ==> Discard B. AWS Elastic Beanstalk: Not serverless; used for managing EC2-based applications. ==> Discard D. AWS Cloud Development Kit (AWS CDK): Does not use YAML; CDK defines infrastructure using programming languages. C. AWS Serverless Application Model (AWS SAM): Extends CloudFormation, specifically designed for defining and deploying serverless resources (API Gateway, DynamoDB, Lambda) in YAML with simplified syntax. It perfectly aligns with the requirements in the question: serverless resources, YAML, and CloudFormation
upvoted 1 times
...
65703c1
1 month, 2 weeks ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
Jonalb
8 months, 2 weeks ago
O AWS Serverless Application Model (AWS SAM) é uma extensão do AWS CloudFormation que facilita a definição de aplicações sem servidor. AWS SAM fornece modelos mais simples para configurar recursos sem servidor como AWS Lambda, Amazon API Gateway e Amazon DynamoDB. Os modelos podem ser definidos em YAML ou JSON. C
upvoted 1 times
...
svrnvtr
1 year, 3 months ago
Selected Answer: C
C is the answer
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago