LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 Free Practice Test — 30 Questions
This practice bank exercises knowledge of Linux system administration fundamentals and key behavioral competencies. The scenarios place you in the role of a junior administrator facing real-world challenges: intermittent performance degradation, log rotation failures, permission misconfigurations, and migration under tight deadlines. You must choose the most effective initial diagnostic step or strategy, emphasizing adaptability, proactive analysis, and systematic problem-solving over hasty actions. Technical topics include file permissions (chmod octal and symbolic), umask, logrotate options, grep filtering, symbolic links, network bonding, and file system repair. The questions test your ability to interpret scenario details and apply the correct command or approach, balancing urgency with thoroughness.
What this LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 practice set measures
This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.
Systematic Diagnosis and Initial Response
The practice bank repeatedly emphasizes that the correct initial response to performance issues is analysis, not immediate restarts. For example, question 1 and 23 highlight using tools like top, htop, and logs before rebooting. Question 13 emphasizes analyzing logs and potentially throttling suspicious traffic. Understanding the importance of gathering baseline data and identifying root causes before acting is crucial.
- Always gather baseline performance data (CPU, memory, I/O, network) before intervening.
- Use system logs and commands like journalctl, dmesg to identify patterns.
- Avoid premature service restarts which can mask underlying issues.
Permission and Access Control Mastery
Many questions test nuanced permission management: setting umask, using chmod for specific scenarios, and understanding symbolic links. Question 22 on umask 022 and question 27 on umask 027 require calculating resulting permissions. Questions 5, 10, 26, 28, 30 involve chmod and chown with octal and symbolic modes, including setgid (2xxx) for group inheritance.
- Default file permissions are 666 minus umask; directory 777 minus umask.
- Use chmod with octal (e.g., 750) or symbolic (e.g., g+w) modes precisely.
- Setgid on directories (chmod 2775) ensures new files inherit group ownership.
- For script execution, owner and group need execute; others can have read-only.
Log Management and Troubleshooting Tools
Questions 3 and 19 cover logrotate diagnostic and grep filtering. Logrotate's -d option simulates rotation to debug configuration. Combining grep with -E and -v extracts ERROR/WARNING excluding DEBUG. Also, tcpdump (question 14) for network analysis, dd for disk imaging (question 9). These tools are essential for identifying issues without causing further damage.
- Use `logrotate -d /var/log/syslog` to simulate without actually rotating.
- `grep -E 'ERROR|WARNING' logfile | grep -v 'DEBUG'` filters critical entries.
- For network issues, use tcpdump or wireshark to capture packets during peak load.
- Before file system repair, create a sector-by-sector image with dd.
Migration and Project Management Competencies
Several questions (2,4,6,7,11,17,20,25,29) focus on behavioral competencies like adaptability, communication, and proactive problem-solving during migrations or changing requirements. The correct answers emphasize planning, backup, incremental testing, and stakeholder communication over rash actions.
- Prioritize root cause analysis even if it consumes time; avoid blind migration.
- Proactively communicate timeline impacts and collaborate with team to reprioritize.
- Perform full backup and test in staging before cutover.
- Use controlled cutover during maintenance windows with incremental data sync.
Practice LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 with real flashcards
Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.
Card 1 of 20
1 reviewed this session
Static practice bank
Start the 30-question diagnostic
The complete question bank is embedded in this pre-rendered page. There is no database request or second content download when you begin.
Anya, a junior system administrator for a busy web hosting company, is responsible for monitoring a critical Linux server that intermittently experiences significant performance degradation, causing web pages to load slowly and applications to become unresponsive. The issue is not constant, making it difficult to replicate. Anya suspects a resource bottleneck but needs to identify the most effective initial strategy to diagnose the problem. Which of the following approaches would best align with systematic troubleshooting principles for this scenario?
Study workflow
Turn one LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 attempt into a study plan
- 1
Diagnose Performance Issues Systematically
When facing unexplained slowdowns, start by checking resource utilization (top, free, iostat, netstat). Review recent logs (journalctl, /var/log/syslog) for error patterns. Avoid restarting services until you have baseline data; use tools like lsof to identify open files and connections.
- 2
Configure File Permissions with Precision
Use `ls -l` to inspect current permissions. For allowing group collaboration, create a group, set ownership via chown and chgrp, then apply chmod with setgid (2775) on directories so new files inherit group. For execute-only scripts, use `chmod 554` to give owner and group execute, others read.
- 3
Debug Log Rotation Failures
Run `logrotate -d /var/log/syslog` to simulate rotation and check for errors. Examine /etc/logrotate.conf and /etc/logrotate.d/ for misconfigurations like missing paths or incorrect frequency. Ensure logrotate is scheduled via cron (usually /etc/cron.daily/logrotate).
- 4
Safeguard Data Before Repair
Before running fsck on a corrupted partition, create a backup image using `dd if=/dev/sda1 of=/backup/image.img` to preserve data. Then unmount the partition and run fsck with appropriate options. This ensures you can recover if the repair causes further damage.
- 5
Conduct a Controlled Migration
For critical service migration, first perform a full system backup. Replicate data using rsync or scp, test the application in a staging environment, then schedule a maintenance window. Execute a final incremental sync, switch to the new server, and validate functionality before decommissioning old hardware.
FAQ
Questions about this exam practice page
Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.
How does umask affect new file permissions?+
Umask subtracts from the default maximum permissions. For files (default 666), a umask of 022 results in 644 (rw-r--r--). For directories (default 777), it results in 755 (rwxr-xr-x). The command `umask` sets the mask; the same mask applies to all new files and directories.
What is the difference between chmod symbolic and octal modes?+
Symbolic mode uses letters (u,g,o,a) and operators (+,=,-) to modify permissions (e.g., u+x). Octal mode uses a three-digit number where each digit is sum of read(4), write(2), execute(1). Octal is concise for setting all permissions at once; symbolic is easier for adding or removing specific bits.
How do I make a script executable by owner and group only?+
Use `chmod 550 script.sh` (owner and group: r-x, others: ---) or `chmod u=rx,g=rx,o= script.sh`. Ensure the owner and group are set appropriately. For read-only for others, use 554 (owner and group: r-x, others: r--).
When should I use setgid on a directory?+
Setgid (chmod g+s) on a directory ensures that new files and subdirectories inherit the directory's group, not the user's primary group. This is useful for collaborative project folders where all members of a group need to modify each other's files.
How do I simulate logrotation without actually rotating logs?+
Run `logrotate -d /etc/logrotate.conf` (or specific config file) to perform a dry-run. The -d flag outputs debug information but does not perform any rotation, copy, or compression. Check the output for any errors indicating misconfiguration.
Build the next review session
Browse another free bank or use the study strategy guide to turn your misses into spaced review.
