Exam Information
Free practice questions with explanations
LPI 201-450 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 10
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Capacity Planning
A file server on a 1 Gbit/s LAN intermittently becomes unresponsive for several seconds at a time. An administrator logs in during an episode and runs vmstat 2. The output shows the bo column (blocks out) fluctuating between 0 and high values, the b column (processes blocked on I/O) regularly above 5, the wa column high, and the us and sy columns low. Free memory and swap activity (si and so) are normal. The server must not be rebooted during business hours and no new hardware can be purchased this quarter. Which conclusion and next action best fits the evidence?
Correct Answer: BExplanationHigh wa together with many blocked processes (b) and blocks out (bo) points to processes waiting on storage rather than on CPU or memory, since us and sy are low and swap activity is normal. The right next step is iostat -x to see which device has high await and %util, without a reboot. CPU upgrades would not address I/O wait, memory is ruled out by the normal si and so values, and netstat measures network health rather than block I/O waits.
-
2 Question 2 Multiple choice Linux Kernel
A developer must build a custom kernel for a set of edge routers. The routers boot from a small flash partition that must stay under 8 MB, and the build host runs an older toolchain that lacks the zstd library. Engineers want the kernel image compressed and the build reproducible from the stock source tree under /usr/src/linux. Which TWO actions meet these requirements? (Choose two.)
Correct Answer: B, DExplanationChoosing xz compression keeps the image small and works with the older toolchain, and building the bzImage target from /usr/src/linux produces the compressed kernel image appropriate for booting. The zstd option fails the stated toolchain constraint. vmlinux is an uncompressed ELF image that is typically far larger than the 8 MB limit, and System.map is a symbol table that is not a bootable kernel image.
-
3 Question 3 Order list System Startup
A server running systemd must have its nightly reporting service enabled at the multi-user target and must start only after the network is online. An administrator has written a new unit file in /etc/systemd/system/report.service, and must make the change take effect safely on the running system without a reboot. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Run systemctl enable report.service to create the target wants symlink
- Run systemctl start report.service and verify it with systemctl status
- Add WantedBy=multi-user.target and After=network-online.target to the [Install] and [Unit] sections
- Run systemd-delta to confirm no conflicting overrides exist for the unit
- Run systemctl daemon-reload so systemd rereads the unit files
Correct Answer:- Run systemctl daemon-reload so systemd rereads the unit files
- Add WantedBy=multi-user.target and After=network-online.target to the [Install] and [Unit] sections
- Run systemctl enable report.service to create the target wants symlink
- Run systemctl start report.service and verify it with systemctl status
- Run systemd-delta to confirm no conflicting overrides exist for the unit
ExplanationThe unit must first be defined with the correct dependencies, then systemd must reload its configuration before enabling or starting it, otherwise the new file is ignored. Enabling creates the wants symlink under multi-user.target, starting then verifies runtime state, and systemd-delta is used to check for overrides. Placing systemd-delta before daemon-reload would only inspect the old in-memory view of units.
-
4 Question 4 Single choice Filesystem and Devices
A company migrates a database host from a disk that was enumerated as /dev/sdb to a new host where device names change between reboots. The /etc/fstab entry currently uses /dev/sdb1 and the server fails to mount the data volume after the last reboot. Policy requires that mounts survive device renumbering and that the entry remains readable by staff who audit the file. Which change is the BEST fix?
Correct Answer: CExplanationUUIDs are assigned to the filesystem itself and remain stable when kernel device names such as sdb shift, which is why blkid output is used in fstab. lsblk shows the same unstable kernel name, so it does not solve renumbering. The noauto option stops automatic mounting, which would violate the need for the database to come up unattended. A bind mount does not address the underlying device identification problem at all.
-
5 Question 5 Drag and drop Advanced Storage Device Administration
A storage administrator is preparing software RAID arrays on a Linux server that will host a PostgreSQL cluster. Each requirement must be met by the correct configuration element. Match each requirement to the component that satisfies it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Mark a partition as a Linux RAID member for autodetectionCreate a new RAID 5 array from three member partitionsConfirm current sync status and degraded membersPersist array definitions so arrays assemble at bootmdadm --createPartition type 0xFD/proc/partitions/etc/mdadm.conf/proc/mdstatfdisk --raidCorrect Answer:- Persist array definitions so arrays assemble at boot → /etc/mdadm.conf
- Confirm current sync status and degraded members → /proc/mdstat
- Mark a partition as a Linux RAID member for autodetection → Partition type 0xFD
- Create a new RAID 5 array from three member partitions → mdadm --create
Explanationmdadm.conf stores array definitions that mdadm reads during assembly, while /proc/mdstat reports live status including resync progress and failed members. Partition type 0xFD identifies members for kernel autodetection, and mdadm --create is the command that builds the array. The extra targets are real kernel and tool artifacts but do not perform the matched functions, /proc/partitions only lists partitions and fdisk does not provide an --raid option.
-
6 Question 6 Single choice Network Configuration
A multi-homed server has two interfaces: eth0 on 10.10.0.0/24 with default gateway 10.10.0.1, and eth1 on 192.168.50.0/24 connected to a backup network with gateway 192.168.50.1. Clients on 192.168.50.0/24 cannot receive replies from the server because responses leave through eth0. Changing the default route would break internet access for the primary interface, and the fix must not require a reboot or touch the application. Which action BEST resolves the problem?
Correct Answer: BExplanationReplies must leave on the same interface the request arrived on, which is achieved with a policy routing rule selecting a separate routing table for the source subnet, as configured with ip rule and ip route table. A second default route is ignored while the first one wins by metric, so return traffic still leaves through eth0. Turning off rp_filter addresses inbound validation rather than the outbound path. Per-client host routes do not scale and do not change the source-based path selection.
-
7 Question 7 Dropdown System Maintenance
A backup administrator must archive /etc and /home from a host into a single compressed file, excluding a large cache directory, and wants the archive to be readable on any system with standard tools. The compressed archive must use gzip so the restore environment does not require extra packages. Complete the command by selecting the correct value for each blank.
Choose the correct value for each blank.
tar -czf /backup/etc-home.tar.gz --exclude=/home/*/cache /etc /homeCorrect Answer:tar -cvf -czf /backup/etc-home.tar.gz --exclude=/home/*/cache /etc /home
ExplanationA create operation needs a create flag, and -czf combines creation with gzip compression, so the first blank is the create-related short option cluster written in its leading position. The leading blank is the flag that tells tar to create an archive, and the remaining -czf already sets compression and filename. Extract and list variants would read rather than write the archive, and -rzf appends to an existing archive which gzip does not support.
-
8 Question 8 Single choice Capacity Planning
A web tier is sized using historical data from sar. Management wants to predict when the 16 GB application servers will need more RAM, and asks for the metric that best reflects sustained memory pressure rather than a single peak. Which measurement is the MOST appropriate basis for this forecast?
Correct Answer: AExplanationForecasting needs trends over time, and sustained committed memory together with swap usage from sar -r and sar -S show whether memory pressure is growing. A single maximum free value reflects one moment and can mislead when caches are reclaimed. Load average mixes CPU and I/O waiting and says little about memory, and a single ps count is a snapshot with no trend.
-
9 Question 9 Order list System Recovery
A production server fails to boot after a kernel update and drops to a rescue prompt. The root filesystem is intact, and the administrator must recover without losing data and then return the machine to its normal default target. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Correct the broken configuration or unit file under the mounted root
- Reboot with the systemd.unit=multi-user.target kernel parameter if needed
- Inspect journal output and the failing unit to identify the cause
- Mount the root filesystem read-write from the rescue environment
- Run systemctl set-default multi-user.target only after the fix is verified
Correct Answer:- Mount the root filesystem read-write from the rescue environment
- Inspect journal output and the failing unit to identify the cause
- Correct the broken configuration or unit file under the mounted root
- Reboot with the systemd.unit=multi-user.target kernel parameter if needed
- Run systemctl set-default multi-user.target only after the fix is verified
ExplanationThe root filesystem must be mounted read-write before any correction can be written, and logs must be examined to find the real cause rather than guessing. The fix is applied next, and the default target is only changed once the system is verified, since changing it earlier can mask the problem. Booting with a systemd.unit kernel parameter is a fallback used when the default is what fails, so it appears after diagnosis rather than before the fix.
-
10 Question 10 Single choice Network Configuration
A wireless laptop on a corporate network connects to the SSID but cannot obtain an address, and the administrator wants to confirm whether the association and link state are established before checking DHCP. Which sequence of command and check is the MOST appropriate first step?
Correct Answer: AExplanationiw dev wlan0 link reports whether the station is associated with the access point and gives the signal and bitrate, so it proves the wireless layer works before any IP troubleshooting. Routing tables and ARP entries only matter once an address exists, and a full scan repeats discovery without answering whether association succeeded.
These are 10 of the 161 questions in the full 201-450 pack.
Get All 161 QuestionsGet all 161 questions & answers
Full access options for LPI 201-450
Self-study
PDF Version
- 161 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 161 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 161 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the 201-450 Exam (LPIC-2 - Exam 201 (part 1 of 2), version 4.5) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.