exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 578 discussion

Actual exam question from Cisco's 350-401
Question #: 578
Topic #: 1
[All 350-401 Questions]

An engineer must protect the password for the VTY lines against over-the-shoulder attacks. Which configuration should be applied?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
AbdullahMohammad251
7 months ago
Selected Answer: B
Options C and D configure a new password that is already encrypted. Example: "username netadmin secret 7 $1$42J31k98867Pyh4QzwXyZ4". "$1$42J31k98867Pyh4QzwXyZ4" is the encrypted version of the password using Vigenère cipher encryption. Option A configures a cleartext password on the VTY lines. Option B is correct: "service password-encryption" encrypts all cleartext passwords, including those configured for the VTY lines.
upvoted 1 times
matass_md
2 months, 2 weeks ago
Sir you got it wrong . On older IOS versions you need to type this 2 lines of code so you can unlock the second part . Config example: R6(config)#key config-key password-encrypt <STRONG-PASSWORD> R6(config)#password encryption aes (config)# username admin secret ? 0 Specifies an UNENCRYPTED secret will follow 5 Specifies a MD5 HASHED secret will follow 8 Specifies a PBKDF2 HASHED secret will follow 9 Specifies a SCRYPT HASHED secret will follow LINE The UNENCRYPTED (cleartext) user secret Type 9 is the strongest encryption algorithm on IOS devices , some crypto currencies use this algorithm , read about it you will like it . IT's strong vs parallelism attacks . ( attacks using APICs to brute force attack passwords.)
upvoted 1 times
...
AbdullahMohammad251
7 months ago
Only Option 'B' will encrypt previously configured passwords. Any new password configured after the command "password-encryption" is enabled will also be encrypted.
upvoted 1 times
...
...
[Removed]
11 months, 2 weeks ago
Selected Answer: B
B is correct
upvoted 1 times
...
amadeu
1 year ago
Selected Answer: B
The answer is correct. B
upvoted 2 times
...
Claudiu1
1 year, 2 months ago
Selected Answer: B
B is the correct one. The command provides weak encryption but it is enough to avoid shoulder surfing attacks. C and D are more secure option but they are for local user authentication on VTY, not for password authentication on VTY as the question asks. A configures the password in clear text with no protection
upvoted 3 times
...
Burik
1 year, 10 months ago
Selected Answer: B
This is referring to the password under the VTY lines, meaning that we are using the password command under line vty 0 15, and to protect that password from over-the-shoulder attacks when we issue a show run we have to use service password-encryption. This is also in Question #721, where the only correct answer is service password-encryption as well.
upvoted 4 times
...
Cesar12345
1 year, 11 months ago
Selected Answer: B
https://www.oreilly.com/library/view/hardening-cisco-routers/0596001665/ch04.html
upvoted 2 times
...
Nickplayany
2 years, 2 months ago
Selected Answer: B
It´s the B... Read CCNA if you need more details about it...
upvoted 2 times
...
sinaghozati
2 years, 2 months ago
B - When you use the "service password-encryption" command, any clear-text passwords that are set using the "line vty 0 15 password" command or similar commands will be encrypted. This means that when you look at the configuration file or monitor the console, you will not see the actual password, but rather an encrypted representation of it.
upvoted 2 times
...
snarkymark
2 years, 3 months ago
Going with B, The question asks "protect the password for the VTY". So taking specifically from the VTY config point of view. The VTY password will be encrypted when service password-encryption. The question is not asking about username and password, IMO
upvoted 2 times
...
eff3
2 years, 3 months ago
Selected Answer: D
I go for D - Type 9 is the bp and I don't use cleartext https://community.cisco.com/t5/networking-knowledge-base/understanding-the-differences-between-the-cisco-password-secret/ta-p/3163238
upvoted 1 times
...
Rose66
2 years, 3 months ago
Selected Answer: B
over-the-shoulder can be also when you enter show running........
upvoted 4 times
...
StefanOT2
2 years, 3 months ago
Selected Answer: D
I go for D. The password is already entered hashed and therefore protected also while the Engineers is typing the command. C is not recommended due to weak hashing. B. is hashing the password after is was typed in clear text.
upvoted 1 times
...
nushadu
2 years, 4 months ago
Selected Answer: B
cisco(config)#username test privilege 15 password test777 cisco(config)#do s running-config | include user username test privilege 15 password 0 test777 cisco(config)#service password-encryption cisco(config)#do s running-config | include user username test privilege 15 password 7 044F0E151B761B19 cisco(config)# cisco(config)#do wr Building configuration... [OK] cisco(config)#
upvoted 3 times
StefanOT2
2 years, 3 months ago
Where was the "over-the-shoulder-protection" while you typed in the password in clear text?
upvoted 1 times
Burik
1 year, 10 months ago
This question is asking how to protect the password for the VTY lines, meaning that you have the password command directly under the VTY lines. No username is used. And to protect that password from over-the-shoulder attacks, you have to use service password encryption.
upvoted 2 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago