RedHat RHCSA

RedHat EX200 Practice Test & Study Guide

Red Hat Certified System Administrator - RHCSARHEL 10

Exam code
EX200
Questions
42
Updated
25 Nov 2026

What's in the EX200 study guide

  • 42practice questions with answers
  • PDFread and print on any device
  • Test enginepractice and exam modes online
  • 90 daysof free updates
  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email

Price$45

Choose a format

Prices in USD. Downloads appear in My Account once your order is complete.

  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Free demo

EX200 sample questions

Check the style and quality of the material before you buy.

Question 1

Install and configure tuned, determine the recommended profile, and activate it.

Answer: .

Answer: See the solution below in Explanation.

Explanation

dnf install -y tuned systemctl enable --now tuned tuned-adm recommend # e.g. virtual-guest tuned-adm profile virtual-guest # use the profile shown by 'recommend' tuned-adm active tuned-adm verify

Question 2

Configure Apache to serve content from /webdata on port 8080, allow the port in SELinux, and open it in the firewall.

Answer: .

Answer: See the solution below in Explanation.

Explanation

dnf install -y httpd mkdir -p /webdata echo 'Hello from /webdata' > /webdata/index.html vim /etc/httpd/conf.d/webdata.conf Listen 8080 <VirtualHost *:8080> DocumentRoot "/webdata" </VirtualHost> <Directory "/webdata"> AllowOverride None Require all granted </Directory> SELinux file context for the content: semanage fcontext -a -t httpd_sys_content_t '/webdata(/.*)?' restorecon -Rv /webdata SELinux port: 8080 is already defined as http_cache_port_t, so -a fails. Use -m (modify) instead: semanage port -m -t http_port_t -p tcp 8080 semanage port -l | grep 8080 firewall-cmd --permanent --add-port=8080/tcp firewall-cmd --reload apachectl configtest systemctl enable --now httpd systemctl restart httpd curl http://localhost:8080

Question 3

Configure AutoFS so that accessing /shares/projects mounts server1:/srv/nfs/projects.

Answer: .

Answer: See the solution below in Explanation.

Explanation

dnf install -y autofs nfs-utils vim /etc/auto.master.d/shares.autofs /shares /etc/auto.shares vim /etc/auto.shares projects -rw,sync server1:/srv/nfs/projects systemctl enable --now autofs systemctl restart autofs Verify (the mount appears only when accessed): cd /shares/projects mount | grep projects df -h /shares/projects

Question 4

Create a systemd timer that runs backup-now.service every day at 02:00.

Answer: .

Answer: See the solution below in Explanation.

Explanation

The timer must have the same base name as the service (backup-now.service from Question 26): vim /etc/systemd/system/backup-now.timer [Unit] Description=Run backup-now daily at 02:00 [Timer] OnCalendar=*-*-* 02:00:00 Persistent=true [Install] WantedBy=timers.target systemctl daemon-reload systemctl enable --now backup-now.timer systemctl list-timers backup-now.timer systemd-analyze calendar '*-*-* 02:00:00'

Question 5

Configure HTTP service access on a non-standard port 82 and allow it through SELinux and firewalld.

Answer: .

Answer: See the solution below in Explanation.

Explanation

dnf install -y httpd vim /etc/httpd/conf/httpd.conf Listen 82 Allow httpd to bind to port 82 in SELinux: semanage port -a -t http_port_t -p tcp 82 semanage port -l | grep ^http_port_t firewall-cmd --permanent --add-port=82/tcp firewall-cmd --reload systemctl enable --now httpd systemctl restart httpd Verify: ss -tlnp | grep :82 curl http://localhost:82

Question 6

Reset the root password from the boot process.

Answer: .

Answer: See the solution below in Explanation.

Explanation

  • 1. Reboot. At the GRUB menu, highlight the kernel entry and press e.
  • 2. On the line starting with linux, add rd.break at the end (on VMs, also remove any console=ttyS0... parameters so the shell appears on the screen). Press Ctrl+X.
  • 3. At the switch_root prompt, run: mount -o remount,rw /sysroot chroot /sysroot passwd root touch /.autorelabel exit exit The system relabels SELinux contexts (which takes a while), reboots, and you can then log in with the new password. Instead of touch /.autorelabel you can run 'load_policy -i' followed by 'restorecon -v /etc/shadow' inside the chroot. This avoids the full relabel.
Question 7

Configure the system time synchronization to use time.example.com as the NTP source and verify synchronization.

Answer: .

Answer: See the solution below in Explanation.

Explanation

dnf install -y chrony vim /etc/chrony.conf # comment out the existing 'pool ...' line server time.example.com iburst systemctl enable chronyd systemctl restart chronyd timedatectl set-ntp true Verify (^* in front of the source means it is selected and synchronized): chronyc sources -v chronyc tracking timedatectl # System clock synchronized: yes

Question 8

Configure an NFS export /srv/nfs/projects so clients on 192.168.50.0/24 can mount it read-write.

Answer: .

Answer: See the solution below in Explanation.

Explanation

dnf install -y nfs-utils mkdir -p /srv/nfs/projects chmod 777 /srv/nfs/projects # or chown to the intended user/group vim /etc/exports /srv/nfs/projects 192.168.50.0/24(rw,sync) systemctl enable --now nfs-server exportfs -rav firewall-cmd --permanent --add-service={nfs,rpc-bind,mountd} firewall-cmd --reload Verify (from the server or a client): exportfs -v showmount -e localhost # client: mount -t nfs server:/srv/nfs/projects /mnt

Question 9

Extend logical volume lvbackup by 500 MiB and grow the XFS filesystem online.

Answer: .

Answer: See the solution below in Explanation.

Explanation

vgs vgdata # confirm free space lvextend -r -L +500M /dev/vgdata/lvbackup -r resizes the filesystem as well. Without -r, grow XFS manually while it is mounted: lvextend -L +500M /dev/vgdata/lvbackup xfs_growfs /backup Verify: lvs vgdata df -h /backup

Question 10

Create a new swap file of size 512 MiB at /swapfile, activate it, and make it persistent.

Answer: .

Answer: See the solution below in Explanation.

Explanation

dd if=/dev/zero of=/swapfile bs=1M count=512 chmod 600 /swapfile mkswap /swapfile swapon /swapfile echo '/swapfile none swap defaults 0 0' >> /etc/fstab Verify: swapon --show free -m

Why RealExamCollection is the best choice for RedHat EX200 exam preparation

Secure your position in a competitive IT industry

The RedHat EX200 certification is a strong way to demonstrate your understanding and ability. Our EX200 questions & answers help you prepare for it, so you can secure your current position and move your career forward.

Reviewed by IT professionals

We keep our EX200 practice questions up to date, with explanations. The questions and answers on RealExamCollection are reviewed by people with professional experience of RedHat technologies.

One place to prepare

RealExamCollection brings together the material you need for the RedHat EX200 exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other RedHat exams.

Updated EX200 questions & answers

We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.

Free EX200 demo before you buy

You can view sample EX200 questions on this page before buying, to see the format and pattern of the material.

90 days of free updates

You are eligible for 90 days of free updates after buying the EX200 exam. If the file is updated in that time, you can download the latest version from your account.

Ready to prepare?

RedHat EX200 · 42 questions

Choose a format