Cisco® 200-901 Exam (page: 14)
Cisco® DevNet Associate (DEVASC)
Updated on: 01-Sep-2025

Viewing Page 14 of 106

How does requesting a synchronous API operation differ from requesting an asynchronous API operation?

  1. clients receive responses with a task id for further processing
  2. clients subscribe to a webhook for operation results
  3. clients poll for the status of the execution of operations
  4. clients can access the results immediately

Answer(s): B



DRAG DROP (Drag and Drop is not supported)
Drag and drop the HTTP status codes from the left onto the correct descriptions on the right.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Reference:

https://www.cisco.com/c/en/us/support/docs/security/web-security-appliance/118217-troubleshoot-wsa-00.html



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

  1. in an environment variable unique to the system database
  2. encrypted in a configuration file that is separate from the code
  3. plain text in the code as a constant
  4. encrypted in the code in a function

Answer(s): A



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.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

YWRtaW46Y2lzY28xMjM
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



Refer to the exhibit.


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?

  1. Remove the –H ‘Accept: application/yang-data+json’ HTTP header because it is not required.
  2. Add –‘u cisco:cisco’ in the end of the cURL command
  3. Change the request method from –X “GET” to –X “POST”
  4. Add Content-Type HTTP header with ‘application/yang-data+json’ using –H ‘Content-Type: application/ yang-data+json’

Answer(s): B



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