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

Exact2Pass Menu

Question # 4

What is true about the file /etc/localtime?

A.

It is a plain text file containing a string such as Europe/Berlin.

B.

It is created and maintained by the NTP service based on the geolocation of the system's IP address.

C.

It is a symlink to /sys/device/clock/ltime and always contains the current local time.

D.

It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.

Full Access
Question # 5

Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

Full Access
Question # 6

Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

A.

Year

B.

Minute

C.

Username

D.

Command

Full Access
Question # 7

What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Full Access
Question # 8

Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?

A.

SIGTERM

B.

SIGINT

C.

SIGSTOP

D.

SIGKILL

Full Access
Question # 9

Which of the following commands lists the dependencies of a given dpkg package?

A.

apt-cache depends-on package

B.

apt-cache dependencies package

C.

apt-cache depends package

D.

apt-cache requires package

Full Access
Question # 10

Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

Full Access
Question # 11

Which world-writable directory should be placed on a separate partition inorder to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)

Full Access
Question # 12

Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

A.

substitute

B.

nameserver

C.

search

D.

lookup

E.

method

Full Access
Question # 13

Which of the following details is NOT provided in any output from the netstat utility?

A.

broadcast services

B.

interface statistics

C.

masquerading connections

D.

network connections

E.

routing tables

Full Access
Question # 14

Which of the following commands can be used to limit the amount of memory a user may use?

A.

umask

B.

usermod

C.

ulimit

D.

passwd

E.

chage

Full Access
Question # 15

Which of the following are syslog facilities? (Choose TWO correct answers.)

A.

local7

B.

mail

C.

advanced

D.

postmaster

E.

remote

Full Access
Question # 16

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

A.

dd if=/dev/zero of=/dev/sda bs=512

B.

dd if=/dev/zero of=/dev/sdabs=512 count=1

C.

dd if=/dev/zero of=/dev/sda bs=440 count=1

D.

dd if=/dev/zero of=/dev/sda bs=440

Full Access
Question # 17

Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

A.

The list of users that belong to the group.

B.

The home directory of the group.

C.

The name of the group.

D.

The description of the group.

E.

The password of the group.

Full Access
Question # 18

Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?

A.

kill -PIPE 123

B.

kill -KILL 123

C.

kill -STOP 123

D.

kill -TERM 123

Full Access
Question # 19

Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

A.

usermod

B.

passwd

C.

chattr

D.

chage

E.

chsh

Full Access
Question # 20

Where are user specific crontabs stored?

A.

In the database file /etc/crontab.db which is shared by all users.

B.

As individual per-user files within /var/spool/cron.

C.

As individual per-user files in /etc/cron.user.d.

D.

In the .crontab file in the user's home directory.

E.

In the file /var/cron/user-crontab which is shared by all users.

Full Access
Question # 21

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

A.

!

B.

+

C.

&

D.

%

E.

#

Full Access
Question # 22

Which of the following commands will help identify a broken router between the local and the remote machine?

A.

ps

B.

netstat

C.

nslookup

D.

ifconfig

E.

traceroute

Full Access
Question # 23

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

A.

systemd.target=rescue.target

B.

systemd.runlevel=rescue.target

C.

systemd.service=rescue.target

D.

systemd.default=rescue.target

E.

systemd.unit=rescue.target

Full Access
Question # 24

How can the existing environment variable FOOBAR be suppressedfor the execution of the script./myscript only?

A.

unset -v FOOBAR;./myscript

B.

set -a FOOBAR="";./myscript

C.

env -u FOOBAR./myscript

D.

env -i FOOBAR./myscript

Full Access
Question # 25

Which character starts a comment line in a shell script file?

A.

;

B.

*

C.

#

D.

/

Full Access
Question # 26

What command will generate a list of user names from /etc/passwd along with their login shell?

A.

column -s : 1,7 /etc/passwd

B.

chop -c 1,7 /etc/passwd

C.

colrm 1,7 /etc/passwd

D.

cut -d: -f1,7 /etc/passwd

Full Access
Question # 27

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 28

Which of the following commands updates the linker cache of shared libraries?

A.

mkcache

B.

soconfig

C.

mkldconfig

D.

lddconfig

E.

ldconfig

Full Access
Question # 29

In the vi editor, which of the following commands will copy the current line into the vi buffer?

A.

c

B.

cc

C.

1c

D.

yy

E.

1y

Full Access
Question # 30

When using rpm --verify to check files created during the installation of RPM packages, which ofthe following information is taken into consideration? (Choose THREE correct answers.)

A.

Timestamps

B.

MD5 checksums

C.

Inodes

D.

File sizes

E.

GnuPG signatures

Full Access
Question # 31

Which variable defines the directories in which a Bash shell searches for executable commands?

A.

BASHEXEC

B.

BASHRC

C.

PATH

D.

EXECPATH

E.

PATHRC

Full Access
Question # 32

What is the default action of the split command on an input file?

A.

It will break the file into new files of 1,024 byte pieces each.

B.

It will break the file into new files of 1,000 line pieces each.

C.

It will break the file into new files of 1,024 kilobytepieces each.

D.

It will break the file into new files that are no more than 5% of the size of the original file.

Full Access
Question # 33

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

Full Access
Question # 34

Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

A.

~/.bashconf

B.

~/.bashrc

C.

~/.bashdefaults

D.

~/.bash_etc

E.

~/.bash_profile

Full Access
Question # 35

Which of the following is correct when talking about mountpoints?

A.

Every existing directory can be used as a mount point.

B.

Only empty directories can be used as a mount point.

C.

Directories need to have the SetUID flag set to be used as a mount point.

D.

Files within a directory are deleted when the directory is used as a mount point.

Full Access
Question # 36

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

A.

/lib/init.so

B.

/sbin/init

C.

/etc/rc.d/rcinit

D.

/proc/sys/kernel/init

E.

/boot/init

Full Access
Question # 37

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

A.

cat < myapp | cat > file1.log

B.

myapp 0>&1 | cat > file1.log

C.

myapp | cat > file1.log

D.

myapp | teefile1.log

E.

tee myapp file1.log

Full Access
Question # 38

Which of the following commands can be used to display the inode number of a given file?

A.

inode

B.

ls

C.

ln

D.

cp

Full Access
Question # 39

When running the command

sed -e "s/a/b/" /tmp/file >/tmp/file

While /tmp/file contains data, why is /tmp/file empty afterwards?

A.

The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.

B.

The command sed did not match anything in that file therefore the output is empty.

C.

When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.

D.

Redirection for shell commands do not work using the > character. It only works using the | character instead.

Full Access