In which situation would a synchronous API be used?

IT Questions BankCategory: DevNetIn which situation would a synchronous API be used?

Question:
In which situation would a synchronous API be used?

  • when a server is not part of the process
  • when the original API request or data from the request is delayed
  • when data is being retrieved from a database
  • when the client is not required to take action

Explanation: Synchronous APIs respond to a request directly and immediately such as when data is being provided from memory or a database. In contrast, asynchronous APIs may send a notification that a data request has been made, send the data later, trigger a callback to provide the data, or process the request and then take an appropriate action. The action can be immediate, but it does not have to be.

Exam with this question: DevNet Associate (v1.0) – Module 4 Exam Answers

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x