exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 458 discussion

Actual exam question from Cisco's 200-901
Question #: 458
Topic #: 1
[All 200-901 Questions]



Refer to the exhibit. The sequence diagram shows a RESTful API call. Which step and response will represent the behavior of the REST API call to be synchronous?

  • A. POST/discovery/ when there is a slot available and get the response from the POST call with the discovery details.
  • B. GET/discovery/ when the discovery is finished and get the response from the GET call with the discovery requirements.
  • C. POST/discovery?discoveryid= when the discovery is created and get the response from the POST call with the discovery details.
  • D. PUT/discovery/ when the discovery is created and get the response of the discovery when it is updated.
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
daniii89
3 months, 1 week ago
Selected Answer: B
The correct answer is B because a synchronous API call provides a complete response in a single request without requiring the client to check back later. In the sequence diagram, the GET /discovery/<discoveryId> request (Step 5) retrieves the final discovery details in one response (Step 6), making it synchronous.
upvoted 1 times
...
StewartJ
3 months, 3 weeks ago
Selected Answer: D
confirmed via documentation D
upvoted 1 times
...
Muste
8 months, 3 weeks ago
Selected Answer: B
A. POST/discovery/ when there is a slot available and get the response from the POST call with the discovery details. This option involves creating a new discovery (POST) and receiving the response immediately. However, it doesn’t align with the concept of checking for slot availability. Not a synchronous behavior. so the answer is B
upvoted 3 times
...
Ghneuma
10 months, 2 weeks ago
Selected Answer: B
B is the only answer that makes sense to me. Starting a discovery in DNAC is an asynchronous task in nature: https://developer.cisco.com/docs/dna-center/#!asynchronous-apis/asynchronous-operations https://developer.cisco.com/docs/dna-center/#!start-discovery C and D are not valid DNAC API calls. A is an asynchronous API call, but you don't get discovery details, just the Id and URL of the task created. B is a synchronous API call: Returns discovery by Discovery ID. Discovery ID can be obtained using the "Get Discoveries by range" API. https://developer.cisco.com/docs/dna-center/#!get-discovery-by-id
upvoted 2 times
...
wildbandana
10 months, 4 weeks ago
Selected Answer: A
checked in docs
upvoted 1 times
...
wildbandana
11 months ago
D checked in docs
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