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.
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.
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.
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.!
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/
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.
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.
MrBond_007
Highly Voted 2 years, 11 months agodj1000
1 year, 1 month agomacxsz
1 year, 5 months agoaplicacion101
1 year agokhuiper
Highly Voted 2 years, 4 months agocerifyme85
Most Recent 10 months agonospampls
12 months agoaplicacion101
1 year, 2 months agoGeorgeOrt
1 year, 3 months agoeducan
1 year, 4 months agomacxsz
1 year, 5 months agokibo_muc
1 year, 6 months agoKABZA_NGWANA_06
1 year, 7 months agoanagy11
1 year, 8 months agosds85
1 year, 8 months agoaplicacion101
1 year, 2 months agoProdijhei
2 years agomustu730
2 years, 4 months agorichard2865
2 years, 7 months agoDenskyDen
2 years, 8 months agounnamed23
2 years, 2 months agocryptonite
2 years, 9 months ago