exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 350 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 350
Topic #: 1
[All AWS Certified Developer Associate Questions]

A developer wants to reduce risk when deploying a new version of an existing AWS Lambda function. To test the Lambda function, the developer needs to split the traffic between the existing version and the new version of the Lambda function.

Which solution will meet these requirements?

  • A. Configure a weighted routing policy in Amazon Route 53. Associate the versions of the Lambda function with the weighted routing policy.
  • B. Create a function alias. Configure the alias to split the traffic between the two versions of the Lambda function.
  • C. Create an Application Load Balancer (ALB) that uses the Lambda function as a target. Configure the ALB to split the traffic between the two versions of the Lambda function.
  • D. Create the new version of the Lambda function as a Lambda layer on the existing version. Configure the function to split the traffic between the two layers.
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
mrbig00
Highly Voted 2 years, 4 months ago
Selected Answer: B
B. Create a function alias. Configure the alias to split the traffic between the two versions of the Lambda function. To split traffic between the existing and new versions of a Lambda function, the developer can create a function alias and configure it to split the traffic between the two versions. A function alias is a pointer to a specific version of a Lambda function, and can be used to route traffic to the appropriate version. The developer can use the AWS Management Console or the AWS CLI to create and configure the function alias.
upvoted 6 times
...
hpipit
Most Recent 2 years, 3 months ago
Selected Answer: B
100% B is the correct response
upvoted 3 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: B
https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html
upvoted 2 times
...
kapil206001
2 years, 5 months ago
B Use routing configuration on an alias to send a portion of traffic to a second function version. For example, you can reduce the risk of deploying a new version by configuring the alias to send most of the traffic to the existing version, and only a small percentage of traffic to the new version. https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html
upvoted 2 times
...
michaldavid
2 years, 5 months ago
Selected Answer: B
B for me
upvoted 2 times
...
DrCloud
2 years, 5 months ago
Ans: D https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html You can use versions to manage the deployment of your functions. For example, you can publish a new version of a function for beta testing without affecting users of the stable production version. Lambda creates a new version of your function each time that you publish the function. The new version is a copy of the unpublished version of the function. Note: Lambda doesn't create a new version if the code in the unpublished version is the same as the previous published version.
upvoted 1 times
DrCloud
2 years, 2 months ago
Correct Ans: B. D is not correct. Sorry about it!
upvoted 2 times
...
...
absolutic
2 years, 5 months ago
It is B
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