ExamGecko
Home / Cisco / 200-901 / List of questions
Ask Question

Cisco 200-901 Practice Test - Questions Answers, Page 2

Add to Whishlist

List of questions

Question 11

Report Export Collapse

Refer to the exhibit.
Cisco 200-901 image Question 11 110486 10072024004458000000

Which Python data structure does my_json contain?

map

map

list

list

json

json

dict

dict

Suggested answer: D
Explanation:

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

asked 07/10/2024
Rey Geric Villafranca
47 questions

Question 12

Report Export Collapse

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

JSON

JSON

YAML

YAML

XML

XML

x-form-encoding

x-form-encoding

Suggested answer: C
asked 07/10/2024
Ivan Ramirez
45 questions

Question 13

Report Export Collapse

Refer to the exhibit.

Cisco 200-901 image Question 13 110488 10072024004458000000

Which JSON is equivalent to the XML-encoded data?

Cisco 200-901 image Question 13 110488 10072024004458000000

Cisco 200-901 image Question 13 110488 10072024004458000000

Option A

Option A

Option B

Option B

Option C

Option C

Option D

Option D

Suggested answer: C
Explanation:


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

asked 07/10/2024
Luis Alfonso Rodriguez Castro
40 questions

Question 14

Report Export Collapse

FILL BLANK 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)

Suggested answer: A
Explanation:

Answer: A

Explanation:

devnetuser requests header

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

asked 07/10/2024
Manoj Balan
56 questions

Question 15

Report Export Collapse

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

The syntax of JSON contains tags, elements, and attributes.

The syntax of JSON contains tags, elements, and attributes.

XML objects are collections of key-value pairs.

XML objects are collections of key-value pairs.

JSON objects are collections of key-value pairs.

JSON objects are collections of key-value pairs.

JSON arrays are an unordered set of key-value pairs.

JSON arrays are an unordered set of key-value pairs.

The syntax of XML contains tags, elements, and attributes.

The syntax of XML contains tags, elements, and attributes.

Suggested answer: C, E
Explanation:


devnetuser requests header

Reference: https://developer.cisco.com/docs/apic-em/Whello-world

asked 07/10/2024
Jean Presume
35 questions

Question 16

Report Export Collapse

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

Functions ensure that a developer understands the inner logic contained before using them as part of a script or application.

Functions ensure that a developer understands the inner logic contained before using them as part of a script or application.

Functions create the implementation of secret and encrypted algorithms

Functions create the implementation of secret and encrypted algorithms

Functions allow problems to be split into simpler, smaller groups, and reduce code repetition, which makes the code easier to read.

Functions allow problems to be split into simpler, smaller groups, and reduce code repetition, which makes the code easier to read.

Functions store mutable values within a script or application.

Functions store mutable values within a script or application.

Suggested answer: C
asked 07/10/2024
Ayanda Zwane
36 questions

Question 17

Report Export Collapse

Refer to the exhibit.

Cisco 200-901 image Question 17 110492 10072024004458000000

The output of a unified diff when comparing two versions of a Python script is shown. Which two "single_request_timeout()" functions are defined in fish.py and cat.py? (Choose two.)


Cisco 200-901 image Question 17 Answer 1 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 1 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 2 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 2 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 3 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 3 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 4 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 4 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 5 110492 10072024004458000000


Cisco 200-901 image Question 17 Answer 5 110492 10072024004458000000

Suggested answer: A, B
asked 07/10/2024
Sathish M
54 questions

Question 18

Report Export Collapse

What is a benefit of organizing code into modules?

reduces the length of code

reduces the length of code

enables code to be multifunctional

enables code to be multifunctional

enables the reuse of code

enables the reuse of code

improves overall performance

improves overall performance

Suggested answer: C
asked 07/10/2024
First Last
38 questions

Question 19

Report Export Collapse

What is a benefit of organizing code into modules?

enables the code to be broken down into layers

enables the code to be broken down into layers

improves collaboration of the development team

improves collaboration of the development team

makes it easier to deal with large and complex systems

makes it easier to deal with large and complex systems

enables the inclusion of more programming languages in the code

enables the inclusion of more programming languages in the code

Suggested answer: B
asked 07/10/2024
Ronald de Groot
49 questions

Question 20

Report Export Collapse

What is the Git command to delete a local branch named “experiment” without a warning?

git branch -rm experiment

git branch -rm experiment

git branch -n experiment

git branch -n experiment

git branch -f experiment

git branch -f experiment

git branch -D experiment

git branch -D experiment

Suggested answer: D
Explanation:


Reference: https://www.atlassian.com/git/tutorials/using-branches

asked 07/10/2024
Vijay Kumar
50 questions
Total 471 questions
Go to page: of 48

Related questions