Skip to main content
Ameerpet, Hyderabad · Classroom & live online
Cloud Soft Solutions

Red Hat EX342 Exam Guide 2026: Linux Diagnostics and Troubleshooting Objectives, Labs and 8-Week Plan

Prepare for Red Hat EX342, the 4-hour hands-on RHEL troubleshooting exam (RHEL 10.2) that earns Red Hat Certified Advanced System Administrator in Enterprise Linux. All eight objective groups, 12 break-fix labs, an 8-week plan and practice questions.

Red Hat EX342 Certified Advanced System Administrator in Enterprise Linux exam guide
Last updated · 12 min read · 2,713 words

Red Hat EX342 Certified Advanced System Administrator in Enterprise Linux exam guide

Red Hat EX342 is Red Hat's hands-on troubleshooting exam for Red Hat Enterprise Linux. Passing it earns the credential Red Hat now calls Red Hat Certified Advanced System Administrator in Enterprise Linux. The exam page's web address still uses the older name, Red Hat Certified Specialist in Linux Diagnostics and Troubleshooting, so you may see both names. Red Hat says the exam tests your ability to analyse RHEL systems for common issues, and then either correct them or gather forensic information. Red Hat says the credential also counts towards the Red Hat Certified Architect (RHCA) in Enterprise Linux.

The exam suits Linux administrators who already hold RHCSA (or have equivalent experience) and spend their working day on production incidents: servers that will not boot, broken LVM after a bad change, a failed package update, a service blocked by SELinux, or an application leaking memory. In Indian IT services and managed-infrastructure teams, this is the work of L2 and L3 Linux support engineers and of system administrators who want to move from "follow the runbook" to "write the runbook". The exam has no multiple-choice questions. You fix real systems against the clock, so the only way to prepare is to break things and repair them many times.

EX342 exam facts

ItemDetail
ExamEX342, Red Hat Certified Advanced System Administrator in Enterprise Linux exam
Credential earnedRed Hat Certified Advanced System Administrator in Enterprise Linux. It counts towards RHCA in Enterprise Linux.
PlatformRed Hat Enterprise Linux 10.2. Red Hat notes that multiple versions of this exam are in use. Check your assigned version and its objectives in Red Hat's Learning Management System (LMS).
FormatHands-on, practical exam on a live system. Product documentation is provided. You work without outside help.
Duration4 hours
Persistence ruleConfigurations and services must persist and keep working across the normal lifecycle of the platform (including reboots) without manual intervention.
ResultsUsually emailed within 3 US business days
Recommended preparationCourse RH342, Red Hat Enterprise Linux Diagnostics and Troubleshooting, or similar troubleshooting experience. Also RHCSA or equivalent sysadmin experience.
DeliveryRed Hat's FAQ lists remote exams (after a LiveUSB compatibility test), testing centres and on-site or classroom testing. It says nearly any Red Hat exam can be taken remotely.
RetakesThe FAQ says a free retake is available after a failed first attempt. A third attempt must be paid for.
ValidityRed Hat certifications are current for 3 years from the date earned
Price, question count, passing scoreNot published on the pages checked. Price depends on region, so check with Red Hat.

Source: Red Hat EX342 exam page and Red Hat Training and Certification FAQ, checked 5 December 2026. The exam page shows no retirement notice. Red Hat states it may add, change or remove objectives and will announce such changes in advance.

Objectives and what to practise

Red Hat does not publish percentage weights for EX342. The eight objective groups below come from the exam page. Treat them all as testable, and remember that every fix must survive a reboot.

Objective groupWeight
1. Understand and employ general methods for troubleshootingNot published
2. Diagnose and troubleshoot system startup issuesNot published
3. Diagnose and troubleshoot file system issuesNot published
4. Resolve package management issuesNot published
5. Troubleshoot and fix network connectivity issuesNot published
6. Diagnose application issuesNot published
7. Identify and fix authentication issuesNot published
8. Gather information to aid third-party investigation of issuesNot published

1. General troubleshooting methods

