Introduction

Welcome to the Red Hat RHCSA 8 Cert Guide. The Red Hat exams are some of the toughest in the business, and this guide will be an essential tool in helping you prepare to take the Red Hat Certified System Administrator (RHCSA) exam.

As an instructor with more than 20 years of experience teaching Red Hat Enterprise Linux, I have taken the RHCSA exam (and the RHCE exam) numerous times so that I can keep current on the progression of the exam, what is new, and what is different. I share my knowledge with you in this comprehensive Cert Guide so that you get the guidance you need to pass the RHCSA exam.

The RHCSA exam was recently updated for Red Hat Enterprise Linux 8. This book contains all you need to know to pass the RHCSA exam. As you will see, this Cert Guide covers every objective in the exam and comprises 27 chapters, more than 80 exercises, 4 practice exams, an extensive glossary, and hours of video training. This Cert Guide is the best resource you can get to prepare for and pass the RHCSA exam.

Goals and Methods

To learn the topics described in this book, it is recommended that you create your own testing environment. You cannot become an RHCSA without practicing a lot. Within the exercises included in every chapter of the book, you will find all the examples you need to understand what is on the exam and thoroughly learn the material needed to pass it. The exercises in the chapters provide step-by-step procedures that you can follow to find working solutions so that you can get real experience before taking the exam.

Each chapter also includes one or more end-of-chapter labs. These labs ask questions that are similar to the questions that you might encounter on the exam. Solutions are not provided for these labs, and that is on purpose, because you need to train yourself to verify your work before you take the exam. On the exam, you also have to be able to verify for yourself whether the solution is working as expected. Please be sure to also go to this book’s companion website, which provides additional practice exams, appendixes, and video training—all key components to studying for and passing the exam.

To make working with the assignments in this book as easy as possible, the complete lab environment is Bring Your Own. In Chapter 1 you’ll learn how to install CentOS or Red Hat Enterprise Linux 8 in a virtual machine, and that is all that is required to go through the labs. You don’t need to import any virtual machines; just install your own virtual machine and you’ll be ready to go!

This book contains everything you need to pass the exam, but if you want more guidance and practice, I have a number of video training titles available to help you study, including the following:

Apart from these products, you might also appreciate my website, http://rhatcert.com. Through this website, I provide updates on anything that is useful to exam candidates. I recommend that you register on the website so that I can send you messages about important updates that I’ve made available. Also, you’ll find occasional video updates on my YouTube channel, rhatcert. I hope that all these resources provide you with everything you need to pass the Red Hat Certified System Administrator exam in an affordable way. Good luck!

Who Should Read This Book?

This book is written as an RHCSA exam preparation guide. That means that you should read it if you want to increase your chances of passing the RHCSA exam. A secondary use of this book is as a reference guide for Red Hat system administrators. As an administrator, you’ll like the explanations and procedures that describe how to get things done on Red Hat Enterprise Linux.

So, why should you consider passing the RHCSA exam? That question is simple to answer: Linux has become a very important operating system, and qualified professionals are in demand all over the world. If you want to work as a Linux professional and prove your skills, the RHCSA certificate really helps and is one of the most sought-after certificates in IT. Having this certificate dramatically increases your chances of becoming hired as a Linux professional.

How This Book Is Organized

This book is organized as a reference guide to help you prepare for the RHCSA exam. If you’re new to the topics, you can just read it cover to cover. You can also read the individual chapters that you need to fine-tune your skills in this book. Every chapter starts with a “Do I Know This Already?” quiz that asks questions about ten topics that are covered in that chapter and provides a simple tool to check whether you’re already familiar with the topics covered in the chapter.

The book also provides four RHCSA practice exams; these are an essential part of readying yourself for the real exam experience. You may be able to provide the right answer to the multiple-choice chapter questions, but that doesn’t mean that you can create the configurations when you take the exam. The companion files include two extra practice exams, two hours of video from the Red Hat Certified System Administrator (RHCSA) Complete Video Course, 3rd Edition, and additional appendixes. The following outline describes the topics that are covered in the chapters:

Part I: Performing Basic System Management Tasks

Part II: Operating Running Systems

Part III: Performing Advanced System Administration Tasks

Part IV: Managing Network Services

Part V: RHCSA RHEL 8 Practice Exams

This part supplies two RHCSA practice exams so that you can test your knowledge and skills further before taking the exams. Two additional exams are on the companion website.

How to Use This Book

To help you customize your study time using this book, the core chapters have several features that help you make the best use of your time:

Other Features

In addition to the features in each of the core chapters, this book, as a whole, has additional study resources on the companion website, including the following:

Exam Objective to Chapter Mapping

Table 1 details where every objective in the RHCSA exam is covered in this book so that you can more easily create a successful plan for passing the exam.

