Service Password Encryption Command
Short answer
A Service password-encryption encrypts all plaintext passwords in the running configuration.
Question
Key Takeaways
Tests knowledge of global configuration commands for securing credentials versus setting specific encrypted passwords.
The service password-encryption command encrypts all plaintext passwords in the running configuration. Correct answer: A.
Common mistake: Selecting enable secret because it also involves encryption, but it only secures the privileged EXEC password, not all passwords globally.
Expert Analysis
The correct answer is A. The command service password-encryption is a global configuration command in Cisco IOS that applies weak MD5 encryption to all plaintext passwords currently stored in the running configuration, such as those set with the enable password or line vty commands. This ensures that sensitive credentials are not visible in plain text when viewing the configuration file.
Option C, enable secret, is often confused with this task but serves a different purpose: it sets an encrypted privileged EXEC mode password using a stronger MD5 hash (or SHA-256 in newer versions). While it encrypts a specific password upon entry, it does not act as a global toggle to encrypt all existing plaintext passwords in the configuration file. Options B and D are invalid commands in standard Cisco IOS.
Exam Strategy
When asked about encrypting 'all' or 'global' passwords, look for the 'service password-encryption' command. If the question asks about setting a secure privilege password, choose 'enable secret'. Distinguish between global encryption toggles and specific password setting commands.
Frequently Asked Questions
Does service password-encryption protect enable secret?
Is service password-encryption considered strong security?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 2 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 2
-
sdmejia01 👍 8 Answered ACorrect answer is A. https://community.cisco.com/t5/other-network-architecture-subjects/service-password-encryption-command/td-p/269324
-
maximus_007 👍 1 Answered AA is the correct answer.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →