010-150 Sample Questions

010-150 Sample Questions & Answers

Navigating a Linux system and using the command line's archiving and scripting power tie for the top weight, alongside the open source community and licensing, choosing an operating system and understanding hardware, and file permission security.

Launch the full 010-150 simulator →

Showing 10 of 20 free samples.

  1. Question 1

    Which of the following can be used to access the command line?

    Show answer & explanation

    Correct answer: B

    A terminal (or terminal emulator) provides access to the Linux command line interface, allowing users to execute commands, run scripts, and interact with the system through text-based input and output. Terminals can be accessed through GUI applications like GNOME Terminal, KDE Konsole, or through virtual consoles. BIOS is the system firmware, XWindow refers to the X Window System GUI framework, and while terminals run within the X environment, XWindow itself does not directly provide command line access.

  2. Question 2Select 2

    Which of the following Linux distributions use the dpkg package management system? (Choose TWO correct answers.)

    Show answer & explanation

    Correct answers: C, D

    Both Debian and Ubuntu use the dpkg (Debian Package) package management system for installing, removing, and managing software packages in .deb format. Ubuntu is derived from Debian and inherits its package management infrastructure, making both distributions compatible with dpkg tools and .deb packages. Other distributions like Red Hat use RPM, SUSE uses YaST with RPM, and Arch uses pacman, but Debian and Ubuntu specifically share the dpkg package management ecosystem.

    Both Debian and Ubuntu use the dpkg (Debian Package) package management system for installing, removing, and managing software packages in .deb format. Ubuntu is derived from Debian and inherits its package management infrastructure, making both distributions compatible with dpkg tools and .deb packages. Other distributions like Red Hat use RPM, SUSE uses YaST with RPM, and Arch uses pacman, but Debian and Ubuntu specifically share the dpkg package management ecosystem.

  3. Question 3

    What is the usual absolute path of the personal directory for the user foo?

    Show answer & explanation

    Correct answer: A

    The usual absolute path for user foo's personal directory is /home/foo, following the standard Linux filesystem hierarchy where user home directories are located in /home with the username as the subdirectory. This directory serves as the user's personal workspace and contains their configuration files, documents, and personal data. Other paths like /usr, /var, or root directories serve different purposes and are not standard locations for regular user home directories.

  4. Question 4

    Why is the file data.txt empty after executing sort data.txt > data.txt?

    Show answer & explanation

    Correct answer: D

    The file data.txt becomes empty because the shell truncates the output file before executing the sort command, resulting in an empty input file for sort to process. When using redirection (>), the shell opens and truncates the destination file immediately, before the command runs. Since sort tries to read from the now-empty data.txt file, it produces no output, leaving the file empty. This demonstrates why in-place file operations require temporary files or different approaches.

  5. Question 5

    Which of the following programs is not a graphical web browser?

    Show answer & explanation

    Correct answer: C

    Links is a text-based web browser that operates in terminal/console mode without graphical interface capabilities, making it the non-graphical option among web browsers. Links displays web pages using text formatting and keyboard navigation rather than graphical rendering with mouse support. While Firefox, Chrome, and other browsers provide full graphical interfaces with multimedia support, Links is designed for text-only environments and systems without graphical desktop environments.

  6. Question 6

    Which command shows if/usr/bin is in the current shell search path?

    Show answer & explanation

    Correct answer: B

    The command "echo /Users/umar/.codeium/windsurf/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/Users/umar/.cargo/bin:/Users/umar/.local/bin:/Users/umar/.cargo/bin:/Users/umar/.local/bin:/opt/homebrew/bin:/Users/umar/go/bin:/Applications/Docker.app/Contents/Resources/bin:/Users/umar/.nvm/versions/node/v22.0.0/bin:/Users/umar/miniconda3/bin:/Users/umar/miniconda3/condabin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/share/dotnet:/Users/umar/.dotnet/tools:/Users/umar/.cargo/bin:/Users/umar/.local/bin:/Users/umar/.local/bin" displays the current shell search path environment variable, showing all directories where the shell looks for executable commands including whether /usr/bin is included. The PATH variable contains a colon-separated list of directories that are searched in order when commands are executed. This allows verification of which directories are available for command execution and troubleshooting when commands are not found.

  7. Question 7

    Which of the following is a Linux based operating system for use on mobile devices?

    Show answer & explanation

    Correct answer: C

    Android is a Linux-based operating system specifically designed for mobile devices, using the Linux kernel as its foundation while providing a unique user interface and application framework optimized for touch-screen devices. Android modifies the Linux kernel and adds Java-based application layers to create a mobile-specific platform. While iOS is proprietary Apple technology, Windows Mobile uses Windows CE kernel, and BlackBerry uses its own QNX-based system, Android specifically builds upon Linux.

  8. Question 8

    Which of the following will change the group that is associated with a file?

    Show answer & explanation

    Correct answer: C

    The chown command changes both user ownership and group association of files, allowing modification of the group that is associated with a file using syntax like "chown user:group filename" or "chown :group filename" for group-only changes. While chmod modifies permissions and chgrp specifically changes groups, chown provides comprehensive ownership management including both user and group assignments. This command requires appropriate privileges to change ownership relationships.

  9. Question 9

    Which of the following Ubuntu releases is considered most stable and fitto use for business purposes?

    Show answer & explanation

    Correct answer: A

    Ubuntu LTS (Long Term Support) releases are considered most stable and suitable for business purposes because they provide extended support periods (typically 5 years), receive only security updates and critical bug fixes, and undergo extensive testing before release. LTS versions prioritize stability over new features, making them ideal for production environments where reliability is crucial. Regular releases have shorter support cycles and may include newer but less-tested features.

  10. Question 10

    Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.

    Show answer & explanation

    Correct answer: A

    The device /dev/hdb3 represents the third partition on the second hard disk on the first IDE controller, following IDE naming conventions where hd indicates IDE drives, the letter (a, b, c, d) indicates drive position (a=first, b=second), and the number indicates partition. IDE controllers support up to four drives total (primary master/slave, secondary master/slave), with /dev/hda and /dev/hdb on the first controller. Modern systems typically use SATA with /dev/sda naming instead.

Ready for the real thing?

The full 010-150 simulator has every exam-style question, timed mode, and instant scoring.