Courseiva
Free · No account needed · No credit card

Linux Professional Institute Certification Level 1 LPIC-1 Practice Test

402 questions with instant explanations, domain breakdown, and wrong-answer analysis. Built for the real exam.

Instant feedback after each answer
Full explanations included
Domain score breakdown
Real exam: 90 min
Pass mark: 500/1000

Sample questions with explanations

This is exactly what you see during practice — question, options, and a full explanation after you answer.

Q1Linux Installation and Package Managementhard
Full explanation →

A company maintains a private Debian repository for internal packages. A new package 'internal-tool' version 2.0 has been added to the repository, but when users run 'apt-get update && apt-get install internal-tool', the old version 1.0 is still being offered. What is the most likely cause?

AThe package version number is not higher than the installed version
BThe local apt cache needs to be cleared with 'apt-get clean'
CThe 'apt-get update' command did not run successfully due to network issues
The repository's Release file has not been regenerated after adding the new packageCorrect

The most likely cause is that the repository's Release file has not been regenerated after adding the new package. APT relies on the Release file (and its associated InRelease or Release.gpg) to obtain the current package metadata, including version information. If the Release fi…Read full explanation

Q2Devices, Filesystems and FHShard
Full explanation →

A system is running out of disk space on /var. The administrator finds that /var/log/syslog is 4GB. Which of the following is the best course of action to prevent future issues while keeping recent logs?

AUse 'truncate -s 0 /var/log/syslog' to empty the file.
Configure logrotate to rotate and compress logs daily.Correct
CConfigure syslog to stop logging.
DDelete /var/log/syslog and create an empty file.

Logrotate is the standard Linux utility for managing log file growth. By configuring it to rotate and compress logs daily, the administrator can automatically archive old logs (e.g., /var/log/syslog.1.gz) and keep only recent entries in the active file, preventing disk space exha…Read full explanation

Q3Administrative Tasksmedium
Full explanation →

Based on the exhibit, which of the following is true about the cleanup.sh job?

AIt runs at 4:30 AM every day
It runs at 4:30 AM on Monday through FridayCorrect
CIt runs at 4:00 AM on weekdays
DIt runs at 4:30 AM on weekends

The cron expression `30 4 * * 1-5` specifies that the job runs at minute 30, hour 4 (4:30 AM), every day of month (*), every month (*), but only on days of the week 1 through 5 (Monday=1, Tuesday=2, Wednesday=3, Thursday=4, Friday=5). Therefore, the job runs at 4:30 AM on Monday …Read full explanation

Untimed Practice

Answer at your own pace. Explanation and domain tag shown immediately after each answer.

Timed Practice

Countdown timer starts immediately. Results and domain scores shown at the end — just like the real exam.

Why practice here?

Full explanations on every question

Not just the right answer — you get exactly why each wrong option is wrong, so you learn the concept, not the answer.

Domain score breakdown

After each session see your score by exam domain so you know exactly where to focus study time.

100% free, forever

No subscription, no trial, no email wall. Start a session in under 10 seconds.

Exam-style questions

Scenario-based, precise wording, realistic distractors — written to match what you actually see on exam day.

← All LPIC-1 questionsLPIC-1 exam guideStudy guidePractice by domain