Computing and Information Technology

Linux and Command Line Practice Exam, Flashcards & Questions

Master foundational to advanced Linux and Command Line with 353 verified curriculum items, worked engineering solutions, and spaced-repetition cards.

239 Total Questions 152 MCQs 9 Calculations 1 Formulas 77 Flashcards
Free Interactive Preview

Linux and Command Line Sample Exam Questions & Rationale

Preview official questions below. The complete pool of 239 items is available in the offline app.

Question 1 of 4 Backup strategies

Which high-efficiency synchronization tool uses a delta-transfer algorithm to copy only modified file blocks over SSH?

A rsync
B tar
C sftp
D scp
Accepted Answer: Option A (rsync)

Rationale: rsync compares file modification timestamps and checksums, transferring only the differing byte segments across networks.

Question 2 of 4 Boot process

What is the sequential order of primary phases in a standard UEFI-based Linux system boot sequence?

A UEFI Firmware -> GRUB2 Bootloader -> Linux Kernel -> initramfs -> systemd (PID 1)
B GRUB2 Bootloader -> UEFI Firmware -> initramfs -> Linux Kernel -> systemd
C Linux Kernel -> UEFI Firmware -> GRUB2 Bootloader -> systemd -> initramfs
D UEFI Firmware -> systemd (PID 1) -> GRUB2 Bootloader -> Linux Kernel
Accepted Answer: Option A (UEFI Firmware -> GRUB2 Bootloader -> Linux Kernel -> initramfs -> systemd (PID 1))

Rationale: UEFI initializes hardware and loads GRUB2; GRUB2 loads the compressed kernel and initramfs into RAM; the kernel mounts root and executes systemd as PID 1.

Question 3 of 4 Containers and Docker basics

Which Linux kernel feature enforces hardware resource quotas (capping CPU percentage and maximum RAM consumption) for containerized processes?

A Linux Namespaces
B cgroups (Control Groups)
C AppArmor profiles
D Chroot jails
Accepted Answer: Option B (cgroups (Control Groups))

Rationale: cgroups meter and limit physical hardware resource utilization, while namespaces provide isolated views of system resources.

Question 4 of 4 File system hierarchy

According to the Filesystem Hierarchy Standard (FHS), which directory houses host-specific system-wide configuration files?

A /var
B /etc
C /opt
D /usr
Accepted Answer: Option B (/etc)

Rationale: /etc contains static host-specific system configurations and daemon configs (such as fstab, passwd, and nginx.conf).

Active Recall Spaced Repetition Cards (Preview)

Card 1 • Backup strategies
Dictating 3 total copies of data across 2 different storage media with 1 copy stored offsite is the {{c1::3-2-1 backup strategy}}.
The 3-2-1 rule guards against hardware failure, site-wide natural disasters, and ransomware.
Card 2 • Boot process
Root filesystem providing storage controller and filesystem drivers required to mount the real root partition is {{c1::initramfs}}.
initramfs loads disk controller and decryption modules (e.g., LVM, RAID, LUKS) needed before the physical root disk can be accessed.

Linux and Command Line Curriculum Modules & Topics Covered

Modules
Shell BasicsSystem and AccessText Processing and ScriptingLinux Administration Basics
Core Exam Topics
  • Navigation commands
  • Viewing files
  • Wildcards and globbing
  • Pipes and redirection
  • Environment and PATH
  • Aliases and history
  • Tab completion
  • Man pages
  • Standard streams
  • File permissions and chmod
Learning Objectives
  • Develop core conceptual recall and analytical problem-solving in Shell Basics.
  • Develop core conceptual recall and analytical problem-solving in System and Access.
  • Develop core conceptual recall and analytical problem-solving in Text Processing and Scripting.
  • Develop core conceptual recall and analytical problem-solving in Linux Administration Basics.

Free Downloadable Linux and Command Line Study Packs (.ZIP / .TSV)

Full Spreadsheet Data (TSV)
TSV • 239 items
Complete Course Pack
ZIP • 239 items
Elements (Standard)
ZIP • 239 items
Active Recall Flashcards
ZIP • 239 items
Formula Codex
ZIP • 239 items
Problem Solving (Complete)
ZIP • 239 items
Problem Solving (Mastery)
ZIP • 239 items
Problem Solving (Standard)
ZIP • 239 items
Artificial Intelligence (1,579) Artificial Intelligence and Machine Learning (507) Cloud Computing and DevOps (144) Compiler Design & Formal Languages (1,579) Computational Contact Mechanics: Penalty Function Method, Lagrange Multipliers & Mortar Contact Formulations (128) Computer Engineering & Algorithms (1,365)
Full Question Pool: 239 Verified Items

Unlock All 239 Linux and Command Line Practice Questions

Study the full question pool with 13 active recall battle modes, FSRS v5 spaced repetition, and 1-click printable PDF mock exams with full answer keys on Android and Windows PC.

Get on Google Play (Android) Get on Microsoft Store (Windows PC)