Skip to content

ENARSI course / Run the infrastructure services · Step 5 of 5

Topic: Device Management AccessSwitch

4.0 Infrastructure Services

Device Management Access Practice Questions

SSH prerequisites/versions, VTY hardening, SCP, and TFTP-based file transfer.

All 29 Device Management Access questions in this set

Answers and explanations appear when you work through the set above.

  1. For day-to-day interactive device administration, which remote access protocol should be used in place of Telnet?

    • SSH
    • TFTP
    • SNMPv2c
    • NTP
  2. A team wants to copy configuration and image files to and from Cisco IOS XE devices with the transfer encrypted end to end, riding on the same SSH session used for management. Which protocol fits this requirement?

    • SCP
    • TFTP
    • RIP
    • LDP
  3. A router can successfully ping a TFTP server, yet an attempt to back up the running configuration to that server fails. What is the most plausible explanation, given that basic IP connectivity is already confirmed?

    • BGP local preference is below the TFTP minimum, so file transfers fail despite successful ICMP reachability
    • TFTP UDP traffic is blocked, or server path/permissions are wrong
    • The OSPF router ID conflicts with another device
    • The router has no MPLS label bound for the destination
  4. A router has a locally defined username and the VTY lines are set to transport input ssh, but no RSA key pair has ever been generated on the device. What is the practical result?

    • SSH fails until a suitable supported host key is generated
    • SSH will fall back automatically to using the enable secret as the key material
    • Telnet will silently be used instead, ignoring the transport input setting
    • The VTY lines will accept connections but skip authentication entirely
  5. Generating an RSA key pair for SSH on a router fails because two pieces of basic device identity have not been configured. Which two are required first?

    • A hostname and IP domain name
    • A loopback interface and a static route
    • An NTP server and a time zone
    • A banner message and an enable secret
  6. Clients attempting to connect only use SSHv2, but show ip ssh reports the router is currently restricted to SSH version 1. What is happening?

    • The SSHv1 server cannot accept the clients requiring SSHv2
    • SSHv1 and SSHv2 are interoperable on any IOS SSH server
    • The mismatch only affects file transfer, not interactive login
    • SSH version has no bearing on which clients can connect
  7. VTY lines currently use login with only a shared line password configured, but the requirement is for each administrator to authenticate with their own local username and password over SSH. What change accomplishes this?

    • Use login local on VTY lines and create local user accounts
    • Add access-class in to the VTY lines
    • Change transport input from ssh to all
    • A longer shared VTY password provides separate administrator credentials
  8. A firewall in the path allows ICMP to reach a router but blocks TCP port 22. What symptom would this produce for an administrator trying to manage the device?

    • Ping succeeds; SSH fails or times out
    • SSH succeeds but ICMP ping requests fail
    • Both ICMP ping and SSH connection attempts fail
    • SSH succeeds but falls back to an unencrypted session
  9. An administrator tries to initiate an outbound SSH session from a router and receives '% SSH connections not permitted from this terminal.' Which line-level setting is the likely cause?

    • The current line excludes SSH from transport output
    • The VTY access-class ACL is denying the outbound attempt
    • The RSA host key has expired, blocking outbound SSH clients on that line
    • Global ip domain lookup is disabled, preventing SSH even with a literal IP destination
  10. Which command lists the SSH sessions currently connected to the device?

    • show ssh
    • show ip ssh
    • show users
    • show line vty
  11. Which command confirms the SSH server's configured version and key information on a router?

    • show ip ssh
    • show ssh
    • show crypto key mypubkey rsa detail
    • show line summary
  12. Which command shows which users are currently logged into a router and which console/VTY line each session is using?

    • show users
    • show ssh
    • show line summary
    • show ip ssh
  13. Which file-transfer protocol rides on the SSH subsystem to provide encrypted copy operations to and from IOS/IOS XE devices?

    • SCP
    • TFTP
    • FTP
    • HTTP
  14. Why is TFTP a poor choice compared to SCP for backing up configuration files over a network that cannot be fully trusted?

    • TFTP lacks authentication and encryption; SCP uses SSH for both
    • TFTP cannot transfer files larger than 64 KB, even when the server and client support block-number rollover
    • TFTP requires a Cisco Catalyst Center license to operate
    • TFTP only supports IPv6 destinations
  15. A router can successfully resolve the hostname of a remote file server via DNS, yet a copy operation to that server still fails. What should still be verified?

    • Check resolved-IP reachability, TFTP UDP or SCP TCP/SSH access, and server path/permissions
    • Check that the router and file server have identical hostnames, because IOS validates this before opening a copy session
    • Whether OSPF has converged on every link in the topology
    • Whether the file being copied uses a .bin extension
  16. A device is completely unreachable for remote management, but an administrator with physical or terminal-server access to the console port can still log in normally. What does this indicate about where to focus troubleshooting?

    • Focus on remote reachability, ACLs and VTY transport settings
    • The IOS image is corrupted, because console login uses a separate operating system from the VTY login service
    • The enable secret has been changed
    • The console line's speed setting has drifted from the default
  17. After a recent ACL change on the VTY lines, Telnet connections are refused but SSH connections continue to work normally. What is the most likely explanation?

    • The updated ACL is blocking TCP port 23 while still permitting TCP port 22
    • SSH bypasses VTY access-class filtering entirely
    • Telnet requires a separate RSA key that was never generated
    • VTY transport input accepts one protocol per line, so SSH excludes Telnet
  18. Which command displays a router's logging configuration along with the contents of its local logging buffer?

    • show logging
    • show running-config | section logging
    • show buffers
    • show memory logging
  19. Which transport and port should be permitted through any intermediate filtering device for messages to reach a traditional (non-TLS) syslog server?

    • UDP port 514
    • TCP port 514
    • UDP port 162
    • TCP port 22
  20. Local buffered logging is working fine and shows the expected messages, but a configured remote syslog server never receives anything at all. What foundational fact about IOS logging behavior explains this?

    • Remote logging needs explicit host configuration; buffered logging does not enable it
    • Remote logging disables itself when the local buffer exceeds half its capacity
    • Remote syslog requires IPv6 connectivity even on an IPv4-only network
    • The router can only log to one destination at a time, and the buffer takes priority
  21. Remote syslog trap logging is set to the warnings severity level. Will messages at the errors and critical severity levels also be forwarded to the server?

    • Yes, the threshold includes more severe levels
    • No, only messages tagged exactly warnings are ever sent
    • Only critical is sent; errors is excluded because it is numerically adjacent
    • It depends on whether the buffer size has been increased
  22. Console logging severity is set to informational. Will debugging-level (severity 7) messages show up on the console?

    • Yes, debugging is automatically included whenever informational is set
    • No, debugging (7) is less severe than informational (6)
    • Only if terminal monitor has also been issued
    • Only if the logging buffer has been resized
  23. An administrator connected over SSH enables monitor-level logging but still sees no real-time syslog messages appear in that session. What command is most likely missing?

    • terminal monitor
    • logging synchronous
    • service timestamps log datetime msec
    • logging console informational
  24. On a router with heavy logging activity, older entries in the local logging buffer are being lost even though nobody cleared them manually. Why does this happen?

    • The fixed-size RAM ring buffer overwrites its oldest entries when full
    • The buffer clears every 24 hours, regardless of size
    • A reload silently occurred without visible console output
    • Debug-level messages are given priority and purge all other severities
  25. Which change would help retain a longer history of locally logged events on a router that is losing older buffered messages too quickly?

    • Increase the buffer size or use remote syslog for longer retention
    • Lower the console logging threshold so the buffered logger allocates more memory for each retained message
    • Disable service timestamps to reduce message size
    • Switch the buffer from RAM to NVRAM automatically at boot
  26. A router is correctly configured with a logging host pointing at a real syslog server, but that server is currently powered off. What is the expected outcome?

    • Remote delivery fails while the server is down; local buffering continues
    • IOS queues all UDP syslog messages until the server returns
    • Local logging also stops until the remote server is reachable again
    • The router falls back to sending messages over SNMP traps instead
  27. An ACL somewhere along the path denies UDP port 514 traffic destined for the syslog server's address. What is the resulting impact on logging?

    • Remote syslog is blocked; local logging continues
    • All logging, including the local buffer, stops immediately
    • The router automatically switches remote logging to TCP port 514
    • Only debug-level messages are affected; other severities still reach the server
  28. Why might a network engineer deliberately use conditional debugging (scoping debug output to a specific interface, interesting traffic condition, or protocol event) rather than enabling debugging broadly on a production router?

    • Reduce CPU/console load by limiting debug output to relevant events
    • Because IOS XE permanently disables unconditional debug on production routers
    • To bypass control-plane policing rate limits entirely
    • Because conditional debugging configures all logging destinations automatically
  29. Two administrators both connect to a router, one over the console port and one over SSH via a VTY line, at the same time. What is generally true about how these two access paths are secured and managed?

    • Console and VTY have separate authentication and timeout settings; VTY also supports remote-source access-class filtering
    • Console and VTY share identical authentication and timeout settings; changes made to one access path update every line
    • Only the VTY lines support username-based authentication; the console line only ever supports a line password
    • The console line is automatically disabled whenever any VTY session is active