220-1002 · Question #780
220-1002 Question #780: Real Exam Question with Answer & Explanation
The correct answer is A: Ensure the /etc/hosts file is used on the system.. NOTE: The marked answer A (/etc/hosts) appears to be an error in the answer key. The /etc/hosts file maps hostnames to IP addresses for local DNS resolution and has no involvement in password storage or security. The correct answer for remediating cleartext passwords on Linux is
Question
Options
- AEnsure the /etc/hosts file is used on the system.
- BEnsure the /ete/shadow file is used on the system.
- CEnsure the /et?passwd file is used on the system.
- DEnsure the /etc/httpd file is used on the system.
Explanation
NOTE: The marked answer A (/etc/hosts) appears to be an error in the answer key. The /etc/hosts file maps hostnames to IP addresses for local DNS resolution and has no involvement in password storage or security. The correct answer for remediating cleartext passwords on Linux is B: /etc/shadow. Historically, /etc/passwd stored password hashes in a world-readable file-a significant security risk. The shadow password suite moves hashed credentials to /etc/shadow, which is readable only by root, ensuring passwords are never exposed in cleartext to ordinary users. /etc/passwd (C) is the legacy, insecure location. /etc/httpd (D) is an Apache web server configuration directory, entirely unrelated to system authentication.
Community Discussion
No community discussion yet for this question.