Made with Palestinian hands Support EmuPath ☕

No results found.

Try another search or remove some filters.

All practice exams
Infrastructure / FOUR DIFFICULTY LEVELS

Linux Administration

Practice shell usage, permissions, storage, processes and reliable service troubleshooting.

Four self-study difficulty levels, from basic concepts to advanced scenarios. Difficulty is an editorial guide, not an official certification ranking. GNU/Linux with Bash unless stated otherwise. Systemd questions explicitly assume a systemd host. Use an authorized lab for administrative changes.

YOUR PRACTICE SPACE

Learn it. Test it. Understand it.

Choose your difficulty

Recognize core concepts and trace a single step.

10 questions in Easy · one answer per question · no timer

Choose a mode

Free, no account needed. Answers stay in this tab and reset on reload. This is self-study, not a proctored exam or certificate.

Choose the right challenge

Easy checks core concepts. Medium applies them to tasks. Hard examines edge cases and failure modes. Very advanced combines constraints such as concurrency, security and recovery. Start where you are comfortable; each level has its own attempt and result. These labels are editorial, not certification grades.

What you will learn

  • Interpret filesystem permissions and shell expansion.
  • Diagnose service, storage and process failures using evidence.
  • Choose safe operational changes that preserve recoverability.

Think through a real scenario

A service reports that its disk is full, yet deleting an old log does not free space. A running process may still hold the unlinked file open. Inspect open file descriptors before taking action; a controlled log reopen or service restart can release the space. Also inspect inode usage, because free data blocks do not guarantee that a filesystem can create more files.

Turn your result into a study plan

For each missed question, write down the rule you overlooked and test it with a small example. Avoid memorizing an option’s position: understanding the behavior matters more than recognizing the wording. In exam mode explanations stay hidden until you submit; in practice mode use “Check answer” to see feedback immediately.

Read further

The questions and explanations are original EmuPath teaching material. These references provide background for further study; their publishers do not endorse this exam.

Found an ambiguous question? Include the track and question text in your correction report.

Sample Linux Administration questions with explanations

Preview one question from each difficulty level before choosing a practice session. These examples also appear in the question bank. Try answering first, then open the explanation to check your reasoning.

Easy: Paths

Which command prints the current working directory in a shell?

  1. pwd
  2. cd
  3. mkdir
  4. touch
Show answer and explanation

pwd

pwd reports the working directory. cd changes it, mkdir creates a directory, and touch normally updates file timestamps or creates an empty file.

Medium: Permissions

Ignoring ACLs and special bits, which numeric mode means owner read/write and no access for group or others?

  1. 600
  2. 644
  3. 660
  4. 700
Show answer and explanation

600

Read has value 4 and write value 2, making owner permissions 6. The two zero digits grant no group or other permissions through the ordinary mode bits.

Hard: Redirection

In Bash, how does cmd >out 2>&1 differ from cmd 2>&1 >out?

  1. Only the first form directs both streams to out
  2. Both always send both streams to out
  3. Only the second form combines both streams in out
  4. The first form redirects standard input
Show answer and explanation

Only the first form directs both streams to out

Redirections are evaluated left to right. In the second form, stderr first duplicates the original stdout destination, and only stdout is subsequently redirected to the file.

Very advanced: Atomic replacement

Readers must see either a complete old config or a complete new config. On one filesystem, what is the usual publication pattern?

  1. Write a temporary file fully, then rename it over the target
  2. Truncate the target and slowly rewrite it in place
  3. Append the new config after the old config
  4. Publish the filename before writing its content
Show answer and explanation

Write a temporary file fully, then rename it over the target

A same-filesystem rename can make the name change atomic for readers. Crash durability is a separate concern and may require syncing the file and containing directory.