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

A developer is implementing a serverless application by using AWS CloudFormation to provision Amazon S3 web hosting. Amazon API Gateway, and AWS Lambda functions. The Lambda function source code is zipped and uploaded to an S3 bucket. The S3 object key of the zipped source code is specified in the Lambda resource in the CloudFormation template.

The developer notices that there are no changes in the Lambda function every time the CloudFormation stack is updated.

How can the developer resolve this issue?

  • A. Create a new Lambda function alias before updating the CloudFormation stack.
  • B. Change the S3 object key or the S3 version in the CloudFormation template before updating the CloudFormation stack.
  • C. Upload the zipped source code to another S3 bucket before updating the CioudFormation stack.
  • D. Associate a cade signing configuration with the Lambda function before updating the CloudFormation stack.
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
Shamalka
1 day, 9 hours ago
Selected Answer: B
You have to change the S3 Object Key and the Version every time you update the code,
upvoted 1 times
...
0bdf3af
1 week, 5 days ago
Selected Answer: A
A. Lambda alias pointing to $LATEST will resolve this issue. B could also fit in this situation, but if deployment can happen even couple times a day it is very annoiyng to change manually the version of the lambda funtion everytime in cloudformation template
upvoted 1 times
...
ShakthiGCP
3 months ago
Selected Answer: B
Giving a new object key when load the new zip file
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