VMware NSX-T Data Center (VCP-NV 2020) — Question 6
Which CLI command should be executed on a KVM hypervisor to retrieve the VM interface UUID?
Answer options
- A. virsh dumpxml <VM Name> | grep interfaceid
- B. virsh get-interface <VM Name>
- C. virsh show <VM Name> | grep interfaceid
- D. virsh list-interface <VM Name>
Correct answer: A
Explanation
The correct answer is A because the 'virsh dumpxml' command provides the complete XML configuration of the VM, and using 'grep interfaceid' filters out the specific UUID of the interface. The other options either do not exist or do not provide the required information in the correct format.