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

Exact2Pass Menu

Question # 4

Which of the following commands sorts the output of the commandexport-logs?

A.

export-logs < sort

B.

export-logs > sort

C.

export-logs & sort

D.

export-logs | sort

E.

export-logs <> sort

Full Access
Question # 5

The ownership of the file doku.odt should be changed. The new owner is named tux. Which command accomplishes this change?

A.

chmod u=tux doku.odt

B.

newuser doku.odt tux

C.

chown tux doku.odt

D.

transfer tux: doku.odt

E.

passwd doku.odt:tux

Full Access
Question # 6

What information is stored in/etc/passwd? (Choose three correct answers.)

A.

The user’s storage space limit

B.

The numerical user ID

C.

The username

D.

The encrypted password

E.

The user\s default shell

Full Access
Question # 7

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

A.

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

B.

By running the command with the option ?! or ?=!.

C.

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

D.

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

E.

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

Full Access
Question # 8

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
Question # 9

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 # 10

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

A.

Apache HTTPD

B.

Postfix

C.

Curl

D.

Dovecot

E.

NGINX

Full Access
Question # 11

What is defined by a Free Software license?

A.

Details of the technical documentation each contributor has to provide.

B.

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

C.

A complete list of libraries required to compile the licensed software.

D.

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

E.

Conditions for modifying and distributing the licensed software.

Full Access
Question # 12

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 # 13

Which of the following commands extracts the contents of the compressed archive file1.tar.gz?

A.

tar -czf file1.tar.gz

B.

ztar file1.tar.gz

C.

tar -xzf file1.tar.gz

D.

tar --extract file1.tar.gz

E.

detar file1.tar.gz

Full Access
Question # 14

Which files are the source of the information in the following output? (Choose two.)

uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150

(docker), 1001 (libvirt)(wireshark),989

A.

/etc/id

B.

/etc/passwd

C.

/etc/group

D.

/home/index

E.

/var/db/users

Full Access
Question # 15

Which of the followingtaroptions handle compression? (Choose two correct answers.)

A.

-bz

B.

-z

C.

-g

D.

-j

E.

-z2

Full Access
Question # 16

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.shleads 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 .shto.bin.

B.

The execute bit should be set in the file’s permissions.

C.

The user executing the script should be added to theexecgroup.

D.

The SetUID bit should be set in the file’s permissions

E.

The script should be run using#!./test. shinstead of./test.sh.

Full Access
Question # 17

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

Full Access
Question # 18

Which permissions are set on a regular file once the permissions have been modified with the command

chmod 654 file.txt?

A.

drw-r-xr--

B.

d—wxr-x--

C.

–wxr-x--x

D.

–rwxrw---x

E.

-rw-r-xr--

Full Access
Question # 19

Which of the following is a protocol used for automatic IP address configuration?

A.

NFS

B.

LDAP

C.

SMTP

D.

DNS

E.

DHCP

Full Access
Question # 20

What parameter of ls prints a recursive listing of a directory's content? (Specify ONLY the option name without any values or parameters.)

Full Access
Question # 21

What is a Linux distribution?

A.

The Linux file system as seen from the root account after mounting all file systems.

B.

A bundling of the Linux kernel, system utilities and other software.

C.

The set of rules which governs the distribution of Linux kernel source code.

D.

An operating system based on Linux but incompatible to the regular Linux kernel.

E.

A set of changes to Linux which enable Linux to run on another processor architecture.

Full Access
Question # 22

Which of the following DNS record types hold an IP address? (Choose two.)

A.

NS

B.

AAAA

C.

MX

D.

A

E.

CNAME

Full Access
Question # 23

Which of the following commands creates an archive filework.tarfrom 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

Full Access
Question # 24

A directory contains the following files:

What would be the output of the following shell script?

for file in *.txt

A.

*.txt

B.

a b

C.

c.cav

D.

A.txt

E.

A. txt

F.

txt

Full Access