nerdexam
Cisco

300-735 · Question #76

What is a characteristic of using synchronous APIs in a program?

The correct answer is A. The program waits until the value is returned by the API call. With synchronous APIs, the program waits for the API call to complete and return a value before proceeding to the next instruction. This blocking behavior ensures the result is available immediately after the call, but can delay execution if the response is slow.

Integrations

Question

What is a characteristic of using synchronous APIs in a program?

Options

  • AThe program waits until the value is returned by the API call.
  • BMultiple API queries from the same thread can be processed in parallel.
  • CThe response time for the program is predictable.
  • DThe API call is nonblocking.

How the community answered

(33 responses)
  • A
    73% (24)
  • B
    15% (5)
  • C
    6% (2)
  • D
    6% (2)

Explanation

With synchronous APIs, the program waits for the API call to complete and return a value before proceeding to the next instruction. This blocking behavior ensures the result is available immediately after the call, but can delay execution if the response is slow.

Topics

#synchronous API#blocking call#API behavior#threading

Community Discussion

No community discussion yet for this question.

Full 300-735 Practice