Linux Professional Institute LPIC-1 (101-500) Simulator #4
Simulator Summary
0 of 50 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 50 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
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 50
1. Question
A system administrator receives a notification about upcoming maintenance, and the server needs to be powered off in 10 minutes. Which command should they use to schedule the server shutdown?
CorrectIncorrect -
Question 2 of 50
2. Question
While working remotely on a server, a system administrator realizes that there’s an issue with a newly deployed application, and the server needs to be restarted immediately. Which command should they use for an immediate reboot?
CorrectIncorrect -
Question 3 of 50
3. Question
A system administrator needs to reboot a production server. Before doing so, they want to send an alert to all logged-in users, notifying them about the impending reboot. Which command should the administrator use to notify all users?
CorrectIncorrect -
Question 4 of 50
4. Question
The system administrator needs to send a custom alert to all users notifying them of an upcoming maintenance window. However, they want the alert to persist on users’ terminals even after they acknowledge it. Which command achieves this?
CorrectIncorrect -
Question 5 of 50
5. Question
You are an administrator of a Linux server. There’s a process with PID 12345 that seems to be stuck and not responding. You want to send a signal to the process to give it a chance to terminate gracefully, releasing its resources properly. Which command should you use?
CorrectIncorrect -
Question 6 of 50
6. Question
You notice that a particular application named “appX” is not releasing memory even after its tasks are complete. To properly terminate all processes associated with “appX”, which command should you use?
CorrectIncorrect -
Question 7 of 50
7. Question
On a Linux workstation, the power button was pressed, and the system initiated a proper shutdown sequence without any user intervention from the terminal. Which service most likely listened to the power button event and responded accordingly?
CorrectIncorrect -
Question 8 of 50
8. Question
As a system administrator, you notice that your Linux laptop doesn’t respond to lid close events. You want to make sure that there’s a service running which listens to such ACPI events. Which command would you use to check if the appropriate daemon is active?
CorrectIncorrect -
Question 9 of 50
9. Question
You have been assigned a task to change the default runlevel of a Linux server to multi-user mode with networking but without a GUI. Which entry would you modify in /etc/inittab to achieve this?
CorrectIncorrect -
Question 10 of 50
10. Question
Your Linux system seems to be booting into an unexpected mode. You decide to check the /etc/inittab file to understand the default runlevel. Which line in the /etc/inittab file determines the default runlevel of the system?
CorrectIncorrect -
Question 11 of 50
11. Question
A Linux server administrator wants to ensure that the SSH service does not start automatically on system boot. Which of the following commands should be used?
CorrectIncorrect -
Question 12 of 50
12. Question
You are logged into a Linux server and want to shutdown the system after 30 minutes. Which of the following commands will achieve this?
CorrectIncorrect -
Question 13 of 50
13. Question
Which of the following shutdown commands will broadcast a message to all logged-in users before shutting down the system in 10 minutes?
CorrectIncorrect -
Question 14 of 50
14. Question
Your colleague left a note stating that the system needs to be switched to single-user mode using the init process for maintenance purposes. Which of the following commands will achieve this?
CorrectIncorrect -
Question 15 of 50
15. Question
You have been instructed to check the default runlevel of a system without altering its state. Which of the following commands will allow you to view the default runlevel without making changes?
CorrectIncorrect -
Question 16 of 50
16. Question
You want to manually start the ssh service on a server using scripts located in the /etc/init.d/ directory. Which command will correctly achieve this?
CorrectIncorrect -
Question 17 of 50
17. Question
You are logged into a server and are required to transition the system into single-user mode for maintenance without shutting it down. Using the telinit command, which option would be appropriate to achieve this?
CorrectIncorrect -
Question 18 of 50
18. Question
While on a conference call, a colleague instructs you to send the telinit command to the server to update the system’s runlevel to a multi-user mode without any graphical environment. Which command should you execute?
CorrectIncorrect -
Question 19 of 50
19. Question
A new administrator is unfamiliar with systemd and asks how to view the current system’s default boot target. Which command would you advise them to use?
CorrectIncorrect -
Question 20 of 50
20. Question
After making changes to the sshd.service unit file, you want to ensure the changes are loaded without restarting the system. Which systemctl command would you use to reload the unit configuration without restarting the service?
CorrectIncorrect -
Question 21 of 50
21. Question
An administrator has recently made changes to a system’s boot options and wishes to generate a new GRUB 2 configuration file to reflect those changes. Which command will help generate this configuration and output it to /boot/grub/grub.cfg?
CorrectIncorrect -
Question 22 of 50
22. Question
Jane is attempting to install a boot loader on a system with a traditional BIOS. She realizes she must place the boot loader in a specific location for the system to recognize and load it upon start-up. Where should the boot loader be placed for successful booting?
CorrectIncorrect -
Question 23 of 50
23. Question
Michael is troubleshooting a system that doesn’t boot correctly. He suspects that the MBR might be corrupt. Which of the following tools can he use to install GRUB in the MBR?
CorrectIncorrect -
Question 24 of 50
24. Question
Maria is debugging an application issue and suspects that a shared library might be the cause. Which of the following commands can she use to identify the shared libraries an executable is linked against?
CorrectIncorrect -
Question 25 of 50
25. Question
Alex is interested in understanding the shared library dependencies of a binary named sampleApp. He decides to run a command that lists the dynamic dependencies of the binary. Which of the following commands should Alex use?
CorrectIncorrect -
Question 26 of 50
26. Question
A system administrator is setting up a new Linux server. They need to ensure that certain system libraries are available for applications to run. Which of the following is the typical directory where system libraries reside in a Linux file system?
CorrectIncorrect -
Question 27 of 50
27. Question
Jeremy is troubleshooting a server application that won’t start. He suspects it might be due to a missing shared library. Which command can Jeremy use to determine which shared libraries the application requires at runtime?
CorrectIncorrect -
Question 28 of 50
28. Question
After downloading a binary called “applicationX” from the internet, Alice wants to ensure that it doesn’t load any unexpected or insecure libraries from a user’s home directory or temporary directories. Which command can Alice use to identify the libraries that “applicationX” is linked to?
CorrectIncorrect -
Question 29 of 50
29. Question
Jennifer, a systems administrator, recently added a new directory /opt/libs containing shared libraries to her system. She needs to ensure that programs can locate and use the shared libraries in this directory. Which command should she use to update the system’s shared library cache?
CorrectIncorrect -
Question 30 of 50
30. Question
Carlos, a junior system administrator, wants to specify additional directories for the system to search for shared libraries. In which file should he list the paths to these directories?
CorrectIncorrect -
Question 31 of 50
31. Question
Maya is running a custom-built software that relies on a shared library located in /home/maya/custom_libs/. The software doesn’t run, complaining about missing shared libraries. Which environment variable can Maya temporarily set to ensure her software looks into the /home/maya/custom_libs/ directory for the required shared libraries?
CorrectIncorrect -
Question 32 of 50
32. Question
Lucia wants to install a Debian binary package named “fantastic-app.deb” that she has downloaded from a trusted source. Which command should she use to install this package on her Debian-based system?
CorrectIncorrect -
Question 33 of 50
33. Question
You have a large log file named server.log which is 10GB in size. For ease of analysis, you need to split this file into smaller chunks, each 1GB in size. Which command will help you achieve this?
CorrectIncorrect -
Question 34 of 50
34. Question
You are troubleshooting a server application by examining its log file named app.log. You want to continuously monitor any new entries added to this file. Which of the following commands should you use to achieve this?
CorrectIncorrect -
Question 35 of 50
35. Question
You are given a file named data.txt that contains a series of phone numbers. However, instead of hyphens, the numbers are separated by underscores (e.g., 123_456_7890). You want to replace all underscores with hyphens in this file. Which of the following commands will achieve this?
CorrectIncorrect -
Question 36 of 50
36. Question
A colleague sends you a large log file named server.log. You are asked to determine the total number of lines in this file. Which command should you use to accomplish this?
CorrectIncorrect -
Question 37 of 50
37. Question
You have received a large log file named logs.xz that has been compressed using the XZ compression algorithm. You wish to quickly view the contents of this file without decompressing it. Which command can be used to achieve this?
CorrectIncorrect -
Question 38 of 50
38. Question
Mike is working on a system that has limited disk space. He has a compressed archive named backup.gz and needs to view its contents without actually decompressing the file on disk. Which of the following commands can Mike use to achieve this?
CorrectIncorrect -
Question 39 of 50
39. Question
Sarah wants to copy all contents, including files and sub-directories, from the directory data_2023 to a new directory backup_2023. Which command would be the most effective way to achieve this?
CorrectIncorrect -
Question 40 of 50
40. Question
David has a directory named projects containing multiple sub-directories and files. He wishes to make an identical backup of the projects directory inside a directory named backup. Which of the following commands will allow him to achieve this?
CorrectIncorrect -
Question 41 of 50
41. Question
Maria wants to clear up some space on her computer and has decided to remove a directory named old_reports which contains multiple files, sub-directories, and hidden items. Which command should she use to ensure complete removal?
CorrectIncorrect -
Question 42 of 50
42. Question
Emily wants to list all files in the current directory that have a .txt extension and begin with either “report” or “summary”. Which command should she use?
CorrectIncorrect -
Question 43 of 50
43. Question
Alex is setting up a Linux server with systemd. He learns that aside from the traditional /etc/fstab, systemd offers another mechanism to manage mount points. Which type of unit file should he be aware of to handle mounts with systemd?
CorrectIncorrect -
Question 44 of 50
44. Question
Carlos, a system administrator, noticed that there is a high I/O activity on an NFS share mounted at /mnt/nfs_share. Before troubleshooting, he needs to ensure no users are accessing the share. What command should Carlos use to safely unmount the share?
CorrectIncorrect -
Question 45 of 50
45. Question
Angela, a systems administrator, wants to temporarily mount an NFS share located at 192.168.0.12:/shared_data to the local directory /mnt/data. Which command should she use to accomplish this?
CorrectIncorrect -
Question 46 of 50
46. Question
Maria, a systems administrator, inserts a USB flash drive into a Linux server. She wants to access the contents of the drive. By default, where will modern Linux desktop environments typically auto-mount the device?
CorrectIncorrect -
Question 47 of 50
47. Question
John, a system administrator, wants to ensure that a filesystem is checked for errors during the boot process. In the /etc/fstab file, which field should he adjust to set the order in which the filesystem checks are conducted?
CorrectIncorrect -
Question 48 of 50
48. Question
Jenny is setting up her system’s /etc/fstab file. To ensure the integrity of her system during boot-up, she wishes to use the UUID of her /dev/sda1 partition instead of its device name. Which command should Jenny use to find the UUID of the /dev/sda1 partition?
CorrectIncorrect -
Question 49 of 50
49. Question
Alex is a system administrator and needs to list all block devices on his server in a tree-like format, showcasing their relationships, but he doesn’t want to see any partition information. Which command should Alex use?
CorrectIncorrect -
Question 50 of 50
50. Question
You are a system administrator, and a user named David reports that he can’t execute a script named “runme.sh” located in his home directory. You check the permissions of the file and it shows “-rw-r–r–“. Which command will correctly give execute permissions to the owner of the file?
CorrectIncorrect