Table 1 Coverage of RHCSA Objectives

Objective

Chapter Title

Chapter

Access a shell prompt and issue commands with correct syntax

Using Essential Tools

2

Use input-output redirection (>, >>, |, 2>, etc.)

Using Essential Tools

2

Use grep and regular expressions to analyze text

Working with Text Files

4

Access remote systems using SSH

Connecting to Red Hat Enterprise Linux 8

5

Log in and switch users in multiuser targets

Connecting to Red Hat Enterprise Linux 8

5

Archive, compress, unpack, and uncompress files using tar, star, gzip, and bzip2

Essential File Management Tools

3

Create and edit text files

Working with Text Files

4

Create, delete, copy, and move files and directories

Essential File Management Tools

3

Create hard and soft links

Essential File Management Tools

3

List, set, and change standard ugo/rwx permissions

Permissions Management

7

Locate, read, and use system documentation including man, info, and files in /usr/share/doc

Using Essential Tools

2

Boot, reboot, and shut down a system normally

Connecting to Red Hat Enterprise Linux 8

5

Boot systems into different targets manually

Essential Troubleshooting Skills

18

Interrupt the boot process in order to gain access to a system

Essential Troubleshooting Skills

18

Identify CPU/memory intensive processes and kill processes

Managing Processes

10

Adjust process scheduling

Managing Processes

10

Locate and interpret system log files and journals

Configuring Logging

13

Preserve system journals

Configuring Logging

13

Start, stop, and check the status of network services

Configuring Networking

8

Securely transfer files between systems

Connecting to Red Hat Enterprise Linux 8

5

List, create, and delete partitions on MBR and GPT disks

Managing Storage

14

Create and remove physical volumes

Managing Advanced Storage

15

Assign physical volumes to volume groups

Managing Advanced Storage

15

Create and delete logical volumes

Managing Advanced Storage

15

Configure systems to mount file systems at boot by universally unique ID (UUID) or label

Managing Storage

14

Add new partitions and logical volumes, and swap to a system non-destructively

Managing Storage

14

Create, mount, unmount, and use vfat, ext4, and xfs file systems

Managing Storage

14

Mount and unmount network file systems using NFS

Accessing Network Storage

24

Extend existing logical volumes

Managing Advanced Storage

15

Create and configure set-GID directories for collaboration

Permissions Management

7

Configure disk compression

Managing Advanced Storage

15

Manage layered storage

Managing Advanced Storage

15

Diagnose and correct file permission problems

Permissions Management

7

Schedule tasks using at and cron

Scheduling Tasks

12

Start and stop services and configure services to start automatically at boot

Working with Systemd

11

Configure systems to boot into a specific target automatically

Managing and Understanding the Boot Procedure

17

Configure time service clients

Configuring Time Services

25

Install and update software packages from Red Hat Network, a remote repository, or from the local file system

Managing Software

9

Work with package module streams

Managing Software

9

Modify the system bootloader

Managing and Understanding the Boot Procedure

17

Configure IPv4 and IPv6 addresses

Configuring Networking

8

Configure hostname resolution

Configuring Networking

8

Configure network services to start automatically at boot

Configuring Networking

8

Restrict network access using firewall-cmd/firewall

Configuring a Firewall

23

Create, delete, and modify local user accounts

User and Group Management

6

Change passwords and adjust password aging for local user accounts

User and Group Management

6

Create, delete, and modify local groups and group memberships

User and Group Management

6

Configure superuser access

User and Group Management

6

Manage security

Configure firewall settings using firewall-cmd/firewalld

Configuring a Firewall

23

Configure key-based authentication for SSH

Configuring SSH

20

Set enforcing and permissive modes for SELinux

Managing SELinux

22

List and identify SELinux file and process context

Managing SELinux

22

Restore default file contexts

Managing SELinux

22

Use boolean settings to modify system SELinux settings

Managing SELinux

22

Diagnose and address routine SELinux policy violations

Managing SELinux

22

Where Are the Companion Content Files?

Register this print version of Red Hat RHCSA 8 Cert Guide to access the bonus content online.

This print version of this title comes with a website of companion content. You have online access to these files by following these steps:

  1. Go to www.pearsonITcertification.com/register and log in or create a new account.

  2. Enter the ISBN: 9780135938133.

  3. Answer the challenge question as proof of purchase.

  4. Click the Access Bonus Content link in the Registered Products section of your account page to be taken to the page where your downloadable content is available.

Please note that many of the companion content files can be very large, especially image and video files.

If you are unable to locate the files for this title by following the steps, please visit www.pearsonITcertification.com/contact and select the Site Problems/Comments option. A customer service representative will assist you.

This book also includes an exclusive offer for 70% off the Red Hat Certified System Administrator (RHCSA) Complete Video Course, 3rd Edition.