350-401 · Question #72
350-401 Question #72: Real Exam Question with Answer & Explanation
The correct answer is A: HEAD. RESTCONF Valid Operations RESTCONF uses standard HTTP methods as its operations, and both HEAD (A) and PATCH (D) are valid HTTP methods supported by RESTCONF. HEAD retrieves metadata/headers about a resource without returning the full response body, while PATCH is used to partial
Question
Which two operations are valid for RESTCONF? (Choose two.)
Options
- AHEAD
- BREMOVE
- CPULL
- DPATCH
- EADD
- FPUSH
Explanation
RESTCONF Valid Operations
RESTCONF uses standard HTTP methods as its operations, and both HEAD (A) and PATCH (D) are valid HTTP methods supported by RESTCONF. HEAD retrieves metadata/headers about a resource without returning the full response body, while PATCH is used to partially modify or update an existing resource. The full set of RESTCONF-supported HTTP methods includes GET, POST, PUT, DELETE, HEAD, and PATCH.
The distractors are all invalid because they are not standard HTTP methods: REMOVE (B) is not HTTP - the correct method is DELETE; PULL (C) and PUSH (F) are Git version control operations, not HTTP/RESTCONF operations; and ADD (E) does not exist in HTTP - the correct method is POST.
💡 Memory Tip: Think "RESTCONF speaks HTTP" - if you wouldn't see it in a browser's HTTP specification (GET, POST, PUT, DELETE, HEAD, PATCH, OPTIONS), it's not valid for RESTCONF. When in doubt, eliminate anything that sounds like a Git command (push/pull) or a vague verb (add/remove).
Topics
Community Discussion
No community discussion yet for this question.