Courseiva
← Back to Red Hat Certified System Administrator EX200 questions

Scenario-based practice

Hard Difficulty Questions

Practise Red Hat Certified System Administrator EX200 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

20
scenario questions
EX200
exam code
Red Hat
vendor

Scenario guide

How to approach hard difficulty questions

These are the questions most candidates get wrong. They require connecting multiple concepts, reading tricky output, or knowing edge-case behaviour that isn't on most study cards. Practising them trains you to operate under uncertainty — a necessary skill on the real exam.

Quick answer

Hard Difficulty Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Related practice questions

Related EX200 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmulti select
Full question →

Which TWO methods are considered best practices for securing SSH access to a server? (Select exactly two.)

Question 2hardmultiple choice
Full question →

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?

Question 3hardmultiple choice
Full question →

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 group has 5GB of free extents. After extending the logical volume by 2GB using lvextend -L +2G /dev/mapper/vg01-lv01, what command must be run to resize the filesystem?

Question 4hardmultiple choice
Full question →

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 commands to increase the filesystem to use all available space in the volume group?

Exhibit

Refer to the exhibit.

# df -h /data
Filesystem      Size  Used Avail Use% Mounted on
/dev/mapper/vg01-data  100G   99G  1.0G  99% /data

# cat /etc/fstab
/dev/mapper/vg01-data /data xfs defaults 0 0

# lsblk /dev/sdb
NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sdb       8:16   0  150G  0 disk
└─sdb1    8:17   0  150G  0 part
  └─vg01-data 253:1  0  100G  0 lvm  /data

# vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  vg01   1   1   0 wz--n- 150.00g 50.00g
Question 5hardmultiple choice
Full question →

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 firewalld rule should be applied to the external zone?

Question 6hardmultiple choice
Full question →

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?

Exhibit

Refer to the exhibit.
```bash
#!/bin/bash
# Script to set environment variable
MY_VAR="hello"
export MY_VAR
```
Question 7hardmultiple choice
Full question →

Refer to the exhibit. The script produces the error shown. What is the most likely cause?

Exhibit

Refer to the exhibit.

#!/bin/bash
if [ $var = "value" ]
then
  echo "Match"
fi

Error: [: =: unary operator expected
Question 8hardmultiple choice
Full question →

An administrator wants to enable user disk quotas on an XFS filesystem mounted at /home. Which steps are required?

Question 9hardmultiple choice
Full question →

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?

Network Topology
# mdadmdetail /dev/md0# mdadm /dev/md0fail /dev/sdb1remove /dev/sdb1add /dev/sdb1# cat /proc/mdstatPersonalities[raid1][raid1][raid1]md0active raid1 sdb1[0] sdc1[1]active raid1 sdc1[1] sdb1[0](F)active raid1 sdb1[2] sdc1[1]/dev/md0:Version1.2Raid Level : raid1Raid Devices : 2Total Devices : 2PersistenceSuperblock is persistentStatecleanActive Devices : 2Working Devices : 2Failed Devices : 0Spare Devices : 0Consistency Policy : resyncUUID12345678:9abc:def0:1234Events0Number Major Minor RaidDevice State# fdisk -l /dev/sdbmdadm: re-added /dev/sdb1
Question 10hardmulti select
Full question →

Which THREE of the following are valid methods to identify a block device in /etc/fstab?

Question 11hardmulti select
Full question →

Which TWO commands show detailed information about a container image, including layers and configuration? (Choose TWO.)

Question 12hardmulti select
Full question →

Which three fields are present in every /etc/fstab entry? (Choose three.)

Question 13hardmultiple choice
Full question →

A system administrator wants to find all files in /var that are larger than 100MB and have been modified within the last 7 days. The output should be a list of file paths with sizes in human-readable format, sorted by size descending. Which command pipeline accomplishes this?

Question 14hardmultiple choice
Full question →

An administrator creates a pod named 'webpod' containing two containers: 'nginx' and 'logger'. The goal is for the nginx container to access the logger container via hostname 'logger'. Which network configuration is required?

Question 15hardmultiple choice
Full question →

Refer to the exhibit. A user bob exists with UID 1002 and GID 1002. The /etc/group shows a group bob with GID 1002 but no members listed. Bob tries to access a file owned by group 'bob' with permissions 640 and owner root. What will happen?

Exhibit

# grep ^^bob /etc/passwd /etc/shadow /etc/group
/etc/passwd:bob:x:1002:1002:Bob Smith:/home/bob:/bin/bash
/etc/shadow:bob:$6$abc123$...:18000:0:99999:7:::
/etc/group:bob:x:1002:
Question 16hardmultiple choice
Full question →

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 accordingly with the proper fields. User 'bob' has been on leave for 95 days. When bob returns and tries to log in, he is unable to do so. The administrator checks the shadow file and sees that bob's password expiration date has passed and the account is locked due to inactivity (the inactivity period has exceeded). The administrator wants to immediately reactivate bob's account without changing the password, and also wants to set the account to expire in 30 days from now (relative to the current date). Which set of commands should the administrator run to achieve this goal?

Question 17hardmultiple choice
Full question →

Your organization has a shared directory /data/projects with permissions 2770 owned by root:projectmanagers. The directory is used by a team of developers who are all members of the 'developers' group. However, you need to ensure that any file created inside /data/projects automatically belongs to the 'developers' group, not the user's primary group. Additionally, you need to ensure that developers can delete only their own files, not those of others. Your IT security policy also requires that all user passwords must expire every 90 days and that new users should have a warning period of 7 days before expiration. Given the following options, which one describes the correct set of actions to achieve all these requirements?

Question 18hardmultiple choice
Full question →

A Red Hat Enterprise Linux server has been configured with a custom repository for offline updates. The administrator runs 'yum repolist' and the custom repository is not listed. Which command should be used to verify that the repository configuration file is valid and located in the correct directory?

Question 19hardmultiple choice
Full question →

An administrator needs to ensure that a container always runs with a specific SELinux context for security reasons. The container uses a volume mount from the host. Which command should be used to start the container?

Question 20hardmultiple choice
Full question →

A system administrator is configuring a new RHEL 9 server with two 500GB SSDs. The requirement: create a 200GB XFS filesystem for /srv/data that is resilient to disk failure. The admin decides to create a RAID 1 (mirror) using mdadm with partitions on each disk: /dev/sda1 and /dev/sdb1, each 200GB. He creates the partitions with fdisk, then runs: mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1. The array is created and synced. He then creates a physical volume, volume group, and logical volume on top of /dev/md0, formats with XFS, and mounts. Later, a disk fails. After replacing the failed disk, he recreates the partition with identical size and runs: mdadm /dev/md0 --add /dev/sdb1. The command fails with 'Device /dev/sdb1 is busy'. What is the most likely cause?

These EX200 practice questions are part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style EX200 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.