RHCSA Practice Exam B

General Notes

Here are some tips to ensure your exam starts with a clean environment:

  • You do not need external servers or resources.

  • Do not register or connect to 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.

  1. Install a RHEL 8 or CentOS 8 virtual machine that meets the following requirements:

    • 2 GB of RAM

    • 20 GB of disk space using default partitioning

    • One additional 20-GB disk that does not have partitions installed

    • Server with GUI installation pattern

  2. Create user student with password password, and user root with password password.

  3. Configure your system to automatically loop-mount the ISO of the 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.

  4. Create a 1-GB XFS partition on /dev/sdb. Mount it persistently on the directory /mydata, using the label mylabel.

  5. Set default values for new users. Ensure that an empty file with the name NEWFILE is copied to the home directory of each new user that is created.

  6. Create users laura and linda and make them members of the group livingopensource as a secondary group membership. Also, create users lisa and lori and make them members of the group operations as a secondary group.

  7. Create shared group directories /groups/livingopensource and /groups/operations and make sure these 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.

    • Users should be allowed to delete only their own files.

    • Others should have no access to any of the directories.

  8. Create a 2-GiB swap partition and mount it persistently.

  9. Resize the LVM logical volume that contains the root file system and add 1 GiB.

  10. Set your server to use the recommended tuned profile.

  11. Create user vicky with the custom UID 2008.

  12. Configure your server to synchronize time with myserver.example.com. (Note that this server does not have to exist.)

  13. Install a web server and ensure that it is started automatically.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.27.232