Ensurepass

QUESTION 41

The following is an excerpt from a procmail configuration file:

 

:0 c

* ! ^To: backup

! backup

 

Which of the following is correct?

 

A.

All mails will be backed up to the path defined by $MAILDIR

B.

All mails to the local email address backup will be stored in the directory backup.

C.

A copy of all mails will be stored in file backup.

D.

A copy of all mails will be send to the local email address backup.

E.

Mails not addressed to backup are passed through a filter program named backup.

 

Correct Answer: D

 

 

QUESTION 42

An SSH port-forwarded connection to the web server www.example.com was invoked using the command ssh -TL 80 :www.example.com:80 user@www.example.com. Which TWO of the following are correct?

 

A.

The client can connect to the web server by typing http://www.example.com/ into the browser’s address barand the connection will be encrypted

B.

The client can connect to www.example.com by typing http://localhost/ into the browser’s address bar andthe connection will be encrypted

C.

The client can’t connect to the web server by typing http://www.example.com/ into the browser’s addressbar. This is only possible using http://localhost/

D.

It is only possible to port-forward connections to insecure services that provide an interactive shell (liketelnet)

E.

The client can connect to the web server by typing http://www.example.com/ into the browser’s address barand the connection will not be encrypted

 

Correct Answer: BE

 

 

QUESTION 43

What is the appropriate configuration file entry to allow SSH to run from inetd?

 

A.

ssh stream tcp nowait root /usr/sbin/tcpd sshd

B.

ssh stream tcp nowait root /usr/sbin/tcpd tcpd

C.

ssh stream tcpd nowait root /usr/sbin/tcpd sshd

D.

ssh data tcpd nowait root /usr/sbin/tcpd sshd

E.

ssh data tcp nowait root /usr/sbin/tcpd sshd

 

Correct Answer: A

 

 

QUESTION 44

When connecting to an SSH server for the first time, its fingerprint is received and stored in a file, which is located at:

 

A.

~/ .ssh/fingerprints

B.

~/ .ssh/id_dsa

C.

~/ .ssh/known_hosts

D.

~/ .ssh/id_dsa.pub

E.

~/ .ssh/gpg.txt

 

Correct Answer: C

 

 

QUESTION 45

How can a user’s default shell be checked, by querying an NIS server?

 

A.

ypquery user@example.com

B.

ypgrep user example.com

C.

ypmatch -d example.com user passwd

D.

ypcat -d example.com user

E.

ypq @example.com user +shell

 

Correct Answer: D

 

 

 

 

 

 

QUESTION 46

Which of the following options can be passed to a DHCP client machine using configuration options on the DHCP server?

 

A.

The NIS domain name

B.

The resolving order in /etc/resolv.conf

C.

The priority order in nsswitch.conf

D.

The filter rules for iptables

E.

The contents of hosts.allow and hosts.deny

 

Correct Answer: A

 

 

QUESTION 47

Which Apache directive allows the use of external configuration files defined by the directive AccessFileName?

 

A.

AllowExternalConfig

B.

AllowAccessFile

C.

AllowConfig

D.

IncludeAccessFile

E.

AllowOverride

 

Correct Answer: E

 

 

QUESTION 48

The internal network (192.168.1.0-192.168.1.255) needs to be able to relay email through the site’s sendmail server. What line must be added to /etc/mail/access to allow this?

 

A.

192.168.1.0/24 RELAY

B.

192.168.1 RELAY

C.

192.168.1.0/24 OK

D.

192.168.1 OK

 

Correct Answer: B

 

 

QUESTION 49

What command can be used to check the Samba configuration file?

 

A.

testconfig

B.

testsmbconfig

C.

smbtestcfg

D.

smbtestparm

E.

testparm

 

 

QUESTION 50

Which option is used to configure pppd to use up to two DNS server addresses provided by the remote server?

 

A.

ms-dns

B.

nameserver

C.

usepeerdns

D.

dns

E.

None of the above

 

Correct Answer: E

Free VCE & PDF File for LPI 117-202 Real Exam

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

Comments are closed.