Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Administrative Tasks practice sets

LPIC-1 Administrative Tasks • Complete Question Bank

LPIC-1 Administrative Tasks — All Questions With Answers

Complete LPIC-1 Administrative Tasks question bank — all 0 questions with answers and detailed explanations.

71
Questions
Free
No signup
Certifications/LPIC-1/Practice Test/Administrative Tasks/All Questions
Question 1hardmultiple choice
Read the full network assurance explanation →

A system administrator wants to ensure that the syslog service starts automatically on boot and is running immediately without a reboot. Which command sequence should be used?

Question 2easymultiple choice
Read the full Administrative Tasks explanation →

A user reports that a cron job is not executing. The cron job is defined in /etc/crontab. The administrator checks the system logs and finds no errors. Which command should the administrator use to verify that the cron daemon is running?

Question 3mediummultiple choice
Read the full Administrative Tasks explanation →

A system administrator wants to schedule a script to run every Monday at 3:00 AM, but only if the system clock is set to local time (not UTC). Which crontab entry should be used?

Question 4hardmultiple choice
Read the full Administrative Tasks explanation →

A server has a backup script that runs daily at midnight. The system administrator notices that the script sometimes fails because the filesystem is mounted read-only. Which approach is the best practice to ensure the script runs only when the filesystem is writable?

Question 5easymultiple choice
Read the full Administrative Tasks explanation →

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?

Question 6hardmultiple choice
Read the full Administrative Tasks explanation →

A Linux system fails to boot with the error 'Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)'. Which of the following is the most likely cause?

Question 7mediummultiple choice
Read the full Administrative Tasks explanation →

An administrator wants to prevent a specific user, 'john', from being able to schedule cron jobs. Which file should the administrator modify?

Question 8mediummulti select
Read the full Administrative Tasks explanation →

Which TWO commands can be used to display the current runlevel of a system?

Question 9hardmulti select
Read the full Administrative Tasks explanation →

Which THREE of the following statements are true about the /etc/shadow file?

Question 10mediummultiple choice
Read the full Administrative Tasks explanation →

Based on the exhibit, which of the following is true about the cleanup.sh job?

Exhibit

Refer to the exhibit.

$ crontab -l
SHELL=/bin/bash
PATH=/usr/local/bin:/usr/bin:/bin
MAILTO=admin@example.com
0 2 * * * /usr/local/bin/backup.sh
30 4 * * 1-5 /usr/local/bin/cleanup.sh
0 0 1 * * /usr/local/bin/monthly_report.sh
Question 11hardmultiple choice
Read the full network assurance explanation →

Based on the exhibit, what will happen if the syslog service is stopped?

Exhibit

Refer to the exhibit.

$ systemctl status apache2
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2023-08-14 10:30:45 UTC; 2h 15min ago
     Docs: man:apache2(8)
 Main PID: 1234 (apache2)
    Tasks: 55 (limit: 4915)
   Memory: 24.5M
   CGroup: /system.slice/apache2.service
           ├─1234 /usr/sbin/apache2 -k start
           ├─1235 /usr/sbin/apache2 -k start
           └─1236 /usr/sbin/apache2 -k start

$ systemctl list-dependencies apache2
apache2.service
● └─network.target
● └─syslog.service
Question 12hardmultiple choice
Read the full Administrative Tasks explanation →

A medium-sized company runs a web application on a Linux server. The server uses systemd and has the following configuration: the web application service (webapp.service) is configured to start after network.target and requires a database service (database.service) to be running. The database service has a Restart=on-failure directive. Recently, the server experienced a power outage. Upon reboot, the system administrator notices that the web application fails to start because the database service is in a failed state. The administrator checks the status of database.service and sees 'inactive (dead)' with no recent attempts to restart. The journal shows that the database service failed to start because a required filesystem (mounted at /var/lib/database) was not mounted when the database service tried to start. The filesystem is listed in /etc/fstab with the nofail option. The administrator wants to ensure that in future reboots, the database service starts successfully and the web application comes up without manual intervention. Which of the following is the best course of action?

Question 13easymulti select
Read the full Administrative Tasks explanation →

Which TWO commands can be used to display the current runlevel of a SysV init system?

Question 14hardmultiple choice
Read the full Administrative Tasks explanation →

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?

Exhibit

Refer to the exhibit.

# cat /etc/ntp.conf
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
# driftfile /var/lib/ntp/ntp.drift
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*0.pool.ntp.org   .POOL.          16 p    -   64    0    0.000   0.000   0.000
 1.pool.ntp.org   .POOL.          16 p    -   64    0    0.000   0.000   0.000
