nerdexam
Cisco

350-401 · Question #190

Refer to the exhibit. Which configuration enables password checking on the console line, using only a password?

The correct answer is A. router(config)# line con 0. To enable password checking on the console line using a directly configured password, you must access the line con 0 configuration mode, set the desired password, and then use the login command to enforce it.

Submitted by miguelv· Mar 6, 2026

Question

Refer to the exhibit. Which configuration enables password checking on the console line, using only a password?

Exhibits

350-401 question #190 exhibit 1
350-401 question #190 exhibit 2

Options

  • Arouter(config)# line con 0
  • Brouter(config)# line con 0
  • Crouter(config)# line vty 0 4
  • Drouter(config)# line con 0

How the community answered

(24 responses)
  • A
    79% (19)
  • B
    4% (1)
  • C
    4% (1)
  • D
    13% (3)

Why each option

To enable password checking on the console line using a directly configured password, you must access the `line con 0` configuration mode, set the desired password, and then use the `login` command to enforce it.

Arouter(config)# line con 0Correct

This configuration correctly accesses the console line (line con 0), sets a password (e.g., 'cisco'), and then applies the `login` command, which instructs the router to prompt for the password configured directly on that specific line for authentication.

Brouter(config)# line con 0

The `login local` command authenticates users against the local username database, which is not what the question asks for; it specifically requests using 'only a password' configured directly on the line.

Crouter(config)# line vty 0 4

This configuration applies to the Virtual Teletype (VTY) lines (0 4) used for remote access (Telnet/SSH), not the console line (con 0) as specified in the question.

Drouter(config)# line con 0

The `transport input ssh` command specifies allowed inbound protocols for a line but does not enable or enforce password checking; the `login` command is required for that function.

Concept tested: Cisco IOS console line password

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_usr_kbrd_mgnt/configuration/xe-16/sec-usr-kbrd-mgnt-xe-16-book/sec-usr-kbrd-mgnt-auth-passwords.html

Topics

#Console security#Line configuration#Password authentication

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice