Session Review

Session ID: 137
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (102.2-025 / command_line)

Enter the command commonly used after editing /etc/default/grub to regenerate the GRUB 2 configuration.

Status: Unanswered

Your Answer:

Accepted Answer(s):
update-grub

Explanation:
After changing /etc/default/grub, update-grub is commonly used to regenerate the configuration [1].

Question 2 (102.2-023 / short_answer)

Which key should you press in the GRUB menu to open the GRUB shell?

Status: Unanswered

Your Answer:

Accepted Answer(s):
c

Explanation:
Pressing c at the menu screen enters the GRUB shell [1].

Question 3 (102.2-013 / multiple_choice)

How can you set GRUB 2 to wait 10 seconds before booting the default menu entry?

Status: Unanswered

Your Answer:

Options:

Explanation:
To make GRUB 2 wait 10 seconds, add GRUB_TIMEOUT=10 to /etc/default/grub [1].

Question 4 (102.2-006 / multiple_choice)

What is update-grub usually a shortcut for?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson notes that update-grub is usually a shortcut to grub-mkconfig -o /boot/grub/grub.cfg [1].

Question 5 (102.2-021 / short_answer)

Into which file should custom GRUB 2 menu entries be added?

Status: Unanswered

Your Answer:

Accepted Answer(s):
/etc/grub.d/40_custom

Explanation:
Custom GRUB 2 menu entries should be added to /etc/grub.d/40_custom [1].

Question 6 (102.2-003 / multiple_choice)

What is the default location of the GRUB 2 configuration file?

Status: Unanswered

Your Answer:

Options:

Explanation:
The default location for the GRUB 2 configuration file is /boot/grub/grub.cfg [1].

Question 7 (102.2-012 / multiple_choice)

Which two items are required to boot Linux manually from the GRUB 2 shell?

Status: Unanswered

Your Answer:

Options:

Explanation:
To boot Linux, GRUB needs a kernel and an initial RAM disk (initrd) [1].

Question 8 (102.2-028 / command_line)

Enter a GRUB 2 menuentry line that sets the root device by filesystem UUID 5dda0af3-c995-481a-a6f3-46dcd3b6998d.

Status: Unanswered

Your Answer:

Accepted Answer(s):
search --set=root --fs-uuid 5dda0af3-c995-481a-a6f3-46dcd3b6998d

Explanation:
The material shows replacing set root with search --set=root --fs-uuid followed by the UUID [1].

Question 9 (102.2-020 / short_answer)

What is the default file path of the GRUB 2 configuration file?

Status: Unanswered

Your Answer:

Accepted Answer(s):
/boot/grub/grub.cfg

Explanation:
The default GRUB 2 configuration file is /boot/grub/grub.cfg [1].

Question 10 (102.2-027 / command_line)

Enter the command used to install GRUB Legacy or GRUB to /dev/sda from a running system.

Status: Unanswered

Your Answer:

Accepted Answer(s):
grub-install /dev/sda

Explanation:
The material gives grub-install /dev/sda as the installation command example [1].