nerdexam
CompTIACompTIA

XK0-005 · Question #1161

XK0-005 Question #1161: Real Exam Question with Answer & Explanation

The correct answer is C: /boot/EFI/grub2.efi. {"question_number": 7, "question": "Invoking GRUB2 from the EFI shell command prompt", "correct_answer": "C", "explanation": "On UEFI-based Linux systems, the EFI System Partition (ESP) is typically mounted at /boot/EFI. The GRUB2 EFI binary is stored within that partition, makin

System Management

Question

On a UEFI-based system, which of the following invokes GRUB2 from the EFI command prompt?

Options

  • Aboot//EFI/grub2.efi
  • BEFI/grub2.efi
  • C/boot/EFI/grub2.efi
  • D/grub2.efi

Explanation

{"question_number": 7, "question": "Invoking GRUB2 from the EFI shell command prompt", "correct_answer": "C", "explanation": "On UEFI-based Linux systems, the EFI System Partition (ESP) is typically mounted at /boot/EFI. The GRUB2 EFI binary is stored within that partition, making its full path /boot/EFI/grub2.efi (or a subdirectory like /boot/EFI/EFI/redhat/grub2.efi depending on the distribution). From the EFI shell prompt, you reference this full absolute path to invoke the bootloader. Option A ('boot//EFI/grub2.efi') uses an invalid double-slash syntax. Option B ('EFI/grub2.efi') is a relative path and would only work if you had already changed to the /boot directory. Option D ('/grub2.efi') places the file at the root of the filesystem, which is not where GRUB2 EFI files reside.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#UEFI#GRUB2#Bootloader#EFI Shell

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions