305-300 practice question 5 of 15

Which of the following values are valid in the firmware attribute of a element in a libvirt domain definition? (Choose two.)

Full set: 121 questions
Answer options
A: scsi
B: virtio
C: efi Correct answer
D: bios Correct answer
E: pcie
Correct Answer:
C. efi; D. bios
Explanation

In a libvirt domain XML definition, the element describes the operating system and boot configuration. The optional firmware attribute within this element is used to explicitly select the firmware type for the virtual machine. According to the official libvirt documentation, the only valid values for this attribute are bios for legacy BIOS firmware and efi for modern UEFI firmware. This allows administrators to control the boot process and ensure compatibility with the guest operating system's requirements.

Why Incorrect

A. scsi: This is a type of storage controller bus (e.g., ), not a system firmware.
B. virtio: This is a paravirtualization driver interface for devices like disks and network cards, not a firmware type.
E. pcie: This refers to the PCI Express bus architecture for connecting devices, not the system's boot firmware.

References

1. libvirt.org Official Documentation: In the "Domain XML format" guide, the section on the element specifies the firmware attribute. It states, "The firmware attribute can be used to select between bios and efi firmware for the guest."

Source: libvirt.org, Domain XML format, element details. (Refer to the section describing the firmware attribute under the element).

2. Red Hat Enterprise Linux 8 Documentation: The "Configuring and managing virtualization" guide provides a reference for the domain XML format. In the section detailing the element, it confirms that firmware can be set to bios or efi.

Source: Red Hat Customer Portal, RHEL 8 Documentation, "Configuring and managing virtualization", Chapter 23. KVM guest timing management, Section 23.2. Domain XML format reference.

3. University of Edinburgh, School of Informatics Courseware: In materials for the "System Design for High Performance Computing" course, lectures on virtualization cover libvirt XML. The element is described with bios and efi as the primary firmware choices for booting virtual machines.

Source: University of Edinburgh, School of Informatics, System Design for HPC (CS-4), Virtualisation Lecture Notes. (Specific examples often show bios...).

Scroll to Top