Professional Documents
Culture Documents
Correction
Correction
33. Social network “like”buttons can track your activity across the Internet.
• True or False?
a. True
b. False 11
34. Which of the following are properties of a strong password?
• (choose three)
a. At least 10 characters long
b. Based on easy to remember items like birthdays
c. Includes symbols
d. Long so that it can be reused on multiple sites
e. A mix of upper and lower case
35. What can be done to prevent unauthorized users from accessing your
computer remotely?
• (choose two)
a. Block third party cookies
b. Turn on a firewall
c. Block all cookies
d. Use strong passwords on all user accounts
e. Don’t use wireless networks – only wired
12
Chapter 5 Exam
1. Which environment variable contains a list of directories that is searched for commands to execute?
a. PATH
b. PS1
c. PS2
d. EXEC
2. Select the command that can report the location of a command:
a. what
b. which
c. where
3. A pair of single quotes ( ‘ ) will prevent the shell from interpreting any metacharacter.
• True or False?
a. True
b. False
13
4. A pair of double quotes (” ) will prevent the shell from interpreting any
metacharacter.
• True or False?
a. True
b. False
5. Using a pair of back quotes ( ` ) will cause a shell to execute the back-quoted
text as a command and substitute the output back into the original command.
• True or False?
a. True
b. False
6. The semicolon (;) can be used to separate multiple commands to be executed
in order.
• True or False?
a. True
b. False
14
7. The double ampersand characters (&& ) are used to separate commands to be
executed conditionally, where if the command to the left of the ampersands fails,
then the command to the right of the ampersands will be executed.
• True or False?
a. True
b. False
8. To be able to output messages to the screen, use the _______ command:
c. echo
d. print
e. display
f. type
9. The _______ command will print a list of the commands that you’ve previously
executed.
g. list
h. eval
i. history
j. exec 15
10. To execute the same command as previously executed five commands
ago, you would type:
a. @-5
b. !5
c. !-5
d. &5
11. The shell program interprets the commands you type into the terminal into
instructions that the Linux operating system can execute.
• True or False?
a. True
b. False
12. The acronym CLI stands for:
c. Computer Line Interface
d. Command Line Interpreter
e. Command Line Interface
e.Computer Link Interpreter
16
13. What one character treats the character that follows it as if it was surrounded by single quotes?
a. /
b. #
c. %
d. \
14. The echo command:
e. Copies variables from one to another
f. Tests a variable for duplication
g. Is used for variable assignment
h. Is used to output text to the console
i. Duplicates the input stream to the output stream
15. The most common shell used for Linux distributions is the ________ shell.
j. Fish
k. Bash
l. Tsch
m.Zsh
17
16. HOME is an example of _________.
a. An environment variable
b. A path variable
c. A local variable
d. An internal command
e. An alias
18
Chapter 6 Exam
1. What is the standard option to provide a command line program to view
its documentation?
a. -h
b. –info
c. –help
d. –doc
2. The command man -k is the same as the command apropos.
• True or False?
a. True
b. False
20
7. To search the man page sections for the keyword example, which of the following
command lines could you execute?
• (choose two)
a. man -k example
b. apropos example
c. man -f example
d. whatis example
8. The statement that describes the difference between a man page and an info page is:
e. The man page is like a guide; the info page is a more concise reference.
f. The info page is like a guide; a man page is a more concise reference.
g. The man page is a long detailed reference; the info page is very terse.
h. There is very little difference between them.
9. If you are reading the synopsis of a command from a man page, then items in square
brackets are:
i. Required arguments
j. Comments
k. Optional
l. Required options
21
10. The following sections commonly appear on a man page:
• (choose three)
a. NAME
b. LICENSE
c. DESCRIPTION
d. SYNOPSIS
11. Section 5 of the manual pages covers:
e. System administration commands
f. Games
g. User commands
h. File Formats
12. To start searching a man page, the first key you press is:
i. f
j. /
k. s
l. !
22
13. In order to exit viewing a man page, press:
a. q
b. z
c. x
d. y
14. To get help on using the info command, execute:
• (choose two)
a. man info
b. info -q
c. info info
d. help info
15. To get help while using the info command, press:
g
A
Shift+H
Shift+z
23
16. To exit the info page, press:
a. Q
b. x
c. z
d. x
17. When interpreting the SYNOPSIS of a command found on a man page,
the “|” means:
e. The items it separates can be used together
f. The items it separates cannot be used together
18. The _____ command is normally executed daily to update the
database of all files that are on the system.
g. find
h. locate
i. search
j. updatedb
24
19. The _____ command is normally executed to search for a command or man
page.
a. updatedb
b. whereis
c. find
d. man -k
20. The _____ command can be used to find any file, not just commands or
man pages.
e. apropos
f. whereis
g. whatis
h. locate
21. The info command merges all available documentation into a single “book”.
• True or False?
a. True
b. False
25
22. Section 9 of man pages relates to what?
a. Library Calls
b. Games
c. Kernel Routines
d. System Calls
e. Miscellaneous
23. The man command searches each of the sections in order until it finds a
match.
• True or False?
a. True
b. False
24. The whatis command will only return the first result for which section a man
page is stored in.
• True or False?
a. True
b. False
26
Chapter 7 Exam
1. Hidden files are files that begin with what character?
a. A plus (+)
b. An asterisk (*)
c. A dash (-)
d. A period (.)
2. What option for the ls command will display all files, including hidden files?
a. -a
b. -L
c. -H
d. -w
29
10. The cd command by itself will take you to what directory?
a. None; it is not a valid command
b. The system root directory
c. Your home directory
d. The directory above the current working directory
11. What command will allow you to change your current working directory?
e. list
f. chdir
g. ls
h. cd
12. The double dot (..) can be used to represent the directory…
i. …below the current directory.
j. …above the current directory.
k. …with any two single numbers.
l. …above the current directory only when using the cd command.
30
13. The ls command without options or arguments…
a. …prompts for a directory to list.
b. …generates an error as this command requires arguments.
c. …lists the contents of a user’s home directory.
d. …lists the contents of the current directory.
14. The first character in a long listing (ls -l) indicates:
e. The permissions
f. The owner
g. If something is a file, directory, or symbolic link
h. The size
15. Which option for the ls command, when used in conjunction with
the -l option, will display human-readable file sizes?
-S
-H
-h
-M 31
16. Which of the following commands will prevent any aliased options to
the ls command?
a. %ls
b. /ls
c. `ls
d. \ls
17. The ls command color codes results by default.
True or False?
e. True
f. False
18. The command ls -S will sort files:
g. By modification date, newest to oldest
h. By size, largest to smallest
i. By number of symlinks, largest to smallest
j. By size, smallest to largest
32
Chapter 8 Exam
1. When using the cp command, you must provide both a source and a destination.
• True or False?
a. True
b. False
2. Which option(s) can be used to prevent cp from overwriting an existing file?
• (choose two)
a. -z
b. -n
c. -N
d. -i
37
Chapter 2 Exam
1. When choosing a distribution of Linux, you should consider:
• (choose four)
a. Does your organization require long-term support for the system
b. Does the distribution offer a “stable” version
c. If the application software is supported by the distribution
d. Will commercial support be required for the OS
e. Popularity on social media
2, Embedded Systems means:
f. Users must support the systems themselves
g. You can view the software’s source code
h. Companies must share their changes
i. Businesses cannot charge anything for the software, only the hardware
j. Systems designed to do a specific task on hardware optimized for only that purpose
3, The most popular Linux platform for mobile phones is:
k. IOS
l. Android
m.BlackBerry
n. Slackware
e. MobileLinux 38
4. Linux distributions use this to add and remove software from the system:
a. Application Programming Interface (API)
b. Partitioning tool
c. Package manager
d. Bash
e. Compiler
5. In Linux, RPM can be defined as:
f. Random program memory
g. Relational peak monitoring
h. Radical performance machine
i. The speed a record plays back at
j. The Package Manager program for Red Hat Linux
6. Linux originally only ran on:
k. Macintosh
l. Intel 386 PCs
m.Raspberry Pi computers
n. Specialized processor chips
o. Xerox copy machines
39
7. A long software release cycle is:
a. Better because old hardware can be utilized beyond its service life
b. Only offered by Red Hat and SUSE
c. Makes programming more difficult since new features cannot be used
d. Valued by businesses that want stability
e. Characterized by infrequent security fixes
8. Which distribution is related to Red Hat?
f. Raspbian
g. Debian
h. Ubuntu
i. Slackware
j. Fedora
9. SUSE is derived from which distribution?
k. Fedora
l. Debian
m.Red Hat Enterprise Linux
n. Slackware
o. Scientific Linux
40
10. IoT is one application of embedded systems:
• True or False?
a. True
b. False
11. Artificial intelligence has little potential for gains in efficiency,
safety and productivity.
c. True
d. False
12. The Raspberry Pi is popular with experimenters because:
e. It runs Microsoft Office
f. End users have to pay for programming expenses
g. It’s cheap and adaptable
h. The hardware never changes
i. It takes months or years to develop an application
41
13. The release cycle:
a. Only has meaning for paid software
b. Should be short so you always have the freshest releases
c. Should be long so that you have time before you need to upgrade
d. Describes how long software will be supported
e. Dictates how often software is updated
14. Debian is a community effort that supports many hardware platforms
• True or False?
a. True
b. False
15. Linux Mint is:
c. Compatible with Android systems
d. A fork of Ubuntu Linux
e. A proprietary version of Ubuntu with advanced features
f. A refreshing after dinner treat
g. Distributed in every country without license restrictions
42
16. A computer running Linux can:
a. Outperform proprietary systems at certain tasks
b. All of the above
c. Function as a web server
d. Serve a government agency
e. Be used to create new programs
17. Bundling utilities, management tools, and application software with a Linux kernel is called
a:
f. A distribution of Linux
g. A text editor
h. A type of hardware
i. A trademark
18. A network of inexpensive computers connected to sensors and controllers is called:
j. Internet of Things (IoT)
k. Creative commons
l. Open source networking
m.Closed source computing
n. Relationational database
43
19. The Linux platform that runs on mobile phones is called:
a. MicroLinux
b. IOS
c. Android
d. Teledroid
e. LinuxMobile
20. What does a distribution provide to add and remove software from the system?
f. Compiler
g. Application Programming Interface (API)
h. Bash
i. Package Manager
j. Partitioning tool
21. A software release cycle describes:
k. How often upgrades come out for software
l. How often the software’s memory is released back to the operating system
m.How often the computer must be upgraded to support new software
n. How often security fixes are implemented
o. How often the computer must be rebooted
44
22. Which distributions are made by, or are clones of, RedHat?
• (choose two)
a. Debian
b. CentOS
c. Fedora
d. Ubuntu
e. Slackware
23. Ubuntu is derived from which distribution?
f. Slackware
g. Debian
h. Scientific Linux
i. Red Hat Enterprise Linux
24. The most important consideration when choosing an operating system is:
j. What the intended use of the system is
k. How much performance is needed
l. The licensing model of the operating system
m.The total cost of ownership
n. Whether or not it is cloud-friendly 45
25. A maintenance cycle:
a. Describes how often updates for software come out
b. Should be short so you always have the freshest releases
c. Only has meaning for paid software
d. Should be long so that you have time before you need to upgrade
e. Describes how long a version of software will be supported
26. If a software release is in a state in that it has many new features that have not been
rigorously tested, it is typically referred to as beta software.
• True or False?
a. True
b. False
27. Software is backward compatible if:
c. It can be upgraded without downtime
d. People still use old versions
e. It still supports old file formats or applications
f. If the next version still works the same way
g. It works across Linux/Mac/Windows
46
28. Apple’s OS X is:
• (choose three)
a. Derived from Linux
b. Able to natively run Windows binaries
c. Primarily used to manage network services
d. A fully certified UNIX distribution
e. Tightly integrated with Apple hardware
f. Partially based on code from the FreeBSD project
29. Microsoft Windows:
• (choose three)
a. Has a scripting environment called PowerShell
b. Is generally backwards compatible with previous versions
c. Offers both desktop and server products
d. Has a short maintenance cycle
e. Has a Linux compatibility mode
f. Has a new desktop version every year.
30. When choosing a distribution of Linux, you should consider:
• (choose five)
a. Does the distribution offer a “stable” version
b. Will users require a GUI
c. Will commercial support be required for the OS
d. Does your organization require long-term support for the system
e. Popularity on social media
f. If the application software is supported by the distribution
47