> ## Documentation Index
> Fetch the complete documentation index at: https://linux-plus.ipoint-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Domain 12 Review Quiz

> 5 practice questions for Domain 12. Installing Linux.

5 practice questions covering **Installing Linux**. Read the question, take answers from the room, then reveal.

<div className="quiz" data-total="5">
  <div className="quiz__q" data-n="1" data-answer="DF">
    <p className="quiz__stem">
      { "To perform a live migration, which of the following must match on both host servers? (Choose two)." }
    </p>

    <p className="quiz__hint">Choose two.</p>

    <ul className="quiz__choices">
      <li className="quiz__choice" data-letter="A"><span className="quiz__letter">A</span><span className="quiz__text">{ "USB ports" }</span></li>
      <li className="quiz__choice" data-letter="B"><span className="quiz__letter">B</span><span className="quiz__text">{ "Network speed" }</span></li>
      <li className="quiz__choice" data-letter="C"><span className="quiz__letter">C</span><span className="quiz__text">{ "Available swap" }</span></li>
      <li className="quiz__choice" data-letter="D" data-correct="1"><span className="quiz__letter">D</span><span className="quiz__text">{ "CPU architecture" }</span></li>
      <li className="quiz__choice" data-letter="E"><span className="quiz__letter">E</span><span className="quiz__text">{ "Available memory" }</span></li>
      <li className="quiz__choice" data-letter="F" data-correct="1"><span className="quiz__letter">F</span><span className="quiz__text">{ "Disk storage path" }</span></li>
    </ul>

    <div className="quiz__reveal">
      <p className="quiz__verdict" />

      <p className="quiz__answer">Answer: DF</p>

      <p className="quiz__why">
        { "CPU architecture must match because live migration requires CPU compatibility to continue running the virtual machine without errors. Disk storage path must match so the migrated VM can access its virtual disks seamlessly on the destination host." }
      </p>
    </div>
  </div>

  <div className="quiz__q" data-n="2" data-answer="D">
    <p className="quiz__stem">
      { "Which of the following commands should an administrator use to convert a KVM disk file to a different format?" }
    </p>

    <ul className="quiz__choices">
      <li className="quiz__choice" data-letter="A"><span className="quiz__letter">A</span><span className="quiz__text">{ "qemu-kvm" }</span></li>
      <li className="quiz__choice" data-letter="B"><span className="quiz__letter">B</span><span className="quiz__text">{ "qemu-ng" }</span></li>
      <li className="quiz__choice" data-letter="C"><span className="quiz__letter">C</span><span className="quiz__text">{ "qemu-io" }</span></li>
      <li className="quiz__choice" data-letter="D" data-correct="1"><span className="quiz__letter">D</span><span className="quiz__text">{ "qemu-img" }</span></li>
    </ul>

    <div className="quiz__reveal">
      <p className="quiz__verdict" />

      <p className="quiz__answer">Answer: D</p>

      <p className="quiz__why">
        { "The qemu-img command is used to create, convert, and manage disk image files for KVM/QEMU. It allows conversion between formats such as qcow2, raw, and vmdk." }
      </p>
    </div>
  </div>

  <div className="quiz__q" data-n="3" data-answer="B">
    <p className="quiz__stem">
      { "Which of the following best describes the role of initrd?" }
    </p>

    <ul className="quiz__choices">
      <li className="quiz__choice" data-letter="A"><span className="quiz__letter">A</span><span className="quiz__text">{ "It is required to connect to the system via SSH." }</span></li>
      <li className="quiz__choice" data-letter="B" data-correct="1"><span className="quiz__letter">B</span><span className="quiz__text">{ "It contains basic kernel modules and drivers required to start the system." }</span></li>
      <li className="quiz__choice" data-letter="C"><span className="quiz__letter">C</span><span className="quiz__text">{ "It contains trusted certificates and secret keys of the system." }</span></li>
      <li className="quiz__choice" data-letter="D"><span className="quiz__letter">D</span><span className="quiz__text">{ "It is required to initialize a random device within a Linux system." }</span></li>
    </ul>

    <div className="quiz__reveal">
      <p className="quiz__verdict" />

      <p className="quiz__answer">Answer: B</p>

      <p className="quiz__why">
        { "initrd (initial ramdisk) provides essential kernel modules and drivers (e.g., for storage and filesystems) needed during the early boot process before the root filesystem is mounted." }
      </p>
    </div>
  </div>

  <div className="quiz__q" data-n="4" data-answer="DE">
    <p className="quiz__stem">
      { "A Linux server is not starting up because files in the /boot/ partition are corrupt. After the initial GRUB screen, the following message is displayed: Probing EDD (edd=off to disable)... ok uncompression error --system halted Which of the following steps should the Linux administrator take to recover the system without destroying the existing installation? (Choose two.)" }
    </p>

    <p className="quiz__hint">Choose two.</p>

    <ul className="quiz__choices">
      <li className="quiz__choice" data-letter="A"><span className="quiz__letter">A</span><span className="quiz__text">{ "Replace the hard drive." }</span></li>
      <li className="quiz__choice" data-letter="B"><span className="quiz__letter">B</span><span className="quiz__text">{ "Increase the amount of swap memory." }</span></li>
      <li className="quiz__choice" data-letter="C"><span className="quiz__letter">C</span><span className="quiz__text">{ "Start up in single-user mode." }</span></li>
      <li className="quiz__choice" data-letter="D" data-correct="1"><span className="quiz__letter">D</span><span className="quiz__text">{ "Start up the system using rescue boot media." }</span></li>
      <li className="quiz__choice" data-letter="E" data-correct="1"><span className="quiz__letter">E</span><span className="quiz__text">{ "Reinstall the kernel packages." }</span></li>
      <li className="quiz__choice" data-letter="F"><span className="quiz__letter">F</span><span className="quiz__text">{ "Reinstall the OS." }</span></li>
    </ul>

    <div className="quiz__reveal">
      <p className="quiz__verdict" />

      <p className="quiz__answer">Answer: DE</p>

      <p className="quiz__why">
        { "Using rescue boot media lets you boot the machine, mount the existing partitions, and access the corrupted /boot files without reinstalling the OS. Reinstalling the kernel packages restores the missing or corrupt files in /boot (e.g., vmlinuz and initramfs), allowing GRUB to load and uncompress the kernel properly." }
      </p>
    </div>
  </div>

  <div className="quiz__q" data-n="5" data-answer="D">
    <p className="quiz__stem">
      { "Which of the following network types allows a VM to use the physical network connection independent of the host machine?" }
    </p>

    <ul className="quiz__choices">
      <li className="quiz__choice" data-letter="A"><span className="quiz__letter">A</span><span className="quiz__text">{ "Internal" }</span></li>
      <li className="quiz__choice" data-letter="B"><span className="quiz__letter">B</span><span className="quiz__text">{ "NAT" }</span></li>
      <li className="quiz__choice" data-letter="C"><span className="quiz__letter">C</span><span className="quiz__text">{ "Host-only" }</span></li>
      <li className="quiz__choice" data-letter="D" data-correct="1"><span className="quiz__letter">D</span><span className="quiz__text">{ "Bridged" }</span></li>
    </ul>

    <div className="quiz__reveal">
      <p className="quiz__verdict" />

      <p className="quiz__answer">Answer: D</p>

      <p className="quiz__why">
        { "This network type connects the virtual machine directly to the physical network, allowing it to use the same network connection as other physical devices without relying on the host for network translation." }
      </p>
    </div>
  </div>
</div>
