RHCSA Practice Exam D: General Notes
RHCSA Practice Exam D: General Notes
RHCSA Practice Exam D: General Notes
General Notes
Here are some tips to ensure your exam starts with a clean environment:
■■ You do not need any external servers or resources.
■■ Do not register or connect to any external repositories.
■■ Install a new VM according to the instructions in each practice exam.
■■ No sample solutions are provided for these practice exams. On the real
exam, you need to be able to verify the solutions for yourself as well.
■■ You should be able to complete each exam within two hours.
Create user student with password password, and user root with pass-
2.
word password.
Configure your system to automatically loop-mount the ISO of the
3.
installation disk on the directory /repo. Configure your system to remove
this loop-mounted ISO as the only repository that is used for installation.
Do not register your system with subscription-manager, and remove all
reference to external repositories that may already exist.
Create a 500-MiB partition on your second hard disk, and format it with
4.
the Ext4 file system. Mount it persistently on the directory /mydata, using
the label mydata.
Set default values for new users. A user should get a warning three days
5.
before expiration of the current password. Also, new passwords should
have a maximum lifetime of 120 days.
Create users edwin and santos and make them members of the group
6.
livingopensource as a secondary group membership. Also, create users serene
and alex and make them members of the group operations as a secondary
group.
Create shared group directories /groups/livingopensource and /groups
7.
/operations, and make sure the groups meet the following requirements:
■■ Members of the group livingopensource have full access to their
directory.
■■ Members of the group operations have full access to their directory.
■■ Others has no access to any of the directories.
■■ Alex is general manager, so user alex has read access to all files in both
directories and has permissions to delete all files that are created in both
directories.
Find all files that have the SUID permission set, and write the result to the file
9.
/root/suidfiles.
Create a 1-GiB LVM volume group. In this volume group, create a 512-MiB
10.
swap volume and mount it persistently.
Add a 10-GiB disk to your virtual machine. On this disk, create a Stratis pool
11.
and volume. Use the name stratisvol for the volume, and mount it persistently
on the directory /stratis.
Install a web server and configure it to listen on port 8080.
12.