nerdexam
LPI

117-102 · Question #707

Which TWO of the following are used in configuration files to create Apache webserver user authentication? (Please select TWO that apply)

The correct answer is A. AuthUserFile /etc/apache2/users B. AuthName. See the full explanation below for the reasoning.

Question

Which TWO of the following are used in configuration files to create Apache webserver user authentication? (Please select TWO that apply)

Options

  • AAuthUserFile /etc/apache2/users
  • BAuthName
  • CAuthentication = Yes
  • D+Auth
  • EAuthentication

How the community answered

(54 responses)
  • A
    74% (40)
  • C
    15% (8)
  • D
    7% (4)
  • E
    4% (2)

Community Discussion

6
Dervla O.Dervla O.May 13, 2026

A and B are your correct picks. AuthUserFile points Apache to the flat file holding your hashed credentials, and AuthName sets the realm string that triggers the browser's login prompt, both being genuine Apache directives you will find in a Directory block or .htaccess file, while the other three options are invented syntax that Apache does not recognize.

23
Devraj B.Devraj B.Jun 2, 2026

The question is slightly loose because a working .htaccess block also needs AuthType Basic, but since that is not among the choices, you work with what is offered, and A and B are the only real Apache directives in the list. C tempts people who have seen INI-style configs before, but Apache does not use key-equals-value syntax like that, so eliminate it fast and confirm A (AuthUserFile) plus B (AuthName) as your two picks.

3
Fatima Z.Fatima Z.Jun 18, 2026

Honestly I kept circling back to E thinking "Authentication" sounded the most official, but then I pictured the actual Apache config lines I had drilled into my head with the hook "A-B-C of Apache Auth: Always Be Configuring" and A plus B clicked right in. AuthUserFile points to the password file and AuthName labels the realm, those two go hand in hand every single time.

2
Mei-Ling H.Mei-Ling H.May 21, 2026

A and B are correct. AuthUserFile points to the flat file where hashed passwords are stored, and AuthName sets the realm string that the browser shows in the login popup. Options C, D, and E are not real Apache directives, so you can eliminate them immediately just by knowing that Apache config syntax never uses equals signs or plus signs for authentication setup like that.

1
Carlos M.Carlos M.May 23, 2026

Worth adding that AuthType Basic is also required in that block or none of it works, which trips up a lot of people who get the other two right.

0
Carlos M.Carlos M.May 27, 2026

Does AuthUserFile point to the htpasswd file and AuthName sets the realm prompt?

0
Full 117-102 Practice