Prepare Smarter for the EX200 Exam
Build your exam confidence with flexible preparation resources designed around the latest EX200 exam objectives. Practice at your own pace using PDF questions, online exam simulations, or desktop practice software.
Create a snapshot of the Stratis file system fs1 in pool pool1 named fs1-snap.
Correct Answer: A
Solution:
stratis filesystem snapshot pool1 fs1 fs1-snap
stratis filesystem list
Detailed Explanation:
This creates a snapshot of the existing Stratis file system.
Snapshots are useful for rollback, backup, and testing operations.
Stratis features, including pool and file-system management, are part of RHEL 10 file-system administration. ( Red Hat Documentation )
Create a new swap file of size 512 MiB at /swapfile, activate it, and make it persistent.
Correct Answer: A
Solution:
dd if=/dev/zero of=/swapfile bs=1M count=512
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo "/swapfile swap swap defaults 0 0" > > /etc/fstab
swapon --show
Detailed Explanation:
dd creates the file.
chmod 600 protects swap contents.
mkswap prepares the file as swap.
swapon activates it now.
/etc/fstab ensures it is enabled at boot.
Boot once into emergency mode from GRUB.
Correct Answer: A
Solution:
Reboot the server.
At the GRUB menu, highlight the kernel entry and press e.
Find the line starting with linux.
Append:
systemd.unit=emergency.target
Press Ctrl+x to boot.
Detailed Explanation:
This changes the boot target only for the current boot.
Emergency mode is useful for rescue and maintenance tasks.
Red Hat’s RHEL 10 systemd guidance documents booting with systemd.unit= < name > .target from GRUB. ( Red Hat Documentation )
Configure AutoFS so that accessing /shares/projects mounts server1:/srv/nfs/projects.
Correct Answer: A
Solution:
dnf install -y autofs
mkdir -p /shares
echo "/shares /etc/auto.shares" > > /etc/auto.master
echo "projects -fstype=nfs,rw server1:/srv/nfs/projects" > /etc/auto.shares
systemctl enable --now autofs
ls /shares/projects
Detailed Explanation:
/etc/auto.master defines the main map.
/etc/auto.shares defines the indirect mount entry.
The mount happens on demand when /shares/projects is accessed.
RHEL 10 file-system documentation includes AutoFS for on-demand mounts. ( Red Hat Documentation )
Configure HTTP service access on a non-standard port 82 and allow it through SELinux and firewalld.
Correct Answer: A
Solution:
Open the firewall port and HTTP service:
firewall-cmd --permanent --add-port=82/tcp
firewall-cmd --permanent --add-service=http
firewall-cmd --reload
Add SELinux port labeling:
semanage port -a -t http_port_t -p tcp 82
Detailed Explanation:
firewall-cmd --permanent makes the change persistent.
--add-port=82/tcp opens the custom TCP port.
--add-service=http keeps standard HTTP allowed too.
SELinux blocks services on unexpected ports unless the port is labeled correctly.
http_port_t tells SELinux that port 82 is valid for web services.