Topic 1 Question 460
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?
Create a new Lambda function alias before updating the CloudFormation stack.
Change the S3 object key or the S3 version in the CloudFormation template before updating the CloudFormation stack.
Upload the zipped source code to another S3 bucket before updating the CioudFormation stack.
Associate a cade signing configuration with the Lambda function before updating the CloudFormation stack.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: B
Giving a new object key when load the new zip file
👍 1ShakthiGCP2024/12/12 - 正解だと思う選択肢: 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
👍 10bdf3af2025/03/05
シャッフルモード