Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 213
What is a requirement when authenticating a RESTCONF API session with a router that runs Cisco IOS XE Software?
Answer options
- A. No authentication is required.
- B. OAuth must be used.
- C. A token must be retrieved and the associated string must be embedded in the X-Auth-Token header.
- D. Basic authentication must be used.
Correct answer: D
Explanation
The correct answer is D because Cisco IOS XE Software requires Basic authentication for RESTCONF API sessions. Options A and B are incorrect as they do not meet the authentication requirements, and option C is also wrong since it refers to a token-based method that is not applicable in this context.