200-901 Practice Test

200-901 Practice Test practice questions, page 14 of 26, with answer review and explanations.

Question 66

Drag and drop the HTTP status codes from the left onto the correct descriptions on the right. Select and Place:

Question 67

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

Question 68

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.

Question 69

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'

Question 70

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

  1. more security due to locking out manual device configuration
  2. configuration on devices becomes less complex
  3. eliminates the need of legacy management protocols like SNMP
  4. reduction in network changes performed manually
  5. increased scalability and consistency of network changes