exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 990 discussion

Actual exam question from Cisco's 200-301
Question #: 990
Topic #: 1
[All 200-301 Questions]

An engineer must configure R1 for a new user account. The account must meet these requirements:
• It must be configured in the local database.
• The username is engineer2.
• It must use the strongest password configurable.

Which command must the engineer configure on the router?

  • A. R1(config)# username engineer2 privilege 1 password 7 test2021
  • B. R1(config)# username engineer2 secret 4 $1$b1Ju$kZbBS1Pyh4QzwXyZ
  • C. R1(config)# username engineer2 algorithm-type scrypt secret test2021
  • D. R1(config)# username engineer2 secret 5 password $1$b1Ju$kZbBS1Pyh4QzwXyZ
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
mcontento
Highly Voted 1 year, 3 months ago
A. CAT9200(config)#username engineer2 privilege 1 password 7 test2021 Invalid encrypted password: test2021 B. CAT9200(config)#username engineer2 secret 4 $1$b1Ju$kZbBS1Pyh4QzwXyZ ERROR: Type 4 passwords have been deprecated. Migrate to a supported password type C. CAT9200(config)#username engineer2 algorithm-type scrypt secret test2021 CAT9200(config)#do show run | inc engineer2 username engineer2 secret 9 $9$2FTH4wYx6hzf1X$1WVSI21bbXZ7JlP5v42YDvImoHd6DTHW5pcm4J0Iy8A CAT9200(config)# D. CAT9200(config)#username engineer2 secret 5 password $1$b1Ju$kZbBS1Pyh4QzwXyZ % Ambiguous command: "username engineer2 secret 5 password $1$b1Ju$kZbBS1Pyh4QzwXyZ" CAT9200(config)# The only opcion that run is opcion C. I configured the user and pass, and when I did "show run", the passsword was encrypt.
upvoted 13 times
...
Grenadate
Most Recent 4 months ago
Selected Answer: C
The correct answer is **C. R1(config)# username engineer2 algorithm-type scrypt secret test2021**. ### Explanation: - The **`username`** command is used to configure a local user account on the router. - The **`secret`** keyword indicates that the password will be hashed and stored securely. - The **`algorithm-type scrypt`** specifies the use of the Scrypt algorithm, which is the strongest password hashing algorithm available for local user accounts on Cisco devices. Option C is the correct choice because it uses the `algorithm-type scrypt` parameter, ensuring the password is configured with the most secure hashing algorithm. The password `test2021` is used, and the `secret` keyword ensures it is hashed securely.
upvoted 2 times
...
[Removed]
7 months, 3 weeks ago
Selected Answer: C
C is correct
upvoted 2 times
...
kalitwol
8 months ago
Selected Answer: C
scrypt is stronger than the PBK... algorithm on B
upvoted 2 times
...
squagmire
8 months, 3 weeks ago
Selected Answer: B
A -> ERROR: Can not have both a user password and a user secret. Please choose one or the other. B -> works C -> username engineer2 algorithm-type scrypt secret test2021 ^ % Invalid input detected at '^' marker. D -> username engineer2 secret 5 password $1$b1Ju$kZbBS1Pyh4QzwXyZ ^ % Invalid input detected at '^' marker. (in D, 'password' would be the password, and the following is just jibberish)
upvoted 1 times
squagmire
8 months, 3 weeks ago
btw this was done in packet tracer real quick. Just do it in 2 minutes and wou'll get your answer
upvoted 1 times
squagmire
8 months, 2 weeks ago
actually i take that back, i tested it in a device irl and C works. I suppose its C then, my bad!
upvoted 6 times
...
...
...
[Removed]
11 months, 2 weeks ago
Selected Answer: C
They probably want C. On Cisco routers you can enter the pre-encrypted secret by specifying the encryption type manually, i.e. "secret <level> <encrypted-secret>". If you don't specify the level, it will encrypt the plaintext password supplied using the specified algorithm type. "If you specify an encryption type, you must provide an encrypted password—an encrypted password that you copy from another switch configuration. Secret encryption type 9 is more secure, so we recommend that you select type 9 to avoid any issues while upgrading or downgrading. You can also configure type 9 encryption for the secret password manually by using the algorithm-type scrypt command in global configuration mode. For example: Device(config)# username user1 algorithm-type scrypt secret cisco" https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9500/software/release/17-9/configuration_guide/sec/b_179_sec_9500_cg/controlling_switch_access_with_passwords_and_privilege_levels.html#task_1046352
upvoted 2 times
...
Selected Answer: C
I would say the correct answer is C A & D uses default encryption using md5 hashing algorithm is not secure and has been exploited for years. C uses scrypt as the hashing algorithm which is a type 9 encryption algorithm and it's more secure than md5 B is missing the password keyword https://www.linkedin.com/pulse/enable-secret-password-algorithms-md5-sha256-scrypt-michael-akintola
upvoted 2 times
...
PaddyInNZ
1 year ago
Selected Answer: C
scrypt is the best algorithm-type. No question about it. It doesn't matter about the length of the password - it's primarily about the algorithm.
upvoted 2 times
...
[Removed]
1 year, 1 month ago
Selected Answer: C
I think it's C enable [algorithm-type md5] secret password 5 MD5 enable algorithm-type sha256 secret password 8 SHA-256 enable algorithm-type scrypt secret password 9 SHA-256
upvoted 3 times
...
berpiy1028
1 year, 2 months ago
Selected Answer: B
The phrase "It must use the strongest password configurable" suggests that the user account should have the most secure and strong password possible, not necessarily the strongest encryption for the password itself. It means that the user's password should be as complex, long, and difficult to guess as possible, following best practices for password security.
upvoted 1 times
...
Yinxs
1 year, 3 months ago
I tried all commands on GNS3 Cisco C3725 router, all are wrong.
upvoted 1 times
...
Eallam
1 year, 4 months ago
Selected Answer: C
https://www.linkedin.com/pulse/enable-secret-password-algorithms-md5-sha256-scrypt-michael-akintola
upvoted 2 times
...
Toto86
1 year, 4 months ago
Selected Answer: C
C is the strongest password, type 9 and SHA-256 algorithm. CCNA 200-301 Official Cert Guide, Volume 2 page 93 https://community.cisco.com/t5/networking-knowledge-base/understanding-the-differences-between-the-cisco-password-secret/ta-p/3163238
upvoted 4 times
...
dropspablo
1 year, 4 months ago
Selected Answer: C
As of bug CSCue95644 (which is a Cisco issue identifier), keyword 4 for specifying a SHA-256 encrypted secret string has been deprecated. This indicates that the use of that particular type of encryption algorithm is no longer recommended or supported by Cisco. https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/security/d1/sec-d1-cr-book/sec-cr-e1.html#:~:text=4%20keyword%20is-,deprecated,-. The syntax of the letter C is correct, only the password "test2021" would be weak, but as shown is just a "test" password, it will not be this password that the engineer will hand over to the user, without a crisis. However, setting the password with type 9 (SCRYPT) is the strongest that can be set, better than 5 and 8. The old type 4 is no longer recommended due to its fragility (bug CSCue95644).
upvoted 3 times
...
Dunedrifter
1 year, 4 months ago
Selected Answer: B
B. R1(config)# username engineer2 secret 4 $1$b1Ju$kZbBS1Pyh4QzwXyZ This command creates a local user account named "engineer2" and sets the password as the given encrypted string "$1$b1Ju$kZbBS1Pyh4QzwXyZ". The "secret" keyword is used to specify the encrypted password. The "4" indicates the encryption type, which in this case appears to be MD5. Option A uses the "password" keyword, which indicates a simple, unencrypted password. Option C uses the "algorithm-type scrypt" which is not necessary for this scenario, and Option D is incorrect because it uses the wrong keyword ("password") instead of "secret" for specifying an encrypted password.
upvoted 1 times
...
[Removed]
1 year, 5 months ago
Selected Answer: B
The command starts with the "username" keyword, followed by the desired username, which in this case is "engineer". The "secret" keyword is used to specify the password. The number "5" following the secret keyword indicates the password encryption type, which is SHA256-based salted password hashing algorithm (scrypt) in this case. The password itself is specified after the encryption type. Option B is the correct command because it specifies the use of the strongest password encryption method (scrypt) and provides a secure password. The provided password, "S1$b1Ju$kZbBS1Pyh4QzwXyZ", is a strong password that meets the requirement for a strong password.
upvoted 2 times
...
LeonardoMeCabrio
1 year, 5 months ago
Selected Answer: B
B is correct, C uses a very common password and cannot be correct!!
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 ...