Courseiva
← Back to Red Hat Certified System Administrator EX200 questions

Scenario-based practice

Refer to the Exhibit Practice 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.

15
scenario questions
EX200
exam code
Red Hat
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the 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 1hardmultiple 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 2hardmultiple 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 3mediummultiple choice
Full question →

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 reboot?

Exhibit

# fdisk -l /dev/sdb
Disk /dev/sdb: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x12345678

Device     Boot Start      End  Sectors Size Id Type
/dev/sdb1        2048 20971519 20969472  10G 83 Linux

# blkid /dev/sdb1
/dev/sdb1: UUID="abc123" TYPE="xfs"

# cat /etc/fstab | grep sdb
UUID=abc123 /data xfs defaults 0 0

# mount | grep data
/dev/sdb1 on /data type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
Question 4hardmultiple 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 5easymultiple choice
Full question →

Refer to the exhibit. A container named 'db' is running on the host. An administrator runs `podman inspect db` and sees the above output snippet. What can be concluded about the container's network configuration?

Exhibit

Refer to the exhibit.
```json
{
  "NetworkSettings": {
    "IPAddress": "10.88.0.2",
    "Gateway": "10.88.0.1",
    "Ports": {
      "3306/tcp": [
        {
          "HostPort": "3306",
          "HostIp": "0.0.0.0"
        }
      ]
    }
  }
}
```
Question 6mediummultiple choice
Full question →

Refer to the exhibit. An administrator wants to mount /dev/sdc1 on /mnt/storage. What must be done first?

Exhibit

# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        50G   20G   30G  40% /
/dev/sdb1       100G   10G   90G  10% /data
# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   50G  0 disk
└─sda1   8:1    0   50G  0 part /
sdb      8:16   0  100G  0 disk
└─sdb1   8:17   0  100G  0 part /data
sdc      8:32   0   10G  0 disk
# mount | grep sdc
#
Question 7hardmultiple choice
Full question →

Refer to the exhibit. A system administrator wants to add an additional mount option 'noexec' to the /boot filesystem permanently. Which step is necessary before remounting?

Exhibit

# mount | grep sda1
/dev/sda1 on /boot type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
# cat /etc/fstab
/dev/mapper/rhel-root /                       xfs     defaults        0 0
UUID=12345678-1234-1234-1234-123456789abc /boot                   xfs     defaults        0 0
/dev/mapper/rhel-swap swap                    swap    defaults        0 0
# blkid /dev/sda1
/dev/sda1: UUID="12345678-1234-1234-1234-123456789abc" TYPE="xfs"
Question 8hardmultiple choice
Full question →

Refer to the exhibit. A web server must also accept HTTPS traffic on port 8443. Which command should the administrator run to permanently open this port?

Network Topology
# firewall-cmdlist-allpublic (active)target: defaulticmp-block-inversion: nointerfaces: eth0sources:services: dhcpv6-client sshports: 80/tcp 443/tcpprotocols:masquerade: noforward-ports:source-ports:icmp-blocks:rich rules:
Question 9easymultiple choice
Full question →

Refer to the exhibit. An administrator runs lsblk and sees the above output. The administrator wants to mount /dev/sdb1 at /mnt/data. What should be done first?

Exhibit

NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   20G  0 disk
├─sda1   8:1    0  500M  0 part /boot
├─sda2   8:2    0    2G  0 part [SWAP]
├─sda3   8:3    0   10G  0 part /
└─sda4   8:4    0  7.5G  0 part /home
sdb      8:16   0   10G  0 disk
└─sdb1   8:17   0   10G  0 part
Question 10easymultiple choice
Full question →

Refer to the exhibit. Why does the 'bin' user have /sbin/nologin as its shell?

Exhibit

Refer to the exhibit.

$ cat /etc/passwd | head -3
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
Question 11mediummultiple choice
Full question →

Based on the exhibit, which mount point is mounted with the 'noexec' option?

Exhibit

Refer to the exhibit.

Output of 'df -hT':

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda1      xfs       2.0G  1.2G  800M  60% /boot
/dev/mapper/vg00-root
               ext4       20G   15G  5.0G  75% /
/dev/mapper/vg00-var
               ext4       30G   25G  5.0G  83% /var
/dev/mapper/vg00-tmp
               ext4,noexec 5.0G  2.0G  3.0G  40% /tmp
/dev/sdb1      ext4      500G  200G  300G  40% /data
Question 12mediummultiple choice
Full question →

Refer to the exhibit. An administrator needs to create a new 5GB filesystem for /var/log. Which step is required?

Network Topology
/dev/sda2 vg00 lvm2 a<19.00g 0n- <19.00g 0# lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINTNAME FSTYPE SIZE MOUNTPOINTsda 20G├─sda1 xfs 1G /boot├─sda2 LVM_member 19G│ ├─vg00-lv_root xfs 10G /│ ├─vg00-lv_swap swap 2G [SWAP]│ └─vg00-lv_home xfs 7G /homesdb ext4 10G /mnt/backupsdc 15G└─sdc1 15G# vgs# pvs
Question 13hardmultiple choice
Full question →

Refer to the exhibit. An administrator needs to create a 1.2 TiB logical volume named 'data' in volume group 'myvg' and mount it persistently at /data. Which sequence of commands should be used?

Network Topology
/dev/sdb myvg lvm2 a500.00g 500.00g/dev/sdc myvg lvm2 a/dev/sdd myvg lvm2 an- 1.46t 1.46tPhysical volume# lsblk# pvs# vgs# lvs# df -h# pvdisplay /dev/sddPV Name /dev/sddVG Name myvgAllocatable yesPE Size 4.00 MiBTotal PE 127999Free PE 127999Allocated PE 0
Question 14mediummultiple choice
Full question →

Refer to the exhibit. A user named 'carol' has been added to the system with the command useradd -G wheel carol. Which line in /etc/group will confirm that carol is now a member of the wheel group?

Exhibit

# cat /etc/group
root:x:0:root
bin:x:1:bin,daemon
daemon:x:2:bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,daemon,adm
tty:x:5:
disk:x:6:root
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:
wheel:x:10:root,alice,bob
ssh_keys:x:101:
sshd:x:74:
alice:x:1001:
bob:x:1002:
Question 15mediummultiple choice
Full question →

A developer runs the script shown in the exhibit and always sees 'Success' printed, even when the previous command fails. What is the most likely cause?

Exhibit

Refer to the exhibit.
```bash
#!/bin/bash
# Script to test a condition
if [[ $? -eq 0 ]]; then
  echo 'Success'
fi
```

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.