ExamGecko
Question list
Search
Search

Related questions











Question 31 - 202-450 discussion

Report
Export

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
Answers
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)
Answers
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)
Answers
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
Answers
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
Answers
E.
The web server delivers the content of the directory without requesting authentication
Suggested answer: A
asked 18/09/2024
Jeff Sonola
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first