Cisco® 200-901 Exam (page: 3)
Cisco® DevNet Associate (DEVASC)
Updated on: 29-Aug-2025

Viewing Page 3 of 106

Refer to the exhibit.


Which Python data structure does my_json contain?

  1. map
  2. list
  3. json
  4. dict

Answer(s): D


Reference:

https://stackoverflow.com/questions/34764979/loading-python-string-with-u-as-json?noredirect=1&lq=1



When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?

  1. JSON
  2. YAML
  3. XML
  4. x-form-encoding

Answer(s): C



Refer to the exhibit.

Which JSON is equivalent to the XML-encoded data?





Answer(s): C


Reference:

https://www.guru99.com/json-vs-xml-difference.html



Fill in the blanks to complete the Python script to request a service ticket using the APIC-EM REST API for the user “devnetuser”.

import requests
import json
controller = ‘devnetapi.cisco.com/sandbox/apic_em’
url = “https://” + controller + “api/va/ticket”
payload = {‘username’: ‘_________________’, ‘password’: ‘370940885’}
header = {‘Content-type’: ‘application.json’}
response = _______________________.post(url, data=json.dumps(payload), \
headers= ______________________, verify=False)
r_json = response.json()
print(r_json)
ticket = r_json[“response”][“serviceTicket”]
print(ticket)

  1. See Explanation section for answer.

Answer(s): A

Explanation:

devnetuser requests header


Reference:

https://developer.cisco.com/docs/apic-em/#!hello-world



Which two statements about JSON and XML are true? (Choose two.)

  1. The syntax of JSON contains tags, elements, and attributes.
  2. XML objects are collections of key-value pairs.
  3. JSON objects are collections of key-value pairs.
  4. JSON arrays are an unordered set of key-value pairs.
  5. The syntax of XML contains tags, elements, and attributes.

Answer(s): C,E



Viewing Page 3 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