Skip to content

010-150 Linux Essentials v1.5 Practice Questions

Prepare for 010-150 with more than an answer.

240 questions in the full set20 sample questionsUpdated Jan 26, 2026

Unlock the full exam and previous versions

  • v1Standard 285 questions Locked
  • 010-150Legacy Entry Level Linux Essentials Certificate of Achievement 240 questions Current
Exam fee
$120 USD
Level
Entry Level
Valid for
Lifetime
Domains covered on the exam 5
  1. The Linux Community and a Career in Open Source7%
  2. Finding Your Way on a Linux System9%
  3. The Power of the Command Line9%
  4. The Linux Operating System8%
  5. Security and File Permissions7%
  1. 1

    Which of the following commands is used to look up the current IP address of a system?

    Show answer details

    Correct answer: B

    The ifconfig command displays current network interface configuration including IP addresses, netmask, broadcast addresses, and interface status for all network adapters on the system. This command provides comprehensive network information for troubleshooting connectivity issues and verifying network settings. While ping tests connectivity, netstat shows network connections, and route displays routing tables, ifconfig specifically shows current IP address assignments and interface configurations.

  2. 2

    How could one search for the file foo.txt under the directory /home?

    Show answer details

    Correct answer: D

    The command "find /home -name foo.txt" searches for the file foo.txt under the /home directory and all its subdirectories, using the find command's recursive search capabilities with name-based pattern matching. The find command is specifically designed for locating files and directories based on various criteria including name, size, permissions, and modification dates. Other commands like ls list directory contents, locate uses databases, and grep searches file content rather than filenames.

  3. 3

    How can the normal output of a command be written to a file while discarding the error output?

    Show answer details

    Correct answer: D

    The command syntax "command > output 2>/dev/null" writes normal output to a file while discarding error output by redirecting stderr (file descriptor 2) to /dev/null. This redirection technique separates standard output from error output, allowing capture of successful command results while suppressing error messages. The > operator redirects stdout to the output file, while 2>/dev/null specifically discards stderr, preventing error messages from appearing on the terminal or being saved.

  4. 4

    How can the current directory and its subdirectories be searched for the file named MyFile.xml?

    Show answer details

    Correct answer: A

    The command "find . -name MyFile.xml" searches the current directory (represented by the dot .) and all its subdirectories for the file named MyFile.xml, providing recursive file location capabilities from the present working directory. The find command with the dot notation starts the search from the current location downward through the directory tree. This approach is efficient for locating files when you know the filename but not the exact subdirectory location within the current path.

  5. 5

    A script needs to check if a directory, /var/data/reports, exists before attempting to write a file to it. If the directory does not exist, the script should create it. Which shell script snippet correctly implements this logic?

    flowchart TD Start --> CheckDir{Does /var/data/reports exist?} CheckDir -- Yes --> WriteFile[Write Report] CheckDir -- No --> CreateDir[mkdir -p /var/data/reports] CreateDir --> WriteFile WriteFile --> End

    Show answer details

    Correct answer: B

    The correct logic is to check if the directory does NOT exist, and then create it. In shell scripting, [ -d "/path/to/dir" ] tests if a directory exists. The ! operator negates the result. So, [ ! -d ... ] is true when the directory does not exist, correctly triggering the mkdir -p command.

  6. 6

    What is the number called that is used to identify a process?

    Show answer details

    Correct answer: D

    PID (Process Identifier) is the unique numerical identifier assigned to each running process by the Linux kernel. Every process on a Linux system receives a unique PID when it starts, allowing the system and users to identify, monitor, and control specific processes. Proc Num is not standard Linux terminology, PIN refers to personal identification numbers, and Process Entry is not the correct term for process identification numbers.

  7. 7

    A Linux computer has no access to the internet.

    Which command displays information about the network gateway for the system?

    Show answer details

    Correct answer: D

    The route command displays and manipulates the IP routing table, including gateway information essential for network connectivity troubleshooting. When a system cannot access the internet, checking the routing table reveals whether the default gateway is properly configured. While ifconfig shows interface configuration, traceroute traces packet paths (requiring connectivity), and gateway is not a valid Linux command, the route command provides direct access to routing table information needed for diagnosing network gateway issues.

  8. 8

    Which of the following applications are used to play an MP3 file on a Linux system? (Choose THREE correct answers.)

    Show answer details

    Correct answer: B, D, E

    Banshee, Amarok, and Audacious are popular Linux audio players that support MP3 playback along with many other audio formats. Banshee is a GNOME-based media player with library management features, Amarok is a feature-rich KDE media player with advanced playlist and collection management, and Audacious is a lightweight audio player focused on simplicity and low resource usage. Xara Xtreme is a graphics design application and LibreOffice Player does not exist - LibreOffice is an office suite without media playback capabilities.

    Banshee, Amarok, and Audacious are popular Linux audio players that support MP3 playback along with many other audio formats. Banshee is a GNOME-based media player with library management features, Amarok is a feature-rich KDE media player with advanced playlist and collection management, and Audacious is a lightweight audio player focused on simplicity and low resource usage. Xara Xtreme is a graphics design application and LibreOffice Player does not exist - LibreOffice is an office suite without media playback capabilities.

    Banshee, Amarok, and Audacious are popular Linux audio players that support MP3 playback along with many other audio formats. Banshee is a GNOME-based media player with library management features, Amarok is a feature-rich KDE media player with advanced playlist and collection management, and Audacious is a lightweight audio player focused on simplicity and low resource usage. Xara Xtreme is a graphics design application and LibreOffice Player does not exist - LibreOffice is an office suite without media playback capabilities.

  9. 9

    Which statement about users and user groups is correct?

    Show answer details

    Correct answer: D

    In Linux, every user must belong to at least one user group - specifically, each user has a primary group defined in /etc/passwd and may belong to additional secondary groups. This group membership system is fundamental to Linux file permissions and access control. Groups can have multiple users as members, a system can have numerous user groups, and while users can exist without belonging to secondary groups, they always have at least their primary group for permission and ownership purposes.

  10. 10

    Which of the following commands moves the directory -/summer-vacation and its contentto -/vacation/2011?

    Show answer details

    Correct answer: D

    The mv command with syntax "mv /summer-vacation ~/vacation/2011" correctly moves the directory and its contents from the source to the destination path. The mv command requires source path first, then destination path, and the tilde () represents the user home directory. The other options have incorrect syntax: reversing source/destination order, using non-existent "move" command, using absolute paths that may not exist, or having invalid extra hyphens in the command structure.

Create an account to continue.