The objectives are: consult documentation, monitor systems for vital characteristics, monitor with the RHEL web console, configure systems using Ansible, send logs to a central host, and monitor files and directories with AIDE. Practise reading man pages and /usr/share/doc quickly, because these are your documentation during the exam. Use top, vmstat, iostat, sar and journalctl. Enable Cockpit with systemctl enable --now cockpit.socket. Configure rsyslog forwarding to a log host, write a small Ansible playbook that applies a fix to several hosts, and set up AIDE with aide --init and aide --check.

2. System startup

The objectives are: fix service failures that affect boot, regain root control, troubleshoot boot issues, identify hardware and hardware problems, and manage kernel modules and their parameters. Practise breaking into a system with rd.break or a rescue target, remounting /sysroot read-write, resetting a password, and handling the SELinux relabel. Repair a broken /etc/fstab entry. Use systemctl list-dependencies and systemd-analyze blame to see what holds up boot. Rebuild the bootloader configuration with grubby. Use lspci, lsusb, dmidecode and dmesg for hardware, and modprobe, modinfo and files in /etc/modprobe.d/ to set module parameters or blacklist a module persistently.

3. File systems

The objectives are: recover corrupted file systems, recover misconfigured or broken LVM, and recover data from encrypted file systems. Practise xfs_repair (and know why the file system must be unmounted), e2fsck on ext4, and restoring LVM metadata from /etc/lvm/archive with vgcfgrestore. Use cryptsetup luksDump, opening a LUKS volume with a spare key slot, and backing up and restoring a LUKS header with cryptsetup luksHeaderBackup and luksHeaderRestore.

4. Package management

The objectives are: resolve dependency issues, recover a corrupted RPM database, and identify and report changed files. Practise dnf history and rollback, dnf repoquery --requires and --whatprovides, rebuilding the database with rpm --rebuilddb, and verifying packages with rpm -V. Learn to read the verify flags, such as S.5....T., to tell which files changed and how.

5. Network connectivity

The objectives are: use standard tools to verify connectivity, find and fix connectivity issues, and inspect traffic. Practise ip addr, ip route, nmcli, ss -tulpn, ping, tracepath, dig, and the firewall with firewall-cmd --list-all. Capture traffic with tcpdump -i eth0 port 53 -w dns.pcap, then read the capture. Common faults to rehearse include a wrong gateway, a wrong DNS server, a missing firewall service and a service listening only on 127.0.0.1.

6. Applications

The objectives are: identify library dependencies for third-party software, detect memory leaks, debug an application with standard tools, and fix SELinux issues. Practise ldd and ldconfig, watching a process's memory over time with ps or pidstat -r, and valgrind --leak-check=full. Trace a failing binary with strace -f to find the file or permission it cannot open. For SELinux, use ausearch -m AVC, sealert, restorecon, semanage fcontext, semanage port and booleans with setsebool -P. Fix the cause rather than switching to permissive mode.

7. Authentication

The objectives are: identify and fix PAM issues, and identify and enforce local account policies. Practise reading /etc/pam.d/ stacks, using authselect profiles instead of hand-editing generated files, configuring faillock, and setting password ageing with chage and /etc/login.defs. Recover from a PAM change that locks everyone out of sshd.

8. Information for third-party investigation

The objectives are: create kernel crash dumps and collect system information. Practise enabling kdump, reserving memory with the crashkernel kernel argument, triggering a test crash only on a lab VM, and confirming the vmcore appears under /var/crash. Generate a support report with sos report.

Hands-on labs