Question 15mediummultiple choice
Read the full NAT/PAT explanation →

A Linux administrator is responsible for a server that runs a critical database application. The server uses SysV init and the current runlevel is 3. The administrator needs to schedule a maintenance window for next Sunday at 2:00 AM to apply security patches that require a reboot. The administrator wants to ensure that after the reboot, the system returns to runlevel 3 and the database service (db_service) starts automatically. The administrator also wants to log the maintenance actions to /var/log/maintenance.log. Which of the following is the BEST approach to accomplish these tasks?

Question 16mediumdrag order
Read the full Administrative Tasks explanation →

Arrange the steps to troubleshoot a service that fails to start.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 17mediummatching
Read the full Administrative Tasks explanation →

Match each Linux signal to its default action.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Terminate process immediately (cannot be caught)

Terminate process gracefully

Hangup; often reloads configuration

Interrupt from keyboard (Ctrl+C)

Stop process (cannot be caught or ignored)

Question 18easymultiple choice
Read the full Administrative Tasks explanation →

An administrator needs to check the system's load averages without displaying any process information. Which command should be used?

Question 19easymultiple choice
Read the full Administrative Tasks explanation →

An administrator adds the line 'DenyUsers john' to /etc/ssh/sshd_config and restarts the SSH service. What is the effect?

Question 20easymultiple choice
Read the full Administrative Tasks explanation →

Which command is used to view the last few lines of a log file and simultaneously follow new entries as they are written?

Question 21mediummultiple choice
Read the full Administrative Tasks explanation →

An administrator wants to change the owner of all files in /data to user 'web' without changing the group. Which command should be used?

Question 22mediummultiple choice
Read the full Administrative Tasks explanation →

A system administrator needs to ensure a custom script runs every time the system boots. Where should the script be placed for execution during the boot process on a standard Linux system?

Question 23mediummultiple choice
Read the full Administrative Tasks explanation →

An administrator notices the system clock is drifting. Which command can be used to enable automatic time synchronization using NTP on a system with systemd?

Question 24hardmultiple choice
Read the full Administrative Tasks explanation →

In the /etc/shadow file, a user's password hash begins with '$6$'. What hash algorithm does this prefix indicate?

Question 25hardmultiple choice
Read the full Administrative Tasks explanation →

A systemd service unit file must be configured to automatically restart the service if it exits unexpectedly. Which directive should be used?

Question 26hardmultiple choice
Read the full Administrative Tasks explanation →

An administrator needs to display the current and previous runlevels of a Linux system. Which command provides this information?

Question 27easymulti select
Read the full Administrative Tasks explanation →

Which two commands can be used to display the amount of free and used memory in the system?

Question 28mediummulti select
Read the full Administrative Tasks explanation →

Which three actions can an administrator take to securely erase data on a disk before decommissioning?

Question 29hardmulti select
Read the full Administrative Tasks explanation →

Which three commands are commonly used to display information about running processes?

Question 30easymultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. What is the file permission in numeric mode for /etc/crontab?

Network Topology
-rw-rrRefer to the exhibit.$ ls -la /etc/crontab
Question 31mediummultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. During the next boot, which filesystem will be checked first by fsck?

Exhibit

Refer to the exhibit.

$ cat /etc/fstab
/dev/sda1  /  ext4  defaults  1  1
/dev/sda2  /home  ext4  defaults  1  2
/dev/sda3  swap  swap  defaults  0  0
Question 32hardmultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. The administrator restarts the sshd service. What is the new main PID after restart?

Exhibit

Refer to the exhibit.

$ systemctl status sshd.service
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2023-10-02 10:30:00 UTC; 2h 30min ago
     Docs: man:sshd(8)
   Process: 1234 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=0/SUCCESS)
   Main PID: 1235 (sshd)
   Tasks: 1 (limit: 512)
   CGroup: /system.slice/sshd.service
           └─1235 /usr/sbin/sshd -D
Question 33easymultiple choice
Read the full Administrative Tasks explanation →

An administrator wants to run a shell script every day at 2:00 AM. Which command should be used to edit the user's personal crontab?

Question 34mediummultiple choice
Read the full network assurance explanation →

A system is not logging messages to /var/log/syslog. Which command should an administrator use first to diagnose the issue?

Question 35hardmultiple choice
Read the full Administrative Tasks explanation →

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?

Question 36easymultiple choice
Read the full Administrative Tasks explanation →

To enable disk quotas for user quotas on a filesystem, which line should be added to /etc/fstab's mount options?

