Free 200-901 Exam Braindumps (page: 26)

Page 25 of 132

DRAG DROP (Drag and Drop is not supported)
Drag and drop the code snippets from the bottom to the blanks in the code to test the API response through the Python unittest library. Not all options are used.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



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


A developer is creating a Python script to obtain a list of HTTP servers on a network named office_east by using the Cisco Meraki API. The request has these requirements:

-Must time out if the response is not received within 2 seconds.
-Must utilize client certificates and SSL certificate verification.
-Must utilize basic authentication that uses a username of admin and a password of cisco.
-Must save the response to an object named response.

Drag and drop the code snippets from the bottom onto the blanks in the code to meet the requirements. Not all options are used.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Reference:

https://community.cisco.com/t5/networking-blogs/authenticating-rest-api-calls-to-dnac-gettingstarted/ba-p/3658058



DRAG DROP (Drag and Drop is not supported)
Drag and drop the code snippets from the bottom to the blanks in the code to complete the HTTP response. Not all options are used.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Refer to the exhibit.


A collaboration engineer has developed a script to automate the gathering of information by providing the email address of the individual. When the engineer tests the script, a 401 error is received. Which command fixes the script?

  1. Add “Authorization”: “Bearer <WEBEX_TOKEN>” to the headers.
  2. Add “Authentication”: “Basic <WEBEX_TOKEN>” in the base_url after “https://”.
  3. Add “<Authorization>:<password>@” in the base_url after “https://”.
  4. Add “Authentication”: “Bearer <WEBEX_TOKEN>” to the headers.

Answer(s): A






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

200-901 Discussions & Posts