You want to retrieve only the system hostname from the Junos running configuration using NETCONF. Which filtering technique is most efficient?
Subtree filtering uses specific XML elements to mirror the configuration tree and filter the output.
Why this answer
Tag-based filtering allows requesting specific configuration hierarchies by including empty container tags in the <get-config> request.