300-635 practice question 6 of 15

Which statement about synchronous and asynchronous API calls is true?

Full set: 75 questions
Answer options
A: Synchronous API calls wait to return until a response has been received. Correct answer
B: Synchronous communication is harder to follow and troubleshoot
C: Synchronous API calls must always use a proxy server
D: Asynchronous communication uses more overhead for client authentication.
Correct Answer:
A. Synchronous API calls wait to return until a response has been received.
Explanation

The fundamental difference between synchronous and asynchronous operations lies in their handling of the request-response cycle. In a synchronous model, the client sends a request and enters a waiting (or blocked) state. It will not proceed with further execution until it has received a complete response from the server. This creates a simple, linear flow of control that is easy to follow.

Why Incorrect

B. Synchronous communication is generally considered easier to follow and troubleshoot than asynchronous communication due to its predictable, sequential nature.
C. The use of a proxy server is an architectural decision related to network topology and security, not an inherent requirement of synchronous API calls.
D. Client authentication overhead is determined by the chosen authentication scheme (e.g., OAuth2, API keys), not by whether the API call is synchronous or asynchronous.

References

1. Cisco, Cisco Intersight API Docs, "Asynchronous Requests". The documentation describes synchronous requests as the default behavior where "the client must wait for the operation to complete before it gets a response." This confirms the client waits for a response.

2. MIT OpenCourseWare, 6.033 Computer System Engineering, Spring 2018, "Lecture 10: Remote Procedure Calls". The lecture notes describe synchronous RPCs where "the client blocks until the server has finished the procedure and sent a reply."

Scroll to Top