nerdexam
Cisco

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.

Automation and Assurance

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

350-501 question #548 exhibit

Options

  • AThe RESTCONF PATCH
  • BThe RESTCONF Put
  • CThe RESTCONF GET
  • DThe RESTCONF POST

How the community answered

(48 responses)
  • A
    75% (36)
  • B
    15% (7)
  • C
    6% (3)
  • D
    4% (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.

AThe RESTCONF PATCHCorrect

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.

BThe RESTCONF Put

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.

CThe RESTCONF GET

The RESTCONF GET method is used to retrieve data from a resource, not to configure or modify it.

DThe RESTCONF POST

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

#RESTCONF#Network Automation#API Operations#OSPF Configuration

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice