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 21 discussion

A developer maintains an Amazon API Gateway REST API. Customers use the API through a frontend UI and Amazon Cognito authentication.
The developer has a new version of the API that contains new endpoints and backward-incompatible interface changes. The developer needs to provide beta access to other developers on the team without affecting customers.
Which solution will meet these requirements with the LEAST operational overhead?

  • A. Define a development stage on the API Gateway API. Instruct the other developers to point the endpoints to the development stage.
  • B. Define a new API Gateway API that points to the new API application code. Instruct the other developers to point the endpoints to the new API.
  • C. Implement a query parameter in the API application code that determines which code version to call.
  • D. Specify new API Gateway endpoints for the API endpoints that the developer wants to add.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Bibay
Highly Voted 1 year, 11 months ago
Selected Answer: A
Option A is the correct solution to meet the requirements with the least operational overhead. Defining a development stage on the API Gateway API enables other developers to test the new version of the API without affecting the production environment. This approach allows the developers to work on the new version of the API independently and avoid conflicts with the production environment. The other options involve creating a new API or new endpoints, which could introduce additional operational overhead, such as managing multiple APIs or endpoints, configuring access control, and updating the frontend UI to point to the new endpoints or API. Option C also introduces additional complexity by requiring the implementation of a query parameter to determine which code version to call.
upvoted 13 times
beekeeper0101
10 months, 3 weeks ago
Thank you!
upvoted 1 times
...
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: A
A) Correct - The developer can deploy the new version of the API to a development stage while keeping the existing API in the production stage for customers. Beta users (team developers) can use the unique URL of the development stage to access the new API version. B) Eliminated - This involves duplicating the API Gateway setup and potentially managing additional resources C) Eliminated - This requires modifying the application logic, which increases the development effort and complexity. - Add complexity and operational overhead. D) Eliminated - The goal is to let beta users test the new API without affecting existing customers. Mixing endpoints in the same API Gateway does not provide a clean separation, which increases the risk of customer impact.
upvoted 3 times
...
trieudo
4 months, 2 weeks ago
Selected Answer: A
keyword: LEAST operational overhead, backward-incompatible, beta access to other developers on the team without affecting customers.(separate) ==> Discard B: take effort to operation and maintain many API gateway instances ==> Discard C: It is not separate API production and beta, make effort to understand, transfer, or fixing something when misunderstading. Violate backward-incompitable, when new version can also use old endpoint version 100% (just adding, not delete or modify) ==> Discard D: like a bit with C, mixing 2 environment prod and beta,
upvoted 1 times
...
AnthonyTL
7 months, 2 weeks ago
A is correct as the Q asked for 'with the LEAST operational overhead' C got less operation than B but more than A
upvoted 1 times
...
ACurryDeveloper
9 months ago
Selected Answer: A
It is A you chutiyas
upvoted 1 times
...
ahadh7621
9 months, 1 week ago
This question was on my exam July 23rd, 2024. Answer is A
upvoted 2 times
...
65703c1
11 months, 1 week ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
mghectorenjoyer69
1 year, 1 month ago
Selected Answer: B
B ra unga amma
upvoted 1 times
...
HayLLlHuK
1 year, 1 month ago
Selected Answer: A
The correct answer is A (development stage). You can configure a development stage for your API Gateway API and then integrate it with the new version of the backend functionality that has new endpoints and backward-incompatible interface changes. The customers can continue to use the existing API.
upvoted 1 times
...
41eb566
1 year, 1 month ago
Selected Answer: B
The option that meets the requirements with the least operational overhead is: B. Define a new API Gateway API that points to the new API application code. Instruct the other developers to point the endpoints to the new API. Here's why: A. Defining a development stage on the existing API Gateway API could potentially affect customers if not managed properly. It might introduce changes or issues to the existing API that customers are using. C. Implementing a query parameter in the API application code to determine the code version introduces complexity and potential risk, as it requires changes to the application code itself. It also doesn't isolate the beta access from the main API. D. Specifying new API Gateway endpoints for the new API endpoints adds complexity and overhead. It requires managing multiple endpoints, potentially affecting the API's simplicity and increasing maintenance overhead.
upvoted 2 times
...
hungnv6_rikkei
1 year, 2 months ago
A is answer
upvoted 1 times
...
Alearn
1 year, 4 months ago
Selected Answer: B
LEAST operational overhead would be B.
upvoted 2 times
...
leonardoliveros
1 year, 5 months ago
Selected Answer: A
The stages gives the capacity to tests a new version in an APIg without affecting customers in others stages
upvoted 2 times
...
Tony88
1 year, 7 months ago
Selected Answer: A
The best practice is to define a development stage.
upvoted 3 times
...
jayvarma
1 year, 8 months ago
Option A is the right answer. Defining a development stage on the API Gateway API would provide other developers with a way to test the newer version of the API without affecting prod. The rest of the options would create a lot of operational overhead.
upvoted 1 times
...
MrTee
2 years ago
Selected Answer: A
The developer should define a development stage on the API Gateway API. They should then instruct the other developers to point the endpoints to the development stage. This solution will meet the requirements with the least operational overhead
upvoted 1 times
...
Untamables
2 years, 1 month ago
Selected Answer: A
A https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-stages.html https://docs.aws.amazon.com/apigateway/latest/developerguide/canary-release.html
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago