Implementing Automation for Cisco Collaboration Solutions (CLAUTO) — Question 30
Which two statements describe advantages of consuming APIs with asynchronous versus synchronous requests? (Choose two.)
Answer options
- A. All Cisco APIs are designed to be invoked asynchronously.
- B. APIs respond more quickly when invoked asynchronously.
- C. Asynchronous request coding is less complex.
- D. Application threads do not block waiting for an asynchronous response.
- E. Multiple asynchronous requests can be sent simultaneously.
Correct answer: B, D
Explanation
The correct answers, B and D, highlight that asynchronous requests lead to faster API responses and allow application threads to continue working without waiting for a reply. Options A and C are incorrect because not all Cisco APIs are designed for asynchronous use, and asynchronous coding can actually be more complex due to its nature. Option E, while true, does not directly relate to the benefits of asynchronous versus synchronous requests.