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 1easymultiple 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 2mediummultiple 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 3mediummultiple 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 4hardmultiple 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 5mediummultiple 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 6mediummultiple 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
```
Question 7mediummultiple choice
Full question →

Refer to the exhibit. An administrator wants to create an LVM logical volume using /dev/sdb3. What is the first step to complete this task?

Network Topology
/dev/sdb3 vg01 lvm2 a480.00g 480.00g# fdisk -l /dev/sdbDisklabel type: gptDisk identifier: 12345678-1234-1234-1234-123456789abc# lsblk -fNAME FSTYPE LABEL UUID MOUNTPOINTsdb├─sdb1 ext4 a1b2c3d4-... /data1├─sdb2 ext4 e5f6a7b8-... /data2└─sdb3 LVM2_member abcd1234-...# mount | grep sdb# pvs
Question 8hardmultiple choice
Full question →

Refer to the exhibit. The backup script runs every 5 minutes but generates errors. What is the most likely cause?

Network Topology
-rw-rr$ crontab -l$ ls -l /usr/local/bin/backup.sh
Question 9mediummultiple choice
Full question →

Refer to the exhibit. An administrator attempts to mount the partition but receives an error. Which command should be run first to resolve the issue?

Exhibit

# parted /dev/sdc print
Model: VMware Virtual disk (scsi)
Disk /dev/sdc: 2147MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name     Flags
 1      1049kB  2147MB  2146MB  xfs          primary

# mount /dev/sdc1 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
Question 10easymultiple choice
Full question →

Refer to the exhibit. What does the file permission -rw------- indicate about /etc/shadow?

Exhibit

$ ls -l /etc/shadow
-rw-------. 1 root root 1234 Jan 1 00:00 /etc/shadow
Question 11hardmultiple choice
Full question →

Refer to the exhibit. An administrator sees that a user from 192.168.1.101 cannot connect to the SSH server. Based on the log, what is the most probable cause?

Exhibit

$ journalctl -u sshd.service -p err --since yesterday
-- Logs begin at Mon 2024-03-25 10:00:00 EDT, end at Tue 2024-03-26 09:30:00 EDT
Mar 25 14:22:31 server sshd[1234]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.1.100  user=root
Mar 25 14:22:35 server sshd[1234]: Failed password for root from 192.168.1.100 port 22 ssh2
Mar 25 14:23:01 server sshd[1235]: fatal: Unable to negotiate with 192.168.1.101 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
Mar 25 14:23:02 server sshd[1235]: Connection closed by 192.168.1.101
Question 12hardmultiple choice
Full question →

Refer to the exhibit. A user 'alice' is unable to write to /data directory. What is the most likely reason?

Exhibit

Refer to the exhibit.

```
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        20G   15G  5.0G  75% /
tmpfs           1.5G  2.3M  1.5G   1% /dev/shm
/dev/sdb1       100G   10G   90G  10% /data

$ ls -ld /data
drwx------. 6 root root 4096 Jan 1 12:00 /data
```
Question 13easymultiple choice
Full question →

Based on the exhibit, which command should be used to start the container named 'mycontainer'?

Exhibit

Refer to the exhibit.

$ podman ps -a
CONTAINER ID  IMAGE                           COMMAND               CREATED         STATUS                     PORTS       NAMES
a1b2c3d4e5f6  registry.access.redhat.com/ubi8/ubi  "/bin/bash"          5 minutes ago   Exited (0) 3 minutes ago              mycontainer
z9y8x7w6v5u4  do280/httpd                      "/usr/sbin/httpd -D"  2 hours ago     Up 2 hours                 0.0.0.0:80->80/tcp  webserver
Question 14mediummultiple choice
Full question →

Refer to the exhibit. What is the most likely cause of this failure?

Exhibit

[root@server ~]# systemctl status sshd
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2025-03-10 14:22:34 EDT; 5min ago
  Process: 1234 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=255)
 Main PID: 1234 (code=exited, status=255)
   Status: "Failed to start sshd"
   CGroup: /system.slice/sshd.service
           └─1234 /usr/sbin/sshd -D

Jan 10 14:22:34 server sshd[1234]: fatal: Cannot bind any address.
Jan 10 14:22:34 server sshd[1234]: fatal: Cannot bind any address.
Question 15easymultiple choice
Full question →

Consider the script in the exhibit. The script is run in a directory containing 'a.txt' and 'b.txt' but also has a subdirectory 'backup' with .txt files. What will be the output?

Exhibit

Refer to the exhibit.
```bash
#!/bin/bash
# Script to count lines in files
for file in *.txt; do
  wc -l "$file"
done
```

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.