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 185 discussion

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

A developer has built an application running on AWS Lambda using AWS Serverless Application Model (AWS SAM).

What is the correct sequence of steps to successfully deploy the application?

  • A. 1. Build the SAM template in Amazon EC2.
    2. Package the SAM template to Amazon EBS storage.
    3. Deploy the SAM template from Amazon EBS.
  • B. 1. Build the SAM template locally.
    2. Package the SAM template onto Amazon S3.
    3. Deploy the SAM template from Amazon S3.
  • C. 1. Build the SAM template locally.
    2. Deploy the SAM template from Amazon S3.
    3. Package the SAM template for use.
  • D. 1. Build the SAM template locally.
    2. Package the SAM template from AWS CodeCommit.
    3. Deploy the SAM template to CodeCommit.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
rcaliandro
1 year, 10 months ago
sam build => build the code locally sam package => creates a .zip file and upload it on S3 and returns a CloudFormation template sam deploy => run the CloudFormation stack and instantiate the resources (now the command sam deploy also execute sam package first). So, B is the correct answer
upvoted 1 times
...
BATSIE
1 year, 11 months ago
Option A is incorrect because Amazon EBS (Elastic Block Store) is not used to store SAM templates. It is a service that provides block-level storage volumes for use with EC2 instances. Option B is correct because the developer needs to first build the SAM template locally, then package the SAM template and upload it to an S3 bucket. Finally, the developer can deploy the SAM template from S3 using the AWS CLI or AWS Management Console. Option C is incorrect because it suggests deploying the SAM template directly from S3 without first packaging it, which is not a valid option. Packaging the SAM template is required to create a deployment package that includes the application code and other dependencies. Option D is incorrect because AWS CodeCommit is a managed source control service that is used to store and manage source code, and not SAM templates. SAM templates can be stored in CodeCommit, but it is not required for deploying the application
upvoted 1 times
...
fomenkogregory
2 years, 1 month ago
guys when you choose some variant at least provide a source, or explain your thoughts. Your generic "I choose B" doesn't help much as a comment.
upvoted 4 times
Dipak25
1 year, 4 months ago
Hope you passed the exam by now. Not all the people knows the explanation. ExamTopics also didn't provide any SME as it is free platform. Now there are explanation given you can see.
upvoted 1 times
...
...
ShriniW
2 years, 2 months ago
Selected Answer: B
B Is the answer
upvoted 1 times
...
sichilam
2 years, 3 months ago
B it is
upvoted 1 times
...
michaldavid
2 years, 4 months ago
Selected Answer: B
bbbbbbbbb
upvoted 1 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: B
Choosing B
upvoted 1 times
...
saysamsuf
2 years, 5 months ago
Selected Answer: B
I agree
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