Free 200-901 Exam Braindumps (page: 22)

Page 21 of 132

What is a difference between a synchronous API and an asynchronous API?

  1. Synchronous API calls require an authentication header to be sent while asynchronous calls do not require authentication.
  2. Synchronous API calls are returned immediately while asynchronous calls do not guarantee an immediate response.
  3. An asynchronous API can make offline calls while synchronous APIs do not have this capability.
  4. An asynchronous API can make a larger number of calls in a specified time period than a synchronous API.

Answer(s): B


Reference:

https://stackoverflow.com/questions/36213948/what-is-the-difference-between-asynchronous-callsand- callbacks



DRAG DROP (Drag and Drop is not supported)
Refer to the exhibit.


Drag and drop the code from the bottom onto the blanks in the code to construct a cURL command using the Cisco DNA Center API, which will provide the details of a WLAN controller with Id ab123456789. Not all options are used.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Refer to the exhibit.


A network engineer must manage the network devices. The engineer prepares a Python script to authenticate to the Cisco DNA Center API and request a device list. The device request fails and returns error code 401. Which action solves the problem?

  1. Update the credentials that are already supplied and retry the request.
  2. Send the request to another network in case there are reachability issues.
  3. Send the Authentication header in the request with a valid configuration.
  4. Update the API URL, which matched the API endpoint for device list.

Answer(s): A



Refer to the exhibit.


Which command needs to be placed on the box where the code is missing to output the value of page_id in the Python 3.7 script?

  1. print(items.get('''?items'''?)[0].get('''?page_id'''?))
  2. print(items.get('''?items'''?).get('''?page_id'''?))
  3. print(items['''?items'''?]['''?page_id'''?].keys())
  4. print(items['''?items'''?]['''?page_id'''?])

Answer(s): A






Post your Comments and Discuss Cisco® 200-901 exam with other Community members:

200-901 Discussions & Posts