101.2 Flashcards

1
Q

Which of the following commands can be used to view the boot log?
A) journalctl
B) dmesg
C) systemctl
D) bootlog

A

B) dmesg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the first stage of the Linux boot process?
A) GRUB
B) BIOS
C) Kernel initialization
D) Init

A

B) BIOS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which command can you use to update the GRUB configuration after editing the /etc/default/grub file?
A) grub2-update
B) grub-mkconfig
C) update-grub
D) grub-install

A

C) update-grub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which file contains information on the default runlevel in SysVinit systems?
A) /etc/inittab
B) /etc/init.d
C) /boot/grub/grub.cfg
D) /etc/default/grub

A

A) /etc/inittab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which command will display a summary of the system’s boot logs on a systemd-based Linux system?
A) journalctl -b
B) systemctl status
C) dmesg
D) bootlogctl

A

A) journalctl -b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In GRUB2, which configuration file is usually edited to change boot parameters?
A) /boot/grub/grub.cfg
B) /etc/grub.d/40_custom
C) /etc/default/grub
D) /etc/grub.conf

A

C) /etc/default/grub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which command will reload the systemd manager configuration?
A) systemctl reload
B) systemctl daemon-reload
C) systemctl restart
D) systemctl enable

A

B) systemctl daemon-reload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which key combination should be used to enter GRUB boot menu during boot?
A) Shift
B) F2
C) ESC
D) Ctrl+Alt+Delete

A

A) Shift

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the role of the initramfs in the Linux boot process?
A) Load kernel modules
B) Manage system services
C) Load the bootloader
D) Check system file integrity

A

A) Load kernel modules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which command allows you to set the default target in systemd?
A) systemctl set-default
B) systemctl isolate
C) systemctl reboot
D) systemctl start

A

A) systemctl set-default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the main purpose of the /boot partition?
A) Store user data
B) Store the bootloader and kernel
C) Store log files
D) Store the root filesystem

A

B) Store the bootloader and kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which runlevel corresponds to multi-user mode with networking in SysVinit?
A) 1
B) 3
C) 5
D) 6

A

B) 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which file is read first by the GRUB bootloader?
A) /boot/grub/grub.cfg
B) /etc/grub.d/40_custom
C) /etc/default/grub
D) /boot/efi/grub.cfg

A

A) /boot/grub/grub.cfg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which systemd target is equivalent to runlevel 5 in SysVinit?
A) graphical.target
B) multi-user.target
C) rescue.target
D) reboot.target

A

A) graphical.target

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which command reboots the system in systemd-based systems?
A) systemctl reboot
B) rebootctl
C) shutdown -r
D) systemctl restart

A

A) systemctl reboot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which of the following is the initial process that starts during the Linux boot process?
A) systemd
B) init
C) BIOS
D) kernel

A

D) kernel

17
Q

Which command can be used to change the runlevel on a SysVinit system?
A) init
B) systemctl set-default
C) telinit
D) runlevelctl

A

C) telinit

18
Q

Which key combination can be used to force the system to reboot?
A) Ctrl+Alt+Delete
B) Shift+F1
C) ESC+F10
D) Ctrl+Shift+R

A

A) Ctrl+Alt+Delete

19
Q

Where is the kernel file located on most Linux systems?
A) /boot
B) /etc
C) /var
D) /usr

A

A) /boot

20
Q

Which file contains boot parameters passed to the Linux kernel by GRUB?
A) /etc/default/grub
B) /boot/grub/grub.cfg
C) /etc/inittab
D) /etc/systemd/system.conf

A

B) /boot/grub/grub.cfg