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

How can the label root be added to the ext4 filesystem on /dev/sda1?

A.

relabel /dev/sda1 root

B.

tune2fs -L root /dev/sda1

C.

echo 'root' > /proc/fs/sda1/label

D.

labelfs --device /dev/sda1 root

Due to extreme system use, a Linux system requires some additional swap space. To initialize 5GB of additional swap space, which combination of commands should be used?

A.

dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount /tmp/swapfile

B.

dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile

C.

dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon /tmp/swapfile

D.

touch -5G /tmp/swapfile; swapon /tmp/swapfile

E.

mkswap /tmp/swapfile 512000; swapon /tmp/swapfile

Which of the following is an example path to a Linux software RAID array?

A.

/dev/raid0

B.

/dev/rd1

C.

/dev/pr0

D.

/dev/md1

Which directory in /dev/disk/ can be used to determine the UUID of a connected hard disk?

A correctly formatted entry has been added to /etc/hosts.deny to prevent certain clients from connecting to a service but this is having no effect. What could be the cause of this? (Choose TWO correct answers.)

A.

tcpd needs to be sent the HUP signal.

B.

The service needs to be restarted.

C.

The machine needs to be restarted.

D.

There is a conflicting entry in /etc/hosts.allow.

E.

The service does not support tcpwrapper.

Considering the following kernel IP routing table below, which of the following commands must be used to remove the route to the network 10.10.1.0/24? (Select TWO answers)

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

203.0.113.162 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

172.16.87.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

192.168.246.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

10.10.1.0 192.168.246.11 255.255.255.0 UG 0 0 0 eth1

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 203.0.113.162 0.0.0.0 UG 0 0 0 ppp0

A.

ip net delete 10.10.1.0/24

B.

route del 10.10.1.0/24

C.

route del -net 10.10.1.0/24

D.

route del 10.10.1.0/24 gw 192.168.246.11

E.

ip route delete 10.10.1.0/24

Which /etc/hosts.allow entries will permit access to sshd for users from the 192.168.1.0/24 subnet? (Choose TWO correct answers.)

A.

sshd : 192.168.1.

B.

sshd : 192.168.1

C.

sshd : 192.168.1.0 netmask 255.255.255.0

D.

sshd : 192.168.1.0/255.255.255.0

E.

sshd : 192.168.1.0

Which of the following commands can be used to script interactions with various TCP or UDP services?

A.

ftp

B.

nc

C.

tcpdump

D.

strings

E.

wget

The following is an excerpt from the output of tcpdump -nli eth1 'udp':

13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.53: 43653+ A? lpi.org. (25)

13:03:17.598624 IP 192.168.5.112.53 > 192.168.123.5.1065: 43653 1/0/0 A 198.51.100.42 (41)

Which network service or protocol was used?

A.

FTP

B.

HTTP

C.

SSH

D.

DNS

E.

DHCP

Which command can be used to scan a specified network looking for IP addresses that appear to be in use?

A.

nmap

B.

tcpdump

C.

ip

D.

netscan

E.

hostdiscover