CNIT 340 — Exam 1
58 Questions with Complete Solutions
Unix/Linux Administration Course | 2026/2027 Edition
This comprehensive examination evaluates competency across six core domains of Unix/Linux administration aligned with
the CNIT 340 course syllabus, CompTIA Linux+ certification objectives, and Linux Professional Institute (LPI) standards.
Each question presents four options (A–D) with exactly one correct choice marked *[CORRECT]*. The rationale that
follows each answer explains both why the correct option is right and why the distractors are wrong, citing the relevant
CNIT 340 module and LPI objective. Cognitive distribution: 25% recall, 50% application, and 25% analysis across
command-line syntax, file permission calculations, and real-world system administration scenarios.
Sectio
Domain Questions
n
1 Unix/Linux History & Fundamentals Q1 – Q10 (10)
2 File System Hierarchy & Navigation Q11 – Q22 (12)
3 File Management & Permissions Q23 – Q34 (12)
4 Text Processing & Filters Q35 – Q42 (8)
5 Shell Basics & Command Line Q43 – Q50 (8)
6 User & Group Management Q51 – Q58 (8)
TOTAL 58 Questions
Section 1: Unix/Linux History & Fundamentals
Q1: A system administrator is documenting the historical origins of the Unix operating system for new
CNIT 340 students. Which organization and research facility is credited with the original development of
Unix in 1969?
A. Microsoft Research, Redmond
B. AT&T Bell Laboratories, New Jersey *[CORRECT]*
C. Xerox PARC, California
D. MIT Lincoln Laboratory, Massachusetts
Correct Answer: B
Rationale: Unix was developed in 1969 at AT&T Bell Laboratories in Murray Hill, New Jersey, by Ken Thompson,
Dennis Ritchie, and a small team. This aligns with CNIT 340 Module 1 and CompTIA Linux+ objective 1.1 (Linux
history and foundations). Microsoft Research did not exist until 1991, Xerox PARC is famous for the GUI but not Unix,
and MIT Lincoln Lab worked on Multics (the predecessor project) but did not create Unix.
58 Questions — Complete Solutions Page 1
,CNIT 340 — Unix/Linux Administration — Exam 1 2026/2027 Edition
Q2: While preparing a lecture on the Linux kernel's origin, an instructor asks students to identify the
creator of the original Linux kernel and the year it was first publicly announced. Who created Linux,
and in what year was the first public announcement made?
A. Richard Stallman, 1983
B. Andrew Tanenbaum, 1987
C. Linus Torvalds, 1991 *[CORRECT]*
D. Ken Thompson, 1969
Correct Answer: C
Rationale: Linus Torvalds, a Finnish university student, announced the Linux project on the comp.os.minix newsgroup
on August 25, 1991, and released version 0.01 shortly thereafter. This is a CNIT 340 Module 1 milestone and aligns
with LPI Topic 101.1. Richard Stallman founded the GNU Project in 1983, Andrew Tanenbaum wrote MINIX in 1987
(which inspired Linux), and Ken Thompson created Unix in 1969.
Q3: A candidate preparing for CompTIA Linux+ asks which project, started in 1983 by Richard
Stallman, aimed to create a free Unix-like operating system and provided many of the userland utilities
that ship with modern Linux distributions. Which project is being described?
A. The BSD Project
B. The GNU Project *[CORRECT]*
C. The Apache Project
D. The X.Org Project
Correct Answer: B
Rationale: The GNU (GNU's Not Unix) Project was launched by Richard Stallman at MIT in 1983 with the explicit
goal of building a complete, free Unix-compatible operating system. GNU contributed the GCC compiler, bash shell,
coreutils, glibc, and most userland tools that combine with Torvalds's kernel to form modern Linux distributions (CNIT
340 Module 1; LPI 101.1). BSD originated at UC Berkeley (1977), Apache is a web server (1995), and X.Org provides
the X Window System (2004 fork).
Q4: A junior administrator downloads a package marked "GPLv2" from a vendor repository. Which of
the following best describes the rights and obligations imposed by the GNU General Public License
version 2?
A. The software may be used freely but never modified or redistributed.
B. Source code must remain closed, but binary redistribution is allowed.
C. Anyone who redistributes the software or derived works must provide source code under the
same license. *[CORRECT]*
D. The license permits proprietary redistribution with no source disclosure requirement.
Correct Answer: C
Rationale: GPLv2 is a copyleft license guaranteeing the four freedoms (use, study, modify, share) and requiring that
anyone redistributing the software or derivative works provide the corresponding source code under the same GPLv2
terms (CNIT 340 Module 1; LPI 102.1 — Linux licensing). Option A describes freeware, option B describes a
proprietary EULA, and option D describes permissive licenses like BSD or MIT.
58 Questions — Complete Solutions Page 2
, CNIT 340 — Unix/Linux Administration — Exam 1 2026/2027 Edition
Q5: A new CNIT 340 student is asked to classify the relationship between upstream Linux distributions
and their derivatives. Which of the following statements correctly identifies a derivative of Debian?
A. Fedora is derived from Debian.
B. CentOS is derived from Debian.
C. Ubuntu is derived from Debian. *[CORRECT]*
D. openSUSE is derived from Debian.
Correct Answer: C
Rationale: Ubuntu, first released by Canonical in 2004, is built on the Debian distribution and uses Debian's dpkg/APT
packaging system (CNIT 340 Module 1; LPI 102.1). Fedora is sponsored by Red Hat and is its own upstream, CentOS
is a rebuild of Red Hat Enterprise Linux source RPMs, and openSUSE is the community distribution backing SUSE
Linux Enterprise.
Q6: A user issues the command ls -l /etc/passwd in a bash terminal. Which architectural layer is
responsible for actually reading the directory entry from the disk and returning file metadata?
A. The bash shell
B. The ls utility (coreutils)
C. The Linux kernel *[CORRECT]*
D. The X Window System
Correct Answer: C
Rationale: The Linux kernel is the only component with direct hardware access; it manages the filesystem, performs the
actual disk read, resolves inodes, and returns the stat structure to user space via the stat() system call (CNIT 340
Module 1; LPI 101.1). The bash shell only parses the command line and invokes the executable, the ls utility formats the
result for the user, and the X Window System handles graphical display only.
Q7: A system architect reviewing the design of standard Unix command-line tools notes that programs
such as grep, sort, uniq, and wc are each small, do one job well, and read/write plain text. Which
principle of the Unix philosophy does this best illustrate?
A. Write everything as a monolithic, feature-rich executable.
B. Store configuration in proprietary binary databases.
C. Make each program do one thing well and write data as plain text streams. *[CORRECT]*
D. Avoid inter-process communication so programs remain isolated.
Correct Answer: C
Rationale: The Unix philosophy, articulated by Doug McIlroy, emphasizes small, single-purpose tools that
communicate through plain-text streams via pipes (CNIT 340 Module 1; CompTIA Linux+ 1.1). Options A, B, and D
contradict core Unix principles: monolithic programs, proprietary storage, and isolation all violate the "do one thing
well / everything is a file / pipe-friendly" design.
58 Questions — Complete Solutions Page 3