Version 5.0

LPIC-1 102-500 Exam

Study another certification
Progress0%
Recent accuracy0%
Review due0questions
Answered0 / 295questions

Practice by topic

105 Shells and shell scriptingShell customization and introductory shell scripts.40questionsHigh
106 User interfaces and desktopsX11, graphical desktops, and accessibility.21questionsMedium
107 Administrative tasksAccounts, job scheduling, and localization.58questionsHigh
108 Essential system servicesTime, logging, MTA, and printing.54questionsHigh
109 Networking fundamentalsInternet protocols, persistent configuration, troubleshooting, and DNS.72questionsHigh
110 SecuritySecurity administration, host protection, and encryption.50questionsHigh

Learning modes

Mock examPractice with exam-style timing and length

Browse questions by objective

Choose a topic to read an individual question, its hints, and explanations. No session setup is required.

105.1 Shell environment customization18 questions
  1. Choosing the user startup file for a login shell
  2. Configuring an interactive non-login Bash
  3. Choosing a system-wide login setting
  4. Configuring interactive Bash for all users
  5. Applying settings to the current shell
  6. Passing a variable to child processes
  7. Removing a shell variable
  8. Changing the environment for one command
  9. Appending a directory while preserving PATH
  10. Finding all command-resolution candidates
  11. Defining an alias for a long command
  12. Removing one defined alias
  13. Defining a Bash function with arguments
  14. Exporting a function to child Bash
  15. Listing current shell definitions
  16. Managing the home template for new users
  17. Configuring logout processing
  18. Sharing interactive settings with login Bash
105.2 Shell scripting22 questions
  1. Selecting Bash as a script interpreter
  2. Adding execute permission for the owner
  3. Referencing a script's first argument
  4. Counting received arguments
  5. Passing all arguments without losing boundaries
  6. Assigning command output to a variable
  7. Reading the previous command's exit status
  8. Branching on a command result
  9. Testing for a regular file
  10. Comparing a string with a required value
  11. Testing whether an integer exceeds a threshold
  12. Processing every argument in order
  13. Reading input lines without alteration
  14. Branching on several string patterns
  15. Removing processed positional arguments
  16. Parsing short options
  17. Running the next step only after success
  18. Running cleanup only after failure
  19. Exiting explicitly on a usage error
  20. Replacing the script process with another command
  21. Notifying an administrator only after a failed check
  22. Installing an administration script with safe permissions
106.1 Desktop environment10 questions
  1. Distinguishing X11 clients and servers
  2. Selecting a local X display and screen
  3. Pointing an X client at a remote X server
  4. Allowing an X server connection from one host
  5. Listing X11 authentication cookies
  6. Selecting the traditional Xorg main configuration file
  7. Overriding an Xorg keyboard layout
  8. Checking user X session errors
  9. Distinguishing a display manager and window manager
  10. Comparing Wayland with X11
106.2 Desktop environment6 questions
  1. Identifying the GNOME desktop
  2. Identifying KDE Plasma
  3. Choosing a lightweight desktop
  4. Starting a remote X login session
  5. Sharing a remote framebuffer
  6. Choosing virtual-machine remote display
106.3 Desktop environment5 questions
  1. Reading screen content aloud
  2. Improving text and background visibility
  3. Entering modifier-key combinations sequentially
  4. Suppressing unintended repeated key input
  5. Controlling the pointer from the keyboard
107.1 User and group management24 questions
  1. Reading the passwd record fields
  2. Identifying the shadow password field
  3. Reading supplementary group members
  4. Obtaining user information through NSS
  5. Adding a user with a home directory
  6. Creating a home at a specified path
  7. Selecting a new user's login shell
  8. Assigning a UID to a new user
  9. Assigning an existing group as primary
  10. Adding supplementary groups during creation
  11. Appending a supplementary group
  12. Distributing initial files to new homes
  13. Locking password authentication
  14. Unlocking a password
  15. Moving an existing home directory
  16. Deleting a user and home
  17. Creating a group with a specified GID
  18. Renaming an existing group
  19. Removing an unused group
  20. Listing password aging information
  21. Setting the maximum password age
  22. Setting an account expiration date
  23. Creating a non-interactive system account
  24. Checking password status without changing it
107.2 Job scheduling20 questions
  1. Reading user crontab time fields
  2. Reading the execution user in system crontab
  3. Running a job every 15 minutes
  4. Running a job on weekday mornings
  5. Editing the current user's crontab
  6. Placing a package cron job
  7. Determining cron access permission
  8. Placing a daily administration script
  9. Defining PATH for cron
  10. Listing the current user's cron entries
  11. Scheduling a one-time job
  12. Listing queued at jobs
  13. Cancelling one at job
  14. Determining at access permission
  15. Running a systemd timer daily
  16. Catching up on missed calendar runs
  17. Selecting a service for a timer
  18. Listing systemd timer schedules
  19. Enabling and starting a timer
  20. Creating a one-time transient timer
107.3 Localization and time14 questions
  1. Checking current locale settings
  2. Determining locale-variable precedence
  3. Selecting string collation order
  4. Reducing locale dependence in a script
  5. Checking the current character encoding
  6. Converting a text file to UTF-8
  7. Distinguishing Unicode and UTF-8
  8. Understanding ASCII and UTF-8 compatibility
  9. Running one command in UTC
  10. Locating timezone data
  11. Identifying the current system timezone data
  12. Storing a timezone identifier as text
  13. Changing the system timezone
  14. Choosing a timezone identifier
108.1 Localization and time14 questions
  1. Displaying the current time in a format
  2. Displaying the current time as UTC
  3. Checking overall system time status
  4. Setting the system clock
  5. Reading the hardware clock
  6. Saving system time to a UTC RTC
  7. Setting system time from the RTC
  8. Identifying the ntpd configuration file
  9. Identifying the chronyd configuration file
  10. Configuring an NTP pool
  11. Checking ntpd peer status
  12. Checking chronyd synchronization sources
  13. Checking chrony tracking status
  14. Querying an NTP server without changing the clock
108.2 System logging20 questions
  1. Identifying the rsyslog main configuration
  2. Splitting rsyslog configuration into drop-ins
  3. Logging authentication messages
  4. Reading syslog priority thresholds
  5. Forwarding all messages over TCP
  6. Enabling rsyslog UDP reception
  7. Sending a message with facility and priority
  8. Selecting the kernel log facility
  9. Excluding facilities from a general log
  10. Checking rsyslog configuration before restart
  11. Showing the current boot's journal
  12. Showing a service's journal
  13. Showing error-and-more-severe journal entries
  14. Showing journal entries after a time
  15. Keeping the journal across reboots
  16. Limiting persistent journal size
  17. Reading a journal from a mounted rescue system
  18. Sending command output to the journal
  19. Keeping four compressed weekly log generations
  20. Rotating a log without reopening the process
108.3 Mail Transfer Agent basics12 questions
  1. Identifying the role of an MTA
  2. Choosing common Linux MTAs
  3. Defining a local alias
  4. Rebuilding an alias database
  5. Expanding one alias to multiple recipients
  6. Configuring per-user mail forwarding
  7. Writing a forwarding address
  8. Creating a message with a subject
  9. Listing the mail delivery queue
  10. Selecting the sendmail-compatible mailq option
  11. Reading recipients from message headers
  12. Choosing the sendmail option equivalent to newaliases
108.4 Printer and print management8 questions
  1. Selecting a print destination
  2. Displaying a printer queue
  3. Cancelling one queued print job
  4. Checking printers and the default
  5. Setting a user's default printer
  6. Deleting a printer queue
  7. Identifying the CUPS remote-printing protocol
  8. Choosing the CUPS scheduler configuration
109.1 Internet protocol fundamentals20 questions
  1. Calculating usable hosts in a /24 subnet
  2. Selecting the netmask for /27
  3. Calculating an IPv4 network address
  4. Identifying a private IPv4 address
  5. Selecting the IPv6 loopback address
  6. Identifying the IPv6 link-local prefix
  7. Choosing a TCP characteristic
  8. Identifying the protocol used by ping
  9. Selecting DNS transport and port
  10. Matching common services and ports
  11. Matching FTP control and data ports
  12. Identifying the Telnet port
  13. Distinguishing SMTP ports
  14. Matching mail-retrieval protocols
  15. Matching TLS mail-retrieval ports
  16. Selecting NTP transport and port
  17. Identifying NetBIOS Session Service
  18. Matching LDAP and LDAPS ports
  19. Matching SNMP requests and traps
  20. Selecting the classic syslog port
109.2 Persistent network configuration20 questions
  1. Listing NetworkManager device status
  2. Listing saved connection profiles
  3. Activating a connection profile
  4. Stopping an active connection
  5. Configuring a static IPv4 profile
  6. Enabling automatic IPv4 configuration
  7. Appending a DNS server to a profile
  8. Ignoring DNS supplied by DHCP
  9. Setting a static hostname
  10. Identifying the persistent hostname file
  11. Writing a hosts-file mapping
  12. Setting host-name lookup order
  13. Selecting a DNS resolver server
  14. Setting resolver search domains
  15. Enabling DHCP with networkd
  16. Configuring static IPv4 with networkd
  17. Placing an administrator networkd file
  18. Starting an interface with the legacy method
  19. Reloading connection profiles from disk
  20. Enabling automatic connection for a profile
109.3 Network troubleshooting22 questions
  1. Listing network interface link state
  2. Checking addresses on a specific interface
  3. Displaying the kernel routing table
  4. Bringing an interface link up
  5. Adding a runtime IPv4 address
  6. Adding a runtime default route
  7. Listing listening TCP sockets numerically
  8. Listing listening UDP sockets numerically
  9. Sending a fixed number of ICMP echo requests
  10. Finding the hops to a destination
  11. Checking path MTU
  12. Testing a remote TCP port
  13. Listing all interfaces with a legacy tool
  14. Displaying a legacy routing table numerically
  15. Checking a TCP listener with a legacy tool
  16. Sending a fixed number of IPv6 echo requests
  17. Tracing an IPv6 path
  18. Checking a neighbor cache by interface
  19. Checking TCP and UDP listeners with processes
  20. Listening on a local TCP port
  21. Displaying configured addresses briefly
  22. Troubleshooting from the local link to a remote service
109.4 DNS client troubleshooting10 questions
  1. Querying an A record with dig
  2. Querying a specific DNS server directly
  3. Displaying only the answer value with dig
  4. Querying an MX record with host
  5. Resolving a hostname through NSS
  6. Investigating DNS success but NSS failure
  7. Inspecting systemd-resolved DNS state
  8. Querying a name through systemd-resolved
  9. Distinguishing a local override from a DNS result
  10. Tracing DNS delegation from the root
110.1 Security16 questions
  1. Auditing SUID files
  2. Auditing SGID executables
  3. Locking password authentication
  4. Displaying password aging information
  5. Setting password expiration and warning days
  6. Scanning local TCP ports
  7. Auditing listening ports and processes
  8. Identifying a process using a TCP port
  9. Inspecting the process behind a TCP listener
  10. Writing login and process limits
  11. Displaying the process limit for a shell
  12. Setting a soft virtual-memory limit
  13. Checking logged-in users and current commands
  14. Checking login and logout history
  15. Editing sudoers safely
  16. Listing permitted sudo commands
110.2 Security14 questions
  1. Identifying a shadow-password setup
  2. Protecting the password-hash file
  3. Temporarily stopping new logins for ordinary users
  4. Stopping and disabling an unused service
  5. Preventing manual service starts
  6. Listing socket-activated listeners
  7. Preventing socket-triggered service starts
  8. Disabling an xinetd service
  9. Loading xinetd service files
  10. Restricting xinetd connection sources
  11. Determining the TCP Wrappers evaluation order
  12. Allowing an SSH source network
  13. Configuring a TCP Wrappers default deny
  14. Checking whether TCP Wrappers applies
110.3 Secure remote access20 questions
  1. Connecting as a specified SSH user
  2. Changing the SSH destination port
  3. Defining an SSH client alias
  4. Removing an obsolete known_hosts entry
  5. Identifying an SSH server host key
  6. Generating an Ed25519 user key pair
  7. Adding a client public key to the login allowlist
  8. Restricting SSH private-key permissions
  9. Setting ssh-agent variables in the current shell
  10. Registering a private key with ssh-agent
  11. Listing ssh-agent identities
  12. Creating local port forwarding
  13. Creating remote port forwarding
  14. Enabling untrusted X11 forwarding
  15. Generating a GnuPG key pair interactively
  16. Creating an OpenPGP revocation certificate
  17. Encrypting a file with a recipient's public key
  18. Decrypting an OpenPGP file
  19. Creating a detached signature
  20. Verifying a detached signature