nerdexam
LPI

305-300 · Question #97

Which of the following commands boots a QEMU virtual machine using hardware virtualization extensions?

The correct answer is D. qemu -accel kvm -drive file-debian.img -cdrom debian.iso -m 1024 -boot d. The correct command to boot a QEMU virtual machine using hardware virtualization extensions is qemu -accel kvm -drive file-debian.img -cdrom debian.iso -m 1024 -boot d. This command uses the - accel option to specify the hardware accelerator to use, which in this case is kvm…

Virtualization

Question

Which of the following commands boots a QEMU virtual machine using hardware virtualization extensions?

Options

  • Aqvirt -create -drive file=debian.img -cdrom debian.iso -m 1024 -boot d -driver hvm
  • Bvm -kvm -drive file=debian.img -cdrom debian.iso -m 1024 -boot d
  • Cqemu-hw -create -drive file=debian.img -cdrom debian.iso -m 1024 -boot d
  • Dqemu -accel kvm -drive file-debian.img -cdrom debian.iso -m 1024 -boot d
  • Eqvm start -vmx -drive file=debian.img -cdrom debian.iso -m 1024 -boot d

How the community answered

(58 responses)
  • A
    2% (1)
  • B
    7% (4)
  • C
    12% (7)
  • D
    76% (44)
  • E
    3% (2)

Explanation

The correct command to boot a QEMU virtual machine using hardware virtualization extensions is qemu -accel kvm -drive file-debian.img -cdrom debian.iso -m 1024 -boot d. This command uses the - accel option to specify the hardware accelerator to use, which in this case is kvm. KVM is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). The -drive option specifies the disk image file to use, which in this case is debian.img. The - cdrom option specifies the ISO image file to use as a CD-ROM, which in this case is debian.iso. The -m option specifies the amount of memory to allocate to the virtual machine, which in this case is 1024 MB. The -boot option specifies the boot order, which in this case is d, meaning to boot from the CD- ROM first.

Topics

#QEMU#KVM#-accel kvm#hardware virtualization

Community Discussion

No community discussion yet for this question.

Full 305-300 Practice