3.0 Infrastructure Security
AAA & Device Access Security Practice Questions
TACACS+/RADIUS method lists, local fallback, and secure VTY/SSH access.
All 19 AAA & Device Access Security questions in this set
Answers and explanations appear when you work through the set above.
What is an AAA method list?
- A global AAA activation command that discovers authentication servers and binds them to each VTY line
- An ordered list of AAA methods, advancing on an unavailable method rather than a rejection
- The list of usernames stored in the local database
- An access list that filters which IP addresses can attempt to log in
A method list is configured as aaa authentication login VTY-AUTH group TACACS-SERVERS local. All TACACS+ servers in the group are reachable, and the user enters a wrong password. What happens?
- IOS falls back to the local database and lets the user try local credentials
- Login is rejected; a TACACS+ rejection does not trigger local fallback
- IOS retries the same TACACS+ group a second time before giving up
- The session is authenticated anyway because a fallback method exists
Why is TACACS+ generally preferred over RADIUS for device administration (command authorization) on network infrastructure?
- TACACS+ uses UDP for interactive command requests and sends each command directly to the server without waiting for a reliable transport connection
- TACACS+ encrypts the full body and separates AAA for command authorization; RADIUS encrypts the password and combines authentication with authorization
- RADIUS provides accounting records but cannot validate login credentials or return authorization attributes, requiring a separate protocol for both tasks
- TACACS+ is an open IETF standard while RADIUS is Cisco-proprietary
Which transport protocol and port does TACACS+ use by default?
- UDP port 49
- TCP port 49
- TCP port 1812
- UDP port 1645
An engineer configures aaa new-model, defines a TACACS+ server group, and creates the method list aaa authentication login ADMIN-AUTH group ADMIN-TACACS local, but never applies it anywhere. What authenticates VTY line logins in the meantime?
- No authentication occurs and every login is accepted
- IOS uses the local username database by default; the unapplied ADMIN-AUTH list has no effect
- Creating ADMIN-AUTH automatically binds it to VTY lines, selecting TACACS+ then local
- TACACS+ is used automatically since aaa new-model was enabled
Which command applies a named AAA authentication login method list to the VTY lines?
- aaa authentication login default group tacacs+ local, entered under line configuration mode
- login authentication <list-name>, entered under line vty configuration mode
- aaa group server tacacs+ <list-name>
- ip vrf forwarding <list-name>
An engineer replaces the VTY lines' method list with one that only references a TACACS+ server group and has no local fallback, then loses IP reachability to the TACACS+ servers immediately after committing the change over a VTY session. What is the risk?
- IOS detects the outage and restores the previous VTY authentication list after the server timeout
- New VTY logins fail without TACACS+ or local fallback; a separately authenticated console may still work
- The change only affects newly created user accounts
- TACACS+ requests will silently succeed regardless of server reachability
What is the standard safe practice for testing a new AAA method list change on VTY lines to avoid a lockout?
- Apply the new list to console and VTY together, close existing sessions, and then test login through the updated configuration
- Keep a working session or console path, test a fresh login, and verify local fallback before removing prior access
- Disable AAA entirely before testing, then re-enable it once satisfied
- Always test using a RADIUS-only method list first since RADIUS cannot lock anyone out
Which command enables local username/password fallback authentication as part of an AAA method list?
- aaa authentication login LIST group tacacs+ enable (enable password)
- aaa authentication login LIST group tacacs+ local
- aaa authentication login LIST group tacacs+ line (line password)
- aaa authentication login LIST group tacacs+ none (no credential check)
What must be true of a local username entry for it to actually work as a fallback method under an aaa authentication login LIST group tacacs+ local method list?
- Local username and password must match the login
- The username only needs to exist, the password field is ignored when AAA is enabled
- Local fallback works automatically even with no username commands configured
- The username must be provisioned on the TACACS+ server first
Under an aaa authentication login LIST group RADIUS-SERVERS local method list, all servers in RADIUS-SERVERS are down. Login is attempted and succeeds using a local account. What does this confirm about the design?
- The RADIUS group must still be reachable, because a successful login proves remote authentication worked
- Local authentication fallback is working as intended while the RADIUS group is unavailable
- That AAA is misconfigured because RADIUS should always take priority
- That local accounts bypass AAA entirely and are unrelated to the method list
If an engineer configures aaa authentication login default group tacacs+ local without ever creating a named method list or applying anything under line configuration, what happens to VTY and console logins?
- The default list is stored but remains inactive until login authentication default is entered separately under each line
- The default list applies to console, VTY and AUX lines without a named list, using TACACS+ then local
- Only the console line is affected; VTY lines are unaffected by the default list
- The default list only takes effect after a reload
Which AAA function scope determines whether a logged-in user is permitted to run a given exec-mode configuration command, separate from having already authenticated successfully?
- Command accounting
- Authorization
- Authentication
- Identity mapping
Which AAA function scope is responsible for logging what commands a user executed and when a session started/stopped, for audit purposes?
- Authentication
- Authorization
- Accounting
- Provisioning
A network uses aaa authentication login default group tacacs+ local and aaa authorization exec default group tacacs+ local. A user authenticates successfully via TACACS+, but exec authorization does not succeed. What determines whether an interactive exec session is granted?
- Successful authentication grants the exec session immediately, and a later authorization rejection merely creates an audit record
- The exec authorization result: successful authentication can still be followed by denial of an exec session
- The accounting configuration determines this
- IOS defaults to granting exec access whenever aaa new-model is enabled
Two TACACS+ servers in a server group use different shared secrets. The router has no per-server key statements, only a single global tacacs-server key that matches just one of the servers. What symptom is most likely on the other server?
- IOS compares the global secret with the remote server before sending a request and skips any server with a different key
- TACACS+ requests fail due to a shared-secret mismatch
- The mismatched key only affects accounting records, not authentication
- IOS encrypts TACACS+ traffic without needing a shared key, so this has no effect
Login authentication is failing for all users, and the router's logs show messages consistent with the router never receiving any reply from the configured TACACS+ servers, not explicit rejects. Following an underlay-first troubleshooting order, what should be checked before assuming a AAA configuration error?
- The order of method lists in the aaa authentication login command
- IP reachability to the servers and whether TCP/49 is permitted end to end
- Whether the username database has the right privilege levels assigned
- Whether the enable secret is configured
An engineer wants console-line authentication to always use the local database regardless of what happens with TACACS+ elsewhere on the box, while VTY lines use TACACS+ with local fallback. What is the correct approach?
- This cannot be done; all lines must share the same method list
- Apply a local CONSOLE-AUTH list to console and a TACACS+-then-local VTY-AUTH list to VTY lines
- Configure aaa authentication login default local and let IOS select TACACS+ for VTY lines from the server group definition
- Use aaa authorization instead of aaa authentication to separate console and VTY behavior
For consistent operational behavior across a network, why is it considered a best practice to use the same source interface for TACACS+/RADIUS traffic on every router, such as with ip tacacs source-interface Loopback0?
- TACACS+ uses the source-interface command to negotiate the encryption key, so authentication fails without an explicit source
- A stable source address identifies each device consistently in AAA server ACLs and logs, independent of egress
- It changes which authentication method is attempted first
- It automatically enables command accounting