
Linux Essentials
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Jason Matalog
FREE Resource
Student preview

64 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why can a regular Linux user run the passwd command to change their own password, even though the binary is owned by root?
Because all commands are allowed to all users by default
Because /etc/shadow is world writable
Because passwd is run as part of the kernel
Because passwd has the SUID bit set, allowing it to run with the permissions of the file owner
Answer explanation
The correct answer is:
Because passwd has the SUID bit set, allowing it to run with the permissions of the file owner ✅
A regular user can run passwd to change their own password because the binary has the setuid bit set, so it executes with root privileges and can update /etc/shadow on their behalf — but only after checking they are allowed to.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You just logged into a Linux system and want to explore detailed documentation about the mkdir command beyond the basic man page. You prefer a format with hyperlinks to jump between related topics. Which command would you use to access this enhanced, hypertext-style documentation for mkdir?
(1 Point)
man mkdir
mkdir --help
info mkdir
less mkdir
Answer explanation
The correct answer is:
info mkdir ✅
The info system provides hypertext-style documentation with links to related topics, making it more detailed and navigable than man.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What effect does increasing the compression level have when using the zip command?
(1 Point)
It decreases the file size but increases the time taken to compress and decompress.
It increases the file size and decreases compression speed
It decreases both file size and compression speed without any trade-offs.
It has no effect on compression speed or file size.
Answer explanation
The correct answer is:
It decreases the file size but increases the time taken to compress and decompress. ✅
Description: Higher compression levels apply more complex algorithms. This usually reduces file size, but at the cost of slower compression (and sometimes decompression). It’s a trade-off between speed and space.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Where can you typically find documentation for installed software packages on a Linux system?
(1 Point)
/usr/local/bin
/etc
/usr/share/doc
/var/log
Answer explanation
The correct answer is:
/usr/share/doc ✅
Description: Most Linux distributions install package documentation, examples, and licenses under /usr/share/doc, organized by package name. This is where you can browse README files, configuration notes, and other docs for installed software.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How would you represent the symbolic permission rwxrw-r-- in octal notation?
(1 Point)
764
754
774
744
Answer explanation
The correct answer is:
764 ✅
Description:
Symbolic permissions break down as follows:
Owner (rwx) → 7 (read=4 + write=2 + execute=1)
Group (rw-) → 6 (read=4 + write=2)
Others (r--) → 4 (read=4)
So, rwxrw-r-- = 764.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In Linux, what primarily determines if a file can be executed, regardless of its extension?
(1 Point)
The filename’s length
The file’s extension, such as .sh or .bin
The file’s execute permission and its content type
The alphabetical order of the filename
Answer explanation
The correct answer is:
The file’s execute permission and its content type ✅
Description:
In Linux, a file is only runnable if it has the execute permission (x) set. The system also looks at the content type (like a shebang #!/bin/bash for scripts, or ELF headers for binaries) to know how to run it. File extensions don’t matter.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following best describes the Ubuntu release model for Long Term Support versions?
(1 Point)
Release only when critical security issues arise
Release every 6 months with 9 months support
Scheduled release every 2 years with 5 years support
Release randomly as per development progress
Answer explanation
The correct answer is:
Scheduled release every 2 years with 5 years support ✅
Description:
Ubuntu’s Long Term Support (LTS) versions are released on a fixed 2-year cycle (April of even-numbered years) and receive 5 years of official security updates and maintenance, making them stable for production and enterprise use.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University