Which of the following can reduce the attack surface area in relation to Linux hardening?
Correct Answer: D
Comprehensive and Detailed Explanation From Exact Extract:
Reducing the attack surface area in Linux hardening refers to limiting possible points of unauthorized access.
According to the CompTIA Linux+ Official Study Guide (Exam XK0-005), enforcing strong password policies is a critical aspect of security hardening. This practice ensures that user accounts are protected by passwords that are difficult to guess or crack, thus minimizing the risk of successful brute-force attacks.
Implementing password complexity requirements (such as minimum length, use of uppercase, lowercase, numbers, and special characters) directly addresses one of the primary vectors for unauthorized access.
Other options do not have a direct impact on reducing the attack surface:
* A. Customizing the log-in banner serves as a legal notification and does not affect system vulnerabilities.
* B. Reducing the number of directories created is not related to hardening or access control.
* C. Extending the SSH startup timeout period may give attackers more time to attempt a connection and does not increase security.
Reference:
CompTIA Linux+ Study Guide: Exam XK0-005, Sybex, Chapter 11: "Securing the System", Section:
"Implementing Password Policies"
CompTIA Linux+ XK0-005 Exam Objectives, Domain 3.0: Security