Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

RedHat EX200 Dumps 2026 with Free Practice Questions and Answers

16 original Red Hat Certified System Administrator exam practice questions with answers and explanations.

Covers Deploy, Configure, And Maintain Systems, Configure Local Storage, Create And Configure File Systems, Manage Security and 6 more.

Question types: single answer, drag and drop, multiple answers, order list and dropdown. A new question is added every 15 days.

EX200 Practice Set Details

Vendor
RedHat
Exam Code
EX200
Questions On This Page
16
Exam Topics Covered
10 of 10
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
136
Certification
Red Hat Certified System Administrator
16 questions

RedHat EX200 Exam Questions and Answers by Topic

Understand and Use Essential Tools

1 practice question on this topicWhat this topic covers

Question 1

Added

Dropdown

A systems administrator must copy a compressed archive to a remote RHEL host over SSH while preserving the original file and using a nondefault SSH port of 2222. Complete the command with the correct executable and port option.

Choose the correct value for each blank.

2222 /var/tmp/release.tar.gz admin@server:/var/tmp/
Correct answer:

scp -P 2222 /var/tmp/release.tar.gz admin@server:/var/tmp/

scp copies a file between local and remote paths over SSH, and its uppercase -P option specifies the SSH port. The command leaves the source archive in place because it is a copy operation. sftp is an interactive file-transfer client and does not take this source/destination command form. rsync can transfer files but requires different syntax for specifying a port through SSH. ssh provides a remote shell rather than copying the archive. Lowercase -p in scp preserves file attributes; it does not set the port.

Create Simple Shell Scripts

1 practice question on this topicWhat this topic covers

Question 2

Added

Order List

A nightly script receives one directory path as its first argument and must archive regular files directly inside that directory only when at least one exists. It must report an error and exit nonzero for a missing or unreadable directory, avoid creating an empty archive, and use a tar archive named with the directory's basename. Arrange the implementation steps in the order they must be performed.

Drag the steps into the correct order, or use the arrows.

  1. Change to the supplied directory and collect matching regular-file names.
  2. Check whether the collected file list is nonempty; exit without archiving if it is empty.
  3. Create the named tar archive from the collected file list and capture tar's exit status.
  4. Check that $1 names a readable directory; report an error and exit nonzero otherwise.
Correct answer:
  1. Check that $1 names a readable directory; report an error and exit nonzero otherwise.
  2. Change to the supplied directory and collect matching regular-file names.
  3. Check whether the collected file list is nonempty; exit without archiving if it is empty.
  4. Create the named tar archive from the collected file list and capture tar's exit status.

Validate the argument before attempting to read it, then work from the selected directory so the archive contains its immediate file names rather than unrelated paths. The nonempty check must occur before invoking tar to avoid an empty archive. Finally create the archive and preserve or inspect tar's exit status so the script can report failure accurately. Collecting files before validation risks misleading errors. Archiving before the empty check defeats the stated requirement, and checking status before running tar cannot report its result.

Operate Running Systems

1 practice question on this topicWhat this topic covers

Question 3

Added

Order List

A RHEL server is unresponsive, and console access shows that a runaway process is consuming CPU. The administrator must identify the process, lower its scheduling priority if it is safe to keep running, and terminate it only if that does not relieve the problem. Arrange the operational steps in the correct order.

Drag the steps into the correct order, or use the arrows.

  1. Recheck CPU use and application responsiveness after the priority change.
  2. If the process still causes the outage, send it a normal termination signal and verify its state.
  3. Attempt to lower its priority with renice using the identified PID.
  4. Use top or ps to identify the CPU-intensive process and record its PID.
Correct answer:
  1. Use top or ps to identify the CPU-intensive process and record its PID.
  2. Attempt to lower its priority with renice using the identified PID.
  3. Recheck CPU use and application responsiveness after the priority change.
  4. If the process still causes the outage, send it a normal termination signal and verify its state.

First identify the actual process and PID rather than acting on a guessed process name. Lowering priority gives other work a better chance to run without immediately disrupting the application. Rechecking determines whether that less disruptive action restored service. If the process continues to cause the outage, a normal termination signal gives it an opportunity to exit cleanly, after which its state should be verified. Killing before identifying the PID risks terminating the wrong workload, and skipping the recheck ignores the required escalation decision.

Configure Local Storage

2 practice questions on this topicWhat this topic covers

Question 4

Added

Single Answer

A RHEL server has a GPT data disk with free extents in an existing volume group. The application needs a new 12 GiB XFS filesystem, and the storage team requires the filesystem to mount reliably at boot even if device enumeration changes. The disk and volume group are already available, and the change must not alter any existing logical volume. Which approach best meets the requirement?

Correct answer: A

A new logical volume uses the already-free volume group extents without changing existing volumes. Formatting it as XFS and mounting by filesystem UUID makes the fstab reference independent of device enumeration, which can change between boots. A /dev/mapper path is less dependent on enumeration but does not meet the explicit UUID requirement. A new partition is unnecessary and the /dev/sdX name can change. Swap cannot be mounted as an application filesystem.

Question 5

Added

Multiple Answers

An administrator needs to add 4 GiB of swap to a running RHEL system without repartitioning its disks or interrupting existing filesystems. A dedicated file in the root filesystem has sufficient free space, and the change must remain active after reboot. The filesystem supports regular files, and no swap device is required by policy. Which two actions should be taken? (Choose two.)

Correct answer: A, D

A regular file can provide swap without repartitioning when the filesystem supports it. After creating and sizing the file, mkswap prepares it as swap space. A swap-type /etc/fstab entry makes it persistent, and swapon activates it immediately. Formatting the file as XFS creates a filesystem rather than swap. Creating a partition violates the non-destructive no-repartitioning constraint and is unnecessary. An ext4 fstab entry would attempt to mount the file as a filesystem, not activate it as swap.

Create and Configure File Systems

2 practice questions on this topicWhat this topic covers

Question 6

Added

Multiple Answers

A development team shares files in /srv/build. The directory is group-owned by builders, but files created by members of the group sometimes inherit their primary group instead, and users can accidentally remove one another's entries. The team must retain normal file ownership, ensure new entries inherit the collaboration group, and prevent members from removing names they do not own. The filesystem is local XFS and existing access should otherwise remain unchanged. Which two actions meet these requirements? (Choose two.)

Correct answer: D, E

The set-GID bit on a directory causes newly created entries to inherit the directory's group, so retaining builders as the group owner gives the intended collaboration ownership. The sticky bit restricts deletion and renaming within the directory to the entry owner, directory owner, or a privileged user. A directory's set-UID bit does not provide group inheritance. An ACL alone does not enforce either requested behavior and removing owner write access changes normal administration. Immutable files prevent legitimate team updates rather than protecting directory entries appropriately.

Question 7

Added

Single Answer

A RHEL application server has an XFS filesystem on a logical volume that is nearly full. The volume group has enough unallocated extents to add 8 GiB, and the filesystem must remain mounted during the change. The administrator must not shrink or recreate the filesystem, and the application cannot be stopped during the maintenance window. Which action is appropriate?

Correct answer: D

XFS supports online growth, so the logical volume can be extended using available volume-group extents and the mounted filesystem can then be expanded with xfs_growfs. This preserves the existing filesystem and avoids application downtime. xfs_repair checks and repairs filesystem consistency; it does not enlarge a filesystem, and unmounting violates the availability constraint. resize2fs is for ext-family filesystems, not XFS. Mounting a second filesystem over the application directory would obscure existing content rather than extend the current filesystem.

Deploy, Configure, and Maintain Systems

3 practice questions on this topicWhat this topic covers

Question 8

Added

Single Answer

A RHEL 7 server hosts a legacy application that requires the system to start in multi-user mode without a graphical login. The server is currently configured to boot to the graphical target. The change must persist across reboot, and the team wants to use the systemd target configuration rather than editing GRUB or changing the default runlevel through a compatibility command. Which action best meets the requirement?

Correct answer: D

systemctl set-default multi-user.target changes the systemd default target persistently, so subsequent boots enter the non-graphical multi-user environment. systemctl isolate changes the target only for the current boot, and set-default is not needed to save an isolated target. Editing /etc/inittab is not the systemd method for setting the default target on RHEL 7. Enabling multi-user.target is not how the default boot target is selected.

Question 9

Added

Single Answer

A RHEL host runs an application that requires a specific module stream of a package. The currently installed package came from the default stream, but the application is stopped and the maintenance window permits replacing that package. The administrator has confirmed that the needed stream is available in an enabled repository. The team requires the selected stream to be recorded in DNF's module state before installing the package; manually downloading RPMs is disallowed. What is the best sequence?

Correct answer: C

Enabling the required module stream first updates DNF's module state so subsequent package operations select packages from that stream. The package can then be installed through the configured repository using DNF, which also resolves dependencies. Enabling the stream after installation does not make the earlier transaction use it. Resetting the module and installing the default stream contradicts the application's requirement. Installing an RPM directly bypasses the required repository-based module selection and is explicitly disallowed.

Question 10

Added

Single Answer

A RHEL server must run a report at 02:15 every weekday. The job must execute under the account that owns the report files and should not require an administrator to launch it manually after each reboot. The organization already uses the system cron service, and no one-time execution is intended. Which configuration is best?

Correct answer: D

A recurring weekday schedule belongs in cron, and placing it in the report owner's crontab runs the job with the required ownership and permissions. Cron evaluates the schedule on an ongoing basis, including after reboots when the service is available. at schedules a one-time job rather than this recurring report. Root's crontab with an embedded account switch adds unnecessary complexity and risks running parts of the job with the wrong identity. rc.local runs at startup, not every weekday at 02:15.

Manage Basic Networking

1 practice question on this topicWhat this topic covers

Question 11

Added

Drag And Drop

A RHEL server must retain a fixed IPv4 address across reboots, use an internal DNS server for name resolution, and allow inbound SSH while keeping other unsolicited inbound services blocked. The host uses NetworkManager and firewalld. Match each requirement to the configuration mechanism that directly satisfies it.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Internal DNS resolver configuration
Persistent static IPv4 address
Allow inbound SSH while retaining other zone restrictions
NetworkManager connection profile
NetworkManager connection profile DNS settings
firewall-cmd --add-service=ssh --permanent
Correct answer:
  • Persistent static IPv4 address → NetworkManager connection profile
  • Internal DNS resolver configuration → NetworkManager connection profile DNS settings
  • Allow inbound SSH while retaining other zone restrictions → firewall-cmd --add-service=ssh --permanent

NetworkManager connection profiles hold persistent interface addressing, and their DNS settings configure the resolver information associated with the connection. The permanent firewalld service rule allows SSH after the firewall reloads or the host reboots while preserving the other zone's restrictions. A temporary firewall rule would not survive a restart. Editing an unrelated hosts entry would not configure the DNS resolver, and a DHCP address would not guarantee the required fixed address.

Manage Users and Groups

2 practice questions on this topicWhat this topic covers

Question 12

Added

Single Answer

A contractor account must be created with a non-interactive shell, a home directory for audit records, membership in the existing project group, and an initial password that the contractor must change at first login. The account should expire on a specified date next month. Which command sequence best satisfies these requirements without changing existing group memberships?

Correct answer: C

The -m option creates the home directory, -s selects the non-interactive shell, and -G adds the account to the supplementary project group without replacing its primary group. After setting an initial password, chage -d 0 forces a password change at the next login, while chage -E sets the account expiration date. The first approach omits the home directory and selects an interactive shell. The third selects an interactive shell and passwd -e expires a password rather than setting the account expiration date. Recreating an existing group is unnecessary and the last approach omits the required home.

Question 13

Added

Single Answer

A RHEL host's security policy requires administrators to use their named accounts for routine work and elevate only when necessary. One operator needs full administrative privileges, while another needs permission to restart a specific service but not to run arbitrary commands as root. Direct root SSH login is prohibited. Which configuration best follows least privilege?

Correct answer: D

Using named accounts with sudo preserves individual attribution. Wheel membership is suitable for the operator who needs broad administrative access, while a narrowly scoped sudoers rule limits the second operator to the required service-management command. Sharing the root password removes individual accountability and conflicts with the policy. Adding both users to wheel grants the second operator far more access than required. Disabling their shells and relying on root SSH contradicts the prohibition on direct root SSH and prevents routine named-account administration.

Manage Security

2 practice questions on this topicWhat this topic covers

Question 14

Added

Single Answer

A web server on RHEL serves content from /srv/site. Files were copied there from a staging host and have the wrong SELinux type; Unix permissions are already correct. The server runs in enforcing mode and its standard policy permits httpd to read content labeled as web content. Administrators do not want to disable SELinux or add a broad local policy rule. Which action is the best first correction?

Correct answer: D

The files have incorrect labels, so restorecon is the appropriate first correction when the standard file-context policy defines the intended labels for the path. It restores those default contexts without weakening enforcement or creating additional policy. Permissive mode only stops enforcement and does not repair labels. A recursive chcon can temporarily change labels but is not the durable policy-defined restoration requested. The network-connect boolean affects outbound network connections by httpd, not access to locally labeled content.

Question 15

Added

Drag And Drop

A security review requires a service account to read one shared configuration file without granting access to every member of the file's group. SSH access for the administrator must use a public key, and SELinux must remain enforcing while a path with a known policy default is corrected. Match each requirement to the most appropriate mechanism.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Restore a path to policy-defined SELinux labels
Configure public-key SSH authentication
Grant one account read access to a specific file
setfacl -m u:service:r-- file
Install the public key in the user's authorized_keys file
restorecon on the affected path
Correct answer:
  • Grant one account read access to a specific file → setfacl -m u:service:r-- file
  • Configure public-key SSH authentication → Install the public key in the user's authorized_keys file
  • Restore a path to policy-defined SELinux labels → restorecon on the affected path

A named-user ACL grants the service account read access to the specific file without changing access for the entire owning group. SSH public-key authentication uses the account's authorized_keys file, with appropriate ownership and permissions. restorecon resets labels according to the active file-context policy while leaving SELinux enforcing. Changing the file's group permissions would expose access to other group members. Disabling SELinux would weaken enforcement instead of repairing the known path labeling, and a password setting is not a public-key configuration.

Manage Containers

1 practice question on this topicWhat this topic covers

Question 16

Added

Single Answer

An administrator must run an internal web service in a rootless Podman container. The service reads configuration from /etc/webapp/config.yml and writes durable data under /var/lib/webapp. Container replacement during upgrades must not discard the data, and the host must start the container automatically after reboot. The team does not permit a privileged container or a Docker daemon. Which approach is best?

Correct answer: B

Rootless Podman avoids both a privileged container and the Docker daemon. Bind mounts preserve the host configuration and application data across container replacement, while a generated user systemd service can manage startup for the rootless container. The privileged Docker approach violates both operational constraints. Writable container-layer paths are not durable across replacement and enabling a system service does not correctly provide rootless user startup. The --rm option removes the container on exit, and export does not preserve mounted runtime data as a persistent service arrangement.

More Practice Questions

Get the Full RedHat EX200 Dumps as PDF and Practice Test

16 questions are free on this page and the full set has 136. It comes as a PDF and an online practice test, with 90 days of free updates.