Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

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

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 99 discussion

A company has an AWS Lambda function that processes incoming requests from an Amazon API Gateway API. The API calls the Lambda function by using a Lambda alias. A developer updated the Lambda function code to handle more details related to the incoming requests. The developer wants to deploy the new Lambda function for more testing by other developers with no impact to customers that use the API.

Which solution will meet these requirements with the LEAST operational overhead?

  • A. Create a new version of the Lambda function. Create a new stage on API Gateway with integration to the new Lambda version. Use the new API Gateway stage to test the Lambda function.
  • B. Update the existing Lambda alias used by API Gateway to a weighted alias. Add the new Lambda version as an additional Lambda function with a weight of 10%. Use the existing API Gateway stage for testing.
  • C. Create a new version of the Lambda function. Create and deploy a second Lambda function to filter incoming requests from API Gateway. If the filtering Lambda function detects a test request, the filtering Lambda function will invoke the new Lambda version of the code. For other requests, the filtering Lambda function will invoke the old Lambda version. Update the API Gateway API to use the filtering Lambda function.
  • D. Create a new version of the Lambda function. Create a new API Gateway API for testing purposes. Update the integration of the new API with the new Lambda version. Use the new API for testing.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
rbryanben
1 week ago
Selected Answer: C
How not C
upvoted 1 times
...
nbxyzd
1 week, 5 days ago
Selected Answer: A
It's hands-down A.
upvoted 1 times
...
queekao
3 months, 3 weeks ago
Selected Answer: A
the request is `Which solution will meet these requirements with the LEAST "operational overhead"?`, Therefore solution C is too crazy and the operation will be complex
upvoted 3 times
...
65703c1
5 months, 3 weeks ago
Selected Answer: A
A is the correct answer.
upvoted 2 times
...
Alearn
10 months, 3 weeks ago
Selected Answer: B
Option A requires creating a new stage on API Gateway, which might increase the operational overhead and complexity of managing multiple stages.
upvoted 1 times
...
NaghamAbdellatif
1 year, 1 month ago
Why not B? There is canary testing in Lambda Functions
upvoted 1 times
Cerakoted
1 year, 1 month ago
Cuz of it -> new Lambda function for more testing by other developers with no impact to customers that use the API.
upvoted 3 times
[Removed]
11 months, 1 week ago
Thank you for this... I too thought B --> definitely A then
upvoted 1 times
...
...
...
jayvarma
1 year, 3 months ago
There is no need for us to create an all-new API Gateway in order to test the newer version of lambda. As a newer version of the lambda function is deployed with the necessary changes, a new stage of the API Gateway can be used ot test the changes of the lambda function.
upvoted 3 times
jayvarma
1 year, 3 months ago
So A is the right option
upvoted 2 times
...
...
jipark
1 year, 3 months ago
Selected Answer: A
A : create new API stage (add stage) - correct D: crew new API Gateway (create new one) - incorrect
upvoted 4 times
[Removed]
11 months, 1 week ago
yea D makes no sense. I think it was placed in there to throw people off.
upvoted 1 times
...
...
MrPie
1 year, 4 months ago
Selected Answer: A
A is correct. Why the "correct answer" is always wrong? What's the point?
upvoted 4 times
JamalDaBoss
1 year, 3 months ago
I agree, very stupid
upvoted 1 times
...
...
FunkyFresco
1 year, 4 months ago
Selected Answer: A
A is ok according to my perspective.
upvoted 1 times
...
loctong
1 year, 6 months ago
Selected Answer: A
A's true
upvoted 1 times
...
delak
1 year, 6 months ago
Selected Answer: A
A is true
upvoted 1 times
...
rlnd2000
1 year, 6 months ago
Selected Answer: A
In my perspective, A is the correct answer and a pretty typical pattern; I'm not sure why C was chosen, but testing in production is not a smart practice.
upvoted 1 times
...
chumji
1 year, 6 months ago
The answer is A
upvoted 3 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 ...