Courseiva
Application And Data ProtectionmediumMultiple SelectObjective-mapped

CND Application And Data Protection Practice Question

A security analyst is hardening an Apache HTTP Server against web attacks. Which TWO directives or modules should be configured to enhance application security and mitigate common web threats?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

mod_security (Web Application Firewall engine)

mod_headers (for security headers like HSTS and CSP) and mod_security (Web Application Firewall engine) enhance Apache security.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • KeepAlive On and KeepAliveTimeout 5

    Why it's wrong here

    KeepAlive manages persistent TCP connections, impacting performance rather than direct security filtering.

  • DirectoryIndex index.php index.html

    Why it's wrong here

    DirectoryIndex specifies the default file served when a directory is requested, not a security hardening control.

  • Listen 80 without SSLVirtualHost configuration

    Why it's wrong here

    Leaving port 80 unencrypted without redirection to HTTPS reduces security.

  • mod_security (Web Application Firewall engine)

    Why this is correct

    mod_security provides real-time web application monitoring, logging, and access control filtering.

  • mod_headers configured to enforce HTTP Strict Transport Security (HSTS)

    Why this is correct

    mod_headers allows setting Strict-Transport-Security headers to enforce HTTPS connections.

About these practice questions

One of 323 original CND practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official EC-Council exam blueprint

This CND practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CND exam.