New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

LPI 202-450 LPIC-2 - Exam 202 (part 2 of 2), version 4.5 Exam Practice Test

Page: 1 / 12
Total 119 questions

LPIC-2 - Exam 202 (part 2 of 2), version 4.5 Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

Which Postfix command can be used to rebuild all of the alias database files with a single invocation and without the need for any command line arguments?

Options:

A.

makealiases

B.

newaliases

C.

postalias

D.

postmapbuild

Question 2

Which of the following statements is true regarding the NFSv4 pseudo file system on the NFS server?

Options:

A.

It must be called /exports

B.

It usually contains bind mounts of the directory trees to be exported

C.

It must be a dedicated partition on the server

D.

It is defined in the option Nfsv4-Root in /etc/pathmapd.conf

E.

It usually contains symlinks to the directory trees to be exported

Question 3

Which of the following statements is INCORRECT regarding the LDIF file format?

Options:

A.

It contains a dn line that indicates where the attributes listed in the following lines of the file must be added.

B.

In the file, a blank line separates one entry from another one.

C.

If an attribute contains binary data, some specific configurations must be made for this entry.

D.

The LDIF file accepts any type of file encoding.

Question 4

On a Linux router, packet forwarding for IPv4 has been enabled. After a reboot, the machine no longer forwards IP packets from other hosts. The command:

echo 1 > /proc/sys/net/ipv4/ip_forward

temporarily resolves this issue.

Which one of the following options is the best way to ensure this setting is saved across system restarts?

Options:

A.

Add echo 1 > /proc/sys/net/ipv4/ip_forward to the root user login script

B.

Add echo 1 > /proc/sys/net/ipv4/ip_forward to any user login script

C.

In /etc/sysct1.conf change net.ipv4.ip_forward to 1

D.

In /etc/rc.local add net.ipv4.ip_forward = 1

E.

In /etc/sysconfig/iptables-config add ipv4.ip_forward = 1

Question 5

What is the path to the global Postfix configuration file? (Specify the full name of the file, including path.)

Options:

Question 6

Which option within a Nginx server configuration section defines the file system path from which the content of the server is retrieved?

Options:

A.

location

B.

htdocs

C.

DocumentRoot

D.

root

E.

base_dir

Question 7

Which of the following Samba services handles the membership of a file server in an Active Directory domain?

Options:

A.

winbindd

B.

nmbd

C.

msadd

D.

admemb

E.

samba

Question 8

Which command is used to configure which file systems a NFS server makes available to clients?

Options:

A.

exportfs

B.

mkfs.nfs

C.

mount

D.

nfsservct1

E.

telinit

Question 9

What is the name of the network security scanner project which, at the core, is a server with a set of network vulnerability tests?

Options:

A.

NetMap

B.

OpenVAS

C.

Smartscan

D.

Wireshark

Question 10

Which BIND option should be used to limit the IP addresses from which slave name servers may connect?

Options:

A.

allow-zone-transfer

B.

allow-transfer

C.

allow-secondary

D.

allow-slaves

E.

allow-queries

Question 11

In the main Postfix configuration file, how are service definitions continued on the next line?

Options:

A.

It isn’t possible. The service definition must fit on one line.

B.

The initial line must end with a backslash character (\).

C.

The following line must begin with a plus character (+).

D.

The following line must begin with white space indentation.

E.

The service definition continues on the following lines until all of the required fields are specified.

Question 12

Which of the following statements allow the logical combinations of conditions in Sieve filters? (Choose two.)

Options:

A.

allof

B.

anyof

C.

noneof

D.

and

E.

or

Question 13

What is the name of the root element of the LDAP tree holding the configuration of an OpenLDAP server that is using directory based configuration? (Specify ONLY the element’s name without any additional information.)

Options:

Question 14

Which Apache HTTPD configuration directive specifies the RSA private key that was used in the generation of the SSL certificate for the server?

Options:

A.

SSLCertificateKeyFile

B.

SSLKeyFile

C.

SSLPrivateKeyFile

D.

SSLRSAKeyFile

Question 15

Which of the following options are valid in /etc/exports? (Choose two.)

Options:

A.

rw

B.

ro

C.

rootsquash

D.

norootsquash

E.

uid

Question 16

Which of the following actions are available in Sieve core filters? (Choose three.)

Options:

A.

drop

B.

discard

C.

fileinto

D.

relay

E.

reject

Question 17

What command displays NFC kernel statistics? (Specify ONLY the command without any path or parameters.)

Options:

Question 18

Select the alternative that shows the correct way to disable a user login for all users except root.

Options:

A.

The use of the pam_block module along with the /etc/login configuration file.

B.

The use of the pam_deny module along with the /etc/deny configuration file.

C.

The use of the pam_pwdb module along with the /etc/pwdv.conf configuration file.

D.

The use of the pam_nologin module along with the /etc/nologin configuration file.

Question 19

Which of the following lines is valid in a configuration file in /etc/pam.d/?

Options:

A.

authrequired pam_unix.sotry_first_pass nullok

B.

authtry_first_pass nullok, require pam_unix.so

