VMware NSX-T Data Center (VCP-NV 2019) — Question 24
Which CLI command should be executed on a KVM hypervisor to retrieve the VM interface UUID?
Answer options
- A. virsh list-interface <VM Name>
- B. virsh get-interface <VM Name>
- C. virsh dumpxml <VM Name> | grep interfaceid
- D. virsh show <VM Name> | grep interfaceid
Correct answer: C
Explanation
The correct command is 'virsh dumpxml <VM Name> | grep interfaceid' because it retrieves the complete XML configuration of the virtual machine, which includes the interface UUID. The other options either do not exist or do not provide the necessary information to extract the UUID of the interface.