Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 1016
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?
Answer options
- A. line vty 0 15 password cisco transport input telnet ssh exec-timeout 30 0
- B. line vty 0 15 password cisco transport input all exec-timeout 0 30
- C. username cisco privilege 15 cisco line vty 0 15 transport input telnet ssh login local exec-timeout 0 30
- D. line console 0 password cisco exec-timeout 30 0
Correct answer: A
Explanation
The correct answer, A, specifies the line vty configuration with the required password and allows both telnet and ssh for remote access, along with a 30-minute exec-timeout for idle sessions. Option B incorrectly allows all transport protocols, which is not necessary, and sets exec-timeout in the wrong order. Option C introduces a local user login, which is not required since only a password is needed, and also misconfigures the exec-timeout. Option D only configures the console line, not the required vty lines for remote access.