Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Linux Professional Institute logo

LPI LPIC-2:Linux Engineer (201-450)

Domain 9Objective 1

208.1 Basic Apache Configuration (weight: 4) LPIC-2 Practice Questions (Page 4)

Part of the Topic 208: HTTP Services domain, which makes up ~11% of our current practice bank. Linux Professional Institute does not publish an official question count, but from its 90-minute exam (~35–60 total, ~4–7 in this domain), expect 1–2 from this objective — we provide 26 practice questions to prepare you well beyond it. (estimate)

26questions here
6free pages
7concepts

Questions 16–20

  1. 16foundation · easy

    Which tool is commonly used on Linux to rotate Apache log files, preventing them from growing indefinitely?

    Select an answer first
  2. 17expert · easy

    An administrator is configuring log rotation for Apache on a Debian-based system. They want to ensure that access logs are rotated daily, compressed, and kept for 14 days. The system uses logrotate. Which configuration file should be modified to achieve this?

    Select an answer first
  3. 18application · easy

    A developer wants to use .htaccess files to override Apache settings for a specific application directory. The main Apache configuration currently has 'AllowOverride None' set globally. Which directive should be added to the <Directory> block for the application directory to allow .htaccess files to take effect?

    Select an answer first
  4. 19foundation · easy

    Which command is used to test the Apache configuration file for syntax errors without restarting the service?

    Select an answer first
  5. 20application · easy

    An administrator is troubleshooting a web application that is returning HTTP 500 errors. The Apache error log is not showing any details about the errors. The administrator suspects that the log level is set too high to capture the relevant messages. Which directive should be modified to ensure that error messages are logged with more detail?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Linux Professional Institute. “LPIC-2” is a trademark of its owner, used for identification only.