nerdexam
CiscoCisco

200-901 · Question #61

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

The correct answer is B: The query updated the logging severity level or created it if not present on the device. {"question_number": 6, "question": "Which statement is correct if the RESTCONF interface responds with a 204 status code?", "correct_answer": "B. The query updated the logging severity level or created it if not present on the device", "explanation": "HTTP 204 'No Content' is a s

Understanding and Using APIs

Question

Refer to the exhibit. The definition of the YANG module and a RESTCONF query sent to a Cisco IOS XE device is shown. Which statement is correct if the RESTCONF interface responds with a 204 status code?

Options

  • AThe query retrieved the logging severity level.
  • BThe query updated the logging severity level or created it if not present on the device
  • CThe query failed at retrieving the logging severity level
  • DThe query failed to set the logging severity level due to an invalid.

Explanation

{"question_number": 6, "question": "Which statement is correct if the RESTCONF interface responds with a 204 status code?", "correct_answer": "B. The query updated the logging severity level or created it if not present on the device", "explanation": "HTTP 204 'No Content' is a success status code indicating the server successfully processed the request but is not returning any content in the response body. In RESTCONF, a 204 is typically returned after a successful PUT or PATCH operation - meaning the resource was updated, or (per RESTCONF RFC 8040 semantics) created if it did not already exist. It does not indicate a retrieval (which would return 200 with a body), nor does it indicate a failure (which would return 4xx or 5xx codes).", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#RESTCONF#HTTP PATCH#HTTP Status Codes#Network Configuration

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions