nerdexam
Cisco

300-435 · Question #104

What is a characteristic of using asynchronous APIs?

The correct answer is C. Application scalability is improved. Asynchronous APIs significantly improve application scalability by allowing clients to continue processing tasks without blocking while waiting for responses, thus maximizing resource utilization.

Network Automation Foundation

Question

What is a characteristic of using asynchronous APIs?

Exhibit

300-435 question #104 exhibit

Options

  • AThe client waits for a response.
  • BNetwork throughput is improved.
  • CApplication scalability is improved.
  • DThe client receives no response.

How the community answered

(39 responses)
  • A
    8% (3)
  • B
    3% (1)
  • C
    87% (34)
  • D
    3% (1)

Why each option

Asynchronous APIs significantly improve application scalability by allowing clients to continue processing tasks without blocking while waiting for responses, thus maximizing resource utilization.

AThe client waits for a response.

With asynchronous APIs, the client does not wait for an immediate response; it typically receives an acknowledgment and continues processing, handling the actual response when it eventually arrives via a callback or polling mechanism.

BNetwork throughput is improved.

While asynchronous operations can contribute to overall system efficiency, network throughput is primarily determined by network bandwidth and latency, not solely by the asynchronous nature of the API call itself.

CApplication scalability is improved.Correct

Asynchronous APIs improve application scalability because they allow the client to submit a request and then perform other operations without waiting for the response. This non-blocking behavior means the client can handle multiple requests concurrently or perform other work, preventing bottlenecks and allowing the application to manage more tasks efficiently.

DThe client receives no response.

The client absolutely receives a response with asynchronous APIs, but it typically receives it later, out of band, or through a callback mechanism, rather than waiting synchronously for it.

Concept tested: Asynchronous API benefits (scalability)

Source: https://docs.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/

Topics

#Asynchronous API#API design#Scalability#Concurrency

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice