Linux LPIC-2 Practice Exam

Back to exams page

Free LPIC-2 practice exam. Take the quiz to prepare for the LPIC-2 exam.

Take the LPIC-2 course here.

1. DNS zone transfers are done using record .

Question 1 of 50

2. Reverse DNS resolution is done using __________ records.

Question 2 of 50

3. DNS Aliases can be created using the __________ record.

Question 3 of 50

4. There are 13 central DNS servers in the world. These DNS servers are called servers.

Question 4 of 50

5. A DNS server responsible for a specific DNS domain is called SOA, which stands for:

Question 5 of 50

6. Private Class A network address range:

Question 6 of 50

7. Private Class B address range:

Question 7 of 50

8. NAT stands for

Question 8 of 50

9. This is NOT a netfilter table:

Question 9 of 50

10. This is NOT an iptables target:

Question 10 of 50

11. SSH stands for

Question 11 of 50

12. The SSH protocol uses port .

Question 12 of 50

13. For security reasons, SSH servers should be configured to only accept regular users login (non-root). This can be done by using the ______________________ directive in the sshd_config file.

Question 13 of 50

14. _______________ is an example of an IDS available for Linux.

Question 14 of 50

15. To enable passwordless logon in a SSH server, you need to add users' public keys to the authorized_keys file.

Question 15 of 50

16. Nessus is an excellent vulnerability scanner. However it's proprietary. An open source alternative is:

Question 16 of 50

17. lists running processes and updates such list automatically every 3 seconds (default time).

Question 17 of 50

18. __________ deactivates a swap partition.

Question 18 of 50

19. ___________ lists network processes/sockets/connections.

Question 19 of 50

20. Console-based tool that uses a graphical interface to show the host's network connections:

Question 20 of 50

21. console tool to list processes and their specific information such as PID, PPID, Status, RAM consumption.

Question 21 of 50

22. 'pstree' is similar to 'ps', but it lists the processes as a tree (hierarchical structure)

Question 22 of 50

23. shows how long the system has been running.

Question 23 of 50

24. The htop command shows I/O usage information output by the Linux kernel and displays a table of current I/O usage by processes or threads on the system.

Question 24 of 50

25. The ss command is used to show socket statistics.

Question 25 of 50

26. The ___________ command displays information about the users currently logged on to the machine, their processes and the same statistics as provided by the uptime command.

Question 26 of 50

27. The free command displays data about RAM and swap in bytes. To display such data in the most user-friendly unit (K, M, G) you can use the _____________ option.

Question 27 of 50

28. These tools can be used to show block device I/O statistics, except for:

Question 28 of 50

29. 'ss' can be used to list all open files and their corresponding processes.

Question 29 of 50

30. the nmap's _____________ option can be used to specify the ports you want to scan.

Question 30 of 50

31. The Linux kernel is stored in a file named:

Question 31 of 50

32. A .bz2 file has been (most likely) compressed using which compression algorithm?

Question 32 of 50

33. File example.tar is a compressed tarball.

Question 33 of 50

34. Kernel modules can be loaded into the kernel to add functionality when needed.

Question 34 of 50

35. Kernel module files have .ko extension.

Question 35 of 50

36. Kernel modules are stored in the /modules/ directory

Question 36 of 50

37. To compile a kernel, you must extract its sources in which directory?

Question 37 of 50

38. To create the initial ramdisk file, you can use the command.

Question 38 of 50

39. The following lines correspond to part of a configuration of which boot loader?

title=initrd test entry
root (hd0,0)
kernel /vmlinuz-2.6.28
initrd /initrd

Question 39 of 50

40. _____________ loads a dynamic module including its dependencies.

Question 40 of 50

41. The following output is compatible with the result of execution of the ___________ command.

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)

Question 41 of 50

42. With the dmesg command you can load dynamic modules into the kernel.

Question 42 of 50

43. is the parent of all processes.

Question 43 of 50

44. A Linux system is halted when it enters runlevel:

Question 44 of 50

45. A Linux system is rebooted when it enters runlevel:

Question 45 of 50

46. ______________ is the configuration file for the init process.

Question 46 of 50

47. In CentOS you can use use __________________ to control services status (enable, disable, stop, start, restart)

Question 47 of 50

48. FHS stands for:

Question 48 of 50

49. Differently from LILO, the GRUB boot loader does not need any additional commands to deploy configuration changes.

Question 49 of 50

50. ____________ checks/analyses the filesystem.

Question 50 of 50


40+ IT Certifications · One Membership

Stop Watching. Start Doing.

Unlimited IT certification training with videos, labs, PBQs, live Cisco racks and practice exams — everything you need to pass and actually know your stuff.

  • Video theory lessons
  • Follow-along labs
  • Performance-based questions
  • Practice exams
  • Live Cisco rack access
  • 40+ certs including CompTIA, Cisco, Linux, Microsoft, AWS, CEH
Join Now — From $29

Cancel anytime. No contracts. Instant access on signup.

content-filler