Linux Essentials Linux Community practice questions
7-day money-back guarantee — full refund within 7 days of purchase if you've completed under 20% of the questions. See pricing →
Certifications Tools Flashcards Career Paths Exam Guides Blog Pricing For Teams About

Linux Essentials The Linux Community and a Career in Open Source: 155 practice questions

Linux Essentials 155 questions 12 shown free

12 of the 155 The Linux Community and a Career in Open Source questions in the Certsqill Linux Essentials bank, shown in full below. Each one carries an explanation for every option, not just the correct one — the wrong answers are where the marks go.

Preparing for Linux Essentials? Take the free 5-min readiness check →

1. cat /etc/os-release: Which command identifies the installed distribution?

Easy
Bash is running on a small-office workstation. The exhibit shows: /etc/os-release exists and contains NAME="Example Linux". Which command identifies the installed distribution?
  1. cat /etc/os-release ✓
    This displays the standard file containing distribution-identification fields.
  2. ps
    This lists running processes, not the installed distribution.
  3. ls -l /boot
    This lists boot files but does not directly identify the distribution.
  4. uname -a reports kernel details
    This reports kernel and system information, not the distribution name in /etc/os-release.
The trap
Confuses processes with operating-system identity. Confuses boot files with distribution information. Confuses the Linux kernel with the complete distribution.

cat /etc/os-release displays distribution identity; uname reports kernel information instead.

2. LibreOffice, an office productivity suite: Which choice best fits?

Medium
A volunteer project needs one application for word processing, spreadsheets, and presentations. Which choice best fits?
  1. Firefox, a web browser
    Firefox is primarily a web browser, not an office suite for creating local documents, spreadsheets, and presentations.
  2. Thunderbird, an email client
    Thunderbird manages email and related messages, rather than serving as a general office productivity suite.
  3. LibreOffice, an office productivity suite ✓
    LibreOffice provides applications for word processing, spreadsheets, and presentations.
  4. GIMP, a raster image editor
    GIMP edits raster images and does not provide the usual word-processing, spreadsheet, and presentation components.
The trap
Confuses email management with office productivity applications. Confuses browsing software with office productivity software. Confuses image editing with office document creation.

LibreOffice supplies word processing, spreadsheet, and presentation applications in one suite.

3. Open source describes rights and licensing: During a backup task, a colleague says, “The source code is public

Easy
During a backup task, a colleague says, “The source code is publicly available, so this software must be free of charge and may be reused without license conditions.” What is the mistake?
  1. Public source code removes copyright restrictions.
    Making source available does not remove copyright or the applicable license.
  2. An open-source license always requires free downloads.
    Open-source licenses concern rights and conditions; they do not necessarily require zero-price distribution.
  3. Open-source status grants permission to reuse code without following its license.
    Reuse remains subject to the applicable license terms and conditions.
  4. Open source describes rights and licensing, not necessarily zero price. ✓
    Open-source licensing concerns access, modification, and redistribution rights; software may still be sold or have conditions.
The trap
Confuses public visibility with removal of copyright. Equates open source with free of charge. Confuses source access with unrestricted reuse.

Open source concerns licensing freedoms, not a guarantee that software costs nothing or has no conditions.

4. A shell: Select TWO components needed for the usual command-line interaction.

Medium
A help-desk trainee types commands into a graphical text window. Select TWO components needed for the usual command-line interaction.

Select two. More than one option is correct — every correct one is ticked below.

  1. A shell ✓
    A shell interprets the commands typed by the trainee and starts requested programs.
  2. A terminal emulator ✓
    A terminal emulator provides the text-interface window through which the trainee enters and sees command-line interaction.
  3. A web browser
    A browser can display web content, but it is not required for ordinary local shell command execution.
  4. A spreadsheet application
    A spreadsheet application handles tabular documents and is unrelated to interpreting shell commands.
  5. A mail client
    A mail client manages messages and is not a prerequisite for entering commands into a shell.
The trap
Confuses web browsing with local command interpretation. Confuses email software with the command-line environment. Confuses office productivity software with command-line tools.

The terminal emulator supplies the interface; the shell interprets typed commands.

5. Ubuntu is a distribution derived from Debian: Which statement is correct?

Easy
A new user asks how Debian and Ubuntu are related. Which statement is correct?
  1. Ubuntu and Debian are names for the Linux kernel.
    Both names identify distributions; Linux itself refers primarily to the kernel.
  2. Debian is a package format used only by Ubuntu.
    Debian is a distribution, while Debian package formats are separate technical artifacts used by related systems.
  3. Debian is a desktop application included inside Ubuntu.
    Debian is a Linux distribution, not a desktop application installed inside Ubuntu.
  4. Ubuntu is a distribution derived from Debian. ✓
    Ubuntu belongs to the Debian family and is derived from Debian, although it is a separate distribution.
The trap
Confuses a distribution with an application. Confuses distribution names with the kernel. Confuses a distribution with its package format.

Ubuntu is a separate Linux distribution derived from Debian.

6. Firefox: Which application displays a requested website?

Easy
On a shared training server, Firefox and Thunderbird are installed. No files are open, and the network is available. Which application displays a requested website?
  1. Firefox ✓
    Firefox is the installed web browser used to display websites.
  2. Neither application
    Firefox is specifically designed to request and display web content under the stated assumptions.
  3. Both applications equally
    Only Firefox is identified here as the web browser; Thunderbird serves email rather than ordinary web pages.
  4. Thunderbird
    Thunderbird is an email client, not the application intended to display ordinary websites.
The trap
Overlooks the installed browser’s stated purpose. Treats different application roles as interchangeable. Confuses an email client with a web browser.

Firefox is the web browser; Thunderbird is an email client.

7. Provide the applicable GPL license terms: Select TWO actions that address the redistribution obligations.

Easy
A user modified GPL-covered software on a remote Linux guest and will distribute the modified program to a customer. Select TWO actions that address the redistribution obligations.

Select two. More than one option is correct — every correct one is ticked below.

  1. Distribute only the modified binary and refer to the original source.
    The original source does not by itself provide the corresponding source for the covered modifications.
  2. Provide the applicable GPL license terms with the distribution. ✓
    The distribution must preserve the applicable GPL terms and required notices.
  3. Provide corresponding source for the covered modified work as required. ✓
    GPL redistribution requires meeting corresponding-source obligations for covered modified software.
  4. Add a noncommercial restriction to the GPL software.
    Adding restrictions incompatible with GPL freedoms conflicts with the license requirements.
  5. Include copyright notices but omit the license and source.
    Copyright notices alone do not satisfy the applicable GPL redistribution obligations.
The trap
Treats attribution as a substitute for license and source requirements. Assumes binary-only distribution avoids copyleft obligations. Confuses GPL freedoms with a noncommercial license.

Redistribution requires preserving GPL terms and meeting corresponding-source obligations.

8. The guest runs on virtual hardware provided through: Which statement correctly describes a Linux virtual machi

Hard
Which statement correctly describes a Linux virtual machine in a small-office workstation?
  1. The guest is merely a shell running inside the host terminal.
    A virtual machine provides a guest operating-system environment, not merely another shell session.
  2. The host is an application installed inside the guest.
    The host provides resources to the guest; the host is not an application installed inside that guest.
  3. The guest must share the host kernel like a container.
    A virtual machine normally runs its own guest kernel, unlike a container that shares the host kernel.
  4. The guest runs on virtual hardware provided through a hypervisor on the host. ✓
    A virtual machine guest uses virtualized hardware managed by a hypervisor running on the host system.
The trap
Confuses virtual machines with containers. Confuses a virtual machine with a command interpreter. Reverses the host and guest relationship.

A hypervisor presents virtual hardware to the guest operating system.

9. apt-get install package-name: Which command installs package-name using repository dependency management?

Medium
You have administrator privileges on a Debian-family development laptop. Which command installs package-name using repository dependency management?
  1. rpm -i package-name.rpm
    rpm installs an RPM package file and is associated with RPM-based packaging, not Debian repository dependency management.
  2. apt-get install package-name ✓
    apt-get installs a named package using configured repositories and dependency management on Debian-family systems.
  3. dnf install package-name
    dnf is a repository and dependency-management tool commonly used with RPM-based distributions.
  4. dpkg -i package-name.deb
    dpkg installs a local Debian package file but does not provide repository dependency management itself.
The trap
Confuses local package installation with repository management. Confuses RPM packaging with Debian package management. Confuses RPM-family tools with Debian-family tools.

apt-get install uses Debian-family repositories and dependency management to install a package.

10. GIMP: Which application is appropriate?

Easy
A student needs to edit a raster photograph in the lab. Which application is appropriate?
  1. LibreOffice Writer
    Writer creates and edits text documents rather than primarily editing raster photographs.
  2. Thunderbird
    Thunderbird manages email and does not provide the requested raster-image editing function.
  3. Firefox
    Firefox displays web content and is not primarily a raster-image editing application.
  4. GIMP ✓
    GIMP is an image editor designed for raster graphics and photographs.
The trap
Confuses word processing with raster-image editing. Confuses a web browser with an image editor. Confuses email software with image-editing software.

GIMP is the appropriate raster-image editor for photographs.

11. The researcher should restore the notice and follow: What mistake occurred?

Easy
A research group redistributes a program under this BSD-style notice:

Copyright 2024 Northstar Lab
Redistributions must retain this notice and disclaimer.

A researcher removes the notice before sharing the program. What mistake occurred?
  1. The researcher must obtain permission from the original author before every redistribution, even after satisfying the notice requirement.
    The supplied notice requires retention and conditions, not individual permission for every redistribution.
  2. The researcher must keep only the compiled binary.
    A permissive license does not require replacing source code with a compiled binary before redistribution.
  3. The researcher should delete the project instead.
    Removing the project is unnecessary; the license permits redistribution when its stated conditions are followed.
  4. The researcher should restore the notice and follow the license conditions. ✓
    Permissive licenses allow reuse, but redistribution must preserve required notices and other stated conditions.
The trap
Mistakes source availability for a prohibition on redistribution. Adds a permission requirement absent from the displayed license. Confuses license compliance with abandoning permitted reuse.

Permissive reuse still requires preserving required notices and meeting stated license conditions.

12. Sufficient privilege and an available package source: Which missing prerequisite should the user address first

Hard
A new user wants to edit a photograph with GIMP on a Linux desktop. The application is not installed. Which missing prerequisite should the user address first?
  1. A web browser and an email account
    Neither browsing nor email is a prerequisite for installing and launching GIMP locally.
  2. A relational database server configured before any graphical application can run
    GIMP does not require a relational database server as a prerequisite for ordinary local image editing.
  3. Sufficient privilege and an available package source for installing GIMP ✓
    Installing software normally needs adequate privileges and a repository or package source providing the application.
  4. A shell script
    A shell script is not required merely to install or use a graphical raster image editor.
The trap
Confuses image editing software with database-backed services. Confuses application installation with scripting requirements. Adds unrelated desktop applications to the task.

Installing GIMP requires an available package source and sufficient privileges, not unrelated applications.

143 more The Linux Community and a Career in Open Source questions

The remaining 143 questions in this domain are part of the full Linux Essentials bank — 885 questions, every option explained. Start with the free five-minute check and see your score per domain.

Test your Linux Essentials readiness — free

Other Linux Essentials domains

Part of the Certsqill Linux Essentials question bank · The Linux Community and a Career in Open Source · Every answer, right and wrong, comes with its own explanation.