Linux Professional Institute LPIC-2 (201-450) Simulator #2
Simulator Summary
0 of 70 Questions completed
Questions:
Information
You have already completed the simulator before. Hence you can not start it again.
Simulator is loading…
You must sign in or sign up to start the simulator.
You must first complete the following:
Results
Results
0 of 70 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
-
Unfortunately, your results in the simulator were not up to the desired standards. 😔
However, take advantage of your unlimited access and continue to practice.
Remember, persistence and dedication will lead to mastery. 😎 -
Congratulations! 🎉
You have successfully passed the simulator and are now one step closer to achieving your certification.
We hope you will consider joining us again in your future certification journey.Wishing you the best of luck with the upcoming exam. Keep up the great work! 💪
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 70
1. Question
A system administrator has been noticing performance issues on a server and suspects that swapping might be the issue. They decide to use vmstat to monitor and gather statistics about the system’s virtual memory. Which column in the vmstat output specifically displays the amount of memory swapped in from the disk and swapped out to the disk per second?
CorrectIncorrect -
Question 2 of 70
2. Question
A system administrator is troubleshooting network connectivity on a server. They want to view the list of all active network connections, both incoming and outgoing. Which netstat command will allow them to view this information?
CorrectIncorrect -
Question 3 of 70
3. Question
A Linux system administrator is trying to troubleshoot a server that seems to be under a SYN flood attack. They want to use the ss tool to monitor SYN-RECV TCP states, which will help confirm the attack. Which of the following commands will provide the desired output?
CorrectIncorrect -
Question 4 of 70
4. Question
During peak times, the network becomes slow and the administrator suspects that a particular host might be generating a lot of traffic. To monitor traffic statistics by IP addresses using iptraf, which option should the administrator select from the main interactive menu?
CorrectIncorrect -
Question 5 of 70
5. Question
A system administrator wants to display the process tree of all processes on the system in a tree structure. Which of the following commands will achieve this?
CorrectIncorrect -
Question 6 of 70
6. Question
An administrator wants to display the information about currently logged in users and their activity but wants to hide the header. Which command will achieve this?
CorrectIncorrect -
Question 7 of 70
7. Question
A system administrator wants to launch the top command but wants it to only refresh every 10 seconds, rather than the default. Which command should the administrator use to achieve this?
CorrectIncorrect -
Question 8 of 70
8. Question
A system administrator, while monitoring resources, notices that a specific process is consuming an unusually high amount of memory. Using htop, the administrator wants to send a termination signal to that process directly. What action should the administrator take within htop?
CorrectIncorrect -
Question 9 of 70
9. Question
Sarah, a system administrator, wants to quickly determine how long the server has been running since the last restart. Which command should she use to obtain this information directly?
CorrectIncorrect -
Question 10 of 70
10. Question
Laura, a system administrator, has been tasked with gathering historical data on CPU usage on a Linux server. She recalls a tool that can fetch these metrics but can’t remember the exact command. Which sar command should Laura use to display historical CPU statistics?
CorrectIncorrect -
Question 11 of 70
11. Question
After attending a conference on Linux kernel advancements, Alice learned about different compression methods for kernel images. She wants to use a compression method that provides a high compression ratio and is relatively fast when decompressing. Which compression method should Alice consider?
CorrectIncorrect -
Question 12 of 70
12. Question
Michael is working on customizing a Linux kernel for an embedded device. He needs to ensure that the kernel image size is as small as possible due to storage constraints. However, he doesn’t want to compromise much on decompression speed. Which kernel image compression method would best fit Michael’s requirements?
CorrectIncorrect -
Question 13 of 70
13. Question
Emma is tasked with compiling a custom Linux kernel for her organization’s server. She is informed that the kernel source is traditionally stored in a specific location in the file system. Which directory is typically designated for Linux kernel source files?
CorrectIncorrect -
Question 14 of 70
14. Question
Jake is in the process of compiling a new kernel. He wants to use the configuration from the currently running kernel but make a few tweaks. Which make target should Jake use to configure the kernel based on the current configuration and interactively make changes?
CorrectIncorrect -
Question 15 of 70
15. Question
Alex wants to prepare the kernel source code for compilation. He needs to ensure that all source files have their dependencies properly set and that certain files are linked correctly. Which make target should Alex use to prepare the kernel source for building?
CorrectIncorrect -
Question 16 of 70
16. Question
John is a systems administrator and has been tasked with compiling a new kernel. Before doing so, he wants to use a text-based interface to customize the current kernel’s configuration. Which command should he use to achieve this?
CorrectIncorrect -
Question 17 of 70
17. Question
Sarah is a systems administrator and has just finished configuring the kernel using make menuconfig. She now needs to build the new kernel as well as the associated kernel modules. Which two commands should Sarah use in the correct order to accomplish this?
CorrectIncorrect -
Question 18 of 70
18. Question
While preparing to roll out a new custom kernel across several Linux servers, Jennifer decides to start by installing her freshly compiled kernel on a test server. Which command would help her to install the new main kernel image?
CorrectIncorrect -
Question 19 of 70
19. Question
Angela has compiled and installed a new Linux kernel on her server. She wants to ensure that her GRUB2 boot manager will successfully boot using the new kernel. Which file should she edit to add an entry for her new kernel?
CorrectIncorrect -
Question 20 of 70
20. Question
James wants to make sure that a specific kernel module mymodule gets loaded with a particular option at boot time. Which file is typically used to specify module options that should be applied during the boot process?
CorrectIncorrect -
Question 21 of 70
21. Question
On a Linux system using the SysV init system, Maria is trying to see the current status of all system services across different runlevels. Which command utilizing chkconfig will allow her to view this information?
CorrectIncorrect -
Question 22 of 70
22. Question
In a Debian-based Linux distribution, Jake wants to remove all symbolic links for the ssh service without removing its init script. Which of the following update-rc.d commands should he use?
CorrectIncorrect -
Question 23 of 70
23. Question
Sophia wants to change the runlevel of her system without restarting it. Which of the following commands will help her achieve this and set the system to runlevel 3?
CorrectIncorrect -
Question 24 of 70
24. Question
While troubleshooting a boot issue on a server, James identifies that the system is not recognizing the primary hard drive. Before investigating further, he wants to confirm the mode in which the system firmware is set up. Which of the following methods can help James identify if the system is using UEFI or Legacy BIOS mode?
CorrectIncorrect -
Question 25 of 70
25. Question
After a system crash, Lisa is trying to recover a server that uses an NVMe drive as its primary storage. While booting up, she realizes that the system isn’t detecting the NVMe drive. Which of the following steps should she consider FIRST in her troubleshooting process?
CorrectIncorrect -
Question 26 of 70
26. Question
During a system boot-up, Samuel noticed that his server doesn’t progress beyond the bootloader stage. He wants to manually edit the kernel boot parameters for a single session. Using GRUB version 2, which key should he press during boot-up to edit the kernel parameters?
CorrectIncorrect -
Question 27 of 70
27. Question
James encounters a boot issue on his Linux system and decides to troubleshoot using the GRUB shell. He wants to set the root device to the first partition on the first hard drive. Which of the following GRUB commands should James use inside the GRUB shell to achieve this?
CorrectIncorrect -
Question 28 of 70
28. Question
During a troubleshooting session, Emily noticed that her Linux machine stops just after the boot loader stage and does not hand over control to the kernel. What is a common reason for this scenario?
CorrectIncorrect -
Question 29 of 70
29. Question
During a server upgrade, Matthew notices that the system is not booting correctly. Upon inspecting the boot loader configuration, he sees that there’s a parameter defined as root=/dev/sda3. What does this parameter specify in relation to kernel loading?
CorrectIncorrect -
Question 30 of 70
30. Question
James, a system administrator, is setting up a new server. Upon booting, he notices that the server is not recognizing the attached RAID array. What should James first investigate to ensure correct hardware initialization for the RAID array?
CorrectIncorrect -
Question 31 of 70
31. Question
Peter, a junior administrator, is trying to unmount a filesystem using the umount command, but he keeps receiving an error that the target is busy. What’s the most common reason for this issue, and how can he resolve it?
CorrectIncorrect -
Question 32 of 70
32. Question
As a system administrator, you’re setting up a new disk on your server. Before adding its entry to /etc/fstab, you need to determine the UUID of the new disk partition. Which command would you use?
CorrectIncorrect -
Question 33 of 70
33. Question
After working with some files on a USB drive, you want to ensure that all data has been written to the drive before safely removing it. Which command should you execute to make sure all buffered data for the file system is flushed to the storage device?
CorrectIncorrect -
Question 34 of 70
34. Question
After setting up a new swap partition, Sarah wants to enable the swap space without rebooting her system. Which command should she use to activate the new swap partition /dev/sdb2?
CorrectIncorrect -
Question 35 of 70
35. Question
Emily, a system administrator, has been facing performance issues on her server. Upon investigation, she discovers that a malfunctioning application has been intensively using the swap space. She decides to temporarily deactivate the swap space /dev/sda2 without affecting other running applications. Which command should Emily use?
CorrectIncorrect -
Question 36 of 70
36. Question
Michael, a system administrator, suspects that there might be some inconsistencies on an ext4 filesystem mounted at /data. He wishes to check and fix any potential issues without mounting the filesystem. Which utility should Michael use for this purpose?
CorrectIncorrect -
Question 37 of 70
37. Question
Jessica, a system administrator, needs to create a new subvolume named ‘projects’ on her Btrfs filesystem mounted at /mnt/data. Which command should she use to achieve this?
CorrectIncorrect -
Question 38 of 70
38. Question
Alex has just made several critical changes to a system and wants to take a snapshot of his Btrfs filesystem mounted at /mnt/system before continuing. He intends to name this snapshot ‘pre-upgrade’. Which command will correctly accomplish this?
CorrectIncorrect -
Question 39 of 70
39. Question
Thomas is planning to deploy a storage server and is considering using ZFS for its advanced features. Which of the following statements about ZFS is accurate?
CorrectIncorrect -
Question 40 of 70
40. Question
Alex has been tasked to create a new ext4 filesystem on a newly attached disk /dev/sdb1. He wants to use a block size of 4096 bytes. Which command should he use to accomplish this?
CorrectIncorrect -
Question 41 of 70
41. Question
A system administrator is troubleshooting performance issues with an older IDE hard drive on a Linux server. They need a tool that can allow them to enable or disable DMA (Direct Memory Access) for the drive. Which command can help them achieve this?
CorrectIncorrect -
Question 42 of 70
42. Question
An administrator, while optimizing a Linux workstation with an IDE hard drive, wants to check the current DMA setting of the drive. Which command and option would they use to verify the DMA setting?
CorrectIncorrect -
Question 43 of 70
43. Question
As an administrator, you’re configuring a new high-performance Linux server with NVMe SSDs. You need to gather detailed information about the NVMe drives, including the firmware version, to ensure compatibility. Which command would you employ to fetch this information?
CorrectIncorrect -
Question 44 of 70
44. Question
A system administrator is setting up a server that incorporates a combination of AHCI-based SATA SSDs and NVMe SSDs. They need to optimize the drives for Linux. While they already have hdparm installed, which additional utility should they install for comprehensive management of both AHCI and NVMe SSDs?
CorrectIncorrect -
Question 45 of 70
45. Question
An administrator has been noticing sporadic system freezes on a Linux server. They suspect it might be related to hardware interrupts. Which command can the administrator use to observe a detailed real-time view of the system’s interrupt activity?
CorrectIncorrect -
Question 46 of 70
46. Question
The system administrator is trying to diagnose a performance issue on a Linux server. They believe that certain devices are not being balanced properly across the available CPU cores for interrupt processing. Which tool can the administrator use to ensure interrupts are balanced across CPUs?
CorrectIncorrect -
Question 47 of 70
47. Question
A Linux system administrator needs to retrieve the VPD (Vital Product Data) pages from a SCSI device /dev/sdb. Which command should they use to achieve this?
CorrectIncorrect -
Question 48 of 70
48. Question
A system administrator wants to alter the write cache setting of a SCSI hard drive represented by /dev/sda using the sdparm command. Which of the following commands is appropriate for this task?
CorrectIncorrect -
Question 49 of 70
49. Question
A Linux system administrator is tasked with setting up an iSCSI target on a server to provide disk space to another server acting as an iSCSI initiator. Which utility should the administrator use to set up the target on the server?
CorrectIncorrect -
Question 50 of 70
50. Question
An administrator wants to connect to a newly configured iSCSI target from an initiator system. Which tool should the administrator use to discover available iSCSI targets on a given target server with IP 192.168.1.10?
CorrectIncorrect -
Question 51 of 70
51. Question
An administrator notices suspicious network activity on a server and suspects ARP spoofing. To investigate the local ARP cache of the server, which command should the administrator use?
CorrectIncorrect -
Question 52 of 70
52. Question
A system administrator needs to manually add a static ARP entry associating IP address 192.168.1.10 with MAC address 00:11:22:33:44:55. Which command would accomplish this task?
CorrectIncorrect -
Question 53 of 70
53. Question
A system administrator needs to determine the frequency and channel on which a wireless network interface, wlan0, is currently operating. Which command should the administrator use?
CorrectIncorrect -
Question 54 of 70
54. Question
An administrator wants to change the operating mode of a wireless interface, wlan0, to "Ad-Hoc" mode. Which of the following commands should be used?
CorrectIncorrect -
Question 55 of 70
55. Question
A network administrator needs to obtain detailed information about the available wireless networks in the vicinity, including their signal quality and encryption type. Which command should the administrator use?
CorrectIncorrect -
Question 56 of 70
56. Question
An administrator needs to add a new static route for the 10.0.0.0/24 network via the gateway 192.168.1.1. Which command should the administrator use?
CorrectIncorrect -
Question 57 of 70
57. Question
Alex, a system administrator, needs to configure advanced network settings, including routing and interface parameters, on a Linux server. Which utility should Alex use for this task?
CorrectIncorrect -
Question 58 of 70
58. Question
Emily, a network administrator, needs to analyze the status and performance of network devices on a Linux server. Which utility is commonly used for this purpose?
CorrectIncorrect -
Question 59 of 70
59. Question
Emily is responsible for monitoring real-time network usage on her Linux server and wants a tool that provides a visual representation of current bandwidth usage. Which utility should she use?
CorrectIncorrect -
Question 60 of 70
60. Question
John is configuring advanced network settings on his Linux server and needs a tool that allows him to show or manipulate routing, devices, policy routing, and tunnels. Which utility should he use?
CorrectIncorrect -
Question 61 of 70
61. Question
You have downloaded a source code archive named "program.tar.gz" and need to decompress it before compiling. Which command should you use to unzip the file?
CorrectIncorrect -
Question 62 of 70
62. Question
You want to decompress a file named "data.gz" quickly. Which command should you use?
CorrectIncorrect -
Question 63 of 70
63. Question
You have a file named "document.txt" that you want to compress using gzip. What command should you use?
CorrectIncorrect -
Question 64 of 70
64. Question
You have a compressed file named "data.gz" that you want to decompress and display the content without creating a new file. What command should you use?
CorrectIncorrect -
Question 65 of 70
65. Question
You have a file named "archive.txt" that you want to compress using bzip2. What command should you use?
CorrectIncorrect -
Question 66 of 70
66. Question
You have a file named "data.txt" that you want to compress using xz. What command should you use?
CorrectIncorrect -
Question 67 of 70
67. Question
You need to create a compressed archive of a directory named "project" using the tar command with gzip compression. What command should you use?
CorrectIncorrect -
Question 68 of 70
68. Question
You are preparing to compile a program from source, and you need to configure the build parameters. What command should you use to generate the necessary makefiles for the build?
CorrectIncorrect -
Question 69 of 70
69. Question
You have downloaded the source code for a program and need to compile it. What is the primary purpose of the make command in this context?
CorrectIncorrect -
Question 70 of 70
70. Question
You are working on a Linux system and need to determine the kernel version. Which command should you use for this purpose?
CorrectIncorrect