RHCSA Red Hat Enterprise Linux 8 (UPDATED)
eBook - ePub

RHCSA Red Hat Enterprise Linux 8 (UPDATED)

Training and Exam Preparation Guide (EX200), Second Edition

Asghar Ghori

Share book
  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

RHCSA Red Hat Enterprise Linux 8 (UPDATED)

Training and Exam Preparation Guide (EX200), Second Edition

Asghar Ghori

Book details
Book preview
Table of contents
Citations

About This Book

HIGHLIGHTS

> Covers Red Hat Enterprise Linux 8

> Covers ALL Latest Official Exam Objectives

(including Shell Scripting and Containers )

> Great for Self-Study and In-Class/Virtual Training

> 23 Chapters

> 108 Real-Life Step-By-Step Exercises and Shell Scripts

> 80 Do-It-Yourself Challenge Labs

> 408 Review Questions & Answers

> 4 Sample RHCSA Exams ( 23 tasks per exam)

RHCSA Red Hat Enterprise Linux 8 (UPDATED): Training and Exam Preparation Guide, Second Edition provides in-depth coverage of the latest RHCSA EX200 exam objectives that include Shell Scripting and Containers. The most definitive guide available on the subject, this book explains concepts, analyzes configuration files, describes command outputs, shows step-by-step procedures (includes screenshots of actual commands executed and outputs they produced), and challenges the readers' comprehension of the concepts and procedures by presenting plenty of additional labs and sample realistic exam tasks to perform on their own.

This book has 23 chapters that are organized logically, from setting up the lab to the fundamentals of Linux to sophisticated Linux administration topics. The book covers the topics on local RHEL 8 installation; initial interaction with the system; basic Linux commands; compression and archiving; file editing and manipulation; standard and special permissions; file searching and access controls; user monitoring and authentication files; users, groups, and password aging; bash shell features and startup files; processes and task scheduling; basic and advanced software administration techniques; system boot process and bootloader; kernel management and system initialization; logging and system tuning; basic and advanced storage management tools and solutions; local file systems and swap regions; network device and connection configuration; remote file systems and automounting; time synchronization and hostname resolution; the secure shell service; firewall and SELinux controls; and shell scripting and containers.

Each chapter highlights the major topics and relevant exam objectives at the beginning and ends with several review questions & answers and Do-It-Yourself challenge labs. Throughout the book, figures, tables, screen shots, examples, notes, and exam tips are furnished to support explanation and exam preparation. This book includes four sample RHCSA exams that are expected to be performed using the knowledge and skills attained from reading the material, following the exercises, and completing the challenge labs. The labs and the sample exams include hints to relevant topics and/or exercises.

This book may be used as a self-learning guide by RHCSA 8 exam aspirants, a resource by instructors and students to follow in physical and virtual training sessions, an on-the-job resource for reference, and an e

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is RHCSA Red Hat Enterprise Linux 8 (UPDATED) an online PDF/ePUB?
Yes, you can access RHCSA Red Hat Enterprise Linux 8 (UPDATED) by Asghar Ghori in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Sistemas operativos. We have over one million books available in our catalogue for you to explore.

Information