C.

authrequired:pam_unix.so(try_first_pass nullok)

D.

authpam_unix.so(required try_first_pass nullok)

Question 20

Which FTP names are recognized as anonymous users in vsftp when the option anonymous_enable is set to yes in the configuration files? (Choose two.)

Options:

A.

anonymous

B.

ftp

C.

In the described configuration, any username which neither belongs to an existing user nor has another special meaning is treated as anonymous user.

D.

nobody

E.

guest

Question 21

There is a restricted area in a site hosted by Apache HTTPD, which requires users to authenticate against the file /srv/www/security/site­passwd.

Which command is used to CHANGE the password of existing users, without losing data, when Basic authentication is being used?

Options:

A.

htpasswd –c /srv/www/security/site­passwd user

B.

htpasswd /srv/www/security/site­passwd user

C.

htpasswd –n /srv/www/security/site­passwd user

D.

htpasswd –D /srv/www/security/site­passwd user

Question 22

Which rdnc sub command can be used in conjunction with the name of a zone in order to make BIND reread the content of the specific zone file without reloading other zones as well?

Options:

A.

lookup

B.

reload

C.

fileupdate

D.

reread

E.

zoneupdate

Question 23

A user requests a “hidden” Samba share, named confidential, similar to the Windows Administration Share. How can this be configured?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Question 24

Which of the following DNS record types is used for reverse DNS queries?

Options:

A.

CNAME

B.

IN

C.

PTR

D.

REV

E.

RIN

Question 25

In order to protect a directory on an Apache HTTPD web server with a password, this configuration was added to an .htaccess file in the respective directory:

Furthermore, a file /var/www/dir/ .htpasswd was created with the following content:

usera:S3cr3t

Given that all these files were correctly processed by the web server processes, which of the following statements is true about requests to the directory?

Options:

A.

The user usera can access the site using the password s3cr3t

B.

Accessing the directory as usera raises HTTP error code 442 (User Not Existent)

C.

Requests are answered with HTTP error code 500 (Internal Server Error)

D.

The browser prompts the visitor for a username and password but logins for usera do not seem to work

E.

The web server delivers the content of the directory without requesting authentication

Question 26

When trying to reverse proxy a web server through Nginx, what keyword is missing from the following configuration sample?

Options:

A.

remote_proxy

B.

reverse_proxy

C.

proxy_reverse

D.

proxy_pass

E.

forward_to

Question 27

Which of the following information has to be submitted to a certification authority in order to request a web server certificate?

Options:

A.

The web server’s private key.

B.

The IP address of the web server.

C.

The list of ciphers supported by the web server.

D.

The web server’s SSL configuration file.

E.

The certificate signing request.

Question 28

With Nginx, which of the following directives is used to proxy requests to a FastCGI application?

Options:

A.

fastcgi_pass

B.

fastcgi_proxy

C.

proxy_fastcgi

D.

proxy_fastcgi_pass

E.

fastcgi_forward

Question 29

What configuration directive of the Apache HTTPD server defines where log files are stored? (Specify ONE of the directives without any other options.)

Options:

Question 30

Which attitude of an object in LDAP defines which other attributes can be set for the object? (Specify ONLY the attribute name without any values.)

Options:

Question 31

What is the purpose of DANE?

Options:

A.

Verify the integrity of name information retrieved via DNS.

B.

Allow secure dynamic DNS updates.

C.

Invalidate name information stored on caching name servers to speed up DNS updates.

D.

Discover which servers within a DNS domain offer a specific service.

E.

Provide a way to verify the association of X 509 certificates to DNS host names.

Question 32

Which global option in squid.conf sets the port number or numbers that Squid will use to listen for client requests?

Options:

A.

port

B.

client_port

C.

http_port

D.

server_port

E.

squid_port

Question 33

Which of these sets of entries does the following command return?

Options:

A.

Entries that don’t have a cn of marie or don’t have a telephoneNumber that begins with 9.

B.

Entries that have a cn of marie or don’t have a telephoneNumber beginning with 9.

C.

Entries that have a cn of marie and a telephoneNumber that ending with 9.

D.

Entries that don’t have a cn of marie and don’t have a telephoneNumber beginning with 9.

E.

Entries that have a cn of marie or have a telephoneNumber beginning with 9.

Question 34

Which of the following OpenVPN configuration options makes OpenVPN forward network packets between VPN clients itself instead of passing the packets on to the Linux host which runs the OpenVPN server for further processing?

Options:

A.

inter-client-traffic

B.

client-to-client

C.

client-router

D.

client-pass

E.

grant-client-traffic

Question 35

Which Linux user is used by vsftpd to perform file system operations for anonymous FTP users?

Options:

A.

The Linux user which runs the vsftpd process

B.

The Linux user that owns the root FTP directory served by vsftpd

C.

The Linux user with the same user name that was used to anonymously log into the FTP server

D.

The Linux user root, but vsftpd grants access to anonymous users only to globally read-/writeable files

E.

The Linux user specified in the configuration option ftp_username

Page: 1 / 12
Total 119 questions