Skip to main content

Red Hat Certified Specialist in Linux Diagnostics and Troubleshooting Exam Prep (RH342 )

Course

Intro Video

Photo of Michael Christian

Michael Christian

Course Development Director in Content

Length

34:57:09

Difficulty

Advanced

Videos

34

Hands-on Labs

19

Course Details

This course is to prepare you for the Red Hat Certified Specialist in Linux Diagnostics and Troubleshooting exam (EX342). You will learn to troubleshoot, diagnose, and resolve (or provide evidence of) issues that cause degradation and loss of performance. In addition to preperation for the exam, this course is suited to those that wish to develop their skills in RHEL troubeshooting.

Syllabus

Course Introduction

Introduction

About the Author

00:00:16

Lesson Description:

In this video, you'll get to know your instructor for this course, Michael Christian.

About this Course

00:01:48

Lesson Description:

Welcome to the RH342 Red Hat Enterprise Linux Diagnostics and Troubleshooting course! In this short video, we look at the prerequisites for the course, as well as the materials available for exam preparation.

The Exam

00:08:51

Lesson Description:

In this lesson, we examine how to purchase and schedule the RH342 exam, and review some basic tips on sitting for an exam.

Exam Objectives

Understand and employ general methods for troubleshooting

Get into a troubleshooting mindset

00:08:16

Lesson Description:

Getting yourself into the right frame of mind for troubleshooting is a critical skill to learn in terms of maximizing the mean time to resolution of exam objectives. Be calm, be methodical, and be confident!

Collect system information to aid in troubleshooting

00:19:03

Lesson Description:

It's important to be able to collect information quickly and accurately when troubleshooting. In this lesson, we will review the traditional methods of obtaining environmental information, as well as using Performance Co-Pilot (PCP).

Consult documentation resources to aid in troubleshooting

00:13:16

Lesson Description:

Being able to find documentation quickly contributes to a timely resolution. In this lesson, we look at how to find and search documentation for both installed and uninstalled packages.

Monitor systems for vital characteristics

00:13:51

Lesson Description:

In this lesson, we use Performance Co-Pilot's pmlogger service to enable historical metric and performance data for monitoring.

Configure systems to send log messages to a centralized host

00:07:42

Lesson Description:

In this lesson, we configure rsyslog to send logs to a remote host using TCP while looking at options around discreet hostname-based log files.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:30:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:30:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:00:00

Diagnose and troubleshoot system start up issues

Identify and resolve service failures affecting boot

00:09:49

Lesson Description:

In this lesson, we look at identifying and resolving cyclical unit dependencies on startup. Being able to resolve these issues at runtime, as well as system start, is a necessary skill for the exam.

Regain root control of a system

00:08:30

Lesson Description:

To be able to troubleshoot a system, we need root-level access. In this lesson, we examine how to give ourselves root access to a system.

Troubleshoot boot issues

00:12:56

Lesson Description:

Troubleshooting boot issues is necessary to bring a system up for further examination. In this lesson, we look at what may cause boot issues in both a BIOS system, as well as UEFI, and what we can do to resolve them.

Identify hardware and hardware problems

00:09:21

Lesson Description:

In this lesson we look at hardware identification with tools such as lscpu, dmidecode, lsblk, and others. We also examine how we can log hardware issues using the mcelog log.

Manage kernel modules and their parameters

00:18:35

Lesson Description:

In this lesson, we look at kernel modules: where they come from, and how to manage them. We view loaded modules using lsmod and load and unload modules using modprobe. Additionally, we examine module info using modinfo and look at parameters and their usage. We also look at using sysctl to change running parameters.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:30:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:00:00

Diagnose and troubleshoot file system issues

Recover corrupted file systems

00:14:26

Lesson Description:

In this lesson, we recover corrupted file systems by purposefully breaking them. Being able to use filesystem repair utilities such as xfs_repair and e2fsck are critical in recovering filesystems back to a mountable state.

Recover mis-configured or broken LVM configurations

00:10:21

Lesson Description:

In this lesson, we recover a broken LVM configuration by purposefully breaking it. Being able to view and use the LVM archive using vgcfgrestore is necessary for restoring LVM configurations to a known state prior to making an errant change.

Recover data from encrypted file systems

00:14:22

Lesson Description:

In this lesson, we make extensive use of the cryptsetup command to create an encrypted filesystem using LUKS. Then we examine how we can use a backup of the LUKS header to recover a replaced passphrase or keyfile.

Identify and fix iSCSI issues

00:13:18

Lesson Description:

In this lesson, we look at the potential points of failure with iSCSI, and how to check for common configuration issues using targetcli and iscsadm. We set up an iSCSI target and initiator, break connectivity, and then fix it.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:00:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:00:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:00:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:30:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

04:00:00

Resolve package management issues

Resolve package management dependency issues

00:06:03

Lesson Description:

In this lesson, we look at resolving dependency issues such as missing libraries using yum provides, as well as version locking packages to prevent updates.

Recover a corrupted RPM database

00:05:06

Lesson Description:

A corrupt RPM database can cause all manner of issues when attempting to update or install a package. In this lesson, we purposefully corrupt the RPM database, and then use it to instantiate a new RPM database.

Identify and restore changed files

00:06:02

Lesson Description:

Being able to validate a file provided by an RPM package is critical in determining why a package or file isn't behaving normally. In this lesson, we use both rpm and yum verify to asses if a file has been modified post-installation.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:00:00

Troubleshoot and fix network connectivity issues

Use standard tools to verify network connectivity

00:09:27

Lesson Description:

In this lesson, we troubleshoot connectivity between hosts using tools such as ss, nc, and telnet. With these tools, we can determine services listening on ports, as well as connectivity to those specific ports.

Identify and fix network connectivity issues

00:12:10

Lesson Description:

In this lesson we look at the connection between /etc/udev/rules.d/70-persistent-net.rules and the interface configuration scripts in /etc/sysconfig/network-scripts/. We also examine the current interface and routing configuration using ip and nmcli, and finally firewalld using firewall-cmd. We do this to identify and fix network connectivity issues.

Inspect network traffic to aid troubleshooting

00:07:15

Lesson Description:

In this lesson, we use both tcpdump and tshark to create and read a packet capture. Additionally, we take a brief look at capture filters and parsing the ASCII content of a web request.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:30:00

Diagnose application issues

Identify library dependencies for third-party software

00:05:32

Lesson Description:

In this lesson we use ldd, ldconfig, and yum provides to identify and install missing library dependencies for installing applications.

Identify if an application suffers from memory leaks

00:04:27

Lesson Description:

Detecting memory leaks in applications is an important skill to have in your admin toolbox. In this lesson, we use valgrind to determine if an application has a memory leak.

Use standard tools to debug an application

00:05:41

Lesson Description:

Despite not having access to the source code, all applications running on Linux must make certain system and library calls to function. By using strace and ltrace, we can often determine why an application is having problems. In this lesson, we use strace to debug an application, as well as atttach to running processes.

Identify and fix issues related to SELinux

00:15:23

Lesson Description:

SELinux issues tend to stem from incorrect file labelling, incorrect boolean settings, or incorrect port settings. In this lesson, we look at how to gather information around labels, booleans, and ports, as well as the event data we can use to resolve the problem.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:30:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:00:00

Identify and fix authentication issues

Identify and fix pluggable authentication module (PAM) issues

00:11:17

Lesson Description:

In this lesson, we examine the contents of a service's PAM config file in /etc/pam.d. We discuss identifying PAM issues, PAM module documentation, as well as replacing a modified PAM config file.

Identify and fix LDAP and Kerberos identity management issues

00:08:27

Lesson Description:

In this lesson, we review LDAP and Kerberos client configuration issues, as well as potential causes for misconfiguration. Additionally, we look at how to very LDAP and Kerberos using ldapsearch, getent, kinit, and klist.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:00:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:30:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

02:00:00

Gather information to aid third party investigation of issues

Create kernel crashdumps

00:02:37

Lesson Description:

In this lesson, we discuss kernel dumps, where they're located, and how to trigger them.

Compile and execute SystemTap modules

00:06:05

Lesson Description:

In this lesson, we install the packages necessary for running and compiling SystemTap scripts. SystemTap provides a framework for getting information from the kernel.

Sosreports

00:03:50

Lesson Description:

As a supplemental review, we look at the basics of an sosreport: how to create one, where they're located, and how to use them.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

01:30:00

RH342 Red Hat Enterprise Linux Diagnostics and Troubleshooting

Practice Exam
Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

04:00:00

Conclusion

Next Steps

Conclusion and Review

00:01:28

Lesson Description:

Congratulations on completing the course! In this short video, I cover the study tools provided to assist in preparing for the Red Hat exam.

What's Next

00:01:22

Lesson Description:

Now that you've finished the RH342 course, what's next? Let's take a look at some other course recommendations.