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

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

Add to Whishlist

List of questions

Question 31

Report Export Collapse

Refer to the exhibit.

Cisco 200-901 image Question 31 110506 10072024004458000000

The JSON data in the exhibit has been parsed and stored into a variable “data”. What returns the value “172.16.0.11”?

data[‘items’][‘host’][‘value’]

data[‘items’][‘host’][‘value’]

data[‘items’][1][‘host’][‘value’]

data[‘items’][1][‘host’][‘value’]

data[‘items’][0][‘host’][‘value’]

data[‘items’][0][‘host’][‘value’]

data[‘items’][‘host’][1]

data[‘items’][‘host’][1]

Suggested answer: C
asked 07/10/2024
Ahmad Khader
29 questions

Question 32

Report Export Collapse

Refer to the exhibit.

Cisco 200-901 image Question 32 110507 10072024004458000000

What does the Python function do?

It returns HTTP Basic Authentication.

It returns HTTP Basic Authentication.

It returns DNAC user and password.

It returns DNAC user and password.

It reads a token from a local JSON file and posts the token to the DNAC URL.

It reads a token from a local JSON file and posts the token to the DNAC URL.

It returns an authorization token.

It returns an authorization token.

Suggested answer: A
Explanation:


Reference: https://community.cisco.com/t5/cisco-digital-network/how-can-i-make-this-script-to-run/td-p/3882782

asked 07/10/2024
Manoj A Rajan
45 questions

Question 33

Report Export Collapse

Package updates from a local server fail to download. However, the same updates work when a much slower external repository is used. Why are local updates failing?

The server is running out of disk space.

The server is running out of disk space.

The Internet connection is too slow.

The Internet connection is too slow.

The Internet is down at the moment, which causes the local server to not be able to respond.

The Internet is down at the moment, which causes the local server to not be able to respond.

The update utility is trying to use a proxy to access the internal resource.

The update utility is trying to use a proxy to access the internal resource.

Suggested answer: D
Explanation:

Topic 2, Understanding and Using APIs

asked 07/10/2024
Vu Tung
31 questions

Question 34

Report Export Collapse

Which status code is used by a REST API to indicate that the submitted payload is incorrect?

400

400

403

403

405

405

429

429

Suggested answer: A
Explanation:


Reference: https://community.cisco.com/t5/application-centric/apic-rest-api-produces-inconsistent-response/td-p/2758230

asked 07/10/2024
George Sanchez
44 questions

Question 35

Report Export Collapse

An application calls a REST API and expects a result set of more than 550 records, but each time the call is made, only 25 are returned. Which feature limits the amount of data that is returned by the API?

pagination

pagination

payload limit

payload limit

service timeouts

service timeouts

rate limiting

rate limiting

Suggested answer: A
asked 07/10/2024
José Santos
37 questions

Question 36

Report Export Collapse

A developer is writing an application that uses a REST API and the application requires a valid response from the API. Which element of the response is used in the conditional check?

body

body

headers

headers

link

link

URL

URL

status code

status code

Suggested answer: E
asked 07/10/2024
Jeff Fazio
49 questions

Question 37

Report Export Collapse

Refer to the exhibit.

Cisco 200-901 image Question 37 110512 10072024004458000000

Cisco 200-901 image Question 37 110512 10072024004458000000

A REST API returns this JSON output for a GET HTTP request, which has been assigned to a variable called “vegetables”. Using Python, which output is the result of this command?

print(filter(lambda 1: 1[‘type’] == ‘fruit’, vegetables) [0][‘items’][0][‘items’][0])

{‘color’: ‘green’, ‘items’: [‘kiwi’, ‘grape’]}

{‘color’: ‘green’, ‘items’: [‘kiwi’, ‘grape’]}

[‘kiwi’, ‘grape’]

[‘kiwi’, ‘grape’]

lettuce

lettuce

kiwi

kiwi

Suggested answer: D
asked 07/10/2024
Fathy Refay
49 questions

Question 38

Report Export Collapse

A 401 HTTP response code is returned when calling a REST API. What is the error state identified by this response code?

The server cannot process the request as it has detected an issue in the request syntax or body.

The server cannot process the request as it has detected an issue in the request syntax or body.

The request has not been accepted because it requires authentication.

The request has not been accepted because it requires authentication.

The sever accepted the request but the client is not authorized for this content.

The sever accepted the request but the client is not authorized for this content.

The server cannot find the requested resource because the path specified is incorrect.

The server cannot find the requested resource because the path specified is incorrect.

Suggested answer: B
Explanation:


Reference: https://blog.restcase.com/rest-api-error-codes- 101/#:~:text=A%20401%20error%20response%20indicates,credentials%20or%20none%20at%20alL

asked 07/10/2024
Benvindo Almeida
42 questions

Question 39

Report Export Collapse

A developer is creating a script to interact with a REST API service which requires basic authentication. The credentials are "devnet:391665405" and the Base64 encoding of the credentials is "GV2bmV0dXNlcjpDaXNj=". Which payload and header combination must be used for authentication?

Cisco 200-901 image Question 39 110514 10072024004458000000

Cisco 200-901 image Question 39 110514 10072024004458000000

Option A

Option A

Option B

Option B

Option C

Option C

Option D

Option D

Suggested answer: B
asked 07/10/2024
Deshawn Sharpe
37 questions

Question 40

Report Export Collapse

A developer needs a list of clients connected to a specific device in a Meraki network. After making a REST API call, the developer receives an unfamiliar response code. Which Cisco DevNet resource should be used to identify the meaning of the response code?

API documentation

API documentation

Code Exchange

Code Exchange

Learning Labs

Learning Labs

Sandbox

Sandbox

Suggested answer: A
asked 07/10/2024
Robert Hernady
36 questions
Total 471 questions
Go to page: of 48
Search

Related questions