COMPLETE PRACTICE TEST BANK QUESTIONS AND ANSWERS | VERIFIED
SOLUTIONS | UPDATED 2026/2027 STUDY GUIDE
Examiner/Administrator: Linux Professional Institute
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LPIC-2 LINUX ENGINEER PROFESSIONAL CERTIFICATION EXAM
2026/2027 EDITION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPLETE PRACTICE EXAM
120 MULTIPLE-CHOICE QUESTIONS
PASSING SCORE: 70%
TESTING TIME: 180 MINUTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TABLE OF CONTENTS
1. Capacity Planning & System Architecture
2. Linux Kernel Configuration & Management
3. System Startup & Boot Management
4. Advanced Storage Administration
5. Network Configuration & Troubleshooting
6. DNS Services Administration
7. Web Services & HTTP Infrastructure
8. File Sharing Services (SMB/NFS)
9. Network Client Management
10. System Security & Cryptography
LINUX PROFESSIONAL INSTITUTE || ALIGNED WITH CURRENT LPIC-2 CERTIFICATION
BLUEPRINTS || ADVANCED LINUX ENGINEERING COMPETENCIES || PROFESSIONAL
STUDY GUIDE || 100% VERIFIED | GRADED A+ || COMPREHENSIVE CERTIFICATION
,PREPARATION || PREPARED FOR PROFESSIONAL LINUX ENGINEERS || PROFESSIONAL
EXAMINATION USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Capacity Planning & System Architecture (Q1–Q5)
Q1. A Linux engineer notices that a database server experiences periodic CPU
saturation during reporting jobs. Historical monitoring data shows that CPU
utilization reaches 100% while disk and memory usage remain moderate. Which
metric should be analyzed first to determine whether adding additional CPU cores
would improve performance?
A. Disk queue length
B. CPU run queue length
C. Swap utilization percentage
D. Network packet retransmissions
Correct Answer: 🔴 B. CPU run queue length
Explanation: 🔹 The CPU run queue indicates how many processes are waiting for
CPU time. A consistently large run queue compared to available CPU cores suggests
CPU contention and supports scaling CPU resources. Disk queue length focuses on
storage bottlenecks, swap utilization indicates memory pressure, and packet
retransmissions relate to networking issues rather than CPU scheduling.
Q2. A company plans to virtualize multiple Linux workloads onto a single host. Which
consideration is most important when estimating memory requirements?
A. Number of mounted filesystems
B. Kernel version numbering scheme
C. Memory overcommitment and peak workload demand
D. Number of installed RPM packages
Correct Answer: 🔴 C. Memory overcommitment and peak workload demand
,Explanation: 🔹 Virtualized environments often allocate more virtual memory than
physically available. Understanding peak consumption and overcommitment
policies helps avoid performance degradation and OOM conditions. Filesystem
count, package count, and kernel numbering are generally unrelated to memory
capacity planning.
Q3. Which tool provides detailed historical CPU, memory, and I/O statistics suitable
for long-term capacity planning?
A. echo
B. sar
C. chmod
D. passwd
Correct Answer: 🔴 B. sar
Explanation: 🔹 The sar utility from the sysstat package records and reports
historical performance data, making it valuable for trend analysis and capacity
planning. The other commands perform unrelated administrative functions.
Q4. A Linux engineer wants to determine whether disk latency is affecting application
response times. Which command provides real-time device utilization and wait
statistics?
A. iostat -x
B. uname -r
C. whoami
D. hostnamectl
Correct Answer: 🔴 A. iostat -x
Explanation: 🔹 The extended output from iostat provides metrics such as await,
svctm, and utilization percentages that help identify storage bottlenecks. The
remaining commands do not provide performance analysis information.
, Q5. Which capacity-planning principle best supports accurate infrastructure
forecasting?
A. Analyze only current utilization snapshots
B. Ignore seasonal workload variations
C. Collect baseline metrics over extended periods
D. Focus exclusively on CPU metrics
Correct Answer: 🔴 C. Collect baseline metrics over extended periods
Explanation: 🔹 Effective forecasting depends on long-term trend analysis,
workload variability, and growth patterns. Short-term snapshots can be misleading,
and focusing on a single resource type may overlook critical constraints.
Linux Kernel Configuration & Management (Q6–Q10)
Q6. A newly compiled kernel module should load automatically at boot. Which file
location is commonly used to specify persistent module loading?
A. /etc/modules-load.d/
B. /var/tmp/modules
C. /usr/share/man
D. /etc/skel
Correct Answer: 🔴 A. /etc/modules-load.d/
Explanation: 🔹 Files within /etc/modules-load.d contain module names that
systemd loads during startup. The other locations are unrelated to kernel module
initialization.
Q7. Which command displays currently loaded kernel modules?
A. lsmod
B. chroot