Courseiva

EX200 · topic practice

Essential Tools practice questions

Essential Tools is 11% of EX200 and covers the command-line fundamentals every other RHEL 9 task depends on: shell redirection, text processing, file finding, archiving, and links. Questions appear as hands-on lab items where you run commands in a terminal and the grader inspects resulting files, permissions, and output, not multiple-choice recall.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Essential Tools

What the exam tests

What to know about Essential Tools

Redirect output with >, >>, 2>, and pipes, then process text using grep, sed, awk, cut, and sort; find files with find and locate, archive with tar and gzip, and create hard and symbolic links with ln. Get absolute versus relative path handling right.

Redirect stdout and stderr with >, >>, 2>, and pipes between grep, cut, sort, and wc

Locate files by name, owner, size, or mtime using find with -exec and xargs

Create and extract tar archives, including gzip and bzip2 compression with tar czf and tar xjf

Manage hard links and symbolic links with ln and ln -s, and read file contents via cat, less, head, tail

Watch out for

Common Essential Tools exam traps

  • ▸Using > when >> is needed, silently truncating an existing file instead of appending the new output to it
  • ▸Forgetting that 2>&1 must follow the redirection order, so stderr still prints to the terminal instead of the file
  • ▸Creating a hard link across filesystems or to a directory, which ln refuses, when a symbolic link was intended

Practice set

Essential Tools questions

20 questions · select your answer, then reveal the explanation

Which TWO commands can be used to display the current date and time in a format like '2023-10-05 14:30:00'?

Which THREE commands can be used to check the disk space usage of the /home partition?

Question 3mediummultiple choice
Read the full Essential Tools explanation →

Refer to the exhibit. Why does the /etc/shadow file have no read permissions for any user?

Exhibit

Refer to the exhibit.

$ ls -l /etc/shadow
----------. 1 root root 1234 Oct  5 14:30 /etc/shadow

You are a system administrator for a company running Red Hat Enterprise Linux 8. A developer reports that a script which runs daily at 2 AM is failing. The script is located at /opt/scripts/backup.sh and is owned by root. The developer says the script runs fine when executed manually with './backup.sh' from the /opt/scripts directory. The script is scheduled via a root crontab entry: '0 2 * * * /opt/scripts/backup.sh'. However, the script fails because it cannot find a configuration file located at './config.ini'. What is the most likely cause and the correct solution?

Question 5mediummultiple choice
Read the full Essential Tools explanation →

You are a Linux administrator. A user reports that when they log in via SSH, they see the message 'Could not chdir to home directory /home/john: No such file or directory' and are dropped into the root directory. The user's home directory does exist at /home/john but is empty. The user's entry in /etc/passwd is: 'john:x:1001:1001::/home/john:/bin/bash'. What is the most likely cause and the correct fix?

An administrator wants to edit a configuration file and ensure only the intended changes are saved. Which practice is recommended?

A server has a disk with LVM logical volumes. The administrator needs to extend a logical volume to use all remaining free space in the volume group. Which command sequence is correct?

Which TWO commands can be used to view the contents of a compressed gzip file without decompressing it permanently? (Choose two.)

A system administrator wants to find all files in /var that are larger than 100MB and have been modified within the last 7 days. The output should be a list of file paths with sizes in human-readable format, sorted by size descending. Which command pipeline accomplishes this?

Question 10easymultiple choice
Read the full Essential Tools explanation →

A user wants to run a command in the background after logging out of an SSH session. Which method ensures the process continues even after logout?

Question 11hardmultiple choice
Read the full Essential Tools explanation →

A system administrator wants to monitor all files in /var/log that are currently being written to by processes. Which command shows file descriptors that are open for writing by any process?

Question 12mediummultiple choice
Read the full Essential Tools explanation →

Refer to the exhibit. An administrator runs these commands on a server. The administrator suspects a performance issue. Which observation from the exhibit is most likely causing a bottleneck?

Exhibit

Refer to the exhibit.

$ cat /proc/cpuinfo | grep '^processor' | wc -l
4
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           7.6G        1.2G        5.2G        100M        1.2G        6.1G
Swap:          2.0G        0.0G        2.0G
$ df -h /var
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        50G   10G   37G  21% /var
Question 13easymultiple choice
Read the full Essential Tools explanation →

A junior administrator is tasked with finding all files in the /var/log directory that have been modified within the last 24 hours and are owned by the 'root' user. The administrator runs the command: find /var/log -user root -mtime 0. However, the command returns no output, even though there are files that meet the criteria. What is the most likely issue with the find command?

Question 14mediummultiple choice
Read the full Essential Tools explanation →

A Red Hat Enterprise Linux server has multiple network interfaces, and the administrator needs to ensure that the service 'httpd' starts automatically after a reboot. The administrator has already enabled the service using 'systemctl enable httpd', but after a reboot, the service is not running. The administrator checks the status and finds that the service is enabled but not started. The system uses systemd. Which additional step is required to ensure the service starts automatically at boot?

Question 15mediummultiple choice
Read the full Essential Tools explanation →

A Red Hat Enterprise Linux 9 server has a directory /srv/reports containing roughly 40,000 files owned by various users. An administrator must archive the entire directory into a single file named /backup/reports.tar.bz2 while preserving ownership, permissions, and SELinux contexts, and must do so without writing any intermediate uncompressed file to disk. Which command accomplishes this?

Question 16easymultiple choice
Read the full Essential Tools explanation →

A system administrator needs to find all files in /var/log that have been modified in the last 2 hours. Which command should be used?

Question 17mediummultiple choice
Read the full Essential Tools explanation →

A user complains that the 'ls' command no longer outputs colors. The administrator suspects a change in environment variables. Which command would help diagnose the issue?

Question 18hardmultiple choice
Read the full Essential Tools explanation →

During a security audit, an administrator needs to list all TCP ports on which the system is listening, showing only the port numbers and the associated process names. Which command best achieves this?

Question 19easymultiple choice
Read the full Essential Tools explanation →

A new Linux administrator needs to read the manual page for the 'ls' command but also wants to search for the word 'color' within the manual. Which command accomplishes this?

Question 20mediummultiple choice
Read the full Essential Tools explanation →

An administrator needs to terminate a hung process with PID 3456 that does not respond to 'kill -15 3456'. Which signal should be used next?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Essential Tools sessions

Start a Essential Tools only practice session

Every question in these sessions is drawn from the Essential Tools domain — nothing else.

Related practice questions

Related EX200 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the EX200 exam test about Essential Tools?
Redirect output with >, >>, 2>, and pipes, then process text using grep, sed, awk, cut, and sort; find files with find and locate, archive with tar and gzip, and create hard and symbolic links with ln. Get absolute versus relative path handling right.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Essential Tools questions in a focused session?
Yes — the session launcher on this page draws every question from the Essential Tools domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other EX200 topics?
Use the topic links above to move to related areas, or go back to the EX200 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the EX200 exam covers. They are not copied from any real exam or dump site.