Sample questions
Linux Professional Institute Certification Level 1 LPIC-1 practice questions
Which TWO of the following are valid methods to reduce boot time on a Linux system? (Select exactly 2.)
A small business uses a Linux server running CUPS to share a network printer. For several months, all employees could print successfully. Today, an employee in a different subnet r…
A user 'jdoe' already exists. The administrator needs to add 'jdoe' to the 'staff' and 'admin' groups without changing other group memberships. Which command accomplishes this?
Refer to the exhibit. The root filesystem is nearly full. The administrator needs to increase its size. Which steps should be performed?
Refer to the exhibit. On boot, which filesystem will be checked first by fsck?
A system administrator needs to schedule a recurring maintenance task that runs every Monday at 3 AM. Which crontab entry is correct?
Arrange the steps to configure a static IP address on a Linux system using the command line.
An administrator needs to find all files in the /var/log directory that have been modified in the last 24 hours. Which command should be used?
A developer needs to ensure a bash script exits immediately if any command fails, and also prints each command before executing it. Which set of shell options should be used at the…
Which TWO tools can be used to query DNS records? (Choose two.)
After a reboot, a server fails to obtain an IP address on its sole ethernet interface. The administrator checks /etc/netplan/01-netcfg.yaml and finds the configuration looks correc…
Essential System Services and NetworkingmediumSee the answer and why each option is right or wrong →A script uses the command substitution: files=$(ls). Which statement about the resulting value of files is true?
Refer to the exhibit. An administrator runs 'ntpq -p' and sees the output shown. What is the most likely cause of the '16' stratum and '0.000' delay/offset?
A database server on a Linux system is configured to listen on TCP port 3306. The administrator wants to restrict access to the database server to only the local network (192.168.1…
An organization's DNS server (BIND) is authoritatively serving the example.com zone. The administrator needs to add a mail exchange record for mail.example.com with priority 10. Wh…
Essential System Services and NetworkingmediumSee the answer and why each option is right or wrong →Refer to the exhibit. A user runs 'python --version' and gets 'Python 3.9.1'. Which command would run Python 2 instead?
A server in a corporate network uses systemd-resolved for DNS. Internal hostnames (e.g., server.example.lan) fail to resolve, but external names (e.g., google.com) work. The /etc/r…
A sysadmin wants to prevent an APT package from being upgraded automatically but still allow it to be upgraded manually if needed. Which configuration method best achieves this?
Order the steps to create and apply a file system permission using ACLs.
When troubleshooting a problem with a Debian package installation, an administrator wants to see which version of a package would be installed from the configured repositories. Whi…
After creating a new user with 'useradd john', the user 'john' cannot log in. What is the most likely cause?
Refer to the exhibit. A system administrator finds this line in /etc/rsyslog.conf. What is the effect of this configuration?
On a Fedora system, which command is used to update all installed packages to their latest versions?
Which THREE of the following are valid symbolic mode expressions for the chmod command?