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:

Ozell
2 months ago
This is a tricky one, but I'm going with A. The configuration looks good, so the user should be able to log in. Though, who knows, maybe the web server is just having a bad day and decides to give us a surprise 500 error instead.
upvoted 0 times
Ty
1 days ago
I'm leaning towards D as well. It seems like the most likely scenario based on the information given.
upvoted 0 times
...
Ardella
4 days ago
I agree with you on D. It seems like the browser is prompting for a login but it's not working for usera.
upvoted 0 times
...
Cordell
17 days ago
I'm not so sure about that. I would go with D, maybe there's an issue with the login process.
upvoted 0 times
...
Cristal
1 months ago
I think A is the correct answer too. The user should be able to access the site with the password provided.
upvoted 0 times
...
...
Bettina
2 months 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
2 months 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
2 months 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
Loren
1 months ago
I agree, but it seems like the login for usera might not work.
upvoted 0 times
...
Sharika
1 months ago
Option D is correct. The browser should ask for a username and password.
upvoted 0 times
...
...
Kizzy
2 months 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
3 months 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
3 months ago
I think the correct answer is A) The user usera can access the site using the password s3cr3t.
upvoted 0 times
...
Mari
3 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
Johnna
2 months ago
A) The user usera can access the site using the password s3cr3t
upvoted 0 times
...
Gilma
3 months 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
3 months ago
A) The user usera can access the site using the password s3cr3t
upvoted 0 times
...
...

Save Cancel