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

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

Add to Whishlist

List of questions

Question 51

Report Export Collapse

Which way should be used to safely store the API keys?

in an environment variable unique to the system database

in an environment variable unique to the system database

encrypted in a configuration file that is separate from the code

encrypted in a configuration file that is separate from the code

plain text in the code as a constant

plain text in the code as a constant

encrypted in the code in a function

encrypted in the code in a function

Suggested answer: A
asked 07/10/2024
Paul Pinero
39 questions

Question 52

Report Export Collapse

FILL BLANK Fill in the blanks to complete the statement.

Given a username of β€œdevnet” and a password of β€œcisco123”, applications must create a base64 encoding of the string β€œ_______________” when sending HTTP requests to an API that uses__________________authentication.

Suggested answer: A
Explanation:

Answer: A

Explanation:


YWRtaW46Y2lzY2 8xMjM Basic

Reference: https://www.cisco.com/c/en/us/td/docs/net_mgmt/elastic_services_controller/4-1/install/guide/Cisco-Elastic- Services-Controller-Install-Upgrade-Guide-4-1/Cisco-Elastic-Services-Controller- Install-Upgrade-Guide-3-0_chapter_01011 .html

asked 07/10/2024
Carolina Velayos
55 questions

Question 53

Report Export Collapse

Refer to the exhibit.

Cisco 200-901 image Question 53 110528 10072024004458000000

An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram illustrates the HTTP messages observed. Which change to the API request resolves the issue?

Remove the -H β€˜Accept: application/yang-data+json' HTTP header because it is not required.

Remove the -H β€˜Accept: application/yang-data+json' HTTP header because it is not required.

Add -β€˜u cisco:cisco' in the end of the cURL command

Add -β€˜u cisco:cisco' in the end of the cURL command

Change the request method from -X β€œGET” to -X β€œPOST”

Change the request method from -X β€œGET” to -X β€œPOST”

Add Content-Type HTTP header with β€˜application/yang-data+json’ using -H β€˜Content-Type: application/yang-data+json’

Add Content-Type HTTP header with β€˜application/yang-data+json’ using -H β€˜Content-Type: application/yang-data+json’

Suggested answer: B
asked 07/10/2024
Yung-Shuen Chang
42 questions

Question 54

Report Export Collapse

What are two benefits of managing network configuration via APIs? (Choose two.)

more security due to locking out manual device configuration

more security due to locking out manual device configuration

configuration on devices becomes less complex

configuration on devices becomes less complex

eliminates the need of legacy management protocols like SNMP

eliminates the need of legacy management protocols like SNMP

reduction in network changes performed manually

reduction in network changes performed manually

increased scalability and consistency of network changes

increased scalability and consistency of network changes

Suggested answer: D, E
asked 07/10/2024
Evelina Turco
41 questions

Question 55

Report Export Collapse

FILL BLANK Fill in the blanks to complete the cURL command that invokes a RESTful API to retrieve a resource in JSON format using OAuth.

curl -X_____________ -H β€œ___________: application/json” \

-H β€œ __________ : Bearer AbCdEf123456” https://localhost/api/myresource

Suggested answer: A
Explanation:

Answer: A

Explanation:


GET Accept Authorization

Reference:

https://webcache.googleusercontent.com/search?q=cache:Se6d2trvMsEJ:https://blogs.cisco.com/developer/security-api- best-practices+&cd=4&hl=en&ct=clnk&gl=pk&client=firefox-b-d

asked 07/10/2024
James Joiner
36 questions

Question 56

Report Export Collapse

Which Cisco DevNet resource allows access to products in a development lab to explore, learn, and build applications that use Cisco APIs?

DevNet Code Exchange

DevNet Code Exchange

DevNet Sandbox

DevNet Sandbox

DevNet Communities

DevNet Communities

DevNet Automation Exchange

DevNet Automation Exchange

Suggested answer: B
Explanation:


Reference: https://developer.cisco.com/site/sandbox/

asked 07/10/2024
Juliet Kihonge
48 questions

Question 57

Report Export Collapse

Refer to the exhibits.

Cisco 200-901 image Question 57 110532 10072024004458000000

Cisco 200-901 image Question 57 110532 10072024004458000000

A developer is troubleshooting an API with the given API documentation and cURL command. What is the cause of this problem?

The authorization header is missing or incomplete.

The authorization header is missing or incomplete.

The request body is missing or incomplete.

The request body is missing or incomplete.

The API token specified is expired.

The API token specified is expired.

The user is not allowed to post messages from their account.

The user is not allowed to post messages from their account.

Suggested answer: C
asked 07/10/2024
Marcel Wienhusen
49 questions

Question 58

Report Export Collapse

Which two statements describe the traits of an asynchronous API call? (Choose two.)

Code execution blocks or waits for the call to an API to return.

Code execution blocks or waits for the call to an API to return.

A callback function typically is used to process the response from an API call.

A callback function typically is used to process the response from an API call.

A call to an API does not block the code, but rather it allows application processing to continue.

A call to an API does not block the code, but rather it allows application processing to continue.

The end user can experience latency or performance lag while waiting for the API call to return.

The end user can experience latency or performance lag while waiting for the API call to return.

The order in which API calls return can be guaranteed.

The order in which API calls return can be guaranteed.

Suggested answer: B, C
Explanation:


Reference: https://medium.com/codebuddies/getting-to-know-asynchronous-javascript-callbacks-promises-and-async-await- 17e0673281ee

asked 07/10/2024
Dusan Munjiza
53 questions

Question 59

Report Export Collapse

Which mechanism is used to consume a RESTful API design when large amounts of data are returned?

data sets

data sets

scrolling

scrolling

pagination

pagination

blobs

blobs

Suggested answer: C
Explanation:


Reference: https://nordicapis.com/everything-you-need-to-know-about-api-pagination/

asked 07/10/2024
Udara Somachandra
56 questions

Question 60

Report Export Collapse

Refer to the exhibit.

Cisco 200-901 image Question 60 110535 10072024004458000000

What caused the error in this API request?

The API resource does not support the POST operation.

The API resource does not support the POST operation.

The submitted JSON payload has a formatting issue.

The submitted JSON payload has a formatting issue.

The API resource does not support JSON format payloads.

The API resource does not support JSON format payloads.

The submitted JSON payload includes a field that is not supported by the API resource.

The submitted JSON payload includes a field that is not supported by the API resource.

Suggested answer: B
asked 07/10/2024
Christian Walet
42 questions
Total 471 questions
Go to page: of 48

Related questions