ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 226 - XK0-005 discussion

Report
Export

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

A.
Renaming the root account to something else
Answers
A.
Renaming the root account to something else
B.
Removing unnecessary packages
Answers
B.
Removing unnecessary packages
C.
Changing the default shell to /bin/csh
Answers
C.
Changing the default shell to /bin/csh
D.
Disabling public key authentication
Answers
D.
Disabling public key authentication
E.
Disabling the SSH root login possibility
Answers
E.
Disabling the SSH root login possibility
F.
Changing the permissions on the root filesystem to 600
Answers
F.
Changing the permissions on the root filesystem to 600
Suggested answer: B, E

Explanation:

Some good security practices when hardening a Linux server are:

Removing unnecessary packages (B) to reduce the attack surface and eliminate potential vulnerabilities

Disabling the SSH root login possibility (E) to prevent unauthorized access and brute-force attacks on the root accountReference:

[CompTIA Linux+ Study Guide], Chapter 9: Securing Linux, Section: Hardening Linux

[How to Harden Your Linux Server]

asked 02/10/2024
Verónica Crespo
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first