So here are the tasks in the sample exam.
Take your time to work through them, and after that verify your work with the exam grade
script.
First, set up a base server.
Install two RHEL servers as a virtual machine using the minimal installation pattern.
Use the names server1.example.com and server2.example.com and use DHCP to get an IP address from the
local DHCP server.
Configure hostname resolution for both.
Use default partitioning and do not register the servers with Red Hat.
Also, do not set a root password.
Create an administrative user Anna with the password password.
Task 2.
Getting administrative access.
Use the appropriate solution to reset the root password on server2, assuming that you
have lost the root password and have no administrative access to the server anymore.
Task 3.
Configuring repository access.
On server1, create an ISO file with the name slash RHEL10.iso based on the installation
DVD.
Mount this ISO file persistently on the directory slash repo and provide access to this directory
contents using the Apache web server, such that it can be used as a repository.
Register both servers as a repository client to this server and after successfully completing
this task, you should be able to install software on both servers.
Task 4.
Managing partitions.
On server1, use your virtualization software to increase the size of your primary disk
in such a way that at least 10 GB of unallocated disk space is available.
In the free disk space, create a 1 GB partition and format it with the exe4 file system.
Ensure it is mounted persistently using its UUID on the mnt files directory.
Also create a 1 GB swap partition and ensure it is mounted persistently using its UUID.
Next task.
Managing LLVM logical volumes.
On server1, create a logical volume with the name myfiles.
Ensure it uses 8 MB extents and configure the volume to use 75 extents.
Format it with the XFS file system and ensure it mounts persistently on /.mnt/.data.
Increase the size of the logical volume by 5 GB and if volume groups need to be created,
create them as needed.
Next, creating users and groups.
On server2, create user Tisha.
Ensure she has the password set to password and is using UUID 1234.
She must be a member of the secondary group SEALS.
Also create user Caroline who is also a member of the group SEALS.
And on server2, create a user myapp.
Ensure this user cannot open an interactive shell.
Next, managing permissions.
On server2, create a shared group directory /.data/.SEALS and ensure that user Tisha
is the owner of that directory.
The owner and the group SEALS should have permissions to access this directory and read
and write files in it.
Other users should have no permissions at all.
And ensure that any new file that is created in this directory is group owned by the group
SEALS automatically and can only be deleted by Tisha as well as the user that created
the file.
Next task, scheduling jobs.
Schedule a systemd timer job that writes hello folks to syslog every Monday through Friday
at 2 AM and make sure this job is executed as user Tisha.
So next task is about managing containers.
On server2, create a container with the name mydb that runs the MariaDB database as user
Tisha using the MariaDB 10.11 image.
And the container further should meet the following requirements.
The host directory home.tisha.mydb is mounted on the container directory varlib.mysql.
The container is accessible on host port 3306.
You do not have to create any databases in it and set the database root user password
to password.
Next, managing containers and services.
On server2, create a container with the name mydb that runs the MariaDB database as user
Tisha.
Containers should automatically be started at system start regardless of whether or not
the user is logged in.
The container further should meet the following requirements.
The host directory home.tisha.mydb is mounted on the container directory varlib.mysql.
The container is accessible on host port 3206.
You do not have to create any databases in it and set the database root user password
to password.
Next, managing AutoFS.
On server2, create the directories slash homes user1 and slash homes user2.
Use NFS to share these directories and ensure the firewall does not block access to these
directories.
On server1, create a solution that automatically and on-demand mounts server2.homes.user1 on
slash homes user1 and automatically on-demand mounts server2.homes.user2 on slash homes
user2 when these directories are accessed.
Next task is setting time.
Configure server1 and server2 as an NTP client for pool.ntp.org.
Next task, managing SELinux.
Ensure that the Apache web server is installed on server2 and configure it to offer access
on port 82.
Copy the file etchost to tmphost and next move tmphost to the directory varwww.htmlhost
and ensure this file can be accessed by the Apache web server.
Final task, managing SSH access.
Set up SSH passphrase-based authentication which allows the root user to log in from
server1 to server2 without having to enter anything.
Good luck!