Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 1020

A company recently decided to use RESTCONF instead of NETCONF, and many of their NETCONF scripts contain the operation <edit-config>
(operation="create"). Which RESTCONF operation must be used to replace these statements?

Answer options

Correct answer: D

Explanation

The correct answer is D, POST, as it is used in RESTCONF to create new resources. A PUT operation is typically used for updating existing resources, while GET is for retrieving data and CREATE is not a recognized RESTCONF operation.