ExamGecko
Home Home / LPI / 202-450

LPI 202-450 Practice Test - Questions Answers, Page 4

Question list
Search
Search

List of questions

Search

Related questions











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?

A.
The user usera can access the site using the password s3cr3t
A.
The user usera can access the site using the password s3cr3t
Answers
B.
Accessing the directory as usera raises HTTP error code 442 (User Not Existent)
B.
Accessing the directory as usera raises HTTP error code 442 (User Not Existent)
Answers
C.
Requests are answered with HTTP error code 500 (Internal Server Error)
C.
Requests are answered with HTTP error code 500 (Internal Server Error)
Answers
D.
The browser prompts the visitor for a username and password but logins for usera do not seem to work
D.
The browser prompts the visitor for a username and password but logins for usera do not seem to work
Answers
E.
The web server delivers the content of the directory without requesting authentication
E.
The web server delivers the content of the directory without requesting authentication
Answers
Suggested answer: A

Which Apache HTTPD directive enables HTTPS protocol support?

A.
HTTPSEngine on
A.
HTTPSEngine on
Answers
B.
SSLEngine on
B.
SSLEngine on
Answers
C.
SSLEnable on
C.
SSLEnable on
Answers
D.
HTTPSEnable on
D.
HTTPSEnable on
Answers
E.
StartTLS on
E.
StartTLS on
Answers
Suggested answer: B

FILL BLANK

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

A.
ErrorLog
A.
ErrorLog
Answers
Suggested answer: A

Which statements about the Alias and Redirect directives in Apache HTTPD's configuration file are true? (Choose two.)

A.
Alias can only reference files under DocumentRoot
A.
Alias can only reference files under DocumentRoot
Answers
B.
Redirect works with regular expressions
B.
Redirect works with regular expressions
Answers
C.
Redirect is handled on the client side
C.
Redirect is handled on the client side
Answers
D.
Alias is handled on the server side
D.
Alias is handled on the server side
Answers
E.
Alias is not a valid configuration directive
E.
Alias is not a valid configuration directive
Answers
Suggested answer: C, D

Which http_access directive for Squid allows users in the ACL named sales_net to only access the Internet at times specified in the time_acl named sales_time?

A.
http_access deny sales_time sales_net
A.
http_access deny sales_time sales_net
Answers
B.
http_access allow sales_net sales_time
B.
http_access allow sales_net sales_time
Answers
C.
http_access allow sales_net and sales-time
C.
http_access allow sales_net and sales-time
Answers
D.
allow http_access sales_net sales_time
D.
allow http_access sales_net sales_time
Answers
E.
http_access sales_net sales_time
E.
http_access sales_net sales_time
Answers
Suggested answer: B

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

A.
port
A.
port
Answers
B.
client_port
B.
client_port
Answers
C.
http_port
C.
http_port
Answers
D.
server_port
D.
server_port
Answers
E.
squid_port
E.
squid_port
Answers
Suggested answer: C

When using mod_authz_core, which of the following strings can be used as an argument to Require in an Apache HTTPD configuration file to specify the authentication provider? (Choose three.)

A.
method
A.
method
Answers
B.
all
B.
all
Answers
C.
regex
C.
regex
Answers
D.
header
D.
header
Answers
E.
expr
E.
expr
Answers
Suggested answer: A, B, E

Explanation:

Reference: https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html

Which tool creates a Certificate Signing Request (CSR) for serving HTTPS with Apache HTTPD?

A.
apachect1
A.
apachect1
Answers
B.
certgen
B.
certgen
Answers
C.
cartool
C.
cartool
Answers
D.
httpsgen
D.
httpsgen
Answers
E.
openssl
E.
openssl
Answers
Suggested answer: E

In response to a certificate signing request, a certification authority sent a web server certificate along with the certificate of an intermediate certification authority that signed the web server certificate.

What should be done with the intermediate certificate in order to use the web server certificate with Apache HTTPD?

A.
The intermediate certificate should be merged with the web server's certificate into one file that is specified in SSLCertificateFile
A.
The intermediate certificate should be merged with the web server's certificate into one file that is specified in SSLCertificateFile
Answers
B.
The intermediate certificate should be used to verify the certificate before its deployment on the web server and can be deleted
B.
The intermediate certificate should be used to verify the certificate before its deployment on the web server and can be deleted
Answers
C.
The intermediate certificate should be stored in its own file which is referenced in SSLCaCertificateFile
C.
The intermediate certificate should be stored in its own file which is referenced in SSLCaCertificateFile
Answers
D.
The intermediate certificate should be improved into the certificate store of the web browser used to test the correct operation of the web server
D.
The intermediate certificate should be improved into the certificate store of the web browser used to test the correct operation of the web server
Answers
E.
The intermediate certificate should be archived and resent to the certification authority in order to request a renewal of the certificate
E.
The intermediate certificate should be archived and resent to the certification authority in order to request a renewal of the certificate
Answers
Suggested answer: A

FILL BLANK

Which directive in a Nginx server configuration block defines the TCP ports on which the virtual host will be available, and which protocols it will use? (Specify ONLY the option name without any values.)

A.
listen
A.
listen
Answers
Suggested answer: A
Total 119 questions
Go to page: of 12