nerdexam
Cisco

300-535 · Question #120

An engineer needs to update the configuration on a Cisco 3850 switch. To execute this change, RESTCONF must be used. Which two operations must the engineer use that are covered by NETCONF…

The correct answer is B. POST D. PUT. POST is used in RESTCONF to create new resources, similar to how <edit-config> in NETCONF creates or updates configuration data. PUT is used in RESTCONF to update or replace existing resources, which also aligns with NETCONF <edit-config> operations for updating configuration.

Automation APIs and Protocols

Question

An engineer needs to update the configuration on a Cisco 3850 switch. To execute this change, RESTCONF must be used. Which two operations must the engineer use that are covered by NETCONF <edit-config>? (Choose two.)

Options

  • AGET
  • BPOST
  • CGIVE
  • DPUT
  • EHEAD

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    77% (27)
  • C
    9% (3)
  • E
    11% (4)

Explanation

POST is used in RESTCONF to create new resources, similar to how <edit-config> in NETCONF creates or updates configuration data. PUT is used in RESTCONF to update or replace existing resources, which also aligns with NETCONF <edit-config> operations for updating configuration.

Topics

#RESTCONF#NETCONF#HTTP methods#edit-config

Community Discussion

No community discussion yet for this question.

Full 300-535 Practice