Implementing Automation for Cisco Enterprise Solutions (ENAUTO) — Question 3
What are two characteristics of synchronous calls to APIs? (Choose two.)
Answer options
- A. They can be used only with certain programming languages.
- B. They make your application less portable, so asynchronous calls are preferred.
- C. They can add perceived latency to your application if data is not received.
- D. They block until a response is returned from the servers.
- E. They do not block while waiting for the API to be processed.
Correct answer: C, D
Explanation
The correct answers, C and D, highlight that synchronous calls can create a delay in perceived application performance and that they block execution until a response is received. Options A and B are incorrect as they misrepresent the nature of synchronous calls, and option E contradicts the definition of synchronous calls, which inherently block while waiting for a response.