A Developer has been asked to make changes to the source code of an AWS Lambda function. The function is managed using an AWS CloudFormation template. The template is configured to load the source code from an Amazon S3 bucket. The Developer manually created a .ZIP file deployment package containing the changes and put the file into the correct location on Amazon S3. When the function is invoked, the code changes have not been applied. What step is required to update the function with the changes?
A) Delete the .ZIP file on S3, and re-upload by using a different object key name.
B) Update the CloudFormation stack with the correct values for the function code properties S3Bucket , S3Key , or S3ObjectVersion . Update the CloudFormation stack with the correct values for the function code properties S3Bucket , S3Key , or S3ObjectVersion .
C) Ensure that the function source code is base64-encoded before uploading the deployment package to S3.
D) Modify the execution role of the Lambda function to allow S3 access permission to the deployment package .ZIP file.
Correct Answer:
Verified
Q209: A Developer is creating a serverless website
Q210: A Developer needs to design an application
Q211: A company needs to secure its existing
Q212: An AWS Lambda function must access an
Q213: A Developer must deploy a new AWS
Q215: A Developer is investigating an issue whereby
Q216: A Developer wants to debug an application
Q217: A Developer is working on an application
Q218: A company needs to distribute firmware updates
Q219: A company maintains an application responsible for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents