Linux Midterm
Linux Midterm Quiz
Test your knowledge of Linux with this comprehensive midterm quiz designed for students and enthusiasts alike. This quiz covers essential commands, concepts, and licensing that every Linux user should know.
- 40 questions
- Multiple choice format
- Interactive and educational
When interpreting the SYNOPSIS of a command found on a man page, the "|" means:
The items it separates cannot be used together
The items it separates can be used together
The ls command without options or arguments...
...generates an error as this command requires arguments
...prompts for a directory to list
...lists the contents of a user's home directory
...lists the contents of the current directory
You try to compress a file that is already compressed. Which of the following statements is true?
The file changed while you were compressing it.
The compression algorithm needs to be set to the "current compressed" mode for it to be compressed further.
The file will actually be uncompressed.
The file will be deleted.
The file will not be compressed any further than it already was.
The touch command can be used to: (choose two)
Change a file's name
Create new files
Update the time stamp of existing files
Change ownership of a file
In the command tar -czf foo.tar.gz bar , what is the purpose of the f flag?
Specifies extra compression is to be used
Tells tar to print the name of each file as it is processed
Tells tar to read from the file that follows the flag
Tells tar to copy files, and not directories
Tells tar to write to the file that follows the flag
Which two commands do the same thing? (choose two)
Tar -c foo | gzip > foo.tar.gz
Tar -tzf foo.tar.gz
Tar -xzf foo.tar.gz
Tar -czf foo.tar.gz foo
Tar -x foo | gzip
The command echo "text" > file.txt will create file.txt if it does not already exist. True or False?
True
False
The command echo "text" > file.txt will not overwrite file.txt if it already exists. True or False?
True
False
The command echo "text" >> file.txt will not overwrite file.txt if it already exists. True or False?
True
False
Software is backward compatible if:
People still use old versions
If the next version still works the same way
It works access Linux/Mac/Windows
It can be upgraded without downtime
It still supports old file formats or applications
Apple's OS X is: (choose three)
Primarily used to manage network services
Derived from Linux
Able to natively run Windows binaries
Derived from FreeBSD
Only compatible with Apple hardware
Certified as UNIX compatible
Microsoft Windows: (choose three)
Has a Linux compatibility mode
Has powerful scripting capabilities
Has a new desktop version every year
Has a short maintenance cycle
Has built in virtualization
Come in desktop and server variants
Other commercial Unixes: (choose two)
Do not run the GNU tools
Are almost obsolete
Are tied to their vendor's hardware
Use completely different commands than Linux
Are UNIX certified
When choosing a distribution of Linux, you should consider: (choose five)
Whether or not the distribution is under active developement
The maintenance cycle of the distribution
Popularity on social media
Which distributions are supported by the software you need to run
If you need support on the distribution itself
Which management tools are provided by the distribution
The difference between the GPL and LGPL licenses are:
LGPL was made by the OSI while the GPL was made by the FSF
LGPL applies to web services
LGPL allows you to distribute the software in binary-only form
LGPL allows linking of non GPLed software
LGPL is shorter than GPL
Permissive free software licenses: (choose three)
Include the GPLv2 and BSD
Are not approved by the FSF
Are not approved by the OSI
Can allow software to be used inside closed source software
Don't have a copyleft provision
The Creative Commons version of Public Domain licensing is:
No Rights Reserved
Attribution-NonCommercial
Attribution
NoAttribution-ShareAlike
Your company makes a hardware firewall that runs a custom Linux kernel. What are your obligations under GPLv2?
You must make your hardware designs available
You must ensure your custom kernel runs on a regular Intel machine
You must make the source to your custom web interface available
There are no requirements
You must make the source to your kernel available
Participating in open source projects can improve your technical skills, even if it is not your day job. True or False?
True
False
What are tradeoffs of increasing the level of privacy you have in your web browser? (choose two)
Websites may load slower
You may have to explicitly permit some cookies to be saved
Images won't load properly
Sites may not work properly
You may get viruses
Which of the following is a tool that helps you anonymize your Internet browsing?
Web proxy
CookieCleaner
Iptables
The onion router
AnonFirefox
Which of the following are properties of a strong password? (choose three)
Based on easy to remember items like your birthday
A mix of upper and lower case
Include symbols
At least 10 characters long
Long so that it can be reused on multiple sites
What can be done to prevent remote people from running programs on your computer?
Turn on a firewall
Use strong passwords on all user accounts
Don't use wireless networks - only wired
Block all cookies
Block third party cookies
The acronym CLI stands for:
Computer Line Interface
Computer Link Interpreter
Command Line Interpreter
Command Line Interface
Traditional UNIX command options used a single dash, like -a; _______ command options use two dashes like --all.
LINUX
GNU
Shell
Kernel
{"name":"Linux Midterm", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of Linux with this comprehensive midterm quiz designed for students and enthusiasts alike. This quiz covers essential commands, concepts, and licensing that every Linux user should know.40 questionsMultiple choice formatInteractive and educational","img":"https:/images/course3.png"}