Cisco® 200-901 Exam (page: 18)
Cisco® DevNet Associate (DEVASC)
Updated on: 01-Sep-2025

Viewing Page 18 of 106

Refer to the exhibit.


A developer creates a Python script that queries Cisco Webex. When the script is executed, a 401 code is returned. After troubleshooting, the developer discovers that the service is missing privileges. Which change to the header in line 4 of the script results in the code 200?

  1. header = {'''?Authentication'''?: '''?Bearer YOUR_TOKEN'''?}
  2. header = {'''?Authentication Bearer'''? : '''?YOUR_TOKEN'''?
  3. header = {'''?Authorization Bearer'''? : '''?YOUR_TOKEN'''?}
  4. header = {'''?Authorization'''? : '''?Bearer YOUR_TOKEN'''?}

Answer(s): D



DRAG DROP (Drag and Drop is not supported)
Drag and drop the HTTP methods from the left onto their generally accepted corresponding create, read, update, and delete operations on the right.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Reference:

https://www.cisco.com/c/en/us/td/docs/cloud-systems-management/application-policy-infrastructure-controller-enterprise-module/1-2-x/config-guide/b_apic-em_config_guide_v_1-2-x/b_apic- em_config_guide_v_1-2-x_chapter_01001.pdf



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



Drag and drop the code from the left onto the item numbers on the right to complete the Meraki code to obtain a list of clients which have used this network.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



In Python, which expression checks whether the script returns a success status code when the Requests library is used?

  1. response.status_code == requests.codes.ok
  2. response.code == requests.codes.ok
  3. response.status_code == requests.ok
  4. response.status_code != requests.codes.ok

Answer(s): A


Reference:

https://realpython.com/python-requests/



Refer to the exhibit.


The script returns an output of 401. To use the supplied URL, an HTTP GET request must be sent with an Authorization header. The header value is a base64 encoded concatenation of the username and password. Which action must be taken to return an output of 200?

  1. Change the verify=False setting in the request to verify=True to enable HTTP Basic authentication.
  2. Verify that the username and password values imported from the configuration file are still valid.
  3. Insert an Authorization header with the values username:password from the supplied configuration file.
  4. Modify the method from LOGIN to GET and supply the username:password value as JSON payload.

Answer(s): B



Viewing Page 18 of 106



Share your comments for Cisco® 200-901 exam with other users:

Edrick GOP 10/24/2023 6:00:00 AM

it was a good experience and i got 90% in the 200-901 exam.
Anonymous