WorksheetsLinux Installation and User Management Quiz
Total questions: 30
Worksheet time: 15mins
Which of the following is used for automating Linux installations over a network?
PXE Boot
USB Boot
Live CD
Manual Partitioning
Which of these is the first program executed after BIOS/UEFI during boot?
Kernel
Init
Boot Loader
Shell
GRUB and LILO are examples of:
File Systems
Boot Loaders
Kernel Modules
User Authentication Systems
Which of the following is responsible for initializing hardware before booting the OS?
GRUB
Kernel
BIOS/UEFI
Init
Which of the following commands is used to install Linux kernel modules manually?
modprobe
insmod
lsmod
rmmod
The purpose of the Init system is to:
Load the BIOS firmware
Initialize system services after kernel boot
Configure user permissions
Compile the Linux kernel
Which file typically contains boot loader configuration in GRUB 2?
/etc/grub.conf
/boot/grub2/grub.cfg
/etc/fstab
/boot/initrd.img
Which of the following is NOT part of the boot process?
BIOS/UEFI
Boot Loader
File Permission Configuration
Kernel Initialization
Kernel modules are loaded:
Only at system startup
Dynamically as needed
Manually only
During user login
What command lists currently loaded kernel modules?
lsmod
modprobe
insmod
uname -r
The initial RAM disk used during Linux booting is known as:
vmlinuz
initrd
grub.cfg
bootmgr
Which is responsible for managing file systems and processes at the core level?
Shell
Kernel
User space utilities
Boot Loader
To update the GRUB boot loader configuration, you would typically run:
update-grub
grub-install
boot-update
mkinitcpio
In which directory are kernel modules typically stored?
/boot
/lib/modules
/etc/modules
/usr/bin/modules
The BIOS hands over control to the boot loader, which then:
Starts login manager
Loads kernel into memory
Mounts user directories
Executes systemd directly
Which command is used to create a new user account in Linux?
useradd
passwd
groupadd
mkuser
To assign a user to a group, which command is used?
usermod -aG groupname username
groupmod username groupname
adduser groupname
chmod g+username
Which file in Linux contains user account information?
/etc/passwd
/etc/group
/etc/shadow
/etc/fstab
Password aging policies are configured using which command?
passwd
chage
useradd
gpasswd
Which file stores hashed passwords in Linux?
/etc/group
/etc/passwd
/etc/shadow
/var/log/auth.log
Which mechanism allows more advanced file permissions beyond owner/group/others in Linux?
chmod
Access Control Lists (ACLs)
sticky bits
setuid bits
Which command is used to view ACLs of a file?
chmod
ls -l
getfacl
setfacl
Which command modifies ACLs on a file or directory?
chmod
getfacl
setfacl
usermod
To lock a user account, which command is used?
passwd -l username
useradd -l username
groupdel username
chage -l username
Which of these is part of configuring authentication in Linux?
PAM (Pluggable Authentication Modules)
cron
LVM
fdisk
Which command changes a user's primary group?
usermod -g groupname username
groupmod username groupname
chgrp username groupname
useradd -g username groupname
Which special permission allows a file to be executed with the privileges of the file owner?
sticky bit
setgid
setuid
ACL
What does chmod 750 file mean?
Read, write, execute for owner; read, execute for group; no access for others
Full access for everyone
Read-only access for owner
No access for owner
Which command shows the current user's group memberships?
whoami
id
groups
Both b and c
Which type of file permission allows users to delete or rename files in a directory even if they don't own the file?
setgid
sticky bit
setuid
read-only bit
