Lpi 101-500 Practice Exams
Last updated on Apr 01,2025- Exam Code: 101-500
- Exam Name: LPI Linux Administrator - 101 (LPIC-1 101)
- Certification Provider: Lpi
- Latest update: Apr 01,2025
Which daemon handles power management events on a Linux system?
- A . acpid
- B . batteryd
- C . pwrmgntd
- D . psd
- E . inetd
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
- A . chown dan/staff file.txt
- B . chown dan:staff file.txt
- C . chown -u dan -g staff file.txt
- D . chown dan -g staff file.txt
What does ?the symbol within regular expressions represent?
- A . Match the preceding qualifier one or more times.
- B . Match the preceding qualifier zero or more times.
- C . Match the preceding qualifier zero or one times.
- D . Match a literal ?character.
How can the list of files that would be installed by the RPM package file apache-xml.rpm be previewed?
- A . rpm Cqp apache-xml.rpm
- B . rpm Cqv apache-xml.rpm
- C . rpm Cql apache-xml.rpm
- D . rpm Cqpl apache-xml.rpm
Which of the following commands can be used to create a USB storage media from a disk image?
- A . gdisk
- B . dd
- C . cc
- D . fdisk
- E . mount
Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?
- A . grep CE ‘:08:[09]+:[09]+’ loga.log
- B . grep CE ‘:08:[00]+’ loga.log
- C . grep CE loga.log ‘:08:[0-9]+:[0-9]+’
- D . grep loga.log ‘:08:[0-9]:[0-9]’
- E . grep CE ‘:08:[0-9]+:[0-9]+’ loga.log
Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)
Which of the following commands lists the dependencies of a given dpkg package?
- A . apt-cache depends-onpackage
- B . apt-cache dependencies package
- C . apt-cache depends package
- D . apt-cache requires package
Which grep command will print only the lines that do not end with a / in the file foo?
- A . grep’/$’ foo
- B . grep ‘/#’ foo
- C . grep -v ‘/$’ foo
- D . grep -v ‘/#’ foo
Where does the BIOS search for a bootloader?
- A . On all connected storage media regardless of the boot device order.
- B . On all connected storage media in the defined boot device order.
- C . Only on hard disk drives in the defined boot device order.
- D . Only on the last added storage media.
- E . The BIOS is not responsible to search for a valid bootloader.