Sample questions
Red Hat Certified System Administrator EX200 practice questions
Which TWO methods are considered best practices for securing SSH access to a server? (Select exactly two.)
An administrator wants to run a container with --user 1001:1001 to avoid running as root. After starting, the container cannot write to a bind-mounted directory owned by root. What…
An administrator needs to combine two physical network interfaces into a single logical interface for redundancy. Which RHEL tool is recommended to configure this in RHEL 8/9?
A system administrator needs to restore the default SELinux security context on all files under /var/www/html after a misconfiguration. Which command should be used?
A system fails to boot with an error about a missing ext4 filesystem. From the rescue environment, which command should be run to attempt automatic repair of all filesystems?
An administrator needs to measure the execution time of the command 'backup.sh'. Which command prefix should be used?
A system administrator needs to verify that the filesystem on /dev/sdb1 is ext4 before adding it to /etc/fstab. Which command provides this information?
A storage administrator is asked to increase the size of an ext4 filesystem mounted at /data. The underlying logical volume /dev/mapper/vg01-lv01 is currently 10GB and the volume g…
Which THREE statements about container storage in podman are correct? (Choose THREE.)
The /data filesystem is at 99% capacity. The LVM setup shows that the volume group has 50GB free space, but the logical volume is only 100GB. What is the correct sequence of comman…
Which two are required to create a logical volume? (Choose two.)
Which TWO commands can be used to check the UUID of a filesystem on /dev/sda1?
An administrator wants to add the user 'jane' to the supplementary groups 'wheel' and 'docker' without removing her from other groups. Which command should be used?
A company requires that SSH access from the external network (10.0.1.0/24) only be allowed to port 2222, and all other incoming traffic on the firewall should be dropped. Which fir…
A user executes the script shown in the exhibit with './export_script.sh' and then runs 'echo $MY_VAR' in the same terminal. The output is empty. Why does this happen?
Refer to the exhibit. The script produces the error shown. What is the most likely cause?
Which two commands can be used to create a new partition on a disk without erasing existing partitions? (Choose two.)
An administrator wants to enable user disk quotas on an XFS filesystem mounted at /home. Which steps are required?
Refer to the exhibit. An administrator runs 'mount -o remount,ro /data' and then 'mount' shows /data as read-only. Later, the system is rebooted. What is the state of /data after r…
An administrator wants to allow user 'alice' to SSH into the server using key-based authentication only. Which configuration change is required?
Refer to the exhibit. After re-adding the disk, the recovery process shows 0% progress and remains at 0. What is the most likely cause?
A system administrator needs to create a shell script that processes a list of hostnames stored in a file, one per line, and runs a command on each host. Which loop construct is mo…
A developer wants to create a script that accepts a directory path as an argument and creates a timestamped backup of that directory. If no argument is provided, it should back up…
A Red Hat Enterprise Linux 9 system enforces a security policy that user accounts must be disabled after 90 days of inactivity. The system administrator has configured /etc/shadow…