Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 202-450 Topic 4 Question 111 Discussion

Actual exam question for LPI's 202-450 exam
Question #: 111
Topic #: 4
[All 202-450 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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Bettina
5 days ago
Gotta be option A. The .htaccess and .htpasswd files are set up correctly, so usera should be able to access the directory with the password 'S3cr3t'. Piece of cake!
upvoted 0 times
...
Joaquin
7 days ago
Haha, option E made me laugh. As if the web server would just hand out the content without any authentication. That's a good one!
upvoted 0 times
...
Keith
10 days ago
I'm not sure about this one. The image looks a bit confusing, but I think option D might be the right answer. The browser should prompt for a username and password, but it's possible the login doesn't work as expected.
upvoted 0 times
...
Kizzy
11 days ago
I'm not sure, but I think the answer might be E) The web server delivers the content of the directory without requesting authentication.
upvoted 0 times
...
Lilli
27 days ago
I disagree, I believe the answer is D) The browser prompts the visitor for a username and password but logins for usera do not seem to work.
upvoted 0 times
...
Jean
1 months ago
I think the correct answer is A) The user usera can access the site using the password s3cr3t.
upvoted 0 times
...
Mari
1 months ago
The correct answer is A. The configuration in the .htaccess file and the .htpasswd file should allow the user 'usera' to access the directory using the password 'S3cr3t'.
upvoted 0 times
Gilma
26 days ago
D) The browser prompts the visitor for a username and password but logins for usera do not seem to work
upvoted 0 times
...
Kimberlie
28 days ago
A) The user usera can access the site using the password s3cr3t
upvoted 0 times
...
...

Save Cancel