ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 142 - DVA-C01 discussion

Report
Export

A Developer writes an AWS Lambda function and uploads the code in a .ZIP file to Amazon S3. The Developer makes changes to the code and uploads a new .ZIP file to Amazon S3. However, Lambda executes the earlier code. How can the Developer fix this in the LEAST disruptive way?

A.
Create another Lambda function and specify the new .ZIP file.
Answers
A.
Create another Lambda function and specify the new .ZIP file.
B.
Call the update-function-code API.
Answers
B.
Call the update-function-code API.
C.
Remove the earlier .ZIP file first, then add the new .ZIP file.
Answers
C.
Remove the earlier .ZIP file first, then add the new .ZIP file.
D.
Call the create-alias API.
Answers
D.
Call the create-alias API.
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/cli/latest/reference/lambda/update-function-code.html

asked 16/09/2024
cristian vargas
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first