102.6 Flashcards
Which command can be used to check if the Linux kernel supports virtualization? A) lscpu B) lsmod C) dmesg D) vmstat
A
Which of the following is a Type-2 hypervisor? A) KVM B) VirtualBox C) Xen D) VMware ESXi
B
Which command lists virtual machines managed by libvirt? A) virsh list B) virsh show C) virt-list D) virt-show
A
What does the option ‘vga=ask’ in GRUB configuration do? A) Enables text mode B) Asks for VGA mode during boot C) Disables VGA support D) Auto-detects VGA
B
Which of the following can be used to create a virtual machine on KVM? A) virt-install B) vm-create C) kvm-new D) qemu-launch
A
How do you enable nested virtualization in KVM? A) Set /sys/module/kvm_intel/nested to 1 B) Enable the VM flag in /proc/cpuinfo C) Install nested-kvm package D) Set CPU architecture to x86
A
Which option in a libvirt domain XML file defines the number of CPUs for a guest? A) <cpu> B) <vcpu> C) <processor> D) <cores></cores></processor></vcpu></cpu>
B
What is the purpose of the ‘virtio’ drivers in a virtualized environment? A) To provide optimized drivers for virtual devices B) To allow direct hardware access C) To manage VM security D) To control VM network traffic
A
Which command is used to manage QEMU/KVM virtual machines? A) qemu-manager B) virt-manager C) kvm-config D) vm-tool
B
Which file is commonly used to store disk images for KVM virtual machines? A) .img B) .iso C) .qcow2 D) .vhd
C
Which virtualization platform uses ‘dom0’ and ‘domU’ terminology? A) KVM B) VMware C) Xen D) VirtualBox
C
Which command can display the capabilities of the current virtualization environment? A) virsh capabilities B) virt-cap C) vmcap show D) qemu-capabilities
A
What is the role of the ‘qemu-kvm’ package in a KVM environment? A) It provides virtualization for the KVM hypervisor B) It manages networking for VMs C) It provides graphical interface for VMs D) It enables direct disk access
A
What is the primary configuration file for libvirt-managed virtual machines? A) /etc/libvirt/qemu.conf B) /etc/libvirt/vm.xml C) /etc/virt/virsh.conf D) /etc/libvirt/libvirt.xml
A
Which command can be used to attach a virtual disk to a running VM? A) virsh attach-disk B) virt-disk add C) kvm-add-disk D) qemu-disk-attach
A