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

A company has developed a new serverless application using AWS Lambda functions that will be deployed using the AWS Serverless Application Model (AWS SAM) CLI.

Which step should the developer complete prior to deploying the application?

  • A. Compress the application to a .zip file and upload it into AWS Lambda.
  • B. Test the new AWS Lambda function by first tracing it in AWS X-Ray.
  • C. Bundle the serverless application using a SAM package.
  • D. Create the application environment using the eb create my-env command.
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
albert_kuo
8 months, 3 weeks ago
Selected Answer: C
sam package --template-file template.yaml --s3-bucket my-deployment-bucket --output-template-file packaged.yaml
upvoted 1 times
...
65703c1
1 year ago
Selected Answer: C
C is the correct answer.
upvoted 2 times
...
SerialiDr
1 year, 4 months ago
Selected Answer: C
Using sam package (or aws cloudformation package) command, the developer can package the Lambda functions, along with any dependencies and resources defined in the SAM template, into a deployment package. This command uploads local artifacts (like Lambda function code and Swagger files) to an S3 bucket and produces a modified SAM template file, formatted for deployment.
upvoted 4 times
...
TanTran04
1 year, 6 months ago
Selected Answer: C
C. Bundle the serverless application using a SAM package. Before deploying a serverless application using the AWS Serverless Application Model (AWS SAM) CLI, the developer should bundle the application using the sam package command. This command packages and uploads the local artifacts of your serverless application to Amazon S3, and it produces a packaged AWS SAM template file that you can deploy with the sam deploy command.
upvoted 1 times
...
dilleman
1 year, 8 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
Digo30sp
1 year, 8 months ago
Selected Answer: C
C) https://www.examtopics.com/discussions/amazon/view/28650-exam-aws-certified-developer-associate-topic-1-question-312/
upvoted 4 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 ...