[Free] Download Latest (March 2016) LPI 117-202 Real Exam 101-110

Ensurepass

QUESTION 101

To be able to access the server with the IP address 10.12.34.56 using HTTPS, a rule for iptables has to be written. Given that the client host’s IP address is 192.168.43.12, which of the following commands is correct?

 

A.

iptables – A FORWARD -p tcp -s 0/0 -d 10.12.34.56 –dport 80 -j ACCEPT

B.

iptables – A FORWARD -p tcp -s 192.168.43.12 d 10.12.34.56:443 -j ACCEPT.

C.

iptables – A FORWARD -p tcp -s 192.168.43.12 -d 10.12.34.56 –dport 443 -j ACCEPT.

D.

iptables – A INPUT -p tcp -s 192.168.43.12 – d 10.12.34.56:80 -j ACCEPT.

E.

iptables – A FORWARD -p tcp -s 0/0 -d 10.12.34.56 –dport 443 -j ACCEPT.

 

Correct Answer: C

 

 

QUESTION 102

Which network service or protocol is used by sendmail for RBLs (Realtime Blackhole Lists)?

 

A.

RBLP

B.

SMTP

C.

FTP

D.

HTTP

E.

DNS

 

Correct Answer: E

 

 

QUESTION 103

Which statements about the Alias and Redirect directives in Apache’s configuration file are true?

 

A.

Alias can only reference files under DocumentRoot

B.

Redirect works with regular expressions

C.

Redirect is handled on the client side

D.

Alias is handled on the server side

E.

Alias is not a valid configuration directive

 

Correct Answer: CD

 

 

QUESTION 104

A user is on holiday for two weeks. Anyone sending an email to that account should receive an autoresponse. Which of the following procmail rules should be used, so that all incoming emails are processed by vacation?

 

A.

:0c:

| /usr/bin/vacation nobody

B.

:w

| /usr/bin/vacation nobody

C.

:0fc:

|/usr/bin/vacation nobody

D.

| /usr/bin/vacation nobody

E.

:> |/usr/bin/vacation nobody

 

Correct Answer: A

QUESTION 105

A security-conscious administrator would change which TWO of the following lines found in an SSH configuration file?

 

A.

Protocol 2,1

B.

PermitEmptyPasswords no

C.

Port 22

D.

PermitRootLogin yes

E.

IgnoreRhosts yes

 

Correct Answer: AD

 

 

QUESTION 106

Which TWO /etc/hosts.allow entries will allow access to sshd from the class C network 192.168.1.0?

 

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

 

Correct Answer: AD

 

 

QUESTION 107

Why is the root file system mounted read-only during boot and remounted with write permission later on?

 

A.

Because if problems with the root file system are detected during the boot, fsck can be run, without risk ofdamage.

B.

Because this way crackers cannot collect information about root with boot sniffers

C.

To avoid writing to the disk, unless the root password is known.

D.

To avoid other operating systems overwriting the Linux root partition

E.

Because the disk has its own write protection that cannot change by the operating system.

 

Correct Answer: A

 

 

QUESTION 108

The mailserver is currently called fred, while the primary MX record points to mailhost.example.org. What must be done to direct example.org email towards fred?

 

A.

Add an A record for mailhost to fred’s IP address.

B.

Add a CNAME record from mailhost to fred

C.

Add another MX record pointing to fred’s IP address.

D.

Add a PTR record from mailhost to fred.

 

Correct Answer: A

 

 

 

QUESTION 109

Which command would release the current IP address leased by a DHCP server?

 

A.

ipconfig /release

B.

ifconfig –release-all

C.

dhclient -r

D.

ifconfig –release

E.

pump –release

 

Correct Answer: C

 

 

QUESTION 110

How must Samba be configured, so that it can check passwords against the ones in /etc/passwd and / etc/shadow?

 

A.

Set the parameters “encrypt passwords = yes” and “password file = /etc/passwd”.

B.

Set the parameters “encrypt passwords = yes”, “password file = /etc/passwd” and “password algorithm =crypt”

C.

Delete the smbpasswd file and create a symbolic link to the passwd and shadow file

D.

It is not possible for Samba to use/etc/passwd and /etc/shadow

E.

Run smbpasswd to convert /etc/passwd and /etc/shadow to a Samba pass word file

 

Correct Answer: D

 

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 …

This entry was posted in 117-202 Real Exam (March 2016) and tagged , , , , , , , . Bookmark the permalink.