Ensurepass

QUESTION 501

Which bash option will prevent you from overwriting a file with a “>”?

A. set -o safe

B. set -o noglob

C. set -o noclobber

D. set -o append

E. set -o nooverwrite

Answer: C


QUESTION
502 CORRECT TEXT

Given the following line from /etc/nsswitch.conf:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 By default, which file will be queried first for hostname lookups? (Provide the full path and filename)

Answer: /etc/hosts


QUESTION
503 CORRECT TEXT

The _________ command is used to assign an IP address to a device. (Please specify the command with or without path information)

Answer:

ifconfig

/sbin/ifconfig

ip

/sbin/ip


QUESTION
504

Which of the following is the command used to deactivate a network interface?

A. ifdown

B. ipdown

C. net

D. netdown

Answer: A


QUESTION
505

What output will the following command produce?

seq 1 5 20

A. 1 6 11 16

B. 1 5 10 15

C. 1 234

D. 2 345

E. 5 10 15 20

Answer: A


QUESTION
506

Which statement is true regarding the following /etc/resolv.conf file?

search example.com

127.0.0.1

208.77.188.166

A. There is a syntax error.

B. If DNS queries to the localhost fail, the server 208.77.188.166 will be queried.

C. Example.com will be appended to all host lookups.

D. The DNS servers at 127.0.0.1 and 208.77.188.166 will be queried in a round robin fashion.

E. The DNS server with the shortest ping time will be queried first. If the lookup fails, the second server will be queried.

Answer: A


QUESTION
507

What is the purpose of the dig command?

A. To adjust a directory’s hidden permissions

B. To search for files on the filesystem

C. To adjust a file’s hidden permissions

D. To perform hostname lookups

E. To ping all known hosts on the current subnet

E.

Answer: D


QUESTION
508 CORRECT TEXT

The _____________ command is used to print the network connections, routing tables, and interface statistics.

Answer:

netstat

/bin/netstat

ip

/sbin/ip


QUESTION
509

Which of the following commands can be used to activate a specific network interface?

A. ipup

B. net

C. ifup

D. netup

Answer: C


QUESTION
510 CORRECT TEXT

A. administrator wants to determine the geometry of a particular window in X, so she issues the __________ -metric command and then clicks on the window.

Answer:

/usr/bin/xwininfo

xwininfo

Download Latest LPI 117-102 DUMPS Real Free Tests , help you to pass exam 100%.

Comments are closed.