nerdexam
CompTIACompTIA

XK0-005 · Question #1599

XK0-005 Question #1599: Real Exam Question with Answer & Explanation

The correct answer is B: Removing unnecessary packages. Some good security practices when hardening a Linux server are: Removing unnecessary packages (B) to reduce the attack surface and eliminate potential Disabling the SSH root login possibility (E) to prevent unauthorized access and brute-force attacks on the root account

Security

Question

Which of the following actions are considered good security practices when hardening a Linux server? (Choose two.)

Options

  • ARenaming the root account to something else
  • BRemoving unnecessary packages
  • CChanging the default shell to /bin/csh
  • DDisabling public key authentication
  • EDisabling the SSH root login possibility
  • FChanging the permissions on the root filesystem to 600

Explanation

Some good security practices when hardening a Linux server are: Removing unnecessary packages (B) to reduce the attack surface and eliminate potential Disabling the SSH root login possibility (E) to prevent unauthorized access and brute-force attacks on the root account

Topics

#Linux Security#Server Hardening#SSH Configuration#Attack Surface Reduction

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions