Courseiva

010-160 · domain

troubleshooting

Practise LPI Linux Essentials (010-160, v1.6) (010-160) troubleshooting practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

323 questions95 easy141 medium87 hard

Focused practice

Practice troubleshooting questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about troubleshooting

troubleshooting questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common troubleshooting exam traps

  • ▸Answering from memory before reading the full scenario.
  • ▸Missing a constraint such as cost, availability, security, scope or command context.
  • ▸Choosing a broad answer when the question asks for the most specific fix.
  • ▸Ignoring why the wrong options are tempting.

Question index

All troubleshooting questions (323)

Click any question to see the full explanation, or start a practice session above.

1

Which command lists all files in a directory including hidden ones?

Easy
2

A student wants to start contributing to Linux projects. Which activity is the most effective way to start?

Medium
3

Which TWO of the following are examples of Linux distributions?

Easy
4

A community college instructor is preparing course materials and wants students to be able to copy, modify, and redistribute the lab exercises freely, while ensuring that any derivative works remain under the same terms. Which type of license best fits this requirement?

Easy
5

A helpdesk technician is preparing a Linux workstation for a new employee. The employee needs to know which account they are currently logged in as, without opening any graphical tools. Which single command should the technician recommend to display the current user's login name?

Easy
6

A university research group wants to release a data-analysis tool under a license that allows companies to embed it in proprietary products without releasing their own source code. Which type of license best fits this requirement?

Medium
7

A new administrator needs to grant a colleague the ability to run a specific backup script as root without sharing the root password, while keeping the action auditable and restricted to that one command. The server already has the sudo package installed and the colleague has a normal user account. Which approach best meets these requirements?

Medium
8

You need to prevent a standard user from accidentally deleting a critical configuration file owned by root. Which command ensures the file cannot be modified or deleted even by the root user?

Easy
9

A team is choosing a Linux distribution for a high-performance cluster (HPC). What is a primary consideration for this choice?

Medium
10

Which TWO of the following are reasons why companies often prefer Linux for server environments?

Medium
11

A script named deploy.sh must run only when the preceding build command finishes without error. Which shell operator should you place between the two commands to achieve this?

Medium
12

A junior administrator needs to change the permissions of the file /home/bob/notes.txt so that the owner can read and write, the group can read, and others have no access. Which command accomplishes this?

Easy
13

Which TWO of the following commands can be used to view the contents of a file named 'data.txt'? (Choose two.)

Medium
14

An administrator creates the directory /srv/dropbox and runs 'chmod 1777 /srv/dropbox'. Users report they can create files there, but cannot delete files created by other users. Which TWO statements correctly describe this configuration? (Choose two.)

Hard
15

You have a file 'notes.txt' and you want to ensure the group owner can read and write it, but nobody else can access it. Which chmod command works?

Medium
16

To navigate from your current directory to your home directory regardless of your current location, which command is most efficient?

Easy
17

You are searching for a command that deals with 'groups' and want to see all manual pages that mention this term. Which command is most appropriate?

Hard
18

You need to determine the absolute path of the `python3` executable that would run if you typed `python3` at the prompt. Which command displays this path?

Medium
19

A consultant is auditing a Linux workstation and finds that a regular user's home directory contains a file named .bashrc and a file named .profile. The user reports that environment variables set in .profile are not present in new interactive terminal windows opened from the desktop, yet aliases from .bashrc work. Which explanation best accounts for this behavior?

Hard
20

A user wants to display the current working directory in the shell. Which command should they use?

Easy
21

What does the 'cat' command do when provided with multiple filenames as arguments?

Medium
22

A junior administrator runs `chmod 4755 /usr/local/bin/maintenance.sh` on a shared production server. Later, a standard user executes the script and it performs actions that the user would not normally be permitted to do. Which statement explains this behavior?

Medium
23

You want to find lines in 'file.txt' that do NOT contain the word 'success'. Which command works?

Medium
24

Which THREE commands can be used to check user information or current session identity?

Medium
25

What is the primary role of a 'Linux Distribution'?

Easy
26

Which THREE of the following commands are used for file manipulation?

Hard
27

A community college instructor is preparing a course on Linux and wants students to understand how the GNU Project's licensing framework protects users' freedoms. A student asks which license was created by the GNU Project to guarantee that derived works remain free. Which license should the instructor identify?

Easy
28

A new administrator is learning how Linux organizes its filesystem. She must identify which of the following statements about the Filesystem Hierarchy Standard (FHS) are correct. (Choose two.)

Medium
29

You need to see the last 20 lines of a file named 'access.log'. Which command is the most appropriate?

Hard
30

A Linux administrator needs to determine if their distribution is based on Debian or RHEL. Which command or path is most indicative of this family?

Easy
31

What is the result of 'echo $USER'?

Medium
32

A developer is exploring a new project directory and wants to see the names of all files and directories, including those that start with a dot (hidden files). Which command should be used?

Easy
33

Which TWO of the following are examples of common Linux filesystems?

Easy
34

Which THREE of the following are common types of open source software licenses?

Medium
35

A small design studio wants to release an internal font-editing tool as open source so other studios can improve it, but they also want any modified versions distributed publicly to remain open. Which licensing approach best matches this requirement while remaining a recognized free software license?

Medium
36

Which TWO of the following are popular package management tools used in Linux?

Easy
37

A system administrator needs to identify the numerical ID (UID) of the user 'jdoe'. Which file should be checked?

Easy
38

You want to delete a file but you are worried about accidentally deleting the wrong one. Which flag should you use with 'rm' for confirmation?

Medium
39

Which TWO of the following are valid ways to search for files?

Hard
40

An auditor asks how to confirm which groups the currently logged-in user belongs to, including supplementary groups, from a shell prompt. Which single command displays this information for the invoking user?

Medium
41

A user needs to view the first few lines of a large log file to confirm its format before processing it. Which command displays the beginning of the file by default?

Hard
42

A user wants to redirect the standard error of a command to a file named errors.txt while still displaying standard output on the terminal. Which redirection is correct?

Medium
43

A help-desk analyst needs to see which processes are consuming the most CPU and memory in real time, and must be able to sort and kill a runaway process interactively. Which utility best fits this requirement?

Medium
44

A support technician must read a very large log file, /var/log/messages, and only wants the portion that begins with the line containing the timestamp 'Mar 14 09:15' and continues to the end of the file. Which command should the technician run?

Medium
45

A user needs to change their own password on a Linux system. Which command should they use?

Medium
46

A technician must create a new local account named 'intern' on a Linux workstation and wants the command to also create the home directory and skeleton files automatically. Which command accomplishes this with a single invocation on a typical distribution?

Easy
47

A small design studio wants to install a Linux distribution on its workstations. The staff have no Linux experience, and the studio wants a distribution that includes a graphical installer, a curated set of desktop applications, and a community forum where beginners can ask questions. Which type of distribution best fits this scenario?

Medium
48

A new user wants to display the contents of the file /etc/hostname on the terminal. Which command will print the file's contents to standard output?

Easy
49

A small business owner wants to replace a proprietary office suite with LibreOffice on Linux workstations. A consultant explains that LibreOffice is distributed under the Mozilla Public License 2.0. Which characteristic of this license matters most for the business owner's decision to adopt and modify the software internally?

Medium
50

A user wants to create a symbolic link named latest.conf in the current directory that points to /etc/app/versions/v2.conf. Which command creates this link correctly?

Hard
51

You need to determine the UUID of a partition to add it to /etc/fstab. Which command should you use?

Medium
52

A journalist is writing an article about software licensing and wants to explain the key difference between the GNU General Public License (GPL) and the MIT License. Which statement accurately describes that difference?

Easy
53

A server hosts a directory /srv/dropbox that many users write into. The administrator wants every new file created inside it to automatically belong to the group 'projects' rather than each creator's primary group, without changing anyone's account settings. Which action achieves this?

Medium
54

What is the primary purpose of the /etc/shadow file?

Easy
55

A user reports that a script located in their home directory will not run when they type its name, even though the file exists and has execute permission. The user is currently in that home directory. Which action explains why the script is not found and how to run it?

Medium
56

A Linux administrator is working in a directory with many files and wants to identify files by their type and permissions without opening them. Which TWO commands can provide this information? (Choose two.)

Hard
57

A developer runs `ls -l report.txt` and sees `-rw-r----- 1 alice devs 2048 May 10 09:15 report.txt`. The file must be readable by all members of the `devs` group, but currently only alice can read it. The file's group ownership is already correct. Which command will grant read access to the `devs` group without changing any other permission bits?

Medium
58

You need to ensure that a server's time is synchronized with an external time source to prevent authentication errors. Which daemon is responsible for this?

Medium
59

You need to display the contents of a file named 'config.txt' directly to your terminal screen. Which command should you use?

Easy
60

Which TWO of the following commands can be used to display the contents of a text file?

Easy
61

Which THREE of the following are valid ways to get help on a command?

Medium
62

A career counselor is advising a student who wants to work as a Linux systems administrator. Which skill area is most directly relevant to that entry-level role?

Easy
63

Which TWO of the following regex patterns are valid for grep to match the beginning or end of a line?

Hard
64

Which THREE of the following tools can be used for text processing?

Easy
65

A new Linux user is exploring career paths and learns that Linux skills are in demand. Which of the following is a primary reason why Linux is widely used in cloud computing and web servers?

Easy
66

When using the 'man' command, how do you navigate to the next page of the manual entry?

Medium
67

A colleague's shell script contains the line: find /var/log -name '*.log' -exec rm {} \; You need to explain what this line does before approving it. What is the effect of the -exec primary here?

Hard
68

A system administrator needs to check the version of the Linux kernel installed on a production server. Which command is most appropriate?

Medium
69

Which command is used to display the current working directory in the terminal?

Easy
70

A security auditor wants to give a contractor temporary read-only access to a single log file /var/log/app/audit.log without adding the contractor to any group and without granting access to the rest of the directory. Which approach best matches least-privilege practice?

Hard
71

Why do many enterprise Linux distributions choose to delay the inclusion of the absolute latest kernel version?

Hard
72

Which command removes a group named 'tempgroup' from the system?

Medium
73

A junior administrator is documenting the governance of a Linux distribution for an internal wiki. She needs to describe how a community-driven distribution typically makes technical decisions, contrasting it with a single-vendor model. Which statement accurately describes the community-driven governance model?

Hard
74

A hospital IT team is evaluating a Linux distribution for its patient-record servers. The team wants a distribution whose packages are maintained by a vendor that offers commercial support contracts, certified hardware compatibility, and long-term security updates, rather than relying solely on community volunteers. Which type of distribution best fits these requirements?

Medium
75

A junior Linux administrator is documenting the origins of the software running on company servers. The administrator notes that the Linux kernel is developed and released by a large, distributed community rather than a single company. Which statement best describes how the Linux kernel project is governed and maintained?

Medium
76

A user runs the command `grep '^root' /etc/passwd` and sees only the line starting with 'root'. They now want to find all lines that do NOT start with 'root'. Which command should they use?

Hard
77

A systems administrator is evaluating a new open source backup tool for a company's Linux servers. The tool's license includes a clause that states any modifications must be released under the same license. The administrator plans to modify the tool for internal use only. Which action is required by this license?

Hard
78

Which THREE of the following represent ways to refer to the home directory?

Medium
79

A user is in /home/bob and wants to copy the file notes.txt from /data/reports into the current directory, keeping the same filename. Which command performs this operation?

Hard
80

You want to delete a directory named 'temp_backup' that contains several files. Which command will successfully remove it and its contents?

Medium
81

Which TWO of the following commands can be used to redirect input from a file?

Hard
82

A user wants to see the manual page for the 'passwd' command, but is unsure which section contains the command documentation. Which command displays the manual page for 'passwd' from section 1?

Easy
83

Which TWO of the following are commands to delete files or directories?

Easy
84

A user is at the shell prompt and wants to display the current working directory. Which command should be used?

Easy
85

While troubleshooting a service, a technician runs `ps aux` and sees a process in state `Z`. The process's parent is PID 1. Which statement best describes what the technician is observing?

Easy
86

How do you rename a file named 'oldname' to 'newname' using the command line?

Medium
87

Which command is used to clear the terminal screen?

Easy
88

Which symbol represents the current user's home directory in the shell?

Easy
89

You need to change the environment variable PATH to include the directory '/opt/bin'. Which command is standard?

Medium
90

You notice a file has permissions listed as '-rwsr-xr-x'. What does the 's' in the owner's position indicate?

Hard
91

Which shell variable typically contains the directories searched for command executables?

Easy
92

You have added a new hard drive to your Linux server, but the system does not automatically recognize the device. What is the first step you should take to verify if the kernel detects the hardware?

Hard
93

You need to move a file named 'data.txt' from the current directory to '/var/logs' but want to be prompted if a file with the same name already exists in the destination. Which option should you add to 'mv'?

Hard
94

You are the administrator of a shared Linux workstation. A new employee needs to be added to the existing group 'research' so they can access group-owned project files. Which command accomplishes this?

Easy
95

A support technician is helping a user install a new desktop environment on a Linux workstation. The user asks which organization maintains the GNOME desktop project and how its community governance generally operates. Which answer is most accurate?

Easy
96

A support engineer is handed a Linux server and needs to determine which user account is currently logged in on a remote SSH session before performing maintenance, so they can notify the right person. Which command most directly reports the usernames of users currently logged into the system?

Medium
97

When evaluating Linux distributions, what distinguishes a 'rolling release' distribution from a 'fixed release' distribution?

Hard
98

You are configuring a temporary directory where multiple users save files. To ensure that users can only delete their own files and not files created by others, what must you set?

Medium
99

A system administrator needs to identify which process is listening on TCP port 80 on a Linux server. Which command is most appropriate?

Medium
100

You want to find all occurrences of the string 'ERROR' within the 'syslog' file. Which command is most appropriate?

Easy
101

An administrator creates a directory `/srv/dropbox` with mode 1777 so that several contractors can deposit files. Later, one contractor reports that a file they uploaded vanished, and `ls -l /srv/dropbox` shows the directory still has its sticky bit set. Which statement best explains the situation?

Hard
102

Which TWO of the following are valid ways to view system logs?

Medium
103

An administrator wants to view the current system load and active processes. Which utility is the most appropriate for a real-time monitor?

Easy
104

Which TWO of the following locations or methods are commonly used to define where a user's home directory is located?

Hard
105

You are in the directory '/home/alex/projects' and want to switch to the parent directory of your current location using a relative path. Which command accomplishes this?

Medium
106

Which TWO of the following are recognized categories of Linux distributions based on their purpose?

Easy
107

A junior administrator runs `chmod g+s /srv/reports` on a directory that is owned by root:finance and then creates a file inside it as the user `alice`, who is a member of the finance group. Which ownership will the newly created file have?

Medium
108

A user named bob has a primary group of users and is also a member of the group auditors. He creates a new file called notes.txt in his home directory. The system's default umask is 022. Which command would change the group ownership of notes.txt to auditors without altering its permissions?

Easy
109

A user runs `umask` and sees `0022`. They create a new regular file with `touch report.txt`. Which permissions will the new file most likely have, and why?

Hard
110

A developer is writing an application that performs heavy system-level calls. Why would they choose to use Linux for this development?

Hard
111

A user wants to run a command that will continue running even after the terminal is closed. Which command should be used to achieve this?

Medium
112

Which TWO of the following are valid ways to get help on a Linux system?

Easy
113

A small business owner wants to reduce licensing costs and gain the ability to inspect and customize the software running on point-of-sale terminals. Which combination of characteristics best describes the type of software she should adopt?

Medium
114

Which TWO of the following are common benefits of using open source software in an enterprise environment?

Medium
115

To add a new user named 'guest' and set their home directory to '/home/guest', which command is correct?

Medium
116

A file named payroll.csv has permissions -rw-r-----. The user owner is carol, and the group owner is hr. A user named dave, who is not carol and not a member of hr, attempts to read the file. What will happen?

Medium
117

A user wants to create a compressed archive of the directory /home/user/project, including all its subdirectories, and name the archive project.tar.gz. Which command should be used?

Hard
118

You are reviewing a shell script and need to identify commands that are handled internally by the shell rather than by launching a separate executable. Which two of the following are shell builtins? (Choose two.)

Medium
119

Which THREE of the following are components of a standard network configuration?

Hard
120

You are setting up a local network and need to verify the path traffic takes to reach a remote host. Which command should you use?

Hard
121

Which of these is a common advantage of using a Linux-based operating system in a professional development environment?

Easy
122

A systems administrator is documenting a server and wants to record which kernel release is currently running, including any distribution-specific patch level, for compatibility checks with a third-party driver. Which command should be used to display this information?

Medium
123

Which TWO of the following are common types of Linux career roles?

Easy
124

A system administrator needs to change the permissions of a script named backup.sh so that the owner can read, write, and execute it, while group members and others can only read and execute it. Which command accomplishes this?

Medium
125

Which command is used to display the current directory path in the terminal?

Easy
126

A user wants to change the permissions of a file named 'data.txt' so that the owner can read and write, the group can read, and others have no access. Which command achieves this?

Easy
127

Which THREE of the following are fundamental freedoms guaranteed by the Free Software Definition?

Hard
128

Which THREE of the following represent ways to gain practical experience with Linux?

Easy
129

Which TWO of the following commands help you move within the directory structure?

Medium
130

Which THREE of the following are common shell built-in command types?

Medium
131

Which THREE of the following commands are used for viewing file metadata or status?

Medium
132

A Linux administrator needs to check which shell is currently assigned to the user account 'jdoe' in the system's user database, without logging in as that user. Which command will display this information?

Medium
133

You are managing a Linux server running an application that uses libraries licensed under the LGPL (Lesser General Public License). What is the primary implication of this license?

Hard
134

A user named alice is working in /home/alice/projects and wants to navigate to the parent directory of her current location. Which command should she execute?

Easy
135

Which THREE of the following are components of a standard Linux file path?

Easy
136

Which TWO of the following are valid commands for displaying file contents?

Easy
137

A user is in '/var/log' and wants to copy the file 'app.log' to '/tmp/archive' while preserving its original permissions, ownership, and timestamps. Which command accomplishes this?

Medium
138

A systems engineer is evaluating a Linux distribution for a company that needs long-term stability, commercial support options, and certification for third-party enterprise applications. The company also wants the ability to obtain paid support contracts. Which distribution characteristic best aligns with these requirements?

Hard
139

You are browsing a directory and need to see hidden files alongside regular files. Which command achieves this?

Easy
140

A junior administrator is troubleshooting a script and needs to know the exact location of the executable that runs when the command 'grep' is typed, without executing it. Which command should be used?

Medium
141

A Linux administrator is auditing user accounts and needs to identify which files store local user account and hashed password information on a typical distribution. (Choose two.)

Hard
142

A developer needs to know the kernel version currently running on the server. Which command provides this information?

Easy
143

You are trying to troubleshoot why a user cannot connect to your server via SSH. You want to see if the SSH daemon is listening on the appropriate port. Which command should you run?

Hard
144

You have created a script but it is not executable. Which command should you use to give the owner execute permissions?

Medium
145

A small business owner wants to deploy a free operating system on a point-of-sale terminal but is unsure whether the software's license permits selling the hardware with the OS preinstalled. Which characteristic of open source software licenses directly addresses this concern?

Medium
146

A Linux administrator is preparing a machine that must run headless as a file server. She needs to identify which of the following are characteristics of a Linux server installation rather than a typical desktop installation. (Choose two.)

Hard
147

Which TWO of the following commands help in identifying hardware on a system?

Medium
148

You suspect that a process is consuming too much CPU. Which command allows you to sort active processes by CPU usage?

Medium
149

You need to append the output of a command to an existing file without overwriting it. Which operator should you use?

Medium
150

A Linux administrator is reviewing the boot process on a server that uses systemd. She wants to determine which target the system will boot into by default and confirm the current default setting. Which command should she use?

Hard
151

An operator is at a prompt and types cd - after having earlier changed from /etc/nginx to /var/www/html. What is the effect of that command?

Hard
152

A user reports that a script at /usr/local/bin/backup.sh runs with the permissions of the file's owner rather than the user who invoked it, and that this behaviour is intentional for a scheduled task. Which permission bit is responsible for this behaviour?

Medium
153

You want to create a symbolic link named 'link_to_file' that points to 'original_file'. Which command is correct?

Hard
154

A Linux administrator is reviewing how environment variables affect command execution. Which TWO of the following statements about environment variables are correct? (Choose two.)

Hard
155

Which TWO of the following signals can be used to interact with processes?

Hard
156

A junior administrator is told that a popular server distribution is 'based on Debian.' She wants to verify this claim on a running system by inspecting files that identify the distribution and its upstream lineage, without installing any extra tools. Which file should she examine to see the distribution ID and the ID of the upstream distribution it derives from?

Medium
157

Which THREE of the following are common activities for a Linux system administrator?

Medium
158

Which THREE of the following are valid ways to run commands sequentially?

Hard
159

A Linux administrator is troubleshooting a server that fails to boot completely. The system starts but drops into an emergency shell. Which command should the administrator use to view the most recent kernel messages that might indicate the cause?

Hard
160

Which TWO of these tools can modify file ownership or permissions?

Medium
161

You need to find files modified within the last 7 days. Which find flag is correct?

Hard
162

A software engineer at a medical device company wants to use an open source library licensed under the GNU GPLv3 in a product that will be shipped as a closed-source firmware binary. The company's legal team is concerned about compliance. What is the primary obligation the company must meet under the GPLv3?

Hard
163

A junior administrator runs `grep -r "timeout" /etc` inside a Bash login shell. The output scrolls past the terminal window, so the administrator wants to view the complete results one screen at a time while also being able to scroll back through the earlier lines. Which command should the administrator have used instead?

Hard
164

You want to change the owner of 'data.txt' from 'user1' to 'user2' AND the group from 'group1' to 'group2' in one command. Which is correct?

Hard
165

A junior administrator is asked to determine which shell will be launched for a user named 'alex' upon login. The administrator inspects the /etc/passwd file and sees the following line: alex:x:1001:1001:Alex Smith:/home/alex:/bin/bash. Which field in this line specifies the login shell?

Medium
166

A nonprofit organization wants to deploy a Linux distribution whose development is guided by a foundation with transparent governance and community-elected leadership, rather than a single commercial vendor. Which distribution characteristic is most relevant to this decision?

Medium
167

You want to execute two commands sequentially, but only if the first command succeeds. Which operator is used?

Hard
168

What is the purpose of the '..' notation in a file path?

Medium
169

Which THREE commands can be used to display information about system memory?

Hard
170

A junior administrator is troubleshooting a payroll application and runs 'ls -l /srv/payroll/run.sh'. The output shows '-rwxr-x--- 1 root finance 2048 Apr 10 09:14 /srv/payroll/run.sh'. A member of the 'marketing' group complains the script fails with 'Permission denied'. What is the most likely reason?

Medium
171

A community college instructor is preparing course materials for an introductory Linux class and wants students to understand how the GNU General Public License (GPL) differs from permissive licenses such as the MIT License. Which statement accurately describes a key difference between these two license types?

Easy
172

A technician is examining files in /var/tmp and needs to identify which entries are directories rather than regular files. Which two commands can provide this information? (Choose two.)

Medium
173

A server is running out of disk space. Which command allows you to view the space usage of directories in a human-readable format?

Medium
174

A developer wants a shell script named `deploy.sh` located in the current directory to be runnable by typing `./deploy.sh`, but currently the command returns 'Permission denied' even though the file contains valid commands. Which command resolves the problem?

Easy
175

What is the purpose of the 'tee' command?

Medium
176

A new intern is asked to identify which of the following is a Linux distribution rather than a desktop environment or a package manager. Which item should the intern select?

Easy
177

You want to change the primary group of an existing user named 'bob' to 'staff'. Which command should you use?

Medium
178

A user runs `pwd` and sees `/home/alex/projects`. They then run `cd ../reports` and `pwd` again. What is the second `pwd` output?

Hard
179

Which command removes a directory and all its contents recursively?

Easy
180

Which command provides a brief summary of what a specific command does without opening the entire man page?

Easy
181

A small design studio wants to deploy a Linux desktop for graphic work but must keep every application they install free to modify and redistribute internally. Which characteristic of a Linux distribution best supports this requirement?

Medium
182

A Linux administrator needs to add a new user account named 'tester' with a home directory and a default shell of /bin/bash. Which command should be used?

Medium
183

Which TWO of the following help manage compressed archive contents?

Hard
184

Which command-line shortcut allows you to autocomplete filenames and commands?

Easy
185

Which directory contains the user accounts' password hashes and aging data on most modern Linux systems?

Easy
186

A technician needs to locate every file under '/usr/share' whose name ends with '.conf'. Which command produces this list by searching the directory tree?

Medium
187

While exploring a system, an administrator runs `ls -a` inside a directory and sees entries named `.` and `..` in addition to regular files. What do these two entries represent?

Medium
188

A contractor needs to run a diagnostic script that requires reading a log file owned by `root` with mode `640` and group `adm`. The contractor's account `contractor` has primary group `contractor` but has been added as a supplementary member of `adm`. Which statement describes what will happen when the contractor attempts to read the file?

Hard
189

If you want to view a long text file page by page, which command is most suitable?

Medium
190

A technician needs to locate all files under /var that are larger than 100 MB and were modified more than 30 days ago. Which command will produce this list?

Hard
191

A small business owner wants to replace a proprietary office suite with a free alternative on Linux workstations. A consultant explains that the software can be used, studied, modified, and redistributed. Which concept is the consultant describing?

Medium
192

Which character is used to append output to an existing file without deleting its original content?

Easy
193

A firm wants to contribute back to the open source community to improve their internal Linux tools. What is the best practice for submitting these improvements?

Medium
194

A teammate wants to search a large text file for lines containing the word 'error', ignoring case, and display the matching line numbers. Which command accomplishes this?

Medium
195

A user wants to view the permissions of all files in a directory, including hidden files, in a long listing format. Which command should they use?

Easy
196

Your organization wants to standardize its servers on a single distribution to streamline patch management. Which of the following is an advantage of using a major distribution like Ubuntu LTS or RHEL?

Medium
197

Which TWO of the following are differences between a community-driven and a vendor-supported Linux distribution?

Hard
198

A junior administrator needs to change the ownership of the file `/var/www/html/index.html` from user `deploy` to user `www-data`, while leaving the group ownership and all permission bits exactly as they are. Which command should be used?

Easy
199

You are using the 'less' command to view a large log file. Which key do you press to search forward for a specific string?

Medium
200

Which TWO of the following are valid ways to create a directory?

Hard
201

A user wants to check the amount of free disk space on all mounted filesystems in a human-readable format. Which command should they use?

Easy
202

You need to set an environment variable named 'MYVAR' to 'hello' so that it is available to child processes. Which command is correct?

Medium
203

When considering a career in Linux system administration, which certification path demonstrates proficiency in managing system-level services and security across diverse distributions?

Hard
204

A startup company is deciding between a Community-driven distribution and an Enterprise distribution. Which scenario best justifies choosing an Enterprise distribution?

Medium
205

A university lab is choosing a license for a new data-analysis tool developed by students. The lab wants other researchers to be able to use, modify, and redistribute the tool, but also wants any modified versions distributed to others to remain open source. Which licensing approach best fits these goals?

Medium
206

A helpdesk technician is asked to confirm which Linux kernel is currently running on a production web server so they can compare it against a vendor's supported-kernel list. They only have a standard shell session and want the most direct command that prints the running kernel release string. Which command should they use?

Easy
207

A user has a file named notes.txt in /home/alex and wants to create a copy named notes_backup.txt in the same directory without altering the original. Which command accomplishes this?

Easy
208

A junior administrator is at a shell prompt in /home/alex and wants to see a compact, one-line-per-entry listing that includes hidden files along with their permissions and sizes. Which command accomplishes this?

Easy
209

A student is preparing for a career as a Linux system administrator and wants to understand the difference between a Linux distribution and the Linux kernel. Which statement best describes the relationship?

Easy
210

Which THREE of the following are typical elements included in a standard Linux distribution package?

Hard
211

When using 'man', what does the section number '5' refer to?

Medium
212

While exploring a Linux system, a new administrator runs `ls -l /etc/shadow` and sees that the file is owned by root and group shadow, with permissions `rw-r-----`. They want to understand which user accounts on the system are currently configured with a valid password hash versus those that are locked. Which command best lists only the accounts that have a real password hash set in `/etc/shadow`?

Medium
213

You wish to send the output of the 'ls -l' command directly into a file named 'dirlist.txt', overwriting any existing content. Which operator should you use?

Medium
214

A system administrator is troubleshooting a Linux server that has become unresponsive. The administrator wants to view a snapshot of all currently running processes, including those not attached to a terminal, along with their process IDs and CPU usage. Which command should the administrator use?

Hard
215

A helpdesk technician is asked to install a Linux distribution on a spare workstation for a new employee who needs a full desktop environment. The technician wants to minimize the time spent selecting packages during installation. Which type of Linux distribution should the technician choose?

Easy
216

You are managing a directory shared by a project team. You want all files created in this directory to automatically belong to the 'developers' group, regardless of the user's primary group. Which command achieves this?

Hard
217

Which command is used to display lines of a file that match a pattern, while ignoring case?

Easy
218

Which TWO of the following directories are usually located at the root of a Linux filesystem?

Easy
219

A small business is selecting open source software for its accounting and customer management needs. The owner wants to understand common characteristics of open source projects and their communities. (Choose two.)

Medium
220

A developer runs `mkdir /srv/collab` on an ext4 filesystem, then runs `chmod 2775 /srv/collab` so that the directory is owned by root:devteam. Later, a member of the devteam group creates a file inside /srv/collab with their default umask of 022. Which group will own the newly created file?

Medium
221

You need to create a compressed archive of the '/home/user/docs' directory named 'docs.tar.gz'. Which flag ensures gzip compression is applied?

Medium
222

Which THREE commands are related to viewing or changing group memberships?

Medium
223

A junior administrator is logged into a Linux server and needs to view the contents of the file '/etc/hosts' without opening an editor. Which command should they run?

Easy
224

You want to set a default umask of 027 for all users. Which file should you edit to apply this globally?

Hard
225

You need to create a new group named 'audit'. Which command should you execute?

Medium
226

Which permission bit must be set on a directory to allow a user to enter the directory and access files within it?

Easy
227

A technician has just unpacked a new server and needs to confirm which physical architecture the CPU reports so they can request the matching RPM package. Which command will display the machine's hardware architecture, such as x86_64?

Easy
228

Which TWO of the following are true about the 'others' category of file permissions?

Easy
229

An administrator is reviewing how pathnames are resolved on a Linux system and wants to identify statements that correctly describe absolute and relative paths. (Choose two.)

Hard
230

An administrator wants to create a hard link named 'report_link' to an existing file '/data/report.txt' on the same filesystem. Which command creates this hard link?

Hard
231

A user wants to find all files under /home that are larger than 100 MB and were modified in the last 7 days. Which command accomplishes this?

Medium
232

Which THREE of the following are special permission bits in Linux?

Hard
233

You need to search for a specific command description within the manual pages using a keyword. Which command should you use?

Medium
234

An administrator is comparing package management systems. Which tool is primarily used on RHEL-based distributions for resolving dependencies and downloading packages?

Hard
235

What is the result of the command 'ls -la | grep "^d"'?

Medium
236

A hospital's IT department wants to adopt a Linux-based electronic records system. Legal counsel insists that the hospital be able to audit and modify the source code to meet patient-data regulations, and that any redistributed improvements remain under the same freedoms. Which licensing approach best satisfies counsel's requirements?

Hard
237

A junior administrator is asked to verify whether a newly installed application is truly open source. The application's documentation states that the source code is available but forbids modification and redistribution. Which statement best evaluates this claim?

Hard
238

A security audit requires reviewing which local accounts exist on a Linux server, which of them have usable login shells, and which groups each account belongs to. Which TWO commands or files provide authoritative local account and group membership information? (Choose two.)

Medium
239

A user wants to find all files under /var/log that have been modified within the last 24 hours and are larger than 1 MB, then save the list to /tmp/recent_large.txt. Which command accomplishes this?

Medium
240

Your company is considering moving from proprietary software to open source solutions. Which aspect of the GPL license is most restrictive regarding the distribution of modified code?

Hard
241

While troubleshooting a script, you run `grep -n 'error' /var/log/app.log` and see output lines prefixed with numbers. A colleague asks what those numbers represent. What do they indicate?

Medium
242

A nonprofit is drafting a policy that explains how its staff may legally use and redistribute open source software. The draft must correctly reflect the freedoms that free and open source licenses grant to recipients. Which two statements accurately describe those freedoms? (Choose two.)

Medium
243

A user complains they cannot read a file. The file has permissions 640 and is owned by root, but the user is in the group that owns the file. Why can't they read it?

Hard
244

Which THREE of these are valid types of permissions in Linux file systems?

Easy
245

What is the result of running 'chmod 000 secret.txt'?

Hard
246

An open source developer wants to choose a license that allows their code to be included in proprietary software without requiring the proprietary software to open its source. Which license should they choose?

Medium
247

A Linux system administrator notices that the /var/log directory is filling up quickly. They want to find the largest files within that directory tree to identify what is consuming space. Which command will accomplish this?

Hard
248

A user needs to find every regular file under /var/log whose name ends in `.log` and whose size is larger than 10 megabytes, then delete them. Which command accomplishes this safely?

Medium
249

A user wants to count the number of lines in a file named 'access.log'. Which command should be used?

Easy
250

A consultant is preparing a presentation about the Linux ecosystem. She needs to explain the relationship between the kernel and a complete Linux distribution. Which statement best describes this relationship?

Medium
251

A user wants to view the contents of a text file named 'notes.txt' one page at a time, and also be able to scroll backward and forward within the file. Which command is best suited for this task?

Easy
252

A user reports that a script stored on a mounted USB drive will not execute when invoked by name, even though it runs when called explicitly through the shell with bash script.sh. The file has execute permission set for the user. Which is the most likely cause?

Hard
253

A system administrator is checking for hardware errors in the logs. Where are general system messages usually stored?

Medium
254

A user runs `grep -E '^[A-Z][a-z]+ [0-9]{3}$' file.txt` and gets no output, even though file.txt contains lines like `Alpha 123` and `Beta 456`. What is the most likely explanation?

Hard
255

A hospital IT team is evaluating open source software for a patient scheduling system. Legal counsel asks how the team can verify that the project's license permits commercial use and modification while requiring attribution. Which action best addresses this concern?

Hard
256

What does the command 'history' do?

Medium
257

Which of the following commands is used to create an empty file or update the timestamp of an existing file?

Easy
258

Which of the following describes the 'upstream' concept in Linux software development?

Hard
259

A student is learning about the open source movement and its impact on software development. Which two statements accurately describe the role of open source licenses in fostering collaboration? (Choose two.)

Medium
260

How do you check the exit status of the last command executed?

Easy
261

A junior administrator opens a terminal in their home directory and runs the command `cd /var/log` followed by `cd ..`. Which directory are they now in?

Easy
262

Which TWO of the following are considered hardware components?

Easy
263

A systems administrator is evaluating career paths within the Linux and open source ecosystem. The administrator is interested in roles that combine system operations with software development practices. Which two activities are most characteristic of a DevOps-oriented Linux role? (Choose two.)

Medium
264

A junior administrator needs to let a colleague in the accounting group read and write the shared report at /srv/reports/q3.csv, but no one outside that group should have any access. The file is currently owned by the administrator. Which command accomplishes this by changing only the group ownership to 'accounting'?

Easy
265

A Linux administrator needs to grant a contractor temporary read and write access to a project directory without adding the contractor's account to a shared group or changing ownership of existing files. Which approach best meets this requirement while following standard Linux permission practice?

Hard
266

A new administrator wants to see the manual page for the `cp` command to check its options. Which command should they run?

Easy
267

A technician needs to inspect a configuration file located at `/etc/example/app.conf` without changing the current working directory, and they want the shell prompt to keep showing their present location afterward. Which command accomplishes this?

Medium
268

A developer is looking for a career that involves 'DevOps' in a Linux environment. Which skill set is most relevant for this role?

Medium
269

Which TWO statements regarding the 'umask' command are correct?

Hard
270

To sort the lines of a text file numerically instead of alphabetically, which flag do you use?

Medium
271

Which command-line tool is used to display the groups a specific user belongs to?

Easy
272

You want to delete a user account named 'baduser' and also remove their home directory. Which command is correct?

Hard
273

Which THREE of the following represent ways to manipulate command output in a pipe?

Medium
274

A system administrator creates a shared directory /srv/collab and sets its permissions to 1777. Users report that they can create files but cannot delete files created by other users. Which statement describes the effect of the leading 1 in the permission mode?

Hard
275

You want to replace every occurrence of 'old' with 'new' in the file 'data.txt' and view the result in the terminal. Which command achieves this?

Hard
276

Which file permission represents read, write, and execute for the owner, and read-only for group and others?

Easy
277

Which TWO of the following tools allow you to manage disk partitions?

Medium
278

A junior admin is confused about the difference between software RAID and hardware RAID. Which of the following is a primary characteristic of software RAID?

Medium
279

A user's account has been compromised. Which command is the most effective way to lock the user account immediately while preserving their files?

Hard
280

A shared project directory `/srv/team` is owned by user `lead` and group `team`. Team members must be able to create, edit, and delete each other's files, and every new file must automatically belong to the `team` group even when created by a user whose primary group is something else. The directory already has permissions `drwxrwx---`. Which single action accomplishes the group inheritance requirement?

Hard
281

A file is owned by root and has permissions 600. What happens if a regular user tries to read this file?

Easy
282

A technician is preparing a presentation on how Linux organizes its filesystem and wants to describe the role of the Filesystem Hierarchy Standard. Which two statements accurately describe the FHS as it applies to mainstream Linux distributions? (Choose two.)

Medium
283

You need to change the ownership of a file to user 'admin'. Which command is the correct way to do this?

Medium
284

A help desk technician receives a call from a user who complains that their Linux workstation feels sluggish. The technician wants to see a dynamic, real-time list of processes sorted by CPU usage. Which command should the technician run?

Easy
285

An administrator wants to allow a user named carol to read a file /etc/secure.conf that is owned by root:root with permissions 600, without changing the file's permissions or adding carol to the root group. Which command should the administrator use?

Hard
286

Which of the following describes the core philosophy of 'Open Source' as defined by the Open Source Initiative?

Easy
287

You are managing a Linux server and need to confirm the IP address assigned to the eth0 interface. Which command is most appropriate on modern distributions?

Medium
288

A Linux administrator needs to check how much free space remains on each mounted filesystem before deploying a large application. The administrator wants a quick, human-readable summary showing used and available space per mount point. Which command should be used?

Medium
289

Which THREE of the following files/commands are involved in system startup or services?

Hard
290

A community college instructor is preparing a lesson on the origins of the Linux operating system. She wants to explain why Linux is described as a 'kernel' rather than a complete operating system, and which project provided the essential user-space tools that were combined with it. Which project supplied those foundational command-line utilities?

Easy
291

An administrator needs to monitor network traffic in real-time on a specific interface. Which tool is commonly used to capture and display packets?

Hard
292

You are currently in '/home/user/docs' and need to move to '/etc'. Which command is correct?

Medium
293

A user wants to find all files in the /var/log directory that have been modified in the last 24 hours and display their names. Which command accomplishes this?

Medium
294

Which THREE of the following are types of manual page sections?

Hard
295

A user needs to find all files in the /var/log directory that have been modified in the last 24 hours. Which command will accomplish this?

Medium
296

A Linux user wants to create a new directory named 'projects' and then move an existing file named 'report.txt' into it. Which two commands will accomplish these tasks? (Choose two.)

Medium
297

A junior administrator needs to display the full contents of /etc/hostname and also see line numbers next to each line. Which command accomplishes this?

Medium
298

Which THREE commands are used to manage user account lifecycle?

Medium
299

A junior Linux administrator is exploring ways to participate in the open source community beyond simply using the software. Which two activities represent direct contributions to an open source project? (Choose two.)

Medium
300

You are copying a directory named 'source' to 'destination' and want to ensure all subdirectories and file attributes are preserved. Which flag is essential?

Medium
301

In the context of the open source community, what is the significance of the term 'fork'?

Medium
302

Which THREE of the following are environment variables commonly seen in a Linux shell?

Medium
303

A community college is designing an introductory course on Linux and open source culture. The instructor wants to include activities that reflect the collaborative practices of the open source community. (Choose two.)

Medium
304

You are hardening a server and must ensure that ordinary users cannot read the contents of `/etc/shadow`. Which two statements about `/etc/shadow` access are correct? (Choose two.)

Medium
305

A system administrator wants to check the partition table of a specific disk. Which tool is used for this?

Medium
306

You are logged into a terminal and want to identify your current working directory. Which command should you execute?

Easy
307

Which THREE of the following items are typically found in the /etc directory?

Hard
308

A developer stores a private SSH key at /home/dev/id_rsa and wants to remove all permissions for group and others while keeping full owner access, using octal notation. Which command achieves exactly this?

Hard
309

To see the contents of a directory, which command is standard?

Easy
310

A Linux administrator is reviewing user account files and needs to understand where user information is stored. Which TWO of the following files contain user account details? (Choose two.)

Medium
311

What is the primary role of the 'Free Software Foundation' (FSF)?

Easy
312

A junior administrator is reading documentation for a command-line utility and sees that it is licensed under the GPLv3. The administrator wants to modify the code and distribute the modified version to a colleague outside the company. Which statement best describes the obligation imposed by the GPLv3 in this situation?

Medium
313

A developer working in /srv/project wants to create a symbolic link named latest that points to the file releases/v2.1/app.tar.gz, keeping the link inside /srv/project. Which command creates this link correctly?

Medium
314

Which of the following is considered a 'downstream' consumer of the Linux kernel?

Easy
315

You want to search for a file named 'notes.txt' starting from the root directory. Which command is most efficient?

Hard
316

What is the purpose of the /proc directory in Linux?

Easy
317

Which TWO commands are commonly used to check network connectivity to a host?

Medium
318

Which TWO of the following options can be used with 'rm' to ensure safe operation?

Medium
319

What is the primary difference between 'man' pages and 'info' pages?

Easy
320

A small business owner wants to implement a server that allows for long-term support and stability for critical financial applications. Which distribution strategy should they prioritize?

Easy
321

A user named alice has a primary group alice and is also a member of the group developers. She creates a new file named report.txt in her home directory. The umask is set to 022. What are the permissions of the newly created file?

Easy
322

Which THREE of the following are valid directory navigation commands?

Medium
323

A technician needs to identify the amount of RAM installed in a server without opening the chassis. Which command provides this information from the command line?

Easy

Frequently asked questions

What does the troubleshooting domain cover on the 010-160 exam?
troubleshooting questions test whether you can apply the concept in context, not just recognise a definition.
How many questions are in this domain?
This page lists all 323 troubleshooting questions in the 010-160 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only troubleshooting questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.