RedHat EX200 Prüfungsplan:
| Thema | Einzelheiten |
|---|---|
| Thema 1 |
|
| Thema 2 |
|
| Thema 3 |
|
| Thema 4 |
|
| Thema 5 |
|
| Thema 6 |
|
| Thema 7 |
|
| Thema 8 |
|
Referenz: https://www.redhat.com/en/services/training/ex200-red-hat-certified-system-administrator-rhcsa-exam
RedHat Red Hat Certified System Administrator - RHCSARHEL 10 EX200 Prüfungsfragen mit Lösungen
Pull the registry.access.redhat.com/ubi10/ubi image and run a rootless container named webtest that executes
sleep 3600.
Antwort:
See the solution below in Explanation.
Explanation:
Solution:
podman pull registry.access.redhat.com/ubi10/ubi
podman run -d --name webtest registry.access.redhat.com/ubi10/ubi sleep 3600
podman ps
Detailed Explanation:
* podman pull downloads the image.
* podman run -d starts the container in the background.
* Rootless Podman is a normal RHEL container workflow.
* RHEL 10 container documentation continues to center on Podman for image and container
management. ( Red Hat Documentation )
Create a Collaborative Directory
Create a shared directory /home/managers with the following characteristics:
- The group ownership of /home/managers is sysmgrs.
- The directory should be readable, writable, and executable by members of the sysmgrs group, but should not have read or write permissions for any other users
(of course, the root user has access to all files and folders).
- Any files created within /home/managers should automatically inherit the group ownership set to the sysmgrs group.
Antwort:
Solution:
[root@node1 ~]# mkdir /home/managers
[root@node1 ~]# chgrp sysmgrs /home/managers
[root@node1 ~]# chmod 2770 /home/managers
# Verification
[root@node1 ~]# ll -d /home/managers
Set the default password policy
Set a password policy for newly created users so that, when a user is created, the password expires by default after 25 days.
Antwort:
Solution:
[root@node1 ~]# vim /etc/login.defs +25
Type / and search for PASS_MAX_DAYS.
Modify it to:
PASS_MAX_DAYS 25
Verify:
[root@node1 ~]# useradd user1
[root@node1 ~]# chage -l user1
Configure AutoFS so that accessing /shares/projects mounts server1:/srv/nfs/projects.
Lösung anzeigen Diskussion 0Antwort:
See the solution below in Explanation.
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 )
Reset the root password from the boot process.
Lösung anzeigen Diskussion 0Antwort:
See the solution below in Explanation.
Explanation:
Solution:
* Reboot the system.
* Interrupt GRUB boot.
* Press e to edit the boot entry.
* On the linux line, append:
rd.break
* Boot with Ctrl+x.
* At the emergency shell:
mount -o remount,rw /sysroot
chroot /sysroot
passwd root
touch /.autorelabel
exit
exit
Detailed Explanation:
* rd.break drops you into an early emergency environment.
* /sysroot contains the real root filesystem.
* mount -o remount,rw /sysroot makes it writable.
* chroot /sysroot changes into the installed system.
* passwd root resets the password.
* touch /.autorelabel is critical so SELinux relabels files on next boot.
Seite 1 von 14 wird angezeigt.
Fragen 1-5 von 69 werden angezeigt.






1136 Kundenbewertungen

