Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 548
Which configuration protects the password for the VTY lines against over-the-shoulder attacks?
Answer options
- A. line vty 0 15 password $2$FpM7f82!
- B. username admin secret 7 6j809J23kpp438337113N7%e$
- C. line vty 0 4 password $2$FpM7f82!
- D. service password-encryption
Correct answer: D
Explanation
The correct answer, D, enables password encryption for all passwords in the configuration, making them less visible during an over-the-shoulder attack. Options A and C define VTY line passwords, but they do not provide encryption. Option B uses a secret for a username, which is not relevant to securing VTY line passwords.