101.2 Flashcards
Which of the following commands can be used to view the boot log?
A) journalctl
B) dmesg
C) systemctl
D) bootlog
B) dmesg
What is the first stage of the Linux boot process?
A) GRUB
B) BIOS
C) Kernel initialization
D) Init
B) BIOS
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
C) update-grub
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) /etc/inittab
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) journalctl -b
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
C) /etc/default/grub
Which command will reload the systemd manager configuration?
A) systemctl reload
B) systemctl daemon-reload
C) systemctl restart
D) systemctl enable
B) systemctl daemon-reload
Which key combination should be used to enter GRUB boot menu during boot?
A) Shift
B) F2
C) ESC
D) Ctrl+Alt+Delete
A) Shift
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) Load kernel modules
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) systemctl set-default
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
B) Store the bootloader and kernel
Which runlevel corresponds to multi-user mode with networking in SysVinit?
A) 1
B) 3
C) 5
D) 6
B) 3
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) /boot/grub/grub.cfg
Which systemd target is equivalent to runlevel 5 in SysVinit?
A) graphical.target
B) multi-user.target
C) rescue.target
D) reboot.target
A) graphical.target
Which command reboots the system in systemd-based systems?
A) systemctl reboot
B) rebootctl
C) shutdown -r
D) systemctl restart
A) systemctl reboot