RHEL 9 · Users/Permissions · systemd · Storage/LVM · SELinux · firewalld · Containers
60 questions · 90 min · 70% Techclick practice target
⚠️ Exam Rules
| Questions in this Techclick bank | 60 |
|---|---|
| Timer | 90 min |
| Techclick practice target | 70% |
| Official exam code | RHCSA EX200 |
You run a command and need BOTH its standard output and its error messages saved to the same file results.log, overwriting it. Which redirection is correct?
Correct: B. `&> file` (bash) redirects both stdout and stderr to the file. The trap (option B-style `2>&1 > file`) sends stderr to the ORIGINAL stdout BEFORE stdout is redirected, so errors still hit the terminal — order matters; the correct ordered form is `> file 2>&1`. `> file 2> file` lets the two streams clobber each other. A pipe to a filename is meaningless.
You must find every line in /etc/passwd for users whose login shell is exactly /bin/bash (the field at the end of the line). Which command is the best fit?
Correct: B. The shell is the LAST field, so anchoring with `$` matches it at end of line. Plain `grep /bin/bash` would also match a comment or path elsewhere on the line; `-v` inverts (wrong users); `^/bin/bash` anchors to the START of the line, which never matches because the line starts with the username.
You need to create a gzip-compressed archive of /etc named etc-backup.tar.gz. Which single command does this correctly?
Correct: A. `-c` create, `-z` gzip, `-f` filename. `-x` extracts (the classic mix-up). `gzip` cannot recurse a directory tree and produces no tar container. `--gzip=off` disables compression and is not valid syntax for this task.
You want to copy a file to a remote host over SSH while preserving the secure channel. Which command transfers local report.txt to /tmp on host server1 as user sysadmin?
Correct: A. `scp <source> <user>@<host>:<dest>` copies over SSH. `ssh` runs commands, it is not a copy tool. `cp` is local-only. The last option has source and destination reversed (it would try to pull from the remote).
A script must reference the third positional argument passed to it. Inside the script, which variable holds it?
Correct: B. Positional parameters are `$1`, `$2`, `$3` … `$#` is the COUNT of arguments (the common confusion). `${arg3}` is just an undefined named variable, and `$@[3]` is not valid bash array syntax.
Last updated:
Yes. You can start, finish and score it for free, and download the Techclick practice certificate.
This bank has 60 original scenario-based questions with a 90-minute timer and a 70% Techclick practice target.
The exam code is EX200 (Red Hat Certified System Administrator, RHCSA). Red Hat says the current exam is based on RHEL 10 and is a hands-on, performance-based exam.
No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.
Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official Red Hat certification.
Use the Red Hat practice exams page (linked above) to pick the next practice test in the same track.

You earned it — let the world know!
