Question 580
A RESTCONF-based provisioning service must create a new supported configuration resource through an API that documents POST creation on the parent collection. Which operation should it choose?
Explanation
Correct Answer
POST can ask a REST endpoint to create a child resource when that operation is defined by the API. The endpoint may return a created-resource status such as 201 and a resource location. The client must validate schema, permissions and any conflict response rather than assuming creation always succeeds.
Incorrect Answers
DELETE removes a target according to the API contract and is not a resource-creation operation. It could destroy configuration rather than add a child.
GET has safe retrieval semantics and should not be used to create configuration. The question explicitly identifies a POST creation contract.
ICMP echo tests IP reachability; it has no REST resource-creation method or schema. Connectivity verification does not replace a documented POST operation.