
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
| Item | Detail |
|---|---|
| Exam | EX342, Red Hat Certified Advanced System Administrator in Enterprise Linux exam |
| Credential earned | Red Hat Certified Advanced System Administrator in Enterprise Linux. It counts towards RHCA in Enterprise Linux. |
| Platform | Red 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). |
| Format | Hands-on, practical exam on a live system. Product documentation is provided. You work without outside help. |
| Duration | 4 hours |
| Persistence rule | Configurations and services must persist and keep working across the normal lifecycle of the platform (including reboots) without manual intervention. |
| Results | Usually emailed within 3 US business days |
| Recommended preparation | Course RH342, Red Hat Enterprise Linux Diagnostics and Troubleshooting, or similar troubleshooting experience. Also RHCSA or equivalent sysadmin experience. |
| Delivery | Red 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. |
| Retakes | The FAQ says a free retake is available after a failed first attempt. A third attempt must be paid for. |
| Validity | Red Hat certifications are current for 3 years from the date earned |
| Price, question count, passing score | Not 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 group | Weight |
|---|---|
| 1. Understand and employ general methods for troubleshooting | Not published |
| 2. Diagnose and troubleshoot system startup issues | Not published |
| 3. Diagnose and troubleshoot file system issues | Not published |
| 4. Resolve package management issues | Not published |
| 5. Troubleshoot and fix network connectivity issues | Not published |
| 6. Diagnose application issues | Not published |
| 7. Identify and fix authentication issues | Not published |
| 8. Gather information to aid third-party investigation of issues | Not 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.
- Reset a lost root password and make sure SELinux contexts are correct after the reboot.
- Insert a typo into
/etc/fstab, reboot, recover from emergency mode and fix it permanently. - Delete a logical volume by mistake, then restore it from LVM archive metadata.
- Corrupt an XFS file system on a test disk with
xfs_db, then repair it. - Remove a LUKS passphrase but keep a second key slot. Open the volume and add a new passphrase. Practise header backup and restore.
- Corrupt
/var/lib/rpmon a test VM and rebuild the RPM database. Then userpm -Vato list changed files. - Move a web server to port 8081 and fix the SELinux port label and the firewall so it works after a reboot.
- Compile a small C program that leaks memory, and confirm the leak with
valgrind. - Break PAM by editing an
sshdstack, recover from the console, and restore withauthselect. - Configure rsyslog forwarding to a central host, and AIDE checks on
/etc. - Enable kdump, trigger a crash on a lab VM, and collect an sos report.
- Write an Ansible playbook that applies one of your fixes to three hosts.
Eight-week study plan
| Week | Focus | Output |
|---|---|---|
| 1 | Revise RHCSA skills. Build the lab with snapshots. Monitoring tools, the web console, documentation drills. | Working lab and a personal command sheet |
| 2 | Boot: rd.break, rescue targets, fstab, GRUB, systemd dependencies | Labs 1 and 2, each repeated three times |
| 3 | Hardware and kernel modules. Central logging, AIDE, Ansible basics. | Labs 10 and 12 |
| 4 | File systems: XFS and ext4 repair, LVM recovery, LUKS | Labs 3, 4 and 5 |
| 5 | Packages: dnf history, dependencies, RPM database, rpm -V | Lab 6 |
| 6 | Network troubleshooting and packet capture. SELinux deep dive. | Lab 7, plus five network fault drills |
| 7 | Applications (ldd, strace, valgrind). PAM and account policies. kdump and sos. | Labs 8, 9 and 11 |
| 8 | Two 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.
- 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/fstabentry for/data, including the UUID, file system type and device. Compare it withblkid. Fix it, runsystemctl daemon-reloadand test withmount -abefore rebooting. - 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 withtouch /.autorelabel. Without it,/etc/shadowcan carry the wrong context. - An administrator accidentally ran
lvremoveon a data volume. Which tool can bring back the previous metadata?
Answer:vgcfgrestore, using the archived metadata in/etc/lvm/archivefrom before the removal. Then activate the LV and check the file system. - Can you run
xfs_repairon a mounted XFS file system?
Answer: No. Unmount it first. If the log is dirty, try mounting once to replay the log. Usexfs_repair -Lonly as a last resort, because zeroing the log can lose recent changes. rpm -V httpdshowsS.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. Thecmarks it as a config file.- 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. - A third-party binary fails with "error while loading shared libraries". Which command lists the libraries it needs and which ones are missing?
Answer:lddon the binary. Missing libraries show as "not found". Install the providing package (found withdnf provides), or add the library path in/etc/ld.so.conf.d/and runldconfig. - How would you confirm a suspected memory leak in a long-running process without a debugger?
Answer: Sample its resident memory over time withps -o rssorpidstat -r. Steady growth under constant load suggests a leak.valgrindcan then confirm it in a test run. - 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/sshdand the included stacks, and restore the intended profile withauthselect select(orauthselect apply-changes) instead of hand-editing generated files. Keep a root shell open while you test. - A user is locked out after repeated wrong passwords. Which tool shows and resets the failure count on current RHEL?
Answer:faillock --user nameto view it andfaillock --user name --resetto clear it. - Name in order the steps to get a vmcore for a vendor case.
Answer: Reserve memory with thecrashkernelkernel argument, enable and startkdump, confirm it is operational, reproduce the crash (or trigger one on a test system only), then collect the vmcore from/var/crash, along with ansos report. - 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. - Which tool tells you whether files in
/etcchanged since a known-good baseline?
Answer: AIDE. Initialise the database on a clean system, move it into place, and runaide --checkto report changes.
Common mistakes
- Fixes that do not survive a reboot. Red Hat requires configurations to persist. Use
-Pwithsetsebool,--permanentwith 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.



