Implementing Automation for Cisco Data Center Solutions (DCAUTO) — Question 2

Which statement about synchronous and asynchronous API calls is true?

Answer options

Correct answer: A

Explanation

The correct answer is A because synchronous API calls indeed halt execution until a response is received, ensuring that the client waits for the server's reply. Option B is incorrect as synchronous communication can be easier to follow due to its linear nature. Option C is false since synchronous API calls do not inherently require a proxy server. Option D is also incorrect; while asynchronous communication can have overhead, it is not specifically tied to client authentication.