CompTIA Server+ (SK0-005)Server AdministrationMedium

A server administrator is configuring a new web server running Apache. The server needs to handle a high volume of concurrent connections and serve static content efficiently. Which of the following Apache Multi-Processing Modules (MPMs) is BEST suited for this scenario?

  1. Aworker
  2. Bevent
  3. Cprefork
  4. Dmpm_itk
Show answer & explanation

Correct answer: B. event

The 'event' MPM is designed for high concurrency and efficiency, especially with static content, by using asynchronous request processing and keeping connections alive longer. It is generally the most performant choice for modern web servers.

Why the other options are wrong

  • A. The 'worker' MPM uses multiple child processes, each with multiple threads, which is better than prefork but less efficient than 'event' for high concurrency and persistent connections.
  • C. The 'prefork' MPM is older, uses a separate process for each connection, and consumes more resources, making it less efficient for high concurrency.
  • D. The 'mpm_itk' MPM allows Apache to run each virtual host under a different user ID, which is a security feature but not designed for high concurrency or performance optimization.

Apache Multi-Processing Modules (MPMs)

MPMs are modules that determine how Apache handles client requests, managing network connections, and dispatching requests to handler processes or threads.

  • Different MPMs are optimized for different workloads and server architectures.
  • Common MPMs include prefork, worker, and event.
  • Choosing the right MPM can significantly impact server performance and resource utilization.

Memory trick: Many Processes Manage Efficient Traffic.

More Server Administration questions