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.
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.
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
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
This section is not available anymore. Please use the main Exam Page.200-901 Exam Questions
Log in to ExamTopics
Sign in:
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.
daniii89
3 months, 1 week agoStewartJ
3 months, 3 weeks agoMuste
8 months, 3 weeks agoGhneuma
10 months, 2 weeks agowildbandana
10 months, 4 weeks agowildbandana
11 months ago