300-535 practice question 3 of 15

After a configuration request is sent using NETCONF, which call releases any locks and resources associated with the session?

Full set: 60 questions
Answer options
A:

A. <exit-operation>

B:

B. <close-activity>

C:

C. <close-session>

Correct answer
D:

D. <boot-app>

Correct Answer:
C. C. <close-session>
Explanation

The operation is the standard NETCONF Remote Procedure Call (RPC) used to request the graceful termination of a NETCONF session. According to the IETF standard governing NETCONF (RFC 6241), when a server receives a request, it must release any locks held by that session and reclaim all other resources associated with it before closing the underlying transport connection. This ensures a clean and orderly teardown of the management session, preventing orphaned locks or resource leaks on the network device.

Why Incorrect

A. : This is not a defined standard operation within the NETCONF protocol framework.
B. : This is not a standard NETCONF RPC. NETCONF operates on sessions and datastores, not "activities".
D. : This is not a NETCONF protocol operation. It appears to be a command related to device application management, not session control.

References

1. IETF RFC 6241, Network Configuration Protocol (NETCONF):

Section 5.4, "Closing a Session": "A NETCONF client can terminate a NETCONF session by sending a RPC to the server... The server will release any locks and resources associated with the session and close the connection." (Page 23)

2. Cisco IOS XE Programmability Configuration Guide, Cisco IOS XE Gibraltar 16.12.x:

Chapter: NETCONF Protocol Operations, Section: NETCONF Session Management: "The operation requests the graceful termination of a NETCONF session. When a NETCONF server receives a request, the server releases any locks held by the session..."

3. Cisco Crosswork Network Controller 4.2.0 NETCONF and YANG API Guide:

Chapter: NETCONF Protocol, Section: NETCONF Operations: This guide lists as a base protocol operation for terminating a session, consistent with the RFC standard. It states, "The operation requests the graceful termination of a NETCONF session."

Scroll to Top