Which switch configuration enforces password-only authentication for all remote protocols and disconnects idle sessions after 30 minutes?
Choose an answer
Tap an option to check your answer.
Correct answer: line vty 0 15 password cisco transport input telnet ssh exec-timeout 30 0.
Why this is the answer
The correct configuration uses line vty 0 15 to apply settings to all Virtual Teletype (VTY) lines, which handle remote access. password cisco sets a password for authentication. transport input telnet ssh specifies that only Telnet and SSH are allowed for remote access, enforcing protocol-specific authentication. exec-timeout 30 0 sets the idle timeout to 30 minutes (30 minutes, 0 seconds). The second option incorrectly uses exec-timeout 0 30, which means 0 minutes and 30 seconds. The third option uses login local, which requires a local username database, not just a password. It also has the incorrect exec-timeout 0 30. The fourth option configures the console line, not VTY lines for remote access.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed