Certbus > Lpi > LPI Certifications > 010-160 > 010-160 Online Practice Questions and Answers

010-160 Online Practice Questions and Answers

Questions 4

What are the differences between hard disk drives and solid state disks? (Choose two.)

A. Hard disks have a motor and moving parts, solid state disks do not.

B. Hard disks can fail due to physical damage, while solid state disks cannot fail.

C. Solid state disks can store many times as much data as hard disk drives.

D. /dev/sda is a hard disk device while /dev/ssda is a solid state disk.

E. Solid state disks provide faster access to stored data than hard disks.

Browse 80 Q&As
Questions 5

Members of a team already have experience using Red Hat Enterprise Linux. For a small hobby project, the team wants to set up a Linux server without paying for a subscription. Which of the following Linux distributions allows the team members to apply as much of their Red Hat Enterprise Linux knowledge as possible?

A. Ubuntu Linux LTS

B. Raspbian

C. Debian GNU/Linux

D. CentOS

E. openSUSE

Browse 80 Q&As
Questions 6

What is the UID of the user root?

A. 1

B. -1

C. 255

D. 65536

E. 0

Browse 80 Q&As
Questions 7

Which of the following tar options handle compression? (Choose two.)

A. -bz

B. -z

C. -g

D. -j

E. -z2

Browse 80 Q&As
Questions 8

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/

E. tar work > work.tar

Browse 80 Q&As
Questions 9

A. l

B. x

C. e

D. q

E. !

Browse 80 Q&As
Questions 10

Which of the following directories contains information, documentation and example configuration files for installed software packages?

A. /usr/share/doc/

B. /etc/defaults/

C. /var/info/

D. /doc/

E. /usr/examples/

Browse 80 Q&As
Questions 11

A new server needs to be installed to host services for a period of several years. Throughout this time, the server should receive important security updates from its Linux distribution.

Which of the following Linux distributions meet these requirements? (Choose two.)

A. Ubuntu Linux LTS

B. Fedora Linux

C. Debian GNU/Linux Unstable

D. Ubuntu Linux non-LTS

E. Red Hat Enterprise Linux

Browse 80 Q&As
Questions 12

Which command displays file names only and no additional information?

A. ls -a

B. ls -lh

C. ls -l

D. ls -alh

E. ls -nl

Browse 80 Q&As
Questions 13

Which of the following commands sets the variable USERNAME to the value bob?

A. set USERNAME bob

B. $USERNAME==bob

C. var USERNAME=bob

D. USERNAME<=bob

E. USERNAME=bob

Browse 80 Q&As
Questions 14

Which of the following examples shows the general structure of a for loop in a shell script?

A. for *.txt as file => echo $file

B. for *.txt ( echo $i )

C. for file in *.txt do

echo $i

done

D. for ls *.txt exec {} \;

E. foreach @{file} { echo $i }

Browse 80 Q&As
Questions 15

Which operator in a regular expression matches the preceding character either zero or one time?

A. ?

B. *

C. +

D. %

E. $

Browse 80 Q&As
Questions 16

The file script.sh in the current directory contains the following content:

#!/bin/bash echo $MYVAR

The following commands are used to execute this script:

MYVAR=value ./script.sh

The result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?

A. !MYVAR=value

B. env MYVAR=value

C. MYVAR=value

D. $MYVAR=value

E. export MYVAR=value

Browse 80 Q&As
Questions 17

Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?

A. zip *.txt > poems.zip

B. zcat *.txt poems.zip

C. zip poems.zip *.txt

D. zip cfz poems.zip *.txt

E. cat *.txt | zip poems.zip

Browse 80 Q&As
Questions 18

Which of the following programs are web servers? (Choose two.)

A. Apache HTTPD

B. Postfix

C. Curl

D. Dovecot

E. NGINX

Browse 80 Q&As
Exam Code: 010-160
Exam Name: Linux Essentials, version 1.6
Last Update: Mar 12, 2025
Questions: 80 Q&As

PDF

$49.99

VCE

$55.99

PDF + VCE

$65.99