Use two or three RHEL VMs for practice, and snapshot them before every break-fix exercise. Ask a friend to break things for you without telling you what they did. That is closest to the real exam.

  1. Reset a lost root password and make sure SELinux contexts are correct after the reboot.
  2. Insert a typo into /etc/fstab, reboot, recover from emergency mode and fix it permanently.
  3. Delete a logical volume by mistake, then restore it from LVM archive metadata.
  4. Corrupt an XFS file system on a test disk with xfs_db, then repair it.
  5. Remove a LUKS passphrase but keep a second key slot. Open the volume and add a new passphrase. Practise header backup and restore.
  6. Corrupt /var/lib/rpm on a test VM and rebuild the RPM database. Then use rpm -Va to list changed files.
  7. Move a web server to port 8081 and fix the SELinux port label and the firewall so it works after a reboot.
  8. Compile a small C program that leaks memory, and confirm the leak with valgrind.
  9. Break PAM by editing an sshd stack, recover from the console, and restore with authselect.
  10. Configure rsyslog forwarding to a central host, and AIDE checks on /etc.
  11. Enable kdump, trigger a crash on a lab VM, and collect an sos report.
  12. Write an Ansible playbook that applies one of your fixes to three hosts.

Eight-week study plan

WeekFocusOutput
1Revise RHCSA skills. Build the lab with snapshots. Monitoring tools, the web console, documentation drills.Working lab and a personal command sheet
2Boot: rd.break, rescue targets, fstab, GRUB, systemd dependenciesLabs 1 and 2, each repeated three times
3Hardware and kernel modules. Central logging, AIDE, Ansible basics.Labs 10 and 12
4File systems: XFS and ext4 repair, LVM recovery, LUKSLabs 3, 4 and 5
5Packages: dnf history, dependencies, RPM database, rpm -VLab 6
6Network troubleshooting and packet capture. SELinux deep dive.Lab 7, plus five network fault drills
7Applications (ldd, strace, valgrind). PAM and account policies. kdump and sos.Labs 8, 9 and 11
8Two full 4-hour mock sessions with random faults set by a partner. Review what took the longest.Timed results and a final weak-area list

Practice questions

These are original questions written for this guide. The real exam is hands-on and has no multiple-choice questions, so use these to check your reasoning.

  1. A server drops into emergency mode after a reboot, and the journal shows a mount timeout for /data. What do you check first?
    Answer: The /etc/fstab entry for /data, including the UUID, file system type and device. Compare it with blkid. Fix it, run systemctl daemon-reload and test with mount -a before rebooting.
  2. After resetting the root password through rd.break, users cannot log in after the reboot. What step was probably missed?
    Answer: Relabelling SELinux contexts, for example with touch /.autorelabel. Without it, /etc/shadow can carry the wrong context.
  3. An administrator accidentally ran lvremove on a data volume. Which tool can bring back the previous metadata?
    Answer: vgcfgrestore, using the archived metadata in /etc/lvm/archive from before the removal. Then activate the LV and check the file system.
  4. Can you run xfs_repair on a mounted XFS file system?
    Answer: No. Unmount it first. If the log is dirty, try mounting once to replay the log. Use xfs_repair -L only as a last resort, because zeroing the log can lose recent changes.
  5. rpm -V httpd shows S.5....T. c /etc/httpd/conf/httpd.conf. What does this tell you?
    Answer: The configuration file's size, checksum and modification time differ from the packaged version. Someone changed it. The c marks it as a config file.
  6. A web service works with SELinux permissive but fails when enforcing, after it was moved to port 8081. What is the persistent fix?
    Answer: semanage port -a -t http_port_t -p tcp 8081, plus a firewall rule. Do not leave SELinux permissive.
  7. A third-party binary fails with "error while loading shared libraries". Which command lists the libraries it needs and which ones are missing?
    Answer: ldd on the binary. Missing libraries show as "not found". Install the providing package (found with dnf provides), or add the library path in /etc/ld.so.conf.d/ and run ldconfig.
  8. How would you confirm a suspected memory leak in a long-running process without a debugger?
    Answer: Sample its resident memory over time with ps -o rss or pidstat -r. Steady growth under constant load suggests a leak. valgrind can then confirm it in a test run.
  9. After a PAM change, nobody can log in over SSH, but the console works. What is a safe recovery approach?
    Answer: Log in on the console, check /etc/pam.d/sshd and the included stacks, and restore the intended profile with authselect select (or authselect apply-changes) instead of hand-editing generated files. Keep a root shell open while you test.
  10. A user is locked out after repeated wrong passwords. Which tool shows and resets the failure count on current RHEL?
    Answer: faillock --user name to view it and faillock --user name --reset to clear it.
  11. Name in order the steps to get a vmcore for a vendor case.
    Answer: Reserve memory with the crashkernel kernel argument, enable and start kdump, confirm it is operational, reproduce the crash (or trigger one on a test system only), then collect the vmcore from /var/crash, along with an sos report.
  12. A host can ping its gateway but not resolve names. Which two things do you check?
    Answer: The DNS servers in the NetworkManager connection (nmcli con show) and in /etc/resolv.conf, and whether the DNS server answers (dig @server name). Also check that the firewall is not blocking port 53 outbound.
  13. Which tool tells you whether files in /etc changed since a known-good baseline?
    Answer: AIDE. Initialise the database on a clean system, move it into place, and run aide --check to report changes.

