Question 1 of 15 System Management
Which command displays disk space usage for each mounted filesystem in human-readable units?
A du -sh / B df -h C lsblk -f D mount -l
Question 2 of 15 System Management
Which command configures a systemd service to start automatically at boot without starting it right now?
A systemctl start nginx B systemctl reload nginx C systemctl mask nginx D systemctl enable nginx
Question 3 of 15 System Management
Which file defines the filesystems that are mounted automatically at boot?
A /etc/mtab B /proc/mounts C /etc/fstab D /etc/crypttab
Question 4 of 15 System Management
Which command provides a continuously updating view of running processes ranked by CPU usage?
A ps aux B jobs C top D uptime
Question 5 of 15 Services and User Management
Which command creates a new user and also creates a home directory for that user?
A usermod -d maria B passwd maria C useradd -m maria D groupadd maria
Question 6 of 15 Services and User Management
Where are the hashed passwords for local user accounts stored on a modern Linux system?
A /etc/passwd B /etc/shadow C /etc/group D /etc/login.defs
Question 7 of 15 Services and User Management
Which crontab entry runs a backup script at 2:30 AM every day?
A 2 30 * * * /opt/backup.sh B 30 2 * * * /opt/backup.sh C * 30 2 * * /opt/backup.sh D 30 2 * * 0 /opt/backup.sh
Question 8 of 15 Security
What access does chmod 640 grant on a file?
A Owner read and write, group read, others none B Owner full control, group read and execute, others read C Owner read only, group write, others none D Owner read and write, group none, others read
Question 9 of 15 Security
Which command lets an authorized user run a single command with root privileges while logging the action?
A sudo B su - C chroot D passwd -u
Question 10 of 15 Security
Which subsystem enforces mandatory access control policies on Red Hat based distributions?
A AppArmor B iptables C SELinux D PAM
Question 11 of 15 Automation, Orchestration, and Scripting
What does the first line #!/bin/bash accomplish in a script file?
A It marks the file as a comment block B It sets the PATH for the script C It makes the script executable D It tells the kernel which interpreter should execute the script
Question 12 of 15 Automation, Orchestration, and Scripting
Which tool applies declarative configuration to many servers over SSH without requiring an agent on each host?
A cron B rsync C Git D Ansible
Question 13 of 15 Troubleshooting
Which command shows which TCP ports are listening and the processes bound to them?
A ss -tlnp B ip addr show C route -n D lsmod
Question 14 of 15 Troubleshooting
Which command queries the systemd journal to review recent log messages for a failing service?
A dmesg --follow B journalctl -u sshd C cat /var/log/wtmp D logger -p err
Question 15 of 15 Troubleshooting
Users cannot create files on a volume, but df -h shows plenty of free space. Which command reveals the most likely cause?
A df -i B du -sh C fsck -n D blkid