46.
In which directory are virtual machine disk files stored by default?
- A./etc/libvirt/images
- B./var/lib/libvirt/fileystems
- C./var/lib/libvirt/images
- D./var/lib/qemu/images
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
47.
What will be the (default) name of the configuration file that is used by the
virtual machine vm1?
- A./etc/kvm/vm1.xml
- B./etc/libvirt/vm1.xml
- C./etc/libvirt/kvm/vm1.xml
- D./etc/libvirt/qemu/vm1.xml
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
Virtual machine configuration files by default are stored in the directory/etc/libvirt/qemu. |
48.
Which approach would you use to enable a virtual machine for automatic
starting while booting?
- A.On the virtual machine properties, select the automatic boot option in Virtual Machine Manager.
- B.Use systemctl enable followed by the name of the virtual machine
- C.From the Virtual Machine Manager Boot Options interface, under Autostart, select the Start Virtual Machine on Host Boot Up option.
- D.Add the virtual machine name as a boot option to GRUB on the hypervisor host.
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
Automatic virtual machine startup can be enabled easily using the Virtual Machine Manager Boot options interface. |
49.
From a command-line interface, which command enables you to list all virtual
machines that are available, including VMs that haven’t been started?
- A.virsh list
- B.virsh --list
- C.virsh list --all
- D.virsh list all
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
The virsh list command lists all virtual machines. Add --all to also show virtual machines that are not currently active. |
50.
You want to stop a virtual machine in the fastest way possible. Which command
enables you to do this?
- A.virsh shutdown vmname
- B.virsh shutdown --now vmname
- C.virsh poweroff vmname
- D.virsh destroy vmname
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
The virsh destroy command is like pulling the power plug. It halts a virtual machine immediately with all the possible bad consequences of that. |