Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

010-160 Exam Dumps - Linux Essentials Certificate Exam - version 1.6

Question # 4

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

A.

portage

B.

rpm

C.

apt-get

D.

dpkg

E.

packagectl

Full Access
Question # 5

What happens to a file residing outside the home directory when the file owner's account is deleted? (Choose two.)

A.

During a file system check, the file is moved to /lost +found.

B.

The file is removed from the file system.

C.

The UID of the former owner is shown when listing the file's details.

D.

The user root is set as the new owner of the file.

E.

Ownership and permissions of the file remain unchanged.

Full Access
Question # 6

Which of the following commands puts the lines of the file data.csv into alphabetical order?

A.

a..z data.csv

B.

sort data.csv

C.

abc data.csv

D.

wc -s data.csv

E.

grep --sort data.csv

Full Access
Question # 7

Which of the following statements are true regarding a typical shell script? (Choose two.)

A.

It has the executable permission bit set.

B.

It starts with the two character sequence #!.

C.

It is located in /usr/local/scripts/.

D.

It is located in /etc/bash/scripts/.

E.

It is compiled into a binary file compatible with the current machine architecture.

Full Access
Question # 8

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

Full Access
Question # 9

Which of the following tasks can the command passwd accomplish? (Choose two.)

A.

Change a user's username.

B.

Change a user's password.

C.

Create a new user account.

D.

Create a new user group.

E.

Lock a user account.

Full Access
Question # 10

Which of the following are typical services offered by public cloud providers? (Choose three correct answers.)

A.

Platform as a Service(PaaS)

B.

Infrastructure as a Service(IaaS)

C.

Internet as a Service(IaaS)

D.

Graphics as a Service (GaaS)

E.

Software as a Service (SaaS)

Full Access
Question # 11

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

}

Full Access
Question # 12

Which of the following outputs could stem from the commandlast?

A.

1 ls

2 cat text.txt

3 logout

B.

Password for user last changed at Sat Mar 31 16:38:57 EST 2018

C.

Last login: Fri Mar 23 10:56:39 2018 from server.example.com

D.

EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null)

E.

root tty2 Wed May 17 21:11 - 21:11 (00:00)

Full Access
Question # 13

What is true about thedmesgcommand? (Choose two correct answers.)

A.

It traces the execution of a command and shows each step the program carries out.

B.

It sends messages to the command lines of all current user sessions.

C.

It displays the content of the Linux kernel’s ring buffer.

D.

It immediately outputs all new messages written to the system journal.

E.

It might not display older information because it was overwritten by newer information.

Full Access
Question # 14

Which of the following commands can be used to resolve a DNS name to an IP address?

A.

dnsname

B.

dns

C.

query

D.

host

E.

iplookup

Full Access
Question # 15

Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?

A.

copy /etc /root

B.

cp -r /etc/* /root

C.

cp -v /etc/* /root

D.

rcp /etc/* /root

E.

cp -R /etc/*.* /root

Full Access
Question # 16

Which of the following Linux Distributions is derived from Red Hat Enterprise Linux?

A.

Raspbian

B.

openSUSE

C.

Debian

D.

Ubuntu

E.

CentOS

Full Access
Question # 17

Which one of the following statements concerning Linux passwords is true?

A.

All passwords can be decrypted using the system administrator's master password.

B.

Passwords may never start with a non-letter.

C.

Users cannot change their password once it has been set.

D.

Passwords are only stored in hashed form.

E.

Passwords may be at most six characters long.

Full Access
Question # 18

Running the commandrm Downloadsleads to the following error:

rm: cannot remove ‘Downloads/’: Is a directory

Which of the following commands can be used instead to removeDownloads, assumingDownloadsis

empty? (Choose two correct answers.)

A.

undir Downloads

B.

rmdir Downloads

C.

dir –r Downloads

D.

rem Downloads

E.

rm –r Downloads

Full Access
Question # 19

When typing a long command line at the shell, whatsingle charactercan be used to split a command across multiple lines?

Full Access
Question # 20

Reverse DNS assigns hostnames to IP addresses. How is the name of the IP address 198.51.100.165 stored

on a DNS server?

A.

In the A record for165.100.51.198.ipv4.arpA.

B.

In the PTR record for165.100.51.198.in-addr.arpA.

C.

In the RNAME record for198-51-100-165.rev.arpA.

D.

In the ARPA record for165.100.51.198.rev.

E.

In the REV record forarpA.in-addr.198.51.100.165.

Full Access
Question # 21

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

A.

Python

B.

NGINX

C.

Samba

D.

Inkscape

E.

MySQL

Full Access
Question # 22

Which statements about the directory /etc/skel are correct? (Choose two.)

A.

The personal user settings of root are stored in this directory.

B.

The files from the directory are copied to the home directory of the new user when starting the system.

C.

The files from the directory are copied to the home directory of a new user when the account is created.

D.

The directory contains a default set of configuration files used by the useradd command.

E.

The directory contains the global settings for the Linux system.

Full Access
Question # 23

Which of the following values could be a process ID on Linux?

A.

/bin/bash

B.

60b503cd-019e-4300-a7be-922f074ef5ce

C.

/sys/pid/9a14

D.

fff3

E.

21398

Full Access
Question # 24

Which of the following commands shows the absolute path to the current working directory?

A.

who

B.

cd ..

C.

pwd

D.

ls -l

E.

cd ~/home

Full Access