# LPIC-1 101-500 and 102-500 practice exams

> Prepare for LPIC-1 with 291 practice questions across 5 full timed exams, weighted toward 103: GNU and Unix Commands. Every answer is explained.

Page: https://devopscodelab.com/exams/lpic1-101-500-102-500/

291 questions in 5 timed practice tests. Each test has about 60 questions and a 90-minute limit. The pass mark is 63%. Results are split across the 10 exam domains.

## Exam at a glance

| Setting | Value |
| --- | --- |
| Practice tests | 5 |
| Questions in total | 291 |
| Questions per test | About 60 |
| Time limit per test | 90 minutes |
| Pass mark | 63% |
| Question types | Single answer and multiple answer (20 multiple-answer questions) |
| Level | Associate |
| Category | DevOps & Cloud Native |

These are the settings of our practice tests. Check the official LPI exam page for the current format before you book.

## Domains and weights

| Domain | Weight | Questions in our bank |
| --- | --- | --- |
| 101: System Architecture | 6.67% | 19 |
| 102: Linux Installation and Package Management | 10% | 29 |
| 103: GNU and Unix Commands | 21.67% | 63 |
| 104: Devices, Linux Filesystems, Filesystem Hierarchy Standard | 11.67% | 34 |
| 105: Shells and Shell Scripting | 6.67% | 19 |
| 106: User Interfaces and Desktops | 3.33% | 10 |
| 107: Administrative Tasks | 10% | 29 |
| 108: Essential System Services | 10% | 29 |
| 109: Networking Fundamentals | 11.67% | 35 |
| 110: Security | 8.33% | 24 |

## Price and access

- LPIC-1 practice exams: $12.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/lpic1-101-500-102-500/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/lpic1-101-500-102-500/free-practice-questions/

## Sample questions

### Question 1 of 3

A vendor's out-of-tree driver keeps loading automatically for a USB device, and the administrator wants the kernel to stop auto-loading the module named badwifi at boot. Which change is the standard way to do this?

- A. Add the module name to /etc/sysctl.conf with the value kernel.modules.badwifi=0
- B. Add the line 'blacklist badwifi' to a .conf file under /etc/modprobe.d/
- C. Add the line 'disable badwifi' to the file /etc/modules-load.d/badwifi.conf
- D. Delete the badwifi entry from /proc/modules and then run the depmod -a command

**Answer:** B

**Explanation:** A 'blacklist' directive in a file under /etc/modprobe.d/ stops modprobe and udev from loading the module automatically by its aliases. /etc/modules-load.d/ lists modules to load at boot and has no 'disable' keyword. /proc/modules is a read-only view of loaded modules, and depmod only rebuilds dependency data. sysctl sets kernel parameters, not module loading.

### Question 2 of 3

An administrator needs to extract a single configuration file from vendor.rpm to look at it without installing the package. Which pipeline does this?

- A. rpm2cpio vendor.rpm | gunzip -dc
- B. rpm2cpio vendor.rpm | cpio -idmv
- C. rpm -ivh --test vendor.rpm | tar -xvf -
- D. rpm -qlp vendor.rpm | cpio -o

**Answer:** B

**Explanation:** rpm2cpio converts the RPM payload into a cpio archive on stdout, and cpio -idmv extracts it into the current directory. rpm --test only checks whether installation would work, and its output is not an archive. gunzip cannot read the cpio stream that rpm2cpio produces. rpm -qlp lists file names, and cpio -o would create an archive rather than extract one.

### Question 3 of 3

In Bash, which command creates the directories logs/2024, logs/2025 and logs/2026 in one step using brace expansion?

- A. mkdir -p logs/{2024,2025,2026}
- B. mkdir -p logs/20{24-26}
- C. mkdir -p logs/{2024..2026..2}
- D. mkdir -p logs/202[4-6]

**Answer:** A

**Explanation:** Brace expansion with a comma list produces one word per item, so mkdir receives three paths. 202[4-6] is a glob that only matches names that already exist; otherwise mkdir creates a directory with that literal name. {2024..2026..2} is a sequence with a step of 2, which gives only 2024 and 2026. {24-26} is not a valid brace expression, so it stays literal and creates one directory called 20{24-26}.


## Study plans

### Two weeks

1. Day 1: take practice test 1 in exam mode to get a baseline.
2. Days 2 to 5: domain mode on 103: GNU and Unix Commands and 104: Devices, Linux Filesystems, Filesystem Hierarchy Standard, the two most heavily weighted domains.
3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

### Four weeks

1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

## Questions about the LPIC-1 practice exams

**Are these real LPIC-1 exam questions?**

No. We write every question ourselves and map it to the published LPIC-1 exam objectives. We do not use leaked or recalled questions.

**Do the time limit and pass mark match the official exam?**

They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.

**Can I try it before I pay?**

Yes. The free mini exam has 15 questions with full explanations and needs no account.

**How long do I keep access?**

A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.

**What happens after I finish a test?**

You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026.

DevOpsCode Lab is not affiliated with LPI. LPIC-1 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
