Courseiva

LPIC-1 Linux Installation and Package Management Practice Question

Which TWO of the following are Debian package management tools?

⚠ Common exam trap

A common mix-up: candidates confuse package managers by distribution family (e.g., thinking yum or rpm could be Debian tools because they are also 'package managers'), but LPIC-1 tests the specific association of dpkg and apt with Debian-based systems versus rpm-based tools like yum, rpm, and zypper.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

dpkg

Option B, dpkg, is correct because it is the low-level Debian package manager that installs, removes, and queries .deb packages on Debian-based systems. Option D, apt, is correct because it is the high-level Debian package management front end that resolves dependencies and works with repositories, typically invoking dpkg underneath. The unmarked options do not belong: yum (A) and rpm (C) are Red Hat–family tools for RPM-based distributions, and zypper (E) is the package manager for SUSE/openSUSE, not Debian.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    yum

    Why it's wrong here

    yum resolves and installs RPM packages on Red Hat-derived distributions, so it cannot read Debian's .deb format or APT repositories. It is tempting because it performs equivalent dependency handling and repository management, and would be correct on RHEL, CentOS or Fedora systems.

  • ✓

    dpkg

    Why this is correct

    The low-level tool that installs, removes and queries individual .deb packages directly, satisfying the stem's requirement for a Debian package management tool. Unlike apt, dpkg does not resolve dependencies or fetch packages from repositories, but it remains the foundational utility underlying all higher-level Debian package managers.

  • ✗

    rpm

    Why it's wrong here

    rpm is the Red Hat package manager, handling .rpm packages on RHEL-family systems; it cannot install or query .deb packages, so it fails this Debian requirement. It is tempting because it is a genuine low-level package tool, and would be correct on CentOS, Fedora or RHEL hosts.

  • ✓

    apt

    Why this is correct

    Apt resolves dependencies and retrieves packages from configured repositories, operating at Debian's higher packaging layer. It satisfies the stem's requirement for a Debian package management tool, unlike RPM-based or distribution-agnostic utilities. Apt manipulates .deb packages through dpkg, making it a core component of Debian package management.

  • ✗

    zypper

    Why it's wrong here

    zypper manages packages on SUSE and openSUSE via RPM, so it cannot handle .deb archives or Debian's dpkg/APT metadata. It is tempting because it offers the same install, update and dependency-resolution workflow, and would be the right answer for a SUSE-based question.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

Courseiva writes every LPIC-1 question from scratch — 402 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.