RHCSA Practice Exam D: General Notes

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

RHCSA Practice Exam D

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.

Install a RHEL 8 or CentOS 8 virtual machine that meets the following


1.
requirements:
■■ 2 GB of RAM
■■ 20 GB of disk space using default partitioning
■■ One additional 20-GB disk that does not have any partitions installed
■■ Server with GUI installation pattern

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.

M31_Vugt_Exam-D_p001-558.indd 1 01/10/19 3:31 PM


2 Red Hat RHCSA 8 Cert Guide

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.

Create a 1-GiB swap partition and mount it persistently.


8.

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.

Create a configuration that allows user edwin to run all administrative


13.
commands using sudo.

M31_Vugt_Exam-D_p001-558.indd 2 01/10/19 3:31 PM

You might also like