nerdexam
Cisco

350-401 · Question #785

A network engineer must configure a switch to allow remote access for all feasible protocols. Only a password must be requested for device authentication and all idle sessions must be terminated in 30

The correct answer is A. line vty 0 15. Remote access (VTY) configuration requires enabling all feasible transport protocols, setting a local password for authentication, and configuring an idle session timeout.

Submitted by anjalisingh· Mar 6, 2026Security

Question

A network engineer must configure a switch to allow remote access for all feasible protocols. Only a password must be requested for device authentication and all idle sessions must be terminated in 30 minutes. Which configuration must be applied?

Options

  • Aline vty 0 15
  • Bline vty 0 15
  • Cusername cisco privilege 15 cisco
  • Dline console 0

How the community answered

(35 responses)
  • A
    83% (29)
  • B
    3% (1)
  • C
    3% (1)
  • D
    11% (4)

Why each option

Remote access (VTY) configuration requires enabling all feasible transport protocols, setting a local password for authentication, and configuring an idle session timeout.

Aline vty 0 15Correct

This configuration correctly enters VTY line configuration, enables all transport protocols (`transport input all`), sets a password for authentication (`password cisco` and `login`), and configures the idle session timeout to 30 minutes (`exec-timeout 30 0`).

Bline vty 0 15

While `transport input all` and `exec-timeout 30 0` are correct, `login local` requires a local username database for authentication, which contradicts the requirement for 'only a password' used directly on the line.

Cusername cisco privilege 15 cisco
Dline console 0

Concept tested: VTY line configuration (remote access, authentication, timeout)

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_usr_aaa/configuration/15-mt/sec-usr-aaa-15-mt-book/sec-usr-aaa-authen.html

Topics

#Cisco VTY configuration#Remote access#Idle timeout#Device authentication

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice