⏰ Hurry! Limited-Time 20% Savings on Premium Certification Materials - Coupon code: Club20
Certs Club
See all results for ""
Home Exams
CRISC ISACA CISSP ISC2 200-301 Cisco SY0-701 CompTIA AZ-104 Microsoft AI-900 Microsoft AIGP IAPP 1Z0-1067-26 Oracle View All Exams →
Sign in Get Started

Red Hat Certified System Administrator EX200 Exam Questions

Download Exam View Entire Exam
Page: 1 / 1
Question #1 (Topic: Demo Questions)

Create a snapshot of the Stratis file system fs1 in pool pool1 named fs1-snap.

A.

See the solution below in Explanation.

Correct Answer: A
Explanation:

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 )

Question #2 (Topic: Demo Questions)

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

A.

See the solution below in Explanation.

Correct Answer: A
Explanation:

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.

Question #3 (Topic: Demo Questions)

Boot once into emergency mode from GRUB.

A.

See the solution below in Explanation.

Correct Answer: A
Explanation:

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 )

Question #4 (Topic: Demo Questions)

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

A.

See the solution below in Explanation.

Correct Answer: A
Explanation:

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 )

Question #5 (Topic: Demo Questions)

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

A.

See the solution below in Explanation.

Correct Answer: A
Explanation:

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.

Download Exam
Page: 1 / 1
Next Page