exam questions

Exam AWS Certified Developer Associate All Questions

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

Exam AWS Certified Developer Associate topic 1 question 109 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 109
Topic #: 1
[All AWS Certified Developer Associate Questions]

A developer must extend an existing application that is based on the AWS Serverless Application Model (AWS SAM). The developer has used the AWS SAM CLI to create the project. The project contains different AWS Lambda functions.
Which combination of commands must the developer use to redeploy the AWS SAM application? (Choose two.)

  • A. sam init
  • B. sam validate
  • C. sam build
  • D. sam deploy
  • E. sam publish
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
Chhotu_DBA
Highly Voted 2 years, 7 months ago
Selected Answer: CD
C D correct
upvoted 8 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: CD
sam build This command compiles the source code of the Lambda functions, dependencies, and other artifacts into a format suitable for deployment. It creates a .aws-sam directory where the build artifacts are stored. It is essential to rebuild the application after making changes to ensure the latest code is included. sam deploy This command packages and deploys the built application to AWS. It uploads the application artifacts to Amazon S3 and updates the CloudFormation stack to deploy the application resources.
upvoted 1 times
...
AswinDe
1 year, 9 months ago
Why A is not an option? as it is asking to create the new project
upvoted 1 times
RaidenKurosaki
1 year, 8 months ago
Said to extend not create a new project.
upvoted 1 times
...
...
rcaliandro
1 year, 10 months ago
Selected Answer: CD
Agree with CD: sam build to build the lambda functions locally, sam deploy to put resources in the cloud and create the resources
upvoted 1 times
...
sichilam
2 years, 3 months ago
C and D
upvoted 1 times
...
dark_cherrymon
2 years, 5 months ago
Selected Answer: CD
it's not B or E
upvoted 1 times
...
cwit63
2 years, 6 months ago
C & D are correct
upvoted 1 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