Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the Cisco Certified Network Associate (CCNA) exam with our comprehensive quiz featuring multiple-choice questions and detailed explanations. Prepare effectively and enhance your understanding of networking concepts!

Practice this question and more.


Which command will terminate an exec session regardless of user activity?

  1. (config-line)#exec-timeout TIME

  2. (config-line)#absolute-timeout TIME

  3. #exit

  4. copy run start

The correct answer is: (config-line)#absolute-timeout TIME

The command that will terminate an exec session regardless of user activity is the one that specifies an absolute timeout for the session. By using an absolute timeout setting, you're declaring a fixed duration after which the session will terminate automatically, regardless of whether there has been any activity during that period. This is particularly useful for improving security by ensuring that inactive sessions do not remain open indefinitely. In this context, the absolute timeout provides a strict session limit, as opposed to timeout configurations that only consider user inactivity. The other alternatives do not provide the same functionality. For instance, the exec-timeout command is designed to terminate sessions based only on inactivity, meaning if the user is actively engaged, the session can remain open beyond that predefined time. The exit command simply ends the session when used but cannot automatically terminate it based on time. The copy run start command is related to saving the running configuration and does not impact the session duration at all.