Refer to the exhibit.Which Python data structure does my_json contain?
Answer(s): D
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?
Answer(s): C
Refer to the exhibit.Which JSON is equivalent to the XML-encoded data?
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 requestsimport jsoncontroller = ‘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)
Answer(s): A
devnetuser requests header
https://developer.cisco.com/docs/apic-em/#!hello-world
Which two statements about JSON and XML are true? (Choose two.)
Answer(s): C,E
Share your comments for Cisco 200-901 exam with other users:
it was a good experience and i got 90% in the 200-901 exam.