Common mistakes

  • Fixes that do not survive a reboot. Red Hat requires configurations to persist. Use -P with setsebool, --permanent with firewall-cmd, systemctl enable, and config files rather than runtime-only commands. Reboot and check before you finish.
  • Turning SELinux off. Disabling or setting SELinux to permissive hides the real problem and can break other tasks.
  • Not snapshotting in practice. Without snapshots, candidates avoid destructive labs, and those are exactly the skills the exam needs.
  • Running repair tools on mounted file systems, or zeroing the XFS log too early.
  • Hand-editing authselect-managed PAM files, which are overwritten later.
  • Studying the wrong version. Red Hat says multiple versions of this exam are in use. Check your assigned version and objectives in the LMS.
  • Poor time management. Four hours goes quickly when one task blocks you. Move on, and come back to it later.

Career relevance

Linux runs most enterprise servers, cloud workloads and container platforms, and organisations that run RHEL rely on administrators who can restore service quickly when something breaks. EX342 tests that skill directly. It fits L2 and L3 Linux administrators, infrastructure support engineers, site reliability engineers and platform engineers, and it is a step towards RHCA in Enterprise Linux. Because the exam is performance-based, the skills transfer directly to on-call work and incident reviews. Red Hat does not publish salary or hiring data for this credential, and this guide does not estimate any.

How Cloud Soft Solutions can help

Cloud Soft Solutions offers Red Hat Linux training in its Ameerpet, Hyderabad classroom and online. EX342 preparation is built around break-fix labs: trainers inject boot, file system, LVM, LUKS, RPM, network, SELinux and PAM faults into lab VMs, and you diagnose and repair them under time limits, then review what you did. Sessions follow Red Hat's published objectives and use the documentation you will have in the exam.

📞 Call +91 96660 19191 · +91 99496 16388 · WhatsApp
Cloud Soft Solutions, 513, 5th Floor, Aditya Enclave, Nilagiri Block, beside Ameerpet Metro Station, Ameerpet, Hyderabad 500016, Telangana, India

Frequently Asked Questions

What credential does EX342 earn?
Passing EX342 earns Red Hat Certified Advanced System Administrator in Enterprise Linux. Red Hat says it also counts towards Red Hat Certified Architect (RHCA) in Enterprise Linux.

How long is the EX342 exam?
Red Hat lists a time limit of 4 hours.

Which RHEL version is EX342 based on?
The exam page says Red Hat Enterprise Linux 10.2, and notes that multiple versions of the exam are in use. Check your assigned version in Red Hat's Learning Management System.

Is EX342 multiple choice?
No. It is a hands-on, practical exam on a live system. Product documentation is provided, and configurations must keep working after a reboot without manual intervention.

What preparation does Red Hat recommend?
The RH342 course, Red Hat Enterprise Linux Diagnostics and Troubleshooting, or similar experience, plus RHCSA or equivalent system administration experience.

How long is the certification valid?
Red Hat's FAQ says certifications are current for 3 years from the date earned.

Share𝕏inf✉
EnrollWhatsAppCall us