350-501 · Question #548
A network engineer uses the REST NBI to configure routers in the network. Routers on the network are frequently assigned new process IDs as the network expands. The engineer already enabled syslog…
The correct answer is A. The RESTCONF PATCH. To modify an existing OSPF process ID on R3 using the REST NBI and ensure future changes are logged, the network engineer must use the RESTCONF PATCH method.
Question
A network engineer uses the REST NBI to configure routers in the network. Routers on the network are frequently assigned new process IDs as the network expands. The engineer already enabled syslog logging on all routers. Which configuration must the engineer apply on R3 so that future changes to its OSPF process ID are logged?
Exhibit
Options
- AThe RESTCONF PATCH
- BThe RESTCONF Put
- CThe RESTCONF GET
- DThe RESTCONF POST
How the community answered
(48 responses)- A75% (36)
- B15% (7)
- C6% (3)
- D4% (2)
Why each option
To modify an existing OSPF process ID on R3 using the REST NBI and ensure future changes are logged, the network engineer must use the RESTCONF PATCH method.
The RESTCONF PATCH method is used to perform a partial update to an existing resource, meaning it modifies only specific attributes of the resource (like an OSPF process ID) without requiring the entire resource to be sent or replaced. This ensures that changes to an existing OSPF process ID are correctly applied while other configurations remain intact.
The RESTCONF PUT method is used to replace an entire resource, which would be inefficient and potentially disruptive if only a specific attribute, like an OSPF process ID, needs to be changed.
The RESTCONF GET method is used to retrieve data from a resource, not to configure or modify it.
The RESTCONF POST method is typically used to create a new resource, not to modify an existing one such as an OSPF process ID.
Concept tested: RESTCONF NBI operations for configuration updates
Source: https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/prog/73x/b-programmability-cg-ncs5500-73x/b-programmability-cg-ncs5500-73x_chapter_010.html
Topics
Community Discussion
No community discussion yet for this question.
