nerdexam
CiscoCisco

200-901 · Question #80

200-901 Question #80: Real Exam Question with Answer & Explanation

The correct answer is D: Check the authentication credentials.. {"question_number": 10, "question": "Which action resolves a 401 error in response to an HTTP GET issued via RESTCONF on a CSR 1000V?", "correct_answer": "D. Check the authentication credentials.", "explanation": "HTTP 401 'Unauthorized' means the server received the request but

Understanding and Using APIs

Question

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?

Options

  • AChange the HTTP method to PUT.
  • BChange the transport protocol to HTTPS.
  • CCheck the MIMF types in the HTTP headers.
  • DCheck the authentication credentials.

Explanation

{"question_number": 10, "question": "Which action resolves a 401 error in response to an HTTP GET issued via RESTCONF on a CSR 1000V?", "correct_answer": "D. Check the authentication credentials.", "explanation": "HTTP 401 'Unauthorized' means the server received the request but rejected it because valid authentication credentials were not provided or were incorrect. The fix is always to verify that the correct username and password (for Basic Auth in IOS XE RESTCONF) are being used. Changing the HTTP method to PUT would not fix an authentication failure. Switching to HTTPS might be required for RESTCONF to function at all, but it does not resolve a credential issue. MIME type problems would produce a 415 'Unsupported Media Type' error, not a 401.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#HTTP Status Codes#RESTCONF#API Authentication#Network Automation

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions