LPIC-1 Linux Installation and Package Management Practice Question
Which THREE locations are used to configure package repositories on a typical Linux system? (Choose three.)
⚠ Common exam trap
Watch out — candidates often confuse the configuration directory for APT (/etc/apt.conf.d/) with the actual repository source location (/etc/apt/sources.list), or assume that all package managers use a repos.d subdirectory pattern, when in fact pacman uses a single configuration file.
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
✓
/etc/zypp/repos.d/
/etc/zypp/repos.d/ is the directory where SUSE's Zypper package manager stores repository configuration files (each .repo file defines a repository's URL, GPG keys, and other settings). This is the standard location for configuring repositories on openSUSE and SUSE Linux Enterprise systems.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
/etc/zypp/repos.d/
Why this is correct
Repository directory for Zypper.
- ✗
/etc/apt.conf.d/
Why it's wrong here
This directory holds APT configuration snippets, not repository definitions.
- ✓
/etc/yum.repos.d/
Why this is correct
Directory containing .repo files for YUM/DNF.
- ✗
/etc/pacman.d/
Why it's wrong here
Pacman is used by Arch Linux, not covered in LPIC-1.
- ✓
/etc/apt/sources.list
Why this is correct
Main APT repository file.
Go deeper
Related to this question
About these practice questions
One of 527 original LPIC-1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.