Free 200-901 Exam Braindumps
DevNet Associate (DEVASC) Questions 145–149 (page: 31)

Updated On: 9-Feb-2026

DRAG DROP (Drag and Drop is not supported)
Drag and drop the code from the bottom onto the box where the code is missing in the Python script to complete a function to return all the clients on a network by using the Cisco Meraki Dashboard API. Not all options are used.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Refer to the exhibit.



A developer creates a script to obtain a list of devices by using the Cisco DNA Center API. The remote server authorizes the request only if an authentication token is supplied in the headers. A function named get_auth_token() must retrieve a valid token by using HTTP Basic Authentication. Which code must be added to complete the get_auth_token() function?

  1. resp = requests.post(url, auth=HTTPBasicAuth(DNAC_USER, DNAC_PASSWORD)) token = resp.json()['Token']
    return token
  2. resp = requests.post(url, auth=(DNAC_USER, DNAC_PASSWORD)) token = resp.json ()['Token']
    return token
  3. resp = http.post(url, auth=HTTPBasicAuth(DNAC_USER, DNAC_PASSWORD)) token = resp.json()['Token']
    return token
  4. resp = http.post(url, auth=(DNAC_USER, DNAC_PASSWORD)) token = resp.json()['Token']
    return token

Answer(s): A



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


Drag and drop the code snippets from the bottom onto the blanks in the code to construct a request to find the Cisco DNA Center switch count. 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 wants to use an API to update information about device interfaces. The network devices are deployed in a Cisco DevNet Sandbox and have running interfaces. Which line of code needs to be placed in the snippet where the code is missing?

  1. {'Content-Type': 'application/yang.data+xml', 'Accept': 'application/yang.data
    +xml'}
  2. {'Content-Type': 'application/yang.data+yaml', 'Accept': 'application/yang.data
    +yaml'}
  3. {'Content-Type': 'application/restconf.data+json', 'Accept': 'application/ restconf.data+json'}
  4. {'Content-Type': 'application/yang.data+utf8', 'Accept': 'application/ restconf.data+utf8'}

Answer(s): A



Refer to the exhibit.


A network engineer works on a Cisco DevNet application that is available for download on the Cisco DevNet website. The engineer prepares a bash script to automate operations that relate to the application. Which workflow is being automated in the bash script?

  1. compilation and configuration of the Cisco DevNet application so that it must be started manually
  2. compilation, installation, and configuration of the Cisco DevNet application so that it starts automatically
  3. compilation and installation of the Cisco DevNet application for an autonomous deployment model
  4. installation and configuration of the Cisco DevNet application so that it starts manually

Answer(s): B



Viewing page 31 of 106
Viewing questions 151 - 155 out of 524 questions


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

AI Tutor AI Tutor 👋 I’m here to help!