Linux Professional Institute LPIC-1 (101-500) Simulator #5
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
You are troubleshooting an issue with a service named example.service. You want to view the status and recent logs of this service using systemctl. Which command should you execute?
CorrectIncorrect -
Question 2 of 50
2. Question
As a system administrator, you have created a custom service for an application. In which directory under /etc/systemd/ should the unit file for this custom service be placed?
CorrectIncorrect -
Question 3 of 50
3. Question
You need to override some settings of a default system unit file without altering the original file. Where, under /etc/systemd/, would you place the drop-in files to achieve this?
CorrectIncorrect -
Question 4 of 50
4. Question
In a systemd-based Linux distribution, where are the vendor-provided (or default) unit files primarily stored?
CorrectIncorrect -
Question 5 of 50
5. Question
As a system administrator, you’ve noticed that the vendor-provided unit file for a service has settings you want to change. After modifying the default file directly in /usr/lib/systemd/system/, what potential problem could arise?
CorrectIncorrect -
Question 6 of 50
6. Question
As a system administrator, you want to send a message to all logged-in users notifying them of an upcoming server reboot. Which command would you use to send this broadcast message?
CorrectIncorrect -
Question 7 of 50
7. Question
You have been assigned to start a service named exampleService on a server running an older version of Linux. Which command would you use from the /etc/init.d/ directory to start this service?
CorrectIncorrect -
Question 8 of 50
8. Question
After making changes to a service script named exampleService in the /etc/init.d/ directory, you want to ensure the changes take effect without rebooting the server. What should you do after modifying the service script?
CorrectIncorrect -
Question 9 of 50
9. Question
While troubleshooting a server, you need to switch to a single-user mode to perform some maintenance tasks without network services or other users. Which command would you use with telinit to achieve this?
CorrectIncorrect -
Question 10 of 50
10. Question
On a system using SysVinit, you need to halt the system immediately without sending termination signals to running processes, making sure they do not get a chance to perform clean-up actions. Which of the following telinit commands would achieve this?
CorrectIncorrect -
Question 11 of 50
11. Question
You’re working as a system administrator and need to change the default boot target of a system using systemd to boot directly into a graphical user interface. Which command should you use to set the default target to graphical mode?
CorrectIncorrect -
Question 12 of 50
12. Question
You are tasked with checking the status of the httpd service on a Linux server that uses systemd. Which systemctl command should you use to retrieve detailed status information about the httpd service?
CorrectIncorrect -
Question 13 of 50
13. Question
Anna, a systems administrator, has just configured a new service on a Linux server using systemd. She needs to ensure the service starts automatically at boot time. Which systemctl command should she use?
CorrectIncorrect -
Question 14 of 50
14. Question
Jake wants to switch his Linux system that uses systemd to a graphical target mode. However, he doesn’t want this change to be permanent. Which command should Jake use?
CorrectIncorrect -
Question 15 of 50
15. Question
Samantha is a junior systems administrator. She has been asked to modify the configuration of a specific systemd service. Instead of editing the primary service file directly, she wants to create an override file in the appropriate directory. Where should Samantha place this override file?
CorrectIncorrect -
Question 16 of 50
16. Question
Alex wants to change the default boot target of a Linux system managed by systemd. He has been told that he can symlink the desired target in a specific directory. Which directory should contain the symlink to set the default boot target?
CorrectIncorrect -
Question 17 of 50
17. Question
Jacob is a new systems administrator and he is exploring the structure of systemd on a Linux system. He wants to locate the standard unit files provided by installed packages. Where would Jacob typically find these unit files?
CorrectIncorrect -
Question 18 of 50
18. Question
Ella, a seasoned systems administrator, is teaching a junior team member about systemd. She explains that there’s a directory where vendor-provided system unit presets are placed. Which directory is she referring to?
CorrectIncorrect -
Question 19 of 50
19. Question
Anna, a system administrator, wants to send a broadcast message to all users currently logged into the system about an impending reboot in 10 minutes. Which command should she use to accomplish this?
CorrectIncorrect -
Question 20 of 50
20. Question
After a routine check, Carlos, an experienced system administrator, notices that one of the application servers is about to run out of disk space. He decides to alert all users to save their work and logout. Carlos types a message into a file called alert.txt. How can he use the wall command to broadcast this message to all users?
CorrectIncorrect -
Question 21 of 50
21. Question
Alex, a system administrator, needs to find out which package provides a specific file called “samplefile.conf” on his Debian-based system. Which command should he use to achieve this?
CorrectIncorrect -
Question 22 of 50
22. Question
Sara, a Linux administrator, is troubleshooting an application on her Debian system. She needs to find out the version, dependencies, and whether the package “example-app” is currently installed or not. Which command should she use?
CorrectIncorrect -
Question 23 of 50
23. Question
Jennifer, a new system administrator, is trying to install a package named “web-editor” on her Debian system. She’s aware of the apt tool but is unsure about the exact command. Which command should she execute to install the “web-editor” package using apt?
CorrectIncorrect -
Question 24 of 50
24. Question
Jason is setting up a new Debian server and needs to configure his package sources. He knows that the main configuration file for APT repositories is /etc/apt/sources.list. What is the primary purpose of this file?
CorrectIncorrect -
Question 25 of 50
25. Question
Robert is working on a Debian-based system and has received a .deb package named software-package.deb. He wants to install this package. Which of the following dpkg commands should he use to accomplish this?
CorrectIncorrect -
Question 26 of 50
26. Question
Samantha recently installed a package called timezone-data on her Debian system. She realized that she mistakenly chose the wrong timezone during the configuration. Which command should she run to reconfigure the package and select the correct timezone?
CorrectIncorrect -
Question 27 of 50
27. Question
Jake wants to upgrade all currently installed packages on his Debian system without removing any packages or installing new ones. Which command should he use to accomplish this task?
CorrectIncorrect -
Question 28 of 50
28. Question
Laura is a system administrator and she wants to search for all available packages related to “firewall” in her Debian system. Which command should she use to accomplish this?
CorrectIncorrect -
Question 29 of 50
29. Question
Jeremy, a Linux system administrator, has been provided with a package named “editor.rpm”. He wants to install this package on his system. Which of the following commands should he use?
CorrectIncorrect -
Question 30 of 50
30. Question
Alice is a Linux system administrator and she wants to verify the integrity and authenticity of the webapp.rpm package she downloaded. Which of the following commands will help her to check both the integrity and signatures of the RPM package?
CorrectIncorrect -
Question 31 of 50
31. Question
Sarah, a Linux system administrator, has just installed a package named webtools.rpm. She wants to know all the files and directories that this package has installed on the system. Which command should she use to determine the files provided by the package?
CorrectIncorrect -
Question 32 of 50
32. Question
After making changes to the GRUB configuration files, an administrator decides to install GRUB to a USB drive /dev/sdb for recovery purposes. Which command should be used to accomplish this without any errors?
CorrectIncorrect -
Question 33 of 50
33. Question
Michael wants to find all files in the “/home/michael/documents” directory that have been modified in the last 2 days. Which of the following commands should he use?
CorrectIncorrect -
Question 34 of 50
34. Question
Amanda wants to create a compressed archive of her “projects” directory using tar and save it as “backup.tar.gz”. Which command should she use to achieve this?
CorrectIncorrect -
Question 35 of 50
35. Question
Sophia is currently in her home directory and wants to copy a file named “report.doc” from her “documents” folder to a USB drive mounted at “/media/usb-drive”. Which command should she use to achieve this without changing her current directory?
CorrectIncorrect -
Question 36 of 50
36. Question
Anna is trying to locate all .txt files in her home directory and its subdirectories that were modified within the last 7 days. Which command should she use?
CorrectIncorrect -
Question 37 of 50
37. Question
Lee wants to create a new directory named “projects” inside his current directory. Additionally, inside “projects,” he wishes to create two subdirectories named “completed” and “ongoing” at the same time. Which command should he use?
CorrectIncorrect -
Question 38 of 50
38. Question
Jeremy has a directory named reports that contains monthly report files. He realizes that he mistakenly named one of the files as Jun2022.txt instead of June2022.txt. Which command should he use to rename the file while keeping it in the same location?
CorrectIncorrect -
Question 39 of 50
39. Question
Lisa is currently inside a directory named projects. She wants to view a long listing of files and directories, including hidden ones, within her current directory. Which command should she use?
CorrectIncorrect -
Question 40 of 50
40. Question
John noticed that there is an empty directory named tempFiles in his home directory. He wants to remove this directory. Which command should he use to achieve this?
CorrectIncorrect -
Question 41 of 50
41. Question
Jessica wants to create a compressed archive of a directory named projects and save it as projects.tar.gz. Which command should she use to accomplish this?
CorrectIncorrect -
Question 42 of 50
42. Question
Brian needs to create an archive of all .txt files in the current directory using cpio and save it as documents.cpio. Which command sequence should he use to accomplish this?
CorrectIncorrect -
Question 43 of 50
43. Question
You are a system administrator and you want to ensure that when a user creates a file inside the /shared_docs directory, the file will always belong to the group docs_admin. Which command will help you set this behavior?
CorrectIncorrect -
Question 44 of 50
44. Question
Tom, a junior system administrator, has been assigned a task to ensure that all new files created by users in the system have no execute permissions for both owner and group by default. Which command should Tom use to accomplish this?
CorrectIncorrect -
Question 45 of 50
45. Question
Julia, a system administrator, noticed that the file “project-notes.txt” should be accessible (both read and write) only by members of the group “developers”. She wants to ensure that only members of this group can read and write the file while no one else can. Which of the following commands should Julia use?
CorrectIncorrect -
Question 46 of 50
46. Question
Tom wants to grant read and write permissions to the owner and read-only permissions to the group and others for a file named “report.txt”. Which of the following commands should Tom use?
CorrectIncorrect -
Question 47 of 50
47. Question
Jane, a system administrator, sets the default umask value to 027 in a system. When she creates a new file, what would be its default permissions?
CorrectIncorrect -
Question 48 of 50
48. Question
John, a system administrator, is currently inside a directory that contains a file named report.txt. The file is owned by user paul and belongs to the group finance. John wants to change the ownership of the file to user mary while retaining the group ownership as finance. Which of the following commands should he use?
CorrectIncorrect -
Question 49 of 50
49. Question
Alice, a system administrator, wants to change the group ownership of the directory project_files and all its contents to the group developers. Which command should she use to accomplish this?
CorrectIncorrect -
Question 50 of 50
50. Question
Rachel, a system administrator, wants to create a hard link named database_link that points to an existing file named database_original. Which command should she use to achieve this?
CorrectIncorrect