Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 438
An engineer must protect the password for the VTY lines against over-the-shoulder attacks. Which configuration should be applied?
Answer options
- A. line vty 0 15 password XD822j
- B. service password-encryption
- C. username netadmin secret 7 $1$42J31k98867Pyh4QzwXyZ4
- D. username netadmin secret 9 $9$vFpMf8elb4RVV8$seZ/bDA
Correct answer: B
Explanation
The correct answer is B, as the 'service password-encryption' command encrypts all plaintext passwords in the configuration, making them less susceptible to over-the-shoulder attacks. Options A, C, and D present passwords in plaintext or weak encryption forms, which do not provide adequate protection against such attacks.