A team is deploying a new internet-facing Linux web server that will host a customer portal. Which four actions best reduce the server's attack surface and limit the impact of a compromise? (Choose four.)
Choose 4 answers
Show the answer
Correct answersA. Remove unneeded services and software packagesD. Apply vendor patches after testing them in stagingE. Restrict administrative access to a management network with MFAF. Run the web service under a dedicated unprivileged account
AWhy this is right: Fewer installed services and packages means fewer listening ports and vulnerabilities for an attacker to exploit.
BWhy not this: A shared account removes accountability and widens exposure of one credential; it does not reduce risk.
CWhy not this: Default accounts have publicly known credentials, so leaving them enabled increases the attack surface.
DWhy this is right: Patching closes known vulnerabilities; staging first avoids outages from untested updates.
EWhy this is right: Limiting admin interfaces to a management network with MFA makes remote administration harder to abuse.
FWhy this is right: If the service is compromised, an unprivileged account limits what the attacker can read, change or execute.
Hardening removes unneeded components, applies least privilege to the service account, restricts and strengthens administrative access, and patches known flaws. Default accounts and shared administrator accounts add known credentials and remove individual accountability.