nerdexam
CompTIA

XK0-005 · Question #604

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

The correct answer is B. Removing unnecessary packages E. Disabling the SSH root login possibility. 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

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    89% (34)
  • D
    3% (1)
  • F
    5% (2)

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 Security#Attack Surface Reduction

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice