Lpi 101-500 LPI Linux Administrator – 101 (LPIC-1 101) Online Training
Lpi 101-500 Online Training
The questions for 101-500 were last updated at Jun 21,2025.
- Exam Code: 101-500
- Exam Name: LPI Linux Administrator - 101 (LPIC-1 101)
- Certification Provider: Lpi
- Latest update: Jun 21,2025
Which of the following commands is used to update the list of available packages when using dpkg based package management?
- A . apt-get update
- B . apt-get upgrade
- C . apt-cache update
- D . apt-get refresh
- E . apt-cache upgrade
You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it.
What command do you issue?
- A . rpm -qp apache-xml.i386.rpm
- B . rpm -qv apache-xml.i386.rpm
- C . rpm -ql apache-xml.i386.rpm
- D . rpm -qpl apache-xml.i386.rpm
CORRECT TEXT
Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
- A . –clean
- B . –delete
- C . –purge
- D . Cremove
CORRECT TEXT
An administrator has issued the following command:
grub-install –root-directory=/custom-grub /dev/sda
In which directory will new configuration files be found? (Provide the full directory path only without the filename)
Which of the following commands updates the linker cache of shared libraries?
- A . mkcache
- B . soconfig
- C . mkldconfig
- D . lddconfig
- E . ldconfig
CORRECT TEXT
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
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 of the following environment variables overrides or extends the list of directories holding shared libraries?
- A . LD_LOAD_PATH
- B . LD_LIB_PATH
- C . LD_LIBRARY_PATH
- D . LD_SHARE_PATH
- E . LD_RUN_PATH
CORRECT TEXT
To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.
Error in this question:Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not already installed?
The correct answer is B. upgrade, not C. dist-upgrade.
Error
in this question :
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
Hide Solution
Correct Answer: C
Are you sure this is the correct annswer?
i think it is B
When a Linux system using SysV init boots up, the kernel loads and then executes the program located at /sbin/init, so the correct answer is B. /sbin/init