Question 37mediummultiple choice
Read the full Administrative Tasks explanation →

A zombie process appears in the process list. The parent process has PID 1234. Which command will most likely remove the zombie?

Question 38hardmultiple choice
Read the full Administrative Tasks explanation →

A user can successfully ping a web server but cannot access the website via a browser. Which is the most likely cause?

Question 39easymultiple choice
Read the full Administrative Tasks explanation →

Which command schedules a job to run once at 2:30 PM today?

Question 40mediummultiple choice
Read the full Administrative Tasks explanation →

Which configuration file is the primary configuration file for logrotate?

Question 41hardmultiple choice
Read the full Administrative Tasks explanation →

After creating a new user with 'useradd john', the user 'john' cannot log in. What is the most likely cause?

Question 42mediummulti select
Read the full Administrative Tasks explanation →

An administrator needs to restart the SSH service after a configuration change. Which TWO commands can accomplish this on a systemd-based system?

Question 43mediummulti select
Read the full Administrative Tasks explanation →

Which THREE directories are commonly used for mounting removable media in Linux?

Question 44hardmulti select
Read the full NAT/PAT explanation →

Which THREE signals are commonly used to terminate a process with the kill command?

Question 45hardmultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. What is the purpose of the 'test -x /usr/sbin/anacron' command in the cron entries?

Exhibit

# /etc/crontab: system-wide crontab
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
Question 46mediummultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. What can be concluded about the cron daemon based on this systemctl output?

Exhibit

● cron.service - Regular background program processing daemon
   Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2023-10-23 10:15:00 UTC; 2h 30min ago
     Docs: man:cron(8)
 Main PID: 1234 (cron)
    Tasks: 1 (limit: 4915)
   Memory: 1.2M
   CGroup: /system.slice/cron.service
           └─1234 /usr/sbin/cron -f
Question 47easymultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. This line is from /etc/passwd. What does the third field (1001) represent?

Exhibit

jdoe:x:1001:1001:John Doe:/home/jdoe:/bin/bash
Question 48easymultiple choice
Read the full Administrative Tasks explanation →

A system administrator needs to schedule a recurring maintenance task that runs every Monday at 3 AM. Which crontab entry is correct?

Question 49easymultiple choice
Read the full Administrative Tasks explanation →

Which command adds a new group named 'developers' to the system?

Question 50easymultiple choice
Read the full Administrative Tasks explanation →

A user reports that a file cannot be saved due to 'No space left on device'. Which command should the administrator use to verify disk usage?

Question 51easymulti select
Read the full Administrative Tasks explanation →

Which TWO commands can be used to view all running processes on a Linux system? (Choose TWO.)

Question 52easymultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. What is the current state of the SSH service?

Exhibit

● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2023-10-02 10:30:00 UTC; 2h 30min ago
     Docs: man:sshd(8)
           man:sshd_config(5)
   Main PID: 1234 (sshd)
   Tasks: 1 (limit: 2345)
   Memory: 5.6M
   CGroup: /system.slice/sshd.service
           └─1234 /usr/sbin/sshd -D
Question 53mediummultiple choice
Read the full Administrative Tasks explanation →

An administrator wants to allow user 'john' to run all commands as root without a password. Which sudoers entry accomplishes this?

Question 54mediummultiple choice
Read the full Administrative Tasks explanation →

Which command displays all error messages from the systemd journal since the last boot?

Question 55mediummultiple choice
Read the full Administrative Tasks explanation →

An administrator needs to extend a logical volume by 10GB. The volume group has available physical extents. Which command should be used?

Question 56mediummulti select
Read the full Administrative Tasks explanation →

Which THREE commands are used to manage systemd services? (Choose THREE.)

Question 57mediummultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. The root partition is at 80% usage. Which action would reduce usage the most?

Exhibit

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        100G   80G   20G  80% /
/dev/sda2        200G  100G  100G  50% /home
tmpfs            16G  1.2G   15G   8% /dev/shm
Question 58hardmultiple choice
Read the full Administrative Tasks explanation →

An administrator ran 'dnf update' and a critical application broke. The administrator wants to undo the last transaction and return to previous state. Which command should be used?

Question 59hardmultiple choice
Read the full Administrative Tasks explanation →

An administrator wants to enforce a password history that prevents using the last 5 passwords. Which directive should be added to /etc/pam.d/system-auth?

Question 60hardmultiple choice
Read the full Administrative Tasks explanation →

To prevent the 'nouveau' kernel module from loading at boot, which configuration file should be edited?

Question 61hardmulti select
Read the full Administrative Tasks explanation →

Which THREE steps are necessary to configure a static IP address using ifcfg files on a RHEL-based system? (Choose THREE.)

Question 62hardmultiple choice
Read the full Administrative Tasks explanation →

Refer to the exhibit. The job runs every hour but the administrator notices that it does not execute on Sundays. Which cron syntax element is responsible?

Exhibit

0 * * * 1-6 /script.sh
Question 63hardmultiple choice
Read the full Administrative Tasks explanation →

A small business runs a Linux server hosting a web application and a PostgreSQL database. The server uses LVM for storage, with a single volume group vg_data containing two logical volumes: lv_web (50GB) and lv_db (100GB). The root filesystem is on a separate disk. The administrator receives alerts that the database volume is at 95% capacity. The server has additional unused space from a recently added disk that was added to the volume group as an additional physical volume, but the space has not been allocated. The administrator runs 'vgs' which shows VG vg_data with total size 500GB, allocated 150GB, and free 350GB. The administrator wants to increase the size of lv_db by 50GB. Which course of action should the administrator take?

Question 64easymultiple choice
Read the full Administrative Tasks explanation →

A user reports that their cron jobs are not executing. The user has a valid crontab file and can execute the commands manually. Which of the following is the most likely cause of this issue?

Question 65mediummultiple choice
Read the full Administrative Tasks explanation →

A system administrator wants to configure log rotation to compress log files daily and keep 30 days of logs. Which of the following configurations achieves this goal?

Question 66hardmultiple choice
Read the full Administrative Tasks explanation →

A system administrator needs to perform incremental backups of a large directory /data. The backup strategy requires a full backup every Sunday and incremental backups on weekdays. Which tar command satisfies this requirement using the --listed-incremental option?

Question 67mediummulti select
Read the full Administrative Tasks explanation →

Which TWO commands can be used to schedule a one-time task at a specific time in the future? (Choose TWO.)

Question 68hardmulti select
Read the full Administrative Tasks explanation →

Which THREE files are used by CUPS to manage printer queues? (Choose THREE.)

Question 69easymultiple choice
Review the full subnetting walkthrough →

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 reports that printing does not work. The administrator checks the server: cupsd is running, the printer is configured with an IPP URI pointing to the printer's IP address, and the printer is idle. The administrator can ping the printer from the server. The administrator checks the CUPS error log and sees the following line multiple times: 'E [04/Oct/2024:10:15:22 -0400] [Client 5] client-error-not-authorized'. Which of the following actions should the administrator take to resolve the issue?

Question 70mediummultiple choice
Read the full network assurance explanation →

An administrator notices that /var/log/syslog is 3 GB in size, despite logrotate being configured to rotate logs weekly and keep 4 weeks. The logrotate configuration file /etc/logrotate.d/syslog contains: /var/log/syslog { weekly rotate 4 compress missingok notifempty } The administrator checks that logrotate is scheduled via cron and sees that the cron job exists. However, the administrator suspects that logrotate might not have been running. Which of the following commands should the administrator run first to force log rotation and diagnose the issue?

Question 71hardmultiple choice
Read the full NAT/PAT explanation →

A company security policy requires that user accounts be disabled after 90 days of inactivity. The system administrator locks user accounts using 'usermod -L username'. However, users with SSH key authentication can still log in. The administrator has verified that the locked flag is set in /etc/shadow. Which of the following is the most likely explanation?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

LPIC-1 Practice Test 1 — 10 Questions→LPIC-1 Practice Test 2 — 10 Questions→LPIC-1 Practice Test 3 — 10 Questions→LPIC-1 Practice Test 4 — 10 Questions→LPIC-1 Practice Test 5 — 10 Questions→LPIC-1 Practice Exam 1 — 20 Questions→LPIC-1 Practice Exam 2 — 20 Questions→LPIC-1 Practice Exam 3 — 20 Questions→LPIC-1 Practice Exam 4 — 20 Questions→Free LPIC-1 Practice Test 1 — 30 Questions→Free LPIC-1 Practice Test 2 — 30 Questions→Free LPIC-1 Practice Test 3 — 30 Questions→LPIC-1 Practice Questions 1 — 50 Questions→LPIC-1 Practice Questions 2 — 50 Questions→LPIC-1 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

GNU and Unix CommandsDevices, Filesystems and FHSLinux Installation and Package ManagementEssential System Services and NetworkingAdministrative TasksShells, Scripting and Data ManagementSystem Architecture

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Administrative Tasks setsAll Administrative Tasks questionsLPIC-1 Practice Hub