Appendix A: Sample RHCSA Exam 1
Time Duration: 3 hours
Passing Score: 70% (210 out of 300)
Instructions: The RHCSA exam, EX200, is offered electronically on a physical
computer running RHEL 8. The computer has two virtual machines with RHEL 8 running in each one of them. The exam presents two sets of tasks that are to be completed within the stipulated time in the identified virtual machine. Firewall and SELinux need to be considered. All settings performed in the virtual machines must survive reboots, or you will lose marks. Access to the Internet, printed and electronic material, and electronic devices is prohibited during the exam.
Setup for Sample Exam 1:
Build a virtual machine with RHEL 8 Server with GUI (Exercises 1-1 and 1-2). Use a 10GB disk for the OS with default partitioning. Add 2x300MB disks and a network interface. Do not configure the network interface or create a normal user account during installation.
Instructions:
01: The following tasks are in addition to the exercises and labs presented in the book. No solutions are furnished, but hints to applicable exercises, chapters, or topics are provided in parentheses for reference.
02: Please do not browse the Internet or seek help from other sources. However, you can refer to the manual pages, and the documentation under the /usr/share/doc directory. This rule does not apply to the kernel download task if included.
03: The exam tasks should be completed in a terminal window using only the command line interface (no GUI).
04: You can reboot the VM whenever you want during this exam, but retest the configuration after each reboot for verification.
05: Use your knowledge and judgement for any missing configuration in task description.
Tasks:
Task 01: Assuming the root user password is lost, and your system is running in multi-user target with no current root session open. Reboot the system into an appropriate target level, and reset the root user password to root1234. (Exercise 11-2). After completing this task, log in as the root user and perform the remaining tasks presented below.
Task 02: Using a manual method (create/modify files by hand), configure a network connection on the primary network device with IP address 192.168.0.241/24, gateway 192.168.0.1, and nameserver 192.168.0.1. Use different IP assignments based on your lab setup. (Exercise 16-3).
Task 03: Using a manual method (modify file by hand), set the system hostname to rhcsa1.example.com and alias rhcsa1. Make sure that the new hostname is reflected in the command prompt. (Exercises 16-1 and 16-5).
Task 04: Set the default boot target to multi-user. (Chapter 12, topic: Managing Target Units).
Task 05: Set SELinux to permissive mode. (Chapter 21, topic: Viewing and Controlling SELinux Operational State).
Task 06: Perform a case-insensitive search for all lines in the /usr/share/dict/linux.words file that begin with the pattern “essential”. Redirect the output to /var/tmp/pattern.txt file. Make sure that empty lines are omitted. (Chapter 07, topic: Regular Expressions).
Task 07: Change the primary command prompt for the root user to display the hostname, username, and current working directory information in that order. Update the per-user initialization file for permanence. (Exercise 7-1).
Task 08: Create user accounts called user10, user20, and user30. Set their passwords to Temp1234. Make user10 and user30 accounts to expire on December 31, 2021. (Exercises 5-1, and 6-1 or 6-2).
Task 09: Create a group called group10 and add user20 and user30 as secondary members. (Exercise 6-4).
Task 10: Create a user account called user40 with UID 2929. Set the password to user1234. (Exercise 5-2).
Task 11: Create a directory called dir1 under /var/tmp with ownership and owning group set to root. Configure default ACLs on the directory and give user10 read, write, and execute permissions. (Exercise 4-8).
Task 12: Attach the RHEL 8 ISO image to the VM and mount it persistently to /mnt/cdrom. Define access to both repositories and confirm. (Exercise 10-1).
Task 13: Create a logical volume called lvol1 of size 280MB in vgtest volume group. Mount the ext4 file system persistently to /mnt/mnt1. (Exercises 14-1, 14-2, and 15-3).
Task 14: Change group membership on /mnt/mnt1 to group10. Set read/write/execute permissions on /mnt/mnt1 for group members, and revoke all permissions for public. (Exercises 6-4, 6-6, and either 4-1 or 4-2).
Task 15: Create a logical volume called lvswap of size 280MB in vgtest volume group. Initialize the logical volume for swap use. Use the UUID and place an entry for persistence. (Exercise 15-6).
Task 16: Use the combination of tar and bzip2 commands to create a compressed archive of the /usr/lib directory. Store the archive under /var/tmp as usr.tar.bz2. (Exercise 3-1).
Task 17: Create a directory hierarchy /dir1/dir2/dir3/dir4 and apply SELinux contexts of /etc on it recursively. (Chapter 03, topic: Creating Files and Directories, and Exercise 21-2).
Task 18: Enable access to the atd service for user20 and deny for user30. (Chapter 08, topic: Controlling User Access).
Task 19: Add a custom message “This is RHCSA sample exam on $(date) by $LOGNAME” to the /var/log/messages file as the root user. Use regular expression to confirm the message entry to the log file. (Chapter 07, topic: Regular Expressions, and Chapter 12, topic: Logging Custom Messages).
Task 20: Allow user20 to use sudo without being prompted for their password. (Chapter 06, topic: Doing as Superuser (or Doing as Substitute User)).
Task 21: Write a bash shell script to create three user accounts—user555, user666, and user777—with no login shell and passwords matching their usernames. The script should also extract the three usernames from the /etc/passwd file and redirect them into /var/tmp/newusers. (Chapter 22: Script12 and Chapter 07, topics: Regular Expressions, and Input, Output, and Error Redirections).
Task 22: Launch a simple container as user20 using the latest version of ubi7 image. Configure the container to auto-start at system reboots without the need for user20 to log in. (Exercise 23-10).
Task 23: Launch another container as user20 using the latest version of ubi8 image with two environment variables SHELL and HOSTNAME. Configure the container to auto-start via systemd without the need for user20 to log in. Connect to the container and verify var...

Table of contents