Topic 1 Question 435
2 つ選択A company has a serverless application that uses an Amazon API Gateway API to invoke an AWS Lambda function. A developer creates a fix for a defect in the Lambda function code. The developer wants to deploy this fix to the production environment.
To test the changes, the developer needs to send 10% of the live production traffic to the updated Lambda function version.
Which combination of steps will meet these requirements?
Publish a new version of the Lambda function that contains the updated code.
Set up a new stage in API Gateway with a new Lambda function version. Enable weighted routing in API Gateway stages.
Create an alias for the Lambda function. Configure weighted routing on the alias. Specify a 10% weight for the new Lambda function version.
Set up a routing policy on a Network Load Balancer. Configure 10% of the traffic to go to the new Lambda function version.
Set up a weighted routing policy by using Amazon Route 53. Configure 10% of the traffic to go to the new Lambda function version.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: AC
AC -----
👍 1Saudis2024/11/07 - 正解だと思う選択肢: AC
The correct answers are AC
Here's why:
A. Publish a new version: Lambda's versioning mechanism allows you to deploy updated code without affecting the currently running version. This is a crucial first step.
C. Create an alias and configure weighted routing: API Gateway doesn't directly support weighted routing to different Lambda function versions. However, creating an alias allows you to point to multiple versions of a function. You can then configure the API Gateway to use this alias, allowing for weighted routing between the versions through the alias. This provides a controlled rollout of the updated function.
👍 1examuserss2025/01/02
シャッフルモード