exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 65 discussion

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

How does requesting a synchronous API operation differ from requesting an asynchronous API operation?

  • A. clients receive responses with a task ID for further processing
  • B. clients subscribe to a webhook for operation results
  • C. clients poll for the status of the execution of operations
  • D. clients can access the results immediately
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
MrBond_007
Highly Voted 2 years, 11 months ago
It's D. With synchronous API the clients can access the results immediately.
upvoted 45 times
dj1000
1 year, 1 month ago
You can't access the results faster. You just don't have to wait for all of the results in a looping operation as you'd normally would. With Async such as asyncio you can send out multiple api calls without waiting for the previous response, and then collect them at the end which is much more efficient. But for singular calls this would be the exact same.
upvoted 2 times
...
macxsz
1 year, 5 months ago
No they cant, they have to wait for a period of time. Check the book
upvoted 4 times
aplicacion101
1 year ago
D is correct check netacad plataform cisco.Book devas dont is clear in those concepts from api
upvoted 1 times
...
...
...
khuiper
Highly Voted 2 years, 4 months ago
200-901 certification guide specify the following: "the main difference between synchronous and asynchronous APIs is that a synchronous API waits for other aspects of the code to complete prior to moving on and processing additional code". So D may be the correct answer.
upvoted 7 times
...
cerifyme85
Most Recent 10 months ago
Selected Answer: D
It's D. With synchronous API the clients can access the results immediately
upvoted 2 times
...
nospampls
12 months ago
Selected Answer: D
D https://www.techtarget.com/whatis/definition/synchronous-asynchronous-API What is the difference between synchronous and asynchronous APIs? Synchronous and asynchronous APIs differ in the following ways: Synchronous APIs: With synchronous APIs, the expectation is that data will be returned immediately. An API is usually synchronous when data or service availability, resources and connectivity are high and low latency is a requirement. Asynchronous APIs: Asynchronous APIs are also known as async APIs. With an asynchronous process, the availability of a resource, service or data store may not be immediate. The API may have to wait for a backend response. These APIs may provide a callback notification to the requester when the requested resource is ready. Asynchronous requests are useful in maintaining an application's functionality rather than tying up its resources waiting on a request. An API may be asynchronous where data or service availability and connectivity is low or oversaturated with demand.
upvoted 4 times
...
aplicacion101
1 year, 2 months ago
Selected Answer: D
Verified. The correct answer D Netacad 4.2.2 **Synchronous APIs ""Synchronous APIs respond to a request directly, usually providing data immediately"". -When are APIs synchronous? APIs are usually designed to be synchronous when the data for the request is readily available, such as when the data is stored in a database or in internal memory. The server can instantly fetch this data and respond back immediately. -Benefits of a synchronous API design Synchronous APIs enable the application to receive data immediately. -!Client side processing () The application making the API request must wait for the response before performing any additional code execution tasks.!
upvoted 2 times
...
GeorgeOrt
1 year, 3 months ago
both C. and D. is about asynchronous API call and question is about synchronous call. "For asynchronous calls, the response to the API call is returned immediately with a polling URL while the request continues to be processed" from https://developer.cisco.com/
upvoted 1 times
...
educan
1 year, 4 months ago
clients can access the results immediately...... if they receive the info quickly.... Otherwise have to wait, stopping the process
upvoted 1 times
...
macxsz
1 year, 5 months ago
Selected Answer: C
Im going for C, the others dont make sense. D also doesnt make sense as clients dont have the results inmediately in synchronous, they have to wait
upvoted 3 times
...
kibo_muc
1 year, 6 months ago
Selected Answer: D
D is correct
upvoted 2 times
...
KABZA_NGWANA_06
1 year, 7 months ago
D IS CORRECT... PERIOD.
upvoted 1 times
...
anagy11
1 year, 8 months ago
Selected Answer: D
It's D
upvoted 3 times
...
sds85
1 year, 8 months ago
Selected Answer: D
Synchronous APIs respond to a request directly, usually providing data (or another appropriate response) immediately. "netacad.com"
upvoted 3 times
aplicacion101
1 year, 2 months ago
Verified, you have reason. The correct answer D Netacad 4.2.2
upvoted 1 times
...
...
Prodijhei
2 years ago
I think its C waiting for status
upvoted 2 times
...
mustu730
2 years, 4 months ago
polling is sync activity - C should be right
upvoted 3 times
...
richard2865
2 years, 7 months ago
The problem is the question. It is worded like crap. Sync waits for the response and async uses webhooks. I am going with D.
upvoted 5 times
...
DenskyDen
2 years, 8 months ago
D. cannot be the answer because Asynchronous API is an API that does not wait until a response is received but that can continue to function as an application and process other aspects of data, which what D. is implying. The question is about "synchronous API operation" and not about asynchronous API operation, the obvious answer should be C.
upvoted 2 times
unnamed23
2 years, 2 months ago
I agree, but comparasion is between sync API. D is correct
upvoted 2 times
...
...
cryptonite
2 years, 9 months ago
This is a comparison between synchronous and asynchronous, not the other way round. Answer is D.
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