10 beginner questions on the EX200 (RHEL 10) objectives, one per objective group: essential tools, managing software, shell scripts, operating running systems, local storage, file systems, deploying and maintaining systems, basic networking, users and groups, and security (SELinux). The real exam is hands-on; these questions check that you know the right command for each task.

Ready to test yourself? Take the graded Beginner test (free; sign in with Google, one click) to get your score.


  1. An administrator wants to add the output of df -h to the end of /root/report.txt without overwriting what is already in the file. Which operator should be used?

    • A. df -h > /root/report.txt
    • B. df -h >> /root/report.txt ✔ correct
    • C. df -h < /root/report.txt
    • D. df -h | /root/report.txt

    Answer: B. >> appends standard output to the end of the file. A single > truncates the file first, < redirects input, and a pipe sends output to another command, not to a file.

    Source: man7.org/linux/man-pages/man1/bash.1.html · Domain: Understand and use essential tools

  2. On RHEL 10, where do you place a .repo file so that DNF can use a custom software repository?

    • A. /var/lib/rpm/
    • B. /etc/sysconfig/network-scripts/
    • C. /etc/yum.repos.d/ ✔ correct
    • D. /usr/share/doc/dnf/

    Answer: C. DNF reads repository definitions from .repo files in /etc/yum.repos.d/ (or from /etc/dnf/dnf.conf). dnf config-manager --add-repo creates such a file for you; /var/lib/rpm holds the RPM database.

    Source: docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/managing_softw · Domain: Manage software

  3. In a Bash script, $1 holds the first argument passed to the script on the command line.

    • A. True ✔ correct
    • B. False

    Answer: A. True. Positional parameters $1, $2 and so on hold the script's arguments in order, $# holds how many there are, and $0 is the script name itself.

    Source: man7.org/linux/man-pages/man1/bash.1.html · Domain: Create simple shell scripts

  4. Which setting makes systemd-journald store the journal on disk so that logs survive a reboot?

    • A. Storage=volatile in /etc/systemd/journald.conf
    • B. Storage=none in /etc/systemd/journald.conf
    • C. ForwardToConsole=yes in /etc/systemd/journald.conf
    • D. Storage=persistent in /etc/systemd/journald.conf ✔ correct

    Answer: D. With Storage=persistent, journald writes to /var/log/journal (creating it if needed), so logs are kept across reboots. volatile keeps logs only in memory under /run/log/journal, and none drops them.

    Source: www.freedesktop.org/software/systemd/man/latest/journald.conf.html · Domain: Operate running systems

  5. An administrator must initialize the new disk /dev/vdb for LVM and create a volume group named vgdata on it. Which two commands do this? (Select TWO)

    • A. pvcreate /dev/vdb ✔ correct
    • B. vgcreate vgdata /dev/vdb ✔ correct
    • C. lvextend -L +1G /dev/vgdata
    • D. xfs_growfs /dev/vdb
    • E. mkfs.vfat /dev/vdb

    Answer: A, B. pvcreate initializes the disk as an LVM physical volume and vgcreate creates the volume group from it. lvextend grows an existing logical volume, xfs_growfs grows a mounted XFS file system, and mkfs.vfat formats the disk.

    Source: docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html-single/configu · Domain: Configure local storage

  6. The logical volume /dev/vgdata/lvdata holds a mounted XFS file system that is almost full. Which single command adds 2 GiB to the volume and resizes the file system too?

    • A. lvextend --size +2G --resizefs vgdata/lvdata ✔ correct
    • B. lvcreate -L 2G -n lvdata vgdata
    • C. vgextend vgdata /dev/vgdata/lvdata
    • D. mkfs.xfs -f -L data /dev/vgdata/lvdata

    Answer: A. lvextend --size +2G grows the logical volume and --resizefs (short form -r) also grows the file system on it. mkfs.xfs -f would create a new, empty file system and destroy the data; lvcreate makes a new volume.

    Source: docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_an · Domain: Create and configure file systems

  7. A server should boot into a text-mode multi-user system, without the graphical desktop, on every boot. Which command sets this?

    • A. systemctl isolate multi-user.target
    • B. systemctl enable multi-user.target --now
    • C. systemctl set-default multi-user.target ✔ correct
    • D. systemctl start graphical.target

    Answer: C. systemctl set-default multi-user.target changes the default.target link, so the new target is used from the next boot on. systemctl isolate switches targets only for the current session.

    Source: docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/using_systemd_ · Domain: Deploy, configure, and maintain systems

  8. Running firewall-cmd --add-service=http without --permanent changes only the runtime configuration, so the rule is lost when firewalld is reloaded or the system reboots.

    • A. True ✔ correct
    • B. False

    Answer: A. True. firewalld keeps separate runtime and permanent configurations, and the runtime one is rebuilt from the permanent one on reload or restart. Add --permanent (then reload) or run firewall-cmd --runtime-to-permanent.

    Source: docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_fi · Domain: Manage basic networking

  9. The user alice is already in several supplementary groups. An administrator must add her to the wheel group without removing her other memberships. Which command does this?

    • A. usermod -G wheel alice
    • B. usermod -aG wheel alice ✔ correct
    • C. groupadd wheel alice
    • D. useradd -G wheel alice

    Answer: B. -a (append) with -G adds the group to her current supplementary groups. -G alone replaces the whole list and removes any group not named. useradd creates new accounts.

    Source: man7.org/linux/man-pages/man8/usermod.8.html · Domain: Manage users and groups

  10. An administrator moved web files from a home directory into /var/www/html. Apache now gets permission denied, and ls -Z shows the files labeled user_home_t. Which command restores the default SELinux contexts?

    • A. setenforce 0
    • B. chmod -R 777 /var/www/html
    • C. chcon -R -t user_home_t /var/www/html
    • D. restorecon -Rv /var/www/html ✔ correct

    Answer: D. restorecon -R resets files to the default contexts in the SELinux policy, here httpd_sys_content_t. setenforce 0 only switches to permissive mode, chcon here would re-apply the wrong type, and chmod does not change labels.

    Source: docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html-single/using_s · Domain: Manage security


Original practice questions written by xOps School (DevOpsSchool Private Limited) from the public Red Hat exam objectives (EX200 objectives, based on Red Hat Enterprise Linux 10), checked 2026-10-25. They are not actual exam questions. xOps School is not affiliated with or endorsed by Red Hat; exam names are trademarks of their owners. Official exam page: www.redhat.com/en/services/training/ex200-red-hat-certified-system-adm.

Last modified: Sunday, 25 October 2026, 9:57 PM