CYBERSECURITY-ARCHITECTURE-AND-ENGINEERING practice question 10 of 30

A corporate website is currently being redesigned, which leaves it vulnerable to security threats. Management does not want to provide an attacker…

Choose your answer, then check it against the explanation and the full breakdown below.

Domain Security Architecture

A corporate website is currently being redesigned, which leaves it vulnerable to security threats. Management does not want to provide an attacker with any information about the web server. Which strategy should be used to prevent an attacker from gaining unauthorized information?
Answer options
Question 10 of 30

Question breakdown

Tests
Prevent web server information disclosure
Difficulty
Easy

Key idea: Generic, sanitized error messages and headers deny attackers reconnaissance details such as server type, version and stack traces.

How to reach the answer

  1. The goal is to avoid giving attackers information about the web server.
  2. Default error pages and headers leak software names, versions and paths.
  3. Obfuscating or customizing error output removes that leakage.
  4. HTTPS, DoH and PCI-DSS address other concerns: transport, DNS privacy and cardholder data.

Each option

  • ACorrect. Generic error messages and clean URLs stop the site from revealing server details to attackers.
  • BIncorrect. DNS over HTTPS protects the privacy of DNS lookups, not the server's identity details.
  • CIncorrect. HTTPS encrypts traffic, but an attacker on the other end still receives any verbose errors the server sends.
  • DIncorrect. PCI-DSS is a broad cardholder-data compliance standard, not a targeted information-disclosure control.

Common trap: HTTPS feels like the default security answer, but encryption hides data from eavesdroppers, not from the attacker who is making the requests.

In practice: Hardening checklists set Apache ServerTokens Prod/ServerSignature Off and IIS custom error pages, and they disable stack traces in production frameworks.

Remember: To deny attackers reconnaissance, suppress verbose errors and version banners; encryption does not do this.

Drafted with AI assistance and checked against the answer key.

Keep practicing

Take the free CYBERSECURITY-ARCHITECTURE-AND-ENGINEERING practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other CYBERSECURITY-ARCHITECTURE-AND-ENGINEERING practice questions

Scroll to Top