EXAM COMPLETE PRACTICE TEST BANK QUESTIONS AND ANSWERS | VERIFIED
SOLUTIONS | UPDATED 2026/2027 STUDY GUIDE
Examiner/Administrator: Red Hat, Inc.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RED HAT CERTIFIED SYSTEM ADMINISTRATOR (RHCSA EX200)
2026/2027 EDITION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPLETE PRACTICE EXAM
100+ MULTIPLE-CHOICE QUESTIONS
PASSING SCORE: 70%
TESTING TIME: 180 MINUTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TABLE OF CONTENTS
1. Essential Linux Commands
2. File System Navigation & Management
3. User and Group Administration
4. Permissions, ACLs & Security
5. Process & Service Management
6. Storage Management & LVM
7. Networking Configuration
8. SELinux Administration
9. System Boot & Scheduling
10. Container & System Troubleshooting
RED HAT CERTIFICATION PROGRAM || ALIGNED WITH CURRENT RHCSA EX200
OBJECTIVES || ENTERPRISE LINUX SYSTEM ADMINISTRATION || PROFESSIONAL STUDY
GUIDE || 100% VERIFIED | GRADED A+ || COMPREHENSIVE EXAM PREPARATION ||
,PREPARED FOR CERTIFICATION & PROFESSIONAL DEVELOPMENT || PROFESSIONAL
EXAMINATION USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Essential Linux Commands & File Management (Q1–Q8)
Q1. A system administrator needs to locate all files owned by
user developer under /var/www while suppressing permission-denied messages.
Which command best satisfies the requirement?
A. find /var/www -owner developer
B. find /var/www -user developer 2>/dev/null
C. locate developer /var/www
D. grep developer /var/www
Correct Answer: 🔴 B. find /var/www -user developer 2>/dev/null
Explanation: 🔹 The find command with -user searches for files owned by a specific
user. Redirecting stderr using 2>/dev/null suppresses permission-denied messages.
Option A uses an invalid predicate. Option C searches a database rather than
ownership. Option D searches file content rather than ownership metadata.
Q2. You accidentally deleted a file named report.txt and want to determine
whether it still exists somewhere under the filesystem. Which command is most
appropriate?
A. find / -name report.txt 2>/dev/null
B. chmod report.txt
C. passwd report.txt
D. touch report.txt
Correct Answer: 🔴 A. find / -name report.txt 2>/dev/null
Explanation: 🔹 find recursively searches the filesystem and is the preferred method
for locating a file by name. The other commands modify permissions, passwords, or
create files and do not perform searches.
,Q3. An administrator needs to archive /home/projects into a compressed gzip
archive named projects.tar.gz . Which command should be used?
A. tar -cvf projects.tar.gz /home/projects
B. gzip /home/projects
C. tar -czvf projects.tar.gz /home/projects
D. cp projects.tar.gz /home/projects
Correct Answer: 🔴 C. tar -czvf projects.tar.gz /home/projects
Explanation: 🔹 The -c creates an archive, -z enables gzip compression, -
v provides verbose output, and -f specifies the archive name. Option A omits
compression. Option B cannot gzip a directory directly. Option D simply copies files.
Q4. Which command displays disk usage for each directory in the current path in a
human-readable format?
A. df -h
B. du -sh *
C. ls -lh
D. mount
Correct Answer: 🔴 B. du -sh *
Explanation: 🔹 du -sh * summarizes the size of each item in the current directory
using human-readable units. df -h shows filesystem usage, not directory usage. ls -
lh shows file sizes only. mount lists mounted filesystems.
Q5. A user wants to view only the first 20 lines of a large log file. Which command
should be used?
A. tail -20 logfile
B. head -20 logfile
, C. cat logfile
D. less +20 logfile
Correct Answer: 🔴 B. head -20 logfile
Explanation: 🔹 head displays the beginning portion of a file. tail displays the
end. cat outputs the entire file. less +20 begins viewing at line 20 rather than
displaying only the first 20 lines.
Q6. Which command would display all currently running processes associated with
the user apache ?
A. ps -u apache
B. chmod apache
C. id apache
D. usermod apache
Correct Answer: 🔴 A. ps -u apache
Explanation: 🔹 ps -u username lists processes belonging to the specified user. The
remaining options manage permissions or account information rather than processes.
Q7. An administrator wants to search the contents of files in /etc for the
string PermitRootLogin . Which command is most appropriate?
A. grep -R PermitRootLogin /etc
B. find /etc PermitRootLogin
C. locate PermitRootLogin
D. ls PermitRootLogin
Correct Answer: 🔴 A. grep -R PermitRootLogin /etc
Explanation: 🔹 Recursive grep searches file contents throughout a directory
tree. find searches filenames. locate searches an indexed database. ls lists files
and directories.