nerdexam
EC-Council

312-50V13 · Question #589

During your summer internship at a tech company, you have been asked to review the security settings of their web server. While inspecting, you notice the server reveals detailed error messages to…

The correct answer is B. Suppress detailed error messages, as they can expose sensitive information. Detailed error messages on a web server should be suppressed because they can inadvertently reveal sensitive internal system information to attackers, aiding in further exploitation.

Submitted by eva_at· Mar 6, 2026Hacking Web Servers

Question

During your summer internship at a tech company, you have been asked to review the security settings of their web server. While inspecting, you notice the server reveals detailed error messages to users, including database query errors and internal server errors. As a cybersecurity beginner, what is your understanding of this setting, and how would you advise the company?

Options

  • ARetain the setting as it aids in troubleshooting user issues.
  • BSuppress detailed error messages, as they can expose sensitive information.
  • CImplement stronger encryption to secure the error messages.
  • DIncrease the frequency of automated server backups.

How the community answered

(24 responses)
  • B
    92% (22)
  • C
    4% (1)
  • D
    4% (1)

Why each option

Detailed error messages on a web server should be suppressed because they can inadvertently reveal sensitive internal system information to attackers, aiding in further exploitation.

ARetain the setting as it aids in troubleshooting user issues.

Retaining detailed error messages provides debugging information but creates a significant security vulnerability by exposing internal system details to potential attackers.

BSuppress detailed error messages, as they can expose sensitive information.Correct

Suppressing detailed error messages, such as database query errors or internal server errors, is a crucial security practice because these messages often contain information about the server's technology stack, file paths, database schema, or other internal configurations that an attacker could use to launch more targeted attacks. Displaying generic error messages instead prevents information leakage while still indicating an issue occurred.

CImplement stronger encryption to secure the error messages.

Encrypting error messages does not prevent the information leakage itself, as the attacker would still receive and potentially decrypt the message if they could intercept it.

DIncrease the frequency of automated server backups.

Increasing server backups is important for disaster recovery but does not address the security vulnerability of exposing detailed error messages that aid attackers.

Concept tested: Web server error message security

Source: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-8.0

Topics

#Web server security#Error handling#Information disclosure#Data leakage

Community Discussion

No community discussion yet for this question.

Full 312-50V13 Practice