Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux 010-160 Exam Study Guide

Total questions: 121

Worksheet time: 2hrs 22mins

Name
Class
Date
1.

Which of the following is the on-demand availability of computer system resources, especially data storage and computing power, without direct active management by the user?

a)

Passive Computing

b)

Cloud Computing

c)

On-demand Computing

d)

​Remote Computing

2.

Which keyboard shortcut allows copying highlighted text while working in the command line terminal?

a)

CTRL + TAB + C

b)

​CTRL + ALT + C

c)

CTRL + SHIFT + C

d)

CTRL + C

3.

Which of the following can be used to represent a single number from 3 to 9?

a)

[9-3]

b)

​[three-nine]

c)

[3-9]

d)

[3456789]

4.

Which of the following is a valid option for a typical command to get its built-in usage information?

a)

--help

b)

--manual

c)

help

d)

-?

5.

Your current present working directory is /home/jon/documents/. You just entered cd .. into the command line and then enter pwd. What output do you receive?

a)

/home/jon/documents/..

b)

/home

c)

/home/jon

d)

/home/jon/documents/

6.

Which of the following is true about a recursive directory listing?

a)

It includes details of the users and groups of the directory

b)

It includes details of file system internals such as inodes

c)

​It includes the content of sub-directories

d)

It includes the permissions of the directory listed

7.

Typing $ followed by pressing which key twice, in quick succession, will list all of the variables?

a)

TAB

b)

SHIFT

c)

ALT

d)

CTRL

8.

Which of the following are not man page sections?

a)

Return Value

b)

Configuration

c)

​

Mistakes

d)

Name

9.

Which of the following commands will create a single directory named dir1 dir2?

a)

create directory2

b)

make dir1/dir2

c)

​mkdir “dir1 dir2”

d)

mkdir dir1dir2

10.

In order to rename the directory ~

/documents/letters

to

/documents/archive

which of the following commands should be used?

a)

rename ~/documents/letters ~/documents/archive

b)

​

copy -m ~/documents/letters ~/documents/archive

c)

cp -m ~/documents/letters ~/documents/archive

d)

mv ~/documents/letters ~/documents/archive

11.

What command would a user enter to delete a directory containing no other files or directories within it?

a)

mvdir

b)

cpdir

c)

​

rmdir

d)

mkdir

12.

Which command is used to print one page of text to the screen at a time?

a)

less

b)

head

c)

tail

d)

cat

13.

Which redirection operator accepts text on the following lines as standard input?

a)

><

b)

<<

c)

>>

d)

<>

14.

What option can be used with cat to display line numbers with the text of a file to the screen?

a)

-1

b)

-n

c)

-x

d)

#

15.

Which command-line tool will create a filename that ends in .gz?

a)

gzip

b)

xz

c)

bzip2

d)

zip

16.

Which of the following commands would be used to display the value of the HOME variable to the terminal's display?

a)

​echo "HOME"

b)

echo &HOME

c)

echo HOME

d)

echo $HOME

17.

What option can be used with tail or head to specify the number of lines to display to the screen?

a)

-x

b)

-c

c)

-b

d)

-n

18.

What does the grep command allow a user to do?

a)

Move a file from one folder to another

b)

Repeat the previous command

c)

Search for files that contain a specified string

d)

Rename a file or directory

19.

Which of the following is used to redirect the standard output of a command to a file?

a)

&2

b)

&1

c)

2>

d)

1>

20.

What statement is used to get input from the terminal when a shell script is being run?

a)

in

b)

read

c)

scan

d)

input

21.

Which version of Linux should be installed on a system with a 32-bit processor?

a)

x99

b)

x86

c)

x64

d)

x32

22.

Where is the BIOS located?

a)

Monitor

b)

Hard drive

c)

Motherboard

d)

RAM

23.

Which of the following is used as a virtual or pseudo filesystem used to interface with the kernel and process?

a)

/dev

b)

/sys

c)

/proc

d)

/boot

24.

When the free command is run, what does the Mem: line reveal about the system?

a)

System information

b)

Graphics specifications

c)

RAM statistics

d)

CPU statistics

25.

Which of the following would properly identify the device associated with the second partition on the first hard disk on the first IDE controller of a system?

a)

dev/hdc1a2

b)

​/dev/hdc1d2p2

c)

/dev/hd1b2

d)

/dev/hda2

26.

Which of the following is the correct order of a computer's operation?

a)

(1) The computer waits for user input,

(2) The user selects a command and enters it via the keyboard or mouse,

(3) The computer executes the command

b)

(1) The user selects a command and enters it via the keyboard or mouse,

(2) The computer executes the command,

(3) The computer waits for user input

c)

(1) The computer executes the command,

(2) The computer waits for user input,

(3) The user selects a command and enters it via the keyboard or mouse

d)

(1) The computer waits for user input,

(2) The computer executes the command,

(3) The user selects a command and enters it via the keyboard or mouse

27.

What is the command that will show system boot time messages?

a)

display system boot

b)

dmesg

c)

lspci

d)

echo

28.

Which of the following properly identifies the third partition, on the second hard disk, on the first IDE controller on a PC system?

a)

/dev/hdc1a3

b)

/dev/hdc1d2p3

c)

/dev/hd1b3

d)

/dev/hdb3

29.

Where are the passwords stored for users on a Linux system?

a)

/etc/group

b)

​/etc/skel

c)

/etc/shadow

d)

/etc/passwd

30.

Which of the following is NOT contained in the /etc/passwd file?

a)

Default login shell

b)

​The password of the user's account

c)

​Home directory for the user

d)

​User Identification Number (UID)

31.

How would you represent rwxr-xr-- in octal notation?

a)

624

b)

724

c)

742

d)

754

32.

Which file contains a list of the user's secondary groups?

a)

/etc/group

b)

/etc/user

c)

/etc/shadow

d)

/etc/passwd

33.

Which of the following commands will display a list of all files in the current directory, including those that may be hidden?

a)

ls -hidden

b)

ls -all

c)

ls -h

d)

ls -a

34.

Which type of link contains the data in the target file?

a)

Smooth link

b)

Sticky link

c)

Symbolic link

d)

Hard link

35.

Which UID is usually used to represent the first regular user on a Linux system?

a)

1000

b)

100

c)

10

d)

1

36.

What is defined by a Free Software license?

a)

The conditions for modifying and distributing the licensed software

b)

​Limits on the purposes for which the licensed software may be used

c)

A complete list of libraries required to compile the licensed software

d)

The programming languages which may be used to extend the licensed program

37.

Which of the following is a series of small single-board computers developed to promote the teaching of basic computer science in schools and developing countries?

a)

Raspberry Pi

b)

​Blackberry Pi

c)

Blueberry Pi

d)

Strawberry Pi

38.

Which of the following is a Debian-based computer operating system for Raspberry Pi?

a)

Pi

b)

Solaris

c)

Ubuntu

d)

Raspbian

39.

Which is NOT a Linux distribution?

a)

Torvalds

b)

Debian

c)

​openSUSE

d)

CentOS

40.

Which of the following can you NOT install Linux on?

a)

​Smartcard

b)

Smartphones

c)

Desktops

d)

Cloud servers

41.

Most commands on Linux can display information on their usage. How can this information typically be displayed? Select two.

a)

By running the command info ls

b)

By running the command with the option /? or /??

c)

By running the command with the option -h or --help

d)

By running the command with the option /doc or /documentation

e)

By running the command with the option -m or --manpage

42.

What command lists running processes?

a)

pwd

b)

ps

c)

top

d)

uname

e)

uptime

43.

What is the purpose of the kernel?

a)

Boots the system

b)

Implements the command line terminal

c)

Manages system resources

d)

Acts as the command interpreter

44.

What does the command last output? Select two.

a)

Root tty4 Thurs Aug 19 22:12 -22:12 (00:00)

b)

Shows last command used by defined user

c)

Last login: Mon Aug 19 10:57:29

d)

Shows previous commands

45.

What command would root use to change the ownership of a file?

a)

chmod

b)

chage

c)

chusr

d)

chown

46.

What is the login for the system administrator?

a)

root

b)

admin

c)

administrator

d)

suzie

47.

The superuser account is root. Root always has UID of what?

a)

1

b)

-1

c)

-255

d)

9994

e)

0

48.

What basic information is stored in /etc/passwd? Select three.

a)

UID

b)

username

c)

user's default shell

d)

password

49.

User passwords are stored in etc/shadow. What else is true regarding Linux passwords?

a)

Passwords are only stored in hashed form for security.

b)

Can only be 6 characters long

c)

Users cannot change original passwords

50.

What command displays manual pages?

a)

man

b)

help

c)

info

d)

manual

51.

What command displays improved manual pages?

a)

man

b)

help

c)

info

d)

manual

52.

Which command can add a new user and creates the user’s home directory?

a)

adduser -n

b)

useradd -m

c)

uname- m

d)

useradd default

53.

The tar program manages compression and decompression. What are the most commonly used options with tar? Select all that apply.

a)

-bz

b)

-J

c)

-j

d)

-z

54.

Which of the following tar commands creates an archive file?

a)

-xf

b)

-create

c)

–new

d)

-cf

55.

Since the Raspberry Pi does not contain a hard disk, where is the operating system stored?

a)

a removable SD memory card

b)

on a read only partition, next to BIOS

c)

on the master IDE bus

56.

What is a bundling of the Linux kernel, system utilities and other software?

a)

Linux distribution

b)

Linux kernel source code

c)

Linux file system

57.

All Red Hat based distributions use the package format ______________.

a)

rpm

b)

dpka

c)

apt-get

d)

prm

58.

Linux is usually offered as a part of Infrastructure as a Service (IaaS). Which of the following are typical services offered by cloud providers? Select all that apply

a)

PaaS

b)

IaaS

c)

GaaS

d)

SaaS

59.

Pick the true statement below.

a)

Inkspace is a graphical editor for vector graphics.

b)

ImageMagick is an audio editor.

c)

GIMP is a command line tool.

d)

Blender is an image editor, compared to Adobe Photoshop.

60.

In a Linux OS, there is a preferred source for installation of new applications. What is the storage location called?

a)

CD-ROM disk

b)

the distribution’s package repository

c)

the vendor’s website

d)

vendor’s management system

61.

Free software can mean the following:

a)

It may be modified by anyone using it.

b)

It only runs on Linux

c)

It must always be available free of charge.

62.

Linux is usually a part of an Infrastructure as a Service, IaaS. IaaS are virtual machines which are provisioned within minutes in the cloud. Which of the following statements are true about provisioning IaaS cloud?

a)

The installation has to be prepared in a local virtual machine, which is then copied to the cloud.

b)

The cloud hosting organization provides images of popular Linux distros.

c)

A provider- specific configuration file describing the desired installation is uploaded to the cloud provider.

63.

Which tar option extracts the contents of a compressed archive file?

a)

-czf

b)

-xzf

c)

-extract

d)

ztar

64.

Which of the following commands finds all lines in the file regardless of the case?

a)

igrep

b)

less -i

c)

grep -i

d)

cut

65.

What key would you used to exit the command less?

a)

I

b)

U

c)

x

d)

e

e)

q

66.

The Free Software license defines many items, but overall it defines:

a)

Conditions for modifying and distributing the licensed software.

b)

Limits on the purposes for which the software can be used

c)

Details of technical documentation

d)

Programming languages and libraries.

67.

The command for listing recursively, Ls- R , includes all of what?

a)

directory contents, including sub-directories

b)

directory contents, not including sub-directories

68.

True or False: Recursive directory listings include the contents of sub-directories.

a)

True

b)

False

69.

What character indicates the shell is running with root priviledges?

a)

#

b)

!

c)

*

d)

$

e)

&

70.

You need to remove the directory Documents. Which of the following commands can be used to remove Documents? Select two.

a)

rmdir Documents

b)

remove Documents

c)

rm -r Documents

d)

rem Documents

71.

What single character can be used to split a command across multiples lines when typing a long command in a shell?

a)

/

b)

\

c)

&

d)

?

72.

What single character represents a directory?

a)

/

b)

\

c)

&

d)

?

73.

Which protocol is used for IP address configuration?

a)

DHCP

b)

DNS

c)

NFS

d)

SMTP

74.

The command passwd can perform the following tasks: (select all that apply)

a)

change a user’s password

b)

passwd -l locks a user account

c)

creates a new user group

d)

changes a user’s username

75.

The substitute or switch user command su can do the following: (select the true statement)

a)

it can only be used by the user root.

b)

it locks the account

c)

changes the name of the admin account

d)

it runs a shell or command as another user

76.

What command shows the current working directory’s and the absolute path to that directory?

a)

who

b)

pwd

c)

cd ..

d)

ls- l

77.

Which option for the command list will list contents of hidden, files names only, and no additional information?

a)

ls -lh

b)

ls -l

c)

ls -a

d)

ls- nl

78.

Using the copy command, which option will copy the content of the directory /documents, including all sub- directories?

a)

copy /documents

b)

cp -v /documents

c)

cp -r /documents

d)

cp -R /documents

e)

rcp /documents

79.

Which command will put the lines of a file in alphabetical order?

a)

abc

b)

wc

c)

grep

d)

sort

e)

a….z

80.

Which of the following operators in a regular expression will match preceding characters one or zero times?

a)

*

b)

+

c)

%%

d)

$

e)

?

81.

Which of the following operators in a regular expression will match preceding characters more than one time or multiples characters?

a)

*

b)

+

c)

%%

d)

$

e)

?

82.

Which of the following is an example of embedded Linux?

a)

Android

b)

Red Hat Linux

c)

Fedora

d)

Linux Mint

83.

Which Linux distribution is used as a basis for the creation of Ubuntu Linux?

a)

Arch

b)

SUSE

c)

Gentoo

d)

Debian

84.

Which of the following programs on a Linux system could you use as a replacement for Microsoft Word?

a)

Pages

b)

Pico

c)

Writer

d)

Nano

85.

Which of the following programs on a Linux system could you use instead of Windows Media Player?

a)

VLC

b)

QuickTime

c)

iTunes

d)

Winamp

86.

Which of the following is TRUE about open source software?

a)

Open source software is always free

b)

Open source software is a prominent example of open collaboration

c)

Open source software is more secure than closed source software

d)

Open source software does not have any support

87.

What does GUI stand for?

a)

General User Interface

b)

Great User Interface

c)

Generic Unique Interlink

d)

Graphical User Interface

88.

Which of the following is NOT a Linux desktop environment?

a)

KDE

b)

XFCE

c)

Dwarf

d)

Gnome

89.

The output of the program date should be saved in the variable datenow. What is the correct statement to enter into the shell to set this variable?

a)

set datenow='date'

b)

date | datenow

c)

datenow='date'

d)

date > $datenow

90.

Which of the following is NOT a valid rule for naming a variable?

a)

Variable names must start with a letter

b)

Variable names must start with numbers

c)

Underscores are used instead of embedded spaces

d)

Punctuation marks are not allowed

91.

To see all the variables that are in the user's environment, use the ____ command.

a)

printer

b)

ping

c)

printenv

d)

processvar

92.

What could provide a set of electronic pages that explains a specific command available on the system?

a)

Man pages

b)

Help pages

c)

Master pages

d)

Informational pages

93.

Which of the following are not man page sections?

a)

Name

b)

Mistakes

c)

Configuration

d)

Return Value

94.

How can the current directory and its subdirectories be searched for the file named MyFile.xml?

a)

find . -name MyFile.xml

b)

grep MyFile.xml | find

c)

grep -r MyFile.xml

d)

find -P MyFile.xml | grep

95.

The "cd" command is short for ____.

a)

Check Directory

b)

Change Directory

c)

Change Disk

d)

Check Disk

96.

Which command is used to copy files from one directory to another?

a)

mv

b)

copy

c)

cp

d)

rm

97.

What does the "rm -rf" command do in Linux?

a)

Remove all files from the directory and subdirectories

b)

Remove all the files in the current directory

c)

Rename all the files in the directory and subdirectories

d)

Rename all the files in the current directory

98.

Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?

a)

tar -cf backup.tar /home

b)

tar -cf /home backup.tar

c)

tar -xf /home backup.tar

d)

tar -xf backup.tar /home

99.

Which of the following commands creates an archive file work.tar from the contents of the directory ./work/?

a)

tar --new work.tar ./work/

b)

tar -cf work.tar ./work/

c)

tar --create work.tgz --content ./work/

d)

tar work.tar < ./work/

100.

How can the normal output of a command be written to a file while discarding the error output?

a)

command < output > /dev/null

b)

command > discard-error > file

c)

command > /dev/null 2&> 1 output

d)

command > file 2> /dev/null

101.

Which command will display the last line of the file document.txt?

a)

head -n 1 document.txt

b)

tail -n 1 document.txt

c)

tail document.txt

d)

last -n 1 document.txt

102.

Why is the file data.txt empty after executing sort data.txt > data.txt?

a)

Because sort cannot sort text files, only binary files

b)

Because sort detects that both files are the same

c)

Because the file gets truncated before sort is executed

d)

Because the file gets executed before sort is truncated

103.

What is the output of the following command?

a)

anbncn

b)

abc

c)

$token$token$token

d)

{a}{b}{c}

104.

Which of the following statements may be used to access the second command line argument to a script?

a)

$arg2

b)

$2

c)

$1

d)

$var2

105.

What keyword should be used to fill in the blank in the following segment of the given shell script?

a)

do

b)

then

c)

when

d)

fi

106.

How is it possible to determine if an executable file is a shell script which is read by Bash?

a)

The file must end with .sh

b)

The first line starts with #!/bin/bash

c)

/bin/bash has to be run in debug mode

d)

Only if you are logged in as root

107.

Which of the following is NOT TRUE about the Linux Distribution Life Cycle?

a)

Linux distros are always short term releases

b)

Most of the release schedules are publicly announced months or years in advance

c)

Some developers come up with catchy names for versions

d)

The final-release version is considered to be the stable version

108.

What does HCL mean?

a)

Hindustan Computer Limited

b)

Hardware Compatibility List

c)

Hardware Computer License

d)

House Computer Linux

109.

Which of the following properly identifies the third partition, on the second hard disk, on the first IDE controller on a PC system?

a)

/dev/hdb3

b)

/dev/hd1b3

c)

/dev/hdc1d2p3

d)

/dev/hdc1a3

110.

After installing a new package, in which directory are you most likely to find its configuration file?

a)

/lib

b)

/etc

c)

/conf

d)

/usr

111.

Which of the following directories is often used to store log files?

a)

/var

b)

/temp

c)

/dev/hdc1d2p3

d)

/usr

112.

What is the command that will show system boot time messages?

a)

echo

b)

lspci

c)

dmesg

d)

display system boot

113.

Which network interface always exists in a Linux system?

a)

lo

b)

eth0

c)

wlan0

d)

vlan0

114.

Which of the following displays network connections for Transmission Control Protocol, routing tables, and a number of network interface and network protocol statistics?

a)

net

b)

ping

c)

netstat

d)

traceroute

115.

Which of the following commands can determine the time of the last login of a given user?

a)

showlog

b)

recent

c)

last

d)

history

116.

Which command shows who is logged in and what they are doing in the system?

a)

who

b)

w

c)

whoami

d)

id

117.

Which of the following files holds the definition of the local user accounts?

a)

c/users

b)

/etc/passwd

c)

c/id

d)

c/home

118.

Which command adds the new user tux and creates the user's home directory with default configuration files?

a)

usercreate tux

b)

useradd -o default tux

c)

useradd -m tux

d)

passwd -a tux

119.

Which of the following commands will display a list of all files in the current directory, including those that may be hidden?

a)

ls -a

b)

ls -h

c)

ls -all

d)

ls -hidden

120.

What does the letter t at the end of drwxrwxrwt indicate within the following directory permissions? drwxrwxrwt 14 root root 36864 2012-03-02 11:17 /tmp

a)

The t is used to show that the directory is globally writable, but only the owner can delete their own files within the directory

b)

The directory is accessible by everyone

c)

The directory contains only temporary files that can be deleted by the system when more space is needed

d)

The files contained in this directory can only be accessed by the root user

121.

What command would you use to create a symbolic link in Linux?

a)

ln -d

b)

ln -s

c)

link -d

d)

link -s