Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Cisco Certified DevNet Associate (DEVASC) · Cisco
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
It's D. With synchronous API the clients can access the results immediately
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.!