Ensurepass

QUESTION 111

A server was rebuilt using a full system backup but with a different disk setup. The kernel won’t boot, complaining it cannot find the root filesystem. Which of the following commands will fix this error by pointing the kernel image to the new root partition?

 

A.

mkbootdisk

B.

tune2fs

C.

rdev

D.

grub-install

E.

fdisk

 

Correct Answer: C

 

 

QUESTION 112

Which of the following describes the main purpose of strace?

 

A.

Show the TCP/IP stack data, to help to solve network problems

B.

Help to follow the traces of intruders of the internal network

C.

Debug programs by displaying the original code of the program. Itis a kind of “disassembler”

D.

Reverse engineer applications, resulting in the source code of the program

E.

Debug programs by monitoring system calls and reporting them

 

Correct Answer: E

 

 

 

QUESTION 113

Which THREE of the following actions should be considered when a FTP chroot jail is created?

 

A.

Create /dev/ and /etc/ in the chroot enviroment

B.

Create /etc/passwd in the chroot enviroment

C.

Create /var/cache/ftp in the chroot enviroment

D.

Create the user ftp in the chroot enviroment

E.

Create /usr/sbin/ in the chroot enviroment

 

Correct Answer: ABD

 

 

QUESTION 114

An SSH server is configured to use tcp_wrappers and only hosts from the class C network 192.168.1.0 should be allowed to access it. Which of the following lines would achieve this, when entered in/etc/ hosts.allow?

 

A.

ALLOW: 192.168.1.0/255.255.255.0 : sshd

B.

sshd : 192.168.1.0/255.255.255.0 : ALLOW

C.

192.168.1.0/255.255.255.0 : ALLOW: sshd

D.

tcpd: sshd : 192.168.1.0/255.255.255.0 : ALLOW

E.

sshd : ALLOW: 192.168.1.0/255.255.255.0

 

Correct Answer: B

 

 

QUESTION 115

What command can be used to add a new newsgroup called ABC that allows posting?

 

A.

ctlinnd newgroup Certkiller n news

B.

ctlinnd newgroup Certkiller y news

C.

ctlinnd addgroup Certkiller y news

D.

ctlinnd newgroup Certkiller +rw news

E.

ctlinnd addgroup Certkiller +rw news

 

Correct Answer: B

 

 

QUESTION 116

The syntax of the procmail configuration file is?

 

A.

:0[flags][:[lockfile]]

[* condition]

action

B.

[* condition]

action

:0[flags][:[lockfile]]

C.

:0[flags][:[lockfile]]

[* condition] action

D.

:0[flags][:[lockfile]]:[* condition]

action

E.

:0[flags][:[lockfile]]:[* condition]:action

 

Correct Answer: A

 

 

QUESTION 117

Which option must be used with ifconfig, to also see interfaces that are down?

 

A.

-d

B.

-a

C.

–all

D.

–down

E.

None.

 

Correct Answer: A

 

 

QUESTION 118

Considering the following excerpt from the httpd.conf file, select the correct answer below:

 

<Location> AllowOverride AuthConfig Indexes

</Location>

 

A.

The Indexes directive in the excerpt allows the use of other index-related directives such as DirectoryIndex

B.

Both directives AuthConfig and Indexes found in the server’s .htaccess file will be overridden by the samedirectives found in the httpd.conf file

C.

The AuthConfig used in the excerpt allows the use of other authentication-related directives such as AuthType

D.

The excerpt is incorrect, as the AllowOverride cannot be used with Indexes, since the latter cannot beoverridden

E.

The excerpt is incorrect, because AllowOverride cannot be used inside a Location section

 

Correct Answer: E

 

 

QUESTION 119

In a PAM configuration file, a sufficient control allows access:

 

A.

Immediately on success, if no previous required or requisite control failed

B.

Immediately on success, regardless of other controls

C.

After waiting if all other controls return success

D.

Immediately, but only if the user is root

 

Correct Answer: A

 

 

QUESTION 120

What must be done on a host to allow a user to log in to that host using an SSH key?

 

A.

Add their private key to ~/. ssh/authorized_keys

B.

Reference their public key in ~/. ssh/config

C.

Run ssh-agent on that host

D.

Add their public key to ~/. ssh/authorized_keys

E.

Reference their private key in ~/. ssh/config

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 …

Comments are closed.