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.
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.
Which command lists all files in a directory including hidden ones?
Easy2A student wants to start contributing to Linux projects. Which activity is the most effective way to start?
Medium3Which TWO of the following are examples of Linux distributions?
Easy4A 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?
Easy5A 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?
Easy6A 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?
Medium7A 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?
Medium8You 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?
Easy9A team is choosing a Linux distribution for a high-performance cluster (HPC). What is a primary consideration for this choice?
Medium10Which TWO of the following are reasons why companies often prefer Linux for server environments?
Medium11A 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?
Medium12A 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?
Easy13Which TWO of the following commands can be used to view the contents of a file named 'data.txt'? (Choose two.)
Medium14An 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.)
Hard15You 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?
Medium16To navigate from your current directory to your home directory regardless of your current location, which command is most efficient?
Easy17You 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?
Hard18You 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?
Medium19A 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?
Hard20A user wants to display the current working directory in the shell. Which command should they use?
Easy21What does the 'cat' command do when provided with multiple filenames as arguments?
Medium22A 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?
Medium23You want to find lines in 'file.txt' that do NOT contain the word 'success'. Which command works?
Medium24Which THREE commands can be used to check user information or current session identity?
Medium25What is the primary role of a 'Linux Distribution'?
Easy26Which THREE of the following commands are used for file manipulation?
Hard27A 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?
Easy28A 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.)
Medium29You need to see the last 20 lines of a file named 'access.log'. Which command is the most appropriate?
Hard30A Linux administrator needs to determine if their distribution is based on Debian or RHEL. Which command or path is most indicative of this family?
Easy31What is the result of 'echo $USER'?
Medium32A 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?
Easy33Which TWO of the following are examples of common Linux filesystems?
Easy34Which THREE of the following are common types of open source software licenses?
Medium35A 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?
Medium36Which TWO of the following are popular package management tools used in Linux?
Easy37A system administrator needs to identify the numerical ID (UID) of the user 'jdoe'. Which file should be checked?
Easy38You want to delete a file but you are worried about accidentally deleting the wrong one. Which flag should you use with 'rm' for confirmation?
Medium39Which TWO of the following are valid ways to search for files?
Hard40An 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?
Medium41A 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?
Hard42A 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?
Medium43A 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?
Medium44A 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?
Medium45A user needs to change their own password on a Linux system. Which command should they use?
Medium46A 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?
Easy47A 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?
Medium48A 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?
Easy49A 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?
Medium50A 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?
Hard51You need to determine the UUID of a partition to add it to /etc/fstab. Which command should you use?
Medium52A 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?
Easy53A 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?
Medium54What is the primary purpose of the /etc/shadow file?
Easy55A 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?
Medium56A 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.)
Hard57A 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?
Medium58You 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?
Medium59You need to display the contents of a file named 'config.txt' directly to your terminal screen. Which command should you use?
Easy60Which TWO of the following commands can be used to display the contents of a text file?
Easy61Which THREE of the following are valid ways to get help on a command?
Medium62A 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?
Easy63Which TWO of the following regex patterns are valid for grep to match the beginning or end of a line?
Hard64Which THREE of the following tools can be used for text processing?
Easy65A 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?
Easy66When using the 'man' command, how do you navigate to the next page of the manual entry?
Medium67A 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?
Hard68A system administrator needs to check the version of the Linux kernel installed on a production server. Which command is most appropriate?
Medium69Which command is used to display the current working directory in the terminal?
Easy70A 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?
Hard71Why do many enterprise Linux distributions choose to delay the inclusion of the absolute latest kernel version?
Hard72Which command removes a group named 'tempgroup' from the system?
Medium73A 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?
Hard74A 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?
Medium75A 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?
Medium76A 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?
Hard77A 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?
Hard78Which THREE of the following represent ways to refer to the home directory?
Medium79A 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?
Hard80You want to delete a directory named 'temp_backup' that contains several files. Which command will successfully remove it and its contents?
Medium81Which TWO of the following commands can be used to redirect input from a file?
Hard82A 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?
Easy83Which TWO of the following are commands to delete files or directories?
Easy84A user is at the shell prompt and wants to display the current working directory. Which command should be used?
Easy85While 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?
Easy86How do you rename a file named 'oldname' to 'newname' using the command line?
Medium87Which command is used to clear the terminal screen?
Easy88Which symbol represents the current user's home directory in the shell?
Easy89You need to change the environment variable PATH to include the directory '/opt/bin'. Which command is standard?
Medium90You notice a file has permissions listed as '-rwsr-xr-x'. What does the 's' in the owner's position indicate?
Hard91Which shell variable typically contains the directories searched for command executables?
Easy92You 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?
Hard93You 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'?
Hard94You 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?
Easy95A 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?
Easy96A 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?
Medium97When evaluating Linux distributions, what distinguishes a 'rolling release' distribution from a 'fixed release' distribution?
Hard98You 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?
Medium99A system administrator needs to identify which process is listening on TCP port 80 on a Linux server. Which command is most appropriate?
Medium100You want to find all occurrences of the string 'ERROR' within the 'syslog' file. Which command is most appropriate?
Easy101An 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?
Hard102Which TWO of the following are valid ways to view system logs?
Medium103An administrator wants to view the current system load and active processes. Which utility is the most appropriate for a real-time monitor?
Easy104Which TWO of the following locations or methods are commonly used to define where a user's home directory is located?
Hard105You 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?
Medium106Which TWO of the following are recognized categories of Linux distributions based on their purpose?
Easy107A 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?
Medium108A 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?
Easy109A 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?
Hard110A developer is writing an application that performs heavy system-level calls. Why would they choose to use Linux for this development?
Hard111A user wants to run a command that will continue running even after the terminal is closed. Which command should be used to achieve this?
Medium112Which TWO of the following are valid ways to get help on a Linux system?
Easy113A 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?
Medium114Which TWO of the following are common benefits of using open source software in an enterprise environment?
Medium115To add a new user named 'guest' and set their home directory to '/home/guest', which command is correct?
Medium116A 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?
Medium117A 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?
Hard118You 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.)
Medium119Which THREE of the following are components of a standard network configuration?
Hard120You are setting up a local network and need to verify the path traffic takes to reach a remote host. Which command should you use?
Hard121Which of these is a common advantage of using a Linux-based operating system in a professional development environment?
Easy122A 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?
Medium123Which TWO of the following are common types of Linux career roles?
Easy124A 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?
Medium125Which command is used to display the current directory path in the terminal?
Easy126A 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?
Easy127Which THREE of the following are fundamental freedoms guaranteed by the Free Software Definition?
Hard128Which THREE of the following represent ways to gain practical experience with Linux?
Easy129Which TWO of the following commands help you move within the directory structure?
Medium130Which THREE of the following are common shell built-in command types?
Medium131Which THREE of the following commands are used for viewing file metadata or status?
Medium132A 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?
Medium133You 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?
Hard134A 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?
Easy135Which THREE of the following are components of a standard Linux file path?
Easy136Which TWO of the following are valid commands for displaying file contents?
Easy137A 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?
Medium138A 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?
Hard139You are browsing a directory and need to see hidden files alongside regular files. Which command achieves this?
Easy140A 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?
Medium141A 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.)
Hard142A developer needs to know the kernel version currently running on the server. Which command provides this information?
Easy143You 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?
Hard144You have created a script but it is not executable. Which command should you use to give the owner execute permissions?
Medium145A 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?
Medium146A 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.)
Hard147Which TWO of the following commands help in identifying hardware on a system?
Medium148You suspect that a process is consuming too much CPU. Which command allows you to sort active processes by CPU usage?
Medium149You need to append the output of a command to an existing file without overwriting it. Which operator should you use?
Medium150A 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?
Hard151An 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?
Hard152A 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?
Medium153You want to create a symbolic link named 'link_to_file' that points to 'original_file'. Which command is correct?
Hard154A Linux administrator is reviewing how environment variables affect command execution. Which TWO of the following statements about environment variables are correct? (Choose two.)
Hard155Which TWO of the following signals can be used to interact with processes?
Hard156A 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?
Medium157Which THREE of the following are common activities for a Linux system administrator?
Medium158Which THREE of the following are valid ways to run commands sequentially?
Hard159A 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?
Hard160Which TWO of these tools can modify file ownership or permissions?
Medium161You need to find files modified within the last 7 days. Which find flag is correct?
Hard162A 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?
Hard163A 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?
Hard164You 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?
Hard165A 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?
Medium166A 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?
Medium167You want to execute two commands sequentially, but only if the first command succeeds. Which operator is used?
Hard168What is the purpose of the '..' notation in a file path?
Medium169Which THREE commands can be used to display information about system memory?
Hard170A 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?
Medium171A 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?
Easy172A 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.)
Medium173A server is running out of disk space. Which command allows you to view the space usage of directories in a human-readable format?
Medium174A 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?
Easy175What is the purpose of the 'tee' command?
Medium176A 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?
Easy177You want to change the primary group of an existing user named 'bob' to 'staff'. Which command should you use?
Medium178A user runs `pwd` and sees `/home/alex/projects`. They then run `cd ../reports` and `pwd` again. What is the second `pwd` output?
Hard179Which command removes a directory and all its contents recursively?
Easy180Which command provides a brief summary of what a specific command does without opening the entire man page?
Easy181A 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?
Medium182A 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?
Medium183Which TWO of the following help manage compressed archive contents?
Hard184Which command-line shortcut allows you to autocomplete filenames and commands?
Easy185Which directory contains the user accounts' password hashes and aging data on most modern Linux systems?
Easy186A technician needs to locate every file under '/usr/share' whose name ends with '.conf'. Which command produces this list by searching the directory tree?
Medium187While 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?
Medium188A 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?
Hard189If you want to view a long text file page by page, which command is most suitable?
Medium190A 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?
Hard191A 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?
Medium192Which character is used to append output to an existing file without deleting its original content?
Easy193A 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?
Medium194A 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?
Medium195A 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?
Easy196Your 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?
Medium197Which TWO of the following are differences between a community-driven and a vendor-supported Linux distribution?
Hard198A 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?
Easy199You are using the 'less' command to view a large log file. Which key do you press to search forward for a specific string?
Medium200Which TWO of the following are valid ways to create a directory?
Hard201A user wants to check the amount of free disk space on all mounted filesystems in a human-readable format. Which command should they use?
Easy202You need to set an environment variable named 'MYVAR' to 'hello' so that it is available to child processes. Which command is correct?
Medium203When considering a career in Linux system administration, which certification path demonstrates proficiency in managing system-level services and security across diverse distributions?
Hard204A startup company is deciding between a Community-driven distribution and an Enterprise distribution. Which scenario best justifies choosing an Enterprise distribution?
Medium205A 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?
Medium206A 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?
Easy207A 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?
Easy208A 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?
Easy209A 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?
Easy210Which THREE of the following are typical elements included in a standard Linux distribution package?
Hard211When using 'man', what does the section number '5' refer to?
Medium212While 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`?
Medium213You 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?
Medium214A 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?
Hard215A 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?
Easy216You 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?
Hard217Which command is used to display lines of a file that match a pattern, while ignoring case?
Easy218Which TWO of the following directories are usually located at the root of a Linux filesystem?
Easy219A 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.)
Medium220A 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?
Medium221You need to create a compressed archive of the '/home/user/docs' directory named 'docs.tar.gz'. Which flag ensures gzip compression is applied?
Medium222Which THREE commands are related to viewing or changing group memberships?
Medium223A 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?
Easy224You want to set a default umask of 027 for all users. Which file should you edit to apply this globally?
Hard225You need to create a new group named 'audit'. Which command should you execute?
Medium226Which permission bit must be set on a directory to allow a user to enter the directory and access files within it?
Easy227A 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?
Easy228Which TWO of the following are true about the 'others' category of file permissions?
Easy229An 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.)
Hard230An 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?
Hard231A 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?
Medium232Which THREE of the following are special permission bits in Linux?
Hard233You need to search for a specific command description within the manual pages using a keyword. Which command should you use?
Medium234An administrator is comparing package management systems. Which tool is primarily used on RHEL-based distributions for resolving dependencies and downloading packages?
Hard235What is the result of the command 'ls -la | grep "^d"'?
Medium236A 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?
Hard237A 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?
Hard238A 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.)
Medium239A 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?
Medium240Your 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?
Hard241While 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?
Medium242A 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.)
Medium243A 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?
Hard244Which THREE of these are valid types of permissions in Linux file systems?
Easy245What is the result of running 'chmod 000 secret.txt'?
Hard246An 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?
Medium247A 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?
Hard248A 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?
Medium249A user wants to count the number of lines in a file named 'access.log'. Which command should be used?
Easy250A 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?
Medium251A 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?
Easy252A 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?
Hard253A system administrator is checking for hardware errors in the logs. Where are general system messages usually stored?
Medium254A 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?
Hard255A 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?
Hard256What does the command 'history' do?
Medium257Which of the following commands is used to create an empty file or update the timestamp of an existing file?
Easy258Which of the following describes the 'upstream' concept in Linux software development?
Hard259A 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.)
Medium260How do you check the exit status of the last command executed?
Easy261A 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?
Easy262Which TWO of the following are considered hardware components?
Easy263A 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.)
Medium264A 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'?
Easy265A 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?
Hard266A new administrator wants to see the manual page for the `cp` command to check its options. Which command should they run?
Easy267A 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?
Medium268A developer is looking for a career that involves 'DevOps' in a Linux environment. Which skill set is most relevant for this role?
Medium269Which TWO statements regarding the 'umask' command are correct?
Hard270To sort the lines of a text file numerically instead of alphabetically, which flag do you use?
Medium271Which command-line tool is used to display the groups a specific user belongs to?
Easy272You want to delete a user account named 'baduser' and also remove their home directory. Which command is correct?
Hard273Which THREE of the following represent ways to manipulate command output in a pipe?
Medium274A 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?
Hard275You 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?
Hard276Which file permission represents read, write, and execute for the owner, and read-only for group and others?
Easy277Which TWO of the following tools allow you to manage disk partitions?
Medium278A junior admin is confused about the difference between software RAID and hardware RAID. Which of the following is a primary characteristic of software RAID?
Medium279A user's account has been compromised. Which command is the most effective way to lock the user account immediately while preserving their files?
Hard280A 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?
Hard281A file is owned by root and has permissions 600. What happens if a regular user tries to read this file?
Easy282A 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.)
Medium283You need to change the ownership of a file to user 'admin'. Which command is the correct way to do this?
Medium284A 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?
Easy285An 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?
Hard286Which of the following describes the core philosophy of 'Open Source' as defined by the Open Source Initiative?
Easy287You 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?
Medium288A 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?
Medium289Which THREE of the following files/commands are involved in system startup or services?
Hard290A 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?
Easy291An administrator needs to monitor network traffic in real-time on a specific interface. Which tool is commonly used to capture and display packets?
Hard292You are currently in '/home/user/docs' and need to move to '/etc'. Which command is correct?
Medium293A 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?
Medium294Which THREE of the following are types of manual page sections?
Hard295A 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?
Medium296A 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.)
Medium297A junior administrator needs to display the full contents of /etc/hostname and also see line numbers next to each line. Which command accomplishes this?
Medium298Which THREE commands are used to manage user account lifecycle?
Medium299A 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.)
Medium300You are copying a directory named 'source' to 'destination' and want to ensure all subdirectories and file attributes are preserved. Which flag is essential?
Medium301In the context of the open source community, what is the significance of the term 'fork'?
Medium302Which THREE of the following are environment variables commonly seen in a Linux shell?
Medium303A 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.)
Medium304You 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.)
Medium305A system administrator wants to check the partition table of a specific disk. Which tool is used for this?
Medium306You are logged into a terminal and want to identify your current working directory. Which command should you execute?
Easy307Which THREE of the following items are typically found in the /etc directory?
Hard308A 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?
Hard309To see the contents of a directory, which command is standard?
Easy310A 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.)
Medium311What is the primary role of the 'Free Software Foundation' (FSF)?
Easy312A 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?
Medium313A 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?
Medium314Which of the following is considered a 'downstream' consumer of the Linux kernel?
Easy315You want to search for a file named 'notes.txt' starting from the root directory. Which command is most efficient?
Hard316What is the purpose of the /proc directory in Linux?
Easy317Which TWO commands are commonly used to check network connectivity to a host?
Medium318Which TWO of the following options can be used with 'rm' to ensure safe operation?
Medium319What is the primary difference between 'man' pages and 'info' pages?
Easy320A 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?
Easy321A 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?
Easy322Which THREE of the following are valid directory navigation commands?
Medium323A 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?
EasyOther domains
All 010-160 exam domains
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.