Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 21
Which action resolves a 401 error in response to an HTTP GET that is issued to retrieve a configuration statement using RESTCONF on a CSR 1000V?
Answer options
- A. Change the HTTP method to PUT.
- B. Check the MIME types in the HTTP headers.
- C. Change the transport protocol to HTTPS.
- D. Check the authentication credentials.
Correct answer: D
Explanation
The correct answer is D because a 401 error indicates that authentication is required, meaning the credentials provided are either missing or incorrect. The other options do not address the authentication issue directly; changing the method, MIME types, or transport protocol would not resolve the lack of valid credentials.