312-50V12 · Question #214
You have been given the responsibility to ensure the security of your school's web server. As a step towards this, you plan to restrict unnecessary services running on the server. In the context of…
The correct answer is B. Unnecessary services could contain vulnerabilities; minimize the attack surface. Disabling unnecessary services on a web server is a fundamental security hardening practice that reduces the number of potential entry points an attacker can exploit.
Question
Options
- AUnnecessary services eat up server memory; save memory resources.
- BUnnecessary services could contain vulnerabilities; minimize the attack surface.
- CUnnecessary services reveal server software; hide software details.
- DUnnecessary services slow down the server; optimize server speed.
How the community answered
(31 responses)- A6% (2)
- B90% (28)
- D3% (1)
Why each option
Disabling unnecessary services on a web server is a fundamental security hardening practice that reduces the number of potential entry points an attacker can exploit.
While unnecessary services do consume memory, conserving memory resources is a performance concern, not a security rationale, making this an incorrect justification in the context of web server security.
Every running service represents a potential attack vector; if a service contains an unpatched vulnerability, it can be exploited by an attacker even if that service is not needed for the server's primary function. By disabling unnecessary services, administrators reduce the 'attack surface' - the total number of exploitable entry points - which is a core principle of defense-in-depth and server hardening. This minimizes risk by ensuring that only services essential to operations are exposed.
Hiding software details relates to security through obscurity, which is a weak and secondary security measure; the primary concern with unnecessary services is the vulnerabilities they introduce, not the information they reveal.
Optimizing server speed is a performance and operational concern, not a security objective, and therefore does not correctly explain why restricting unnecessary services is a security best practice.
Concept tested: Web server hardening by minimizing attack surface
Source: https://learn.microsoft.com/en-us/windows-server/security/windows-server-security
Topics
Community Discussion
No community discussion yet for this question.