Demo mode This site is not live. It is currently being tested and developed. Nothing on here represents an offer.
← Exit course IT-203 CompTIA Linux+ XK0-006 Prep: Linux Server Administration
Course progress, 0 of 14 parts done0%

Flash cards

Download as PDF

  1. What are the two main Linux distribution lineages?

    Show the answer

    Debian (1993), a volunteer project, leads to Ubuntu and Linux Mint. Red Hat (1994), a commercial company, runs Fedora, then CentOS Stream, then RHEL, with Rocky and AlmaLinux as free rebuilds of RHEL.

  2. Why is the split between the Debian and Red Hat families historical rather than technical?

    Show the answer

    Both run the same kernel, GNU utilities, systemd and applications. They differ only in packaging, defaults and conventions, so you are learning where a system you know keeps things, not a second operating system.

  3. What happened to CentOS in 2020, and why do Rocky Linux and AlmaLinux exist?

    Show the answer

    Red Hat repositioned CentOS as CentOS Stream, a rolling preview upstream of RHEL rather than a free copy of it. Rocky and AlmaLinux were founded to do what CentOS used to: rebuild RHEL from source, bug-for-bug compatible and free.

  4. Which package format, low-level tool, dependency tool and repository folder does each family use?

    Show the answer

    Debian family: .deb, dpkg, apt, and /etc/apt/sources.list.d/. RPM family: .rpm, rpm, dnf (formerly yum), and .repo files in /etc/yum.repos.d/.

  5. What is the difference between AppArmor and SELinux?

    Show the answer

    Both are mandatory access control systems. AppArmor, on the Debian family, is path-based. SELinux, on the RPM family, is label-based.

  6. How do the two families differ in default filesystem, administrative group and root login?

    Show the answer

    Debian family: ext4, the sudo group, and the root password disabled by default. RPM family: XFS, the wheel group, and a root password set during installation.

  7. What happens when you install a network service such as nginx on Ubuntu, and on Rocky Linux?

    Show the answer

    On Ubuntu it is started and enabled at once. On Rocky it is installed but not started, because Red Hat treats starting a network service as the administrator's security decision. Run systemctl enable --now nginx.

  8. Something works on the Ubuntu server but mysteriously fails on the Rocky server, though the service starts and the logs look fine. What is the first suspect?

    Show the answer

    SELinux, which refuses things AppArmor would allow, such as serving web content from a non-standard directory or listening on an unusual port.

  9. Which firewall is active by default on Rocky Linux, and how do you open it for a web server?

    Show the answer

    firewalld is active by default on Rocky, while Ubuntu's firewall is not. Open HTTP with sudo firewall-cmd --add-service=http --permanent, then sudo firewall-cmd --reload.

  10. What are the RPM equivalents of dpkg -S, dpkg -L and dpkg -l?

    Show the answer

    rpm -qf (query, by file), rpm -ql (query, list files) and rpm -qa (query, all installed). The -q is a query mode, and the next letter says what to query.

  11. How does finding which package provides a command differ between the families?

    Show the answer

    On the RPM side, dnf provides */x works at once, because RPM metadata includes file lists for uninstalled packages. On the Debian side you must install apt-file and run apt-file update before apt-file search bin/x.

  12. What does an RPM version string such as tree-1.8.0-10.el9.x86_64 encode?

    Show the answer

    The name (tree), the version (1.8.0), the release (10), el9 for Enterprise Linux 9, and the architecture (x86_64).

  13. How long are the support windows of Ubuntu LTS, the RHEL family and Fedora?

    Show the answer

    Ubuntu LTS: a release every 2 years with 5 years of support, extendable to 10. RHEL, Rocky and Alma: 10 years. Fedora: about 13 months, with releases every 6 months. Ubuntu interim releases get 9 months and are not for servers.

  14. What is the trade-off of a ten-year support window?

    Show the answer

    Security patches without a version upgrade, but old software versions: RHEL 9 ships PHP 8.0 while Fedora ships 8.4. Module streams and third-party repositories exist to bridge that gap.

  15. Which server architectures should you recognise, and why does the architecture matter?

    Show the answer

    x86_64 (AMD64) dominates, AArch64 (ARM64) is growing and often cheaper, RISC-V is emerging and 32-bit x86 is legacy. A package built for x86_64 will not install on ARM, and container images must suit the architecture. Check with uname -m.

  16. What do the GPL, LGPL, AGPL and permissive licences such as MIT require?

    Show the answer

    GPL: distribute modifications under the same licence, with source. LGPL: libraries may be linked by proprietary software. AGPL: also triggers on network use. MIT, BSD and Apache 2.0 need attribution, and Apache 2.0 adds a patent grant.

  17. Why can Rocky Linux exist legally, and is open source the same as free of charge?

    Show the answer

    The kernel is GPLv2, so every distribution must publish its sources, which Rocky rebuilds. Open source is not free of charge: RHEL is open source sold with a support subscription, and what you pay for is support, certification and the ten-year commitment.

  18. What do a display server, a display manager and a window manager do?

    Show the answer

    The display server (X11 or Wayland) manages the screen, input and windows. The display manager (such as LightDM or GDM) is the graphical login that starts the session. The window manager draws borders and handles placement and focus. A server should have none, so systemctl get-default returns multi-user.target.

  19. Which file identifies any modern Linux system, and which of its fields tells a script the family?

    Show the answer

    /etc/os-release, which is present on every modern Linux and machine-readable, so a script can source it. ID_LIKE names the parent family, such as debian or rhel, which covers derivatives that ID alone would miss.

  20. What is the SSH service called on each family?

    Show the answer

    sshd on the RPM side and ssh on the Debian side. Ubuntu provides sshd.service as an alias, but the reverse is not true.