nerdexam
Cisco

300-635 · Question #13

Which statement about synchronous and asynchronous API calls is true?

The correct answer is A. Synchronous API calls wait to return until a response has been received. Option A is correct because synchronous API calls block execution - the caller sends a request and halts until the server responds before continuing. This "blocking" behavior is the defining trait of synchronous communication. Why the distractors are wrong: B is backwards…

Network Programmability Foundation

Question

Which statement about synchronous and asynchronous API calls is true?

Options

  • ASynchronous API calls wait to return until a response has been received.
  • BSynchronous communication is harder to follow and troubleshoot.
  • CSynchronous API calls must always use a proxy server.
  • DAsynchronous communication uses more overhead for client authentication.

How the community answered

(28 responses)
  • A
    89% (25)
  • C
    4% (1)
  • D
    7% (2)

Explanation

Option A is correct because synchronous API calls block execution - the caller sends a request and halts until the server responds before continuing. This "blocking" behavior is the defining trait of synchronous communication.

Why the distractors are wrong:

  • B is backwards - synchronous calls are actually easier to follow and troubleshoot because execution flows linearly and errors surface immediately.
  • C is fabricated - synchronous calls have no requirement to use a proxy server; that's an architectural choice unrelated to sync/async behavior.
  • D is also fabricated - authentication overhead is determined by the auth mechanism (OAuth, API keys, etc.), not whether communication is sync or async.

Memory tip: Think of synchronous like a phone call - you wait on the line until the other person answers and responds. Asynchronous is like sending a text - you fire it off and move on, checking back later for a reply.

Topics

#Synchronous API Calls#Asynchronous API Calls#API Communication Patterns#Request-Response Blocking

Community Discussion

No community discussion yet for this question.

Full 300-635 Practice