While conducting an automation test, you must issue a command using the curl tool to request the text
formatted output from the show interfaces ge-0/0/0 terse command.D18912E1457D5D1DDCBD40AB3BF70D5D
In this scenario, which command would you use?
A. curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/getinterfaceinformation&format=text&interface-name=ge-0/0/0&terse=”
B. curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/get-interfaceinformation@interfacename=ge-0/0/0?terse=”
C. curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/getinterfaceinformation@format=text&interface-name=ge-0/0/0?terse=”
D. curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/getinterfaceinformation@format=text?interface-name=ge-0/0/0&terse=”
Explanation:
QUESTION NO 36 Exhibit.
Referring to the exhibit, which XML XPath expression will only show the IP address XML elements?
A. //address/name
B. //name
C. /name
D. /address/name
Answer: D