nerdexam
CiscoCisco

200-901 · Question #323

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

The correct answer is A: 201. The RESTCONF query uses a POST method to create a new network interface resource.

Understanding and Using APIs

Question

Refer to the exhibit. Which HTTP code is returned after the RESTCONF query is executed?

Options

  • A201
  • B204
  • C302
  • D304

Explanation

The RESTCONF query uses a POST method to create a new network interface resource.

Common mistakes.

  • B. 204 No Content indicates that the server successfully processed the request but is not returning any content.
  • C. 302 Found is a redirection status code indicating that the resource has been temporarily moved to a different URI.
  • D. 304 Not Modified indicates that the resource has not been modified since the version specified by the request headers.

Concept tested. RESTCONF HTTP status codes for resource creation

Reference. https://datatracker.ietf.org/doc/html/rfc8040#section-6.6

Topics

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

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions