ExamGecko
Home Home / LPI / 010-160

LPI 010-160 Practice Test - Questions Answers, Page 3

Question list
Search
Search

Which of the following commands sorts the output of the command export-logs?

A.
export-logs < sort
A.
export-logs < sort
Answers
B.
export-logs > sort
B.
export-logs > sort
Answers
C.
export-logs & sort
C.
export-logs & sort
Answers
D.
export-logs | sort
D.
export-logs | sort
Answers
E.
export-logs <> sort
E.
export-logs <> sort
Answers
Suggested answer: D

A directory contains the following files:

What would be the output of the following shell script? for file in *.txt

A.
*.txt
A.
*.txt
Answers
B.
a b
B.
a b
Answers
C.
c.cav
C.
c.cav
Answers
D.
a.txt
D.
a.txt
Answers
E.
a. txt b. txt
E.
a. txt b. txt
Answers
Suggested answer: E

Which of the following commands will search for the file foo.txt under the directory /home?

A.
search /home -file foo.txt
A.
search /home -file foo.txt
Answers
B.
search /home foo. txt
B.
search /home foo. txt
Answers
C.
find /home - file foo.txt
C.
find /home - file foo.txt
Answers
D.
find /home -name foo.txt
D.
find /home -name foo.txt
Answers
E.
find /home foo.txt
E.
find /home foo.txt
Answers
Suggested answer: D

The current directory contains the following file:

-rw-r—r— 1 root exec 24551 Apr 2 12:36 test.sh

The file contains a valid shell script, but executing this file using ./test.sh leads to this error:

bash: ./test.sh: Permission denied

What should be done in order to successfully execute the script?

A.
The file's extension should be changed from .sh to .bin.
A.
The file's extension should be changed from .sh to .bin.
Answers
B.
The execute bit should be set in the file's permissions.
B.
The execute bit should be set in the file's permissions.
Answers
C.
The user executing the script should be added to the exec group.
C.
The user executing the script should be added to the exec group.
Answers
D.
The SetUID bit should be set in the file's permissions
D.
The SetUID bit should be set in the file's permissions
Answers
E.
The script should be run using #!./test. sh instead of ./test.sh.
E.
The script should be run using #!./test. sh instead of ./test.sh.
Answers
Suggested answer: B

What is a Linux distribution?

A.
The Linux file system as seen from the root account after mounting all file systems.
A.
The Linux file system as seen from the root account after mounting all file systems.
Answers
B.
A bundling of the Linux kernel, system utilities and other software.
B.
A bundling of the Linux kernel, system utilities and other software.
Answers
C.
The set of rules which governs the distribution of Linux kernel source code.
C.
The set of rules which governs the distribution of Linux kernel source code.
Answers
D.
An operating system based on Linux but incompatible to the regular Linux kernel.
D.
An operating system based on Linux but incompatible to the regular Linux kernel.
Answers
E.
A set of changes to Linux which enable Linux to run on another processor architecture.
E.
A set of changes to Linux which enable Linux to run on another processor architecture.
Answers
Suggested answer: B

Which package management tool is used in Red Hat-based Linux Systems?

A.
portage
A.
portage
Answers
B.
rpm
B.
rpm
Answers
C.
apt-get
C.
apt-get
Answers
D.
dpkg
D.
dpkg
Answers
E.
packagectl
E.
packagectl
Answers
Suggested answer: B

Which of the following programs is a graphical editor for vector graphics?

A.
Python
A.
Python
Answers
B.
NGINX
B.
NGINX
Answers
C.
Samba
C.
Samba
Answers
D.
Inkscape
D.
Inkscape
Answers
E.
MySQL
E.
MySQL
Answers
Suggested answer: D

Where is the operating system of a Raspberry Pi stored?

A.
On the master device attached to the Raspberry Pi's IDE bus.
A.
On the master device attached to the Raspberry Pi's IDE bus.
Answers
B.
On a read only partition on the Raspberry Pi's firmware, next to the BIOS.
B.
On a read only partition on the Raspberry Pi's firmware, next to the BIOS.
Answers
C.
On a removable SD card which is put into the Raspberry Pi.
C.
On a removable SD card which is put into the Raspberry Pi.
Answers
D.
On a Linux extension module connected to the Raspberry Pi's GPIO pins.
D.
On a Linux extension module connected to the Raspberry Pi's GPIO pins.
Answers
E.
On rewritable flash storage which is built into the Raspberry Pi.
E.
On rewritable flash storage which is built into the Raspberry Pi.
Answers
Suggested answer: C

What is defined by a Free Software license?

A.
Details of the technical documentation each contributor has to provide.
A.
Details of the technical documentation each contributor has to provide.
Answers
B.
The programming languages which may be used to extend the licensed program.
B.
The programming languages which may be used to extend the licensed program.
Answers
C.
A complete list of libraries required to compile the licensed software.
C.
A complete list of libraries required to compile the licensed software.
Answers
D.
Limits on the purposes for which the licensed software may be used.
D.
Limits on the purposes for which the licensed software may be used.
Answers
E.
Conditions for modifying and distributing the licensed software.
E.
Conditions for modifying and distributing the licensed software.
Answers
Suggested answer: E

Why are web browser cookies considered dangerous?

A.
Cookies support identification and tracking of users.
A.
Cookies support identification and tracking of users.
Answers
B.
Cookies are always public and accessible to anyone on the internet.
B.
Cookies are always public and accessible to anyone on the internet.
Answers
C.
Cookies consume significant amounts of storage and can exhaust disk space.
C.
Cookies consume significant amounts of storage and can exhaust disk space.
Answers
D.
Cookies store critical data which is lost when a cookie is deleted.
D.
Cookies store critical data which is lost when a cookie is deleted.
Answers
E.
Cookies can contain and execute viruses and malware.
E.
Cookies can contain and execute viruses and malware.
Answers
Suggested answer: A
Total 80 questions
Go to page: of 8