Linux Professional Institute LPIC-2 (201-450) Simulator #1
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 Linux administrator wants to measure the average CPU usage of a system over a 5-minute span. Which of the following commands would achieve this?
CorrectIncorrect -
Question 2 of 70
2. Question
An administrator is tasked with monitoring the memory usage of a Linux server to ensure it’s not running low on available memory. Which command would provide a detailed view of the system’s memory usage, including buffers and cache?
CorrectIncorrect -
Question 3 of 70
3. Question
A system administrator has been noticing sluggish performance on a server and suspects it might be due to disk I/O issues. Which command would allow the administrator to monitor the I/O operations and transfer rates of all block devices in real-time?
CorrectIncorrect -
Question 4 of 70
4. Question
A system administrator wants to monitor the amount of data being sent and received on the system’s network interfaces in real-time. Which command would provide this information with regular updates every 2 seconds?
CorrectIncorrect -
Question 5 of 70
5. Question
An organization is rolling out a new firewall configuration to handle increased network traffic. To ensure the firewall can handle the anticipated throughput, the network administrator needs a tool to measure the firewall’s performance. Which command can be utilized to measure the packet forwarding rate of the firewall?
CorrectIncorrect -
Question 6 of 70
6. Question
The network team has been asked to generate a report detailing the bandwidth usage of each client device over the past month. Which tool can be used to log and create visual graphics of network traffic data over extended periods?
CorrectIncorrect -
Question 7 of 70
7. Question
An administrator notices that a Linux server has been experiencing unexpected reboots once every week. The server does not have any job scheduled for a reboot, and the temperatures are within the expected range. Which of the following is a likely reason for the system’s behavior?
CorrectIncorrect -
Question 8 of 70
8. Question
A system administrator is tasked with diagnosing a server that’s experiencing slowdowns during peak times. While monitoring with top, the administrator notices that CPU and memory usage are within nominal ranges, but there’s consistently high I/O wait time. The administrator decides to inspect disk I/O performance next. Which of the following tools would be the most appropriate to determine disk I/O bottlenecks?
CorrectIncorrect -
Question 9 of 70
9. Question
A systems administrator suspects that a server might be experiencing disk I/O issues. They decide to use iostat to collect statistics every 5 seconds for a total of 3 times. Which of the following commands accomplishes this?
CorrectIncorrect -
Question 10 of 70
10. Question
An administrator wants to monitor the real-time I/O usage of processes and threads on a system. Which tool will allow them to see the I/O activity of individual processes and threads in real time?
CorrectIncorrect -
Question 11 of 70
11. Question
An intern at a software development company wants to understand the changes made in the Kernel version 4.x from its predecessor 3.x. Which of the following documentation sources is the MOST appropriate place for them to find detailed information about the specific changes and updates?
CorrectIncorrect -
Question 12 of 70
12. Question
Samantha is a Linux administrator tasked with developing a training module on Kernel 3.x for her team. She wants to ensure her team understands kernel internals and its various subsystems for this version. Where should she primarily source her technical information?
CorrectIncorrect -
Question 13 of 70
13. Question
Robert, a new Linux administrator, has been told to review the source code of the Linux kernel currently in use on a server. He logs into the server but isn’t sure where to locate the source code. Which directory is the STANDARD location for Linux kernel source code?
CorrectIncorrect -
Question 14 of 70
14. Question
Emily is tasked with patching the Linux kernel on one of the servers. Before applying the patch, she wants to ensure she’s working within the kernel source directory. Which directory is TYPICALLY used for storing and working on the Linux kernel source code?
CorrectIncorrect -
Question 15 of 70
15. Question
Linda, an experienced Linux administrator, wants to guide her junior colleague, Ben, to better understand some specific kernel components. To achieve this, she recommends referring to the documentation provided within the kernel source directory. Where can Ben typically find the detailed documentation related to kernel components?
CorrectIncorrect -
Question 16 of 70
16. Question
Mark is troubleshooting a kernel module and needs specific details about its functionality. His colleague recommends checking the kernel’s built-in documentation. Which directory should Mark navigate to, in order to find detailed information about kernel modules?
CorrectIncorrect -
Question 17 of 70
17. Question
Jeremy is compiling a new kernel for an old embedded system. Due to the system’s constraints, he needs a compressed kernel image. Which of the following kernel image types is compressed and suitable for systems with memory limitations?
CorrectIncorrect -
Question 18 of 70
18. Question
Alice is assisting her colleague in booting an old system with limited RAM. They are unsure about the kernel image type they should use. Alice suggests a specific kernel image type that can decompress itself directly into high memory without needing any memory below the 1 MB mark. Which kernel image did Alice most likely suggest?
CorrectIncorrect -
Question 19 of 70
19. Question
John, a system administrator, is working with a modern computer system that has ample RAM and needs to choose the right kernel image type. He remembers that there’s a format suited for systems that require the kernel image to be larger than 512KB. Which kernel image format should John choose?
CorrectIncorrect -
Question 20 of 70
20. Question
Lisa is examining the kernel compilation process and stumbles upon a kernel image that’s named “big zImage.” She realizes that this term refers to a specific kernel image format. Which of the following describes this format?
CorrectIncorrect -
Question 21 of 70
21. Question
Sofia needs to create a systemd timer that runs a backup service every day at 3 AM. To which directory should she add the timer unit file for her backup service?
CorrectIncorrect -
Question 22 of 70
22. Question
Julia is reviewing a legacy server that uses SysV init for its startup process. She notices that one of the services does not start automatically during the boot process. Which directory should Julia check to ensure the service has the correct symbolic links for the desired runlevels?
CorrectIncorrect -
Question 23 of 70
23. Question
Liam is checking init scripts on a Linux system. He comes across a script with a header containing details like Provides, Required-Start, and Default-Start. These details are likely in adherence to which specification?
CorrectIncorrect -
Question 24 of 70
24. Question
During an audit of a Linux system’s startup configuration, Jessica notices that certain systemd service files are located in the /usr/lib/systemd/ directory. What is the primary purpose of this directory with respect to systemd?
CorrectIncorrect -
Question 25 of 70
25. Question
Mike, a Linux system administrator, needs to modify the configuration of a systemd service named customapp.service. He wishes to ensure that his modifications persist across package updates. In which directory should he look to create or modify the override files for customapp.service?
CorrectIncorrect -
Question 26 of 70
26. Question
While troubleshooting a service on a Linux server, Alice noticed that the systemd service unit she was working on was behaving unexpectedly. Before making changes to the default service file, she wants to create a temporary override that will only last until the next reboot. Where should she place the override files to ensure they are temporary?
CorrectIncorrect -
Question 27 of 70
27. Question
A systems administrator, Zoe, wants to check the status of a service named “webapp.service” on her Linux server managed by systemd. Additionally, she wants to see the last 5 log entries related to this service. Which systemctl command should she use?
CorrectIncorrect -
Question 28 of 70
28. Question
Jasmine, a systems administrator, has been tasked with identifying the differences between the vendor versions of unit files and the local versions on her Linux server managed by systemd. Which command would Jasmine use to achieve this?
CorrectIncorrect -
Question 29 of 70
29. Question
Lucas is trying to debug a custom service on a legacy system. He needs to run the service in debug mode to obtain more logs. Which command should Lucas use to invoke the debug mode if the initialization script for the service is located in /etc/init.d/ and accepts the “debug” option?
CorrectIncorrect -
Question 30 of 70
30. Question
Hector, an experienced sysadmin, needs to disable a particular service from starting at boot on an older Linux system. If he is working within the /etc/rc.d/ directory structure, which of the following directories would he likely navigate to in order to adjust the links for the default runlevel?
CorrectIncorrect -
Question 31 of 70
31. Question
You have been tasked with ensuring that a specific USB drive is always mounted to /media/usbdrive upon system boot, regardless of the order it’s detected. You know that the UUID of the drive is 1234-ABCD. Which of the following fstab entries would best accomplish this?
CorrectIncorrect -
Question 32 of 70
32. Question
You are working as a system administrator and a colleague asks you to automatically mount an NFS share on boot for all users. You decide to configure this in the fstab file. Which of the following entries would correctly mount an NFS share located at 192.168.0.10:/data to the /mnt/data directory?
CorrectIncorrect -
Question 33 of 70
33. Question
You’re a system administrator at a company, and an intern is learning about swap space on Linux systems. She asks you which command to use to check the swap usage on the system. Which of the following would you recommend?
CorrectIncorrect -
Question 34 of 70
34. Question
A fellow system administrator is configuring a new server. They want to make sure that even if the physical drives are rearranged or replaced, the server will still correctly identify and mount the desired partitions. Which method would you suggest for this purpose?
CorrectIncorrect -
Question 35 of 70
35. Question
Your colleague is attempting to create a systemd mount unit for an NFS share. They want the share to be automatically mounted at boot. Which filename would be appropriate for a mount unit that mounts an NFS share located at server:/remote/share to the local directory /mnt/data?
CorrectIncorrect -
Question 36 of 70
36. Question
You’re setting up an NFS share in the /etc/fstab file to be mounted on /mnt/data from server:/share. Which of the following lines in /etc/fstab will correctly achieve this, with the filesystem being mounted at boot and allowing the user to manually unmount it?
CorrectIncorrect -
Question 37 of 70
37. Question
After updating the /etc/fstab file, you want to ensure that all the entries are correct without rebooting the system or unmounting and remounting the filesystems. Which command allows you to test the new entries without affecting the currently mounted filesystems?
CorrectIncorrect -
Question 38 of 70
38. Question
You’ve been tasked with determining the current state of all mounted filesystems on a running Linux server. Which statement accurately describes the primary role of the /etc/mtab file in this context?
CorrectIncorrect -
Question 39 of 70
39. Question
You noticed a discrepancy between the output of the mount command and the contents of /etc/mtab. Which statement is likely true about this scenario?
CorrectIncorrect -
Question 40 of 70
40. Question
You’ve been asked to confirm the current state of all mounted filesystems on a modern Linux server. Your colleague suggests checking the /etc/mtab file. However, you remember something about /proc/mounts. How do these two files relate?
CorrectIncorrect -
Question 41 of 70
41. Question
A system administrator wants to monitor and manage software RAID arrays on a Linux system. Which utility would be the primary tool for such tasks?
CorrectIncorrect -
Question 42 of 70
42. Question
A system administrator has set up a software RAID array on a Linux system. They want to verify the configuration and status of the RAID devices. Which file should they examine to gather this information?
CorrectIncorrect -
Question 43 of 70
43. Question
A system administrator wants to specify the location of the spare devices that are part of the software RAID array configuration. Which section within the mdadm.conf file is dedicated to listing these spare devices?
CorrectIncorrect -
Question 44 of 70
44. Question
An administrator is working with mdadm.conf and wants to ensure that RAID arrays are assembled in a particular order during boot-up. Which directive in the mdadm.conf file should they configure to achieve this?
CorrectIncorrect -
Question 45 of 70
45. Question
As a system administrator, you need to create a new RAID 5 array using devices /dev/sdb, /dev/sdc, and /dev/sdd. Which mdadm command will correctly set up this array on /dev/md0?
CorrectIncorrect -
Question 46 of 70
46. Question
A system administrator needs to monitor the rebuilding progress of a RAID array on /dev/md0. Which mdadm command should they use to obtain detailed information about the status of the RAID array?
CorrectIncorrect -
Question 47 of 70
47. Question
A system administrator wants to quickly inspect the status of all active RAID arrays on a Linux server. Which file should they consult to gather real-time status updates and progress of potential RAID rebuilds?
CorrectIncorrect -
Question 48 of 70
48. Question
After replacing a failed disk in a RAID 1 array, an administrator wants to verify that the RAID is resyncing properly. In the /proc/mdstat output, which keyword indicates that the RAID is currently undergoing a resynchronization process?
CorrectIncorrect -
Question 49 of 70
49. Question
A system administrator is setting up a new RAID array on a Linux server. While configuring partitions using fdisk, which hex code should they use to mark the partitions as Linux RAID autodetect?
CorrectIncorrect -
Question 50 of 70
50. Question
While troubleshooting a RAID issue, a junior administrator seeks your guidance. They share with you the output of the partition table where you observe a partition marked with type 0xFD. What could you infer about this partition?
CorrectIncorrect -
Question 51 of 70
51. Question
An administrator wants to configure the IP address of an ethernet interface on a temporary basis without making changes to any configuration files. Which utility allows the administrator to achieve this without needing to restart the networking service?
CorrectIncorrect -
Question 52 of 70
52. Question
A server administrator wants to disable the “eth0” ethernet interface on a Linux server. Which command would achieve this task directly?
CorrectIncorrect -
Question 53 of 70
53. Question
A system administrator needs to list the available wireless networks for a wireless interface named “wlan0”. Which command would directly provide this information?
CorrectIncorrect -
Question 54 of 70
54. Question
An administrator wants to connect to a wireless network named “HomeWiFi” using WPA2 security. Which file would the administrator typically need to modify in order to provide the SSID and passphrase for the network?
CorrectIncorrect -
Question 55 of 70
55. Question
You are asked to replace the deprecated ifconfig command to determine the IP address, subnet mask, and broadcast address of all currently active network interfaces on your Linux system. Which command would you use?
CorrectIncorrect -
Question 56 of 70
56. Question
An administrator needs to add a default gateway with the IP address “192.168.1.1” to the system’s routing table. Which command should they use?
CorrectIncorrect -
Question 57 of 70
57. Question
A system administrator needs to temporarily set the IP address of the eth0 interface to 192.168.0.10 with a subnet mask of 255.255.255.0. Which command should they use?
CorrectIncorrect -
Question 58 of 70
58. Question
After experiencing connectivity issues, a network administrator decides to view the configuration of all active network interfaces. Which command will display this information?
CorrectIncorrect -
Question 59 of 70
59. Question
A system administrator needs to add a static route to the routing table so that traffic destined for the 192.168.5.0/24 network is directed through the gateway at 192.168.1.1. Which command should they use?
CorrectIncorrect -
Question 60 of 70
60. Question
An administrator wants to view the kernel’s IP routing table. Which command would provide this information?
CorrectIncorrect -
Question 61 of 70
61. Question
You need to unpack a source code archive using a common compression utility. Which command would you use for a file named “project.tar.gz”?
CorrectIncorrect -
Question 62 of 70
62. Question
You want to unpack a source code archive, and the file is named “software.tar.bz2.” Which command should you use?
CorrectIncorrect -
Question 63 of 70
63. Question
You are tasked with compiling a program from source using the make command. The program’s source code is in a directory named “myapp” with a makefile. What is the correct command to compile the program?
CorrectIncorrect -
Question 64 of 70
64. Question
You are working with a source code directory that contains a makefile with multiple targets. You want to compile the program and clean the intermediate files afterward. What command should you use?
CorrectIncorrect -
Question 65 of 70
65. Question
You are compiling a program from source, and you need to customize the installation path. Which option should you use when running the configure script?
CorrectIncorrect -
Question 66 of 70
66. Question
You want to compile and install a program, but you need to specify a different directory for binary executables. What option should you use when running the configure script?
CorrectIncorrect -
Question 67 of 70
67. Question
While attempting to compile a program from source, you need to locate the default directory where source files are stored. What is the standard location for storing source files?
CorrectIncorrect -
Question 68 of 70
68. Question
You are exploring the filesystem to locate the default directory where source files are stored. What directory should you check to find the source code for various software packages?
CorrectIncorrect -
Question 69 of 70
69. Question
You are tasked with compiling a program from source, and you want to ensure that the source files are stored in the default directory. Where should you check for the default location of source files?
CorrectIncorrect -
Question 70 of 70
70. Question
You are troubleshooting a compilation issue with a program, and you suspect that the source files are not in the default location. Where should you navigate to check for the presence of source files on a standard Linux system?
CorrectIncorrect