Lpic 1 Linux Administrator Exam Questions & Answers

Practice 30 free Lpic 1 Linux Administrator exam questions with answers and community-discussed explanations. Each question has its own page where you can reveal the correct answer and debate it in the comments.

All 30 questions

  1. Q1 Which of the following SysV init runlevels should not be set as the default runlevel?
  2. Q2 What is the primary function of a ~/.forward file in a user's home directory?
  3. Q3 Where should systemd.timer files be placed to correctly configure timer units in a Linux system?
  4. Q4 When attempting to connect to host 192.168.6.52 via SSH, you receive a warning that the host identity has changed due to an…
  5. Q5 Which command is used to add a route for IPv6 packets destined for the network 1668:ae5:1::/64 using the gateway 1668:ae5:1::5?
  6. Q6 Which of the following commands can be used to monitor processes that have active network connections?
  7. Q7 Which of the following are valid methods to add a new repository to a Red Hat-based system using the yum package manager?
  8. Q8 What is the purpose of the -v option when used with the grep command?
  9. Q9 What is the standard home directory for the root user in a Linux system?
  10. Q10 What is the full path of the file that describes the filesystems mounted at boot time?
  11. Q11 Given a gzip-compressed tar archive named texts.tgz that contains the files a.txt and b.txt, which of the following files will be present…
  12. Q12 In the Vim text editor, which of the following modes can be used to interact with and edit text files?
  13. Q13 After creating a Linux swap partition on /dev/sdb3, which sequence of commands should be executed to activate the swap space?
  14. Q14 In the vi editor, which command should be used to save the current file with the name filea.txt before exiting?
  15. Q15 Which configuration in /etc/syslog.conf correctly logs all mail-related events to /var/log/maillog and sends all critical events to the remote server logger.example.com?
  16. Q16 What does the command echo $? output in a shell?
  17. Q17 You want to add user carol to the group john while preserving her memberships in other groups. You attempt this with the…
  18. Q18 Which of the following statements accurately distinguishes between GRUB Legacy and GRUB 2?
  19. Q19 What is the effect of executing the command groupmod -n admin admins in Linux?
  20. Q20 What happens when the command ls > files is executed and the file named files does not already exist?
  21. Q21 What is the behavior of symbolic (soft) links in a Linux filesystem?
  22. Q22 Colin wishes to securely send a file to Sarah so that only she can read it. Which key should Colin use to…
  23. Q23 Which of the following statements accurately describes the behavior of the command wc -c 1> file1 2> file2?
  24. Q24 What effect does the command chage -M 10 tom have on the user account 'tom'?
  25. Q25 In a Bash shell, which command executes the instructions from the file /usr/local/bin/runme.sh directly in the current shell, without starting a subshell?
  26. Q26 How does the ssh-agent utility interface with the ssh service?
  27. Q27 Which command is used to add an existing user to a group named devs?
  28. Q28 When executing the command su - user, what type of shell is initiated for the specified user?
  29. Q29 Which two of the following files are typically found in the /boot/ file system?
  30. Q30 Sarah, a junior system administrator, is tasked with managing file permissions on a shared Linux server. She recently created a directory named…

More LPI certifications

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need