Question 66
200-901 Practice Test
200-901 Practice Test practice questions, page 14 of 26, with answer review and explanations.
Question 67
Which method should be used to safely store the API keys?
- in an environment variable unique to the system database
- encrypted in a configuration file that is separate from the code
- plain text in the code as a constant
- 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?
- 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
- 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'
Question 70
What are two benefits of managing network configuration via APIs? (Choose two.)
- more security due to locking out manual device configuration
- configuration on devices becomes less complex
- eliminates the need of legacy management protocols like SNMP
- reduction in network changes performed manually
- increased scalability and consistency of network changes