CCNA 2 (Switching, Routing and Wireless Essentials ) Questions Flashcards
(98 cards)
Which tasks can be accomplished by using the command history feature? (Choose two.)
*View a list of commands entered
in a previous session.
*Recall up to 15 command lines by
default.
*Set the command history buffer
size.
*Recall previously entered
commands.
*Save command lines in a log file
for future reference.
*Set the command history buffer
size.
*Recall previously entered
commands.
Explanation: The history command allows you to view and reuse previously entered commands stored in the buffer. It is also used to manage the of the buffer.
What is the first action in the boot sequence when a switch is powered on?
- load the default Cisco IOS software
- load boot loader software
- low-level CPU initialization
- load a power-on self-test program
- load a power-on self-test program
Explanation: The first action to take place when a switch is powered on is the POST or power-on self-test. POST performs tests on the CPU, memory, and flash in preparation for loading the boot loader.
What must an administrator have in order to reset a lost password on a router?
- a TFTP server
- a crossover cable
- access to another router
- physical access to the router
- physical access to the router
Explanation: Console access to the device through a terminal or terminal emulator software on a PC is required for password recovery.
When configuring a switch for SSH access, what other command that is associated with the login local command is required to be entered on the switch?
- enable secret password
- password password
- username username secret secret
- login block-for seconds attempts number within*seconds
- username username secret secret
Explanation: The login local command designates that the local username database is used to authenticate interfaces such as console or vty.
Which command displays information about the auto-MDIX setting for a specific interface?
- show interfaces
- show controllers
- show processes
- show running-config
- show controllers
Explanation: To examine the auto-MDIX setting for a specific interface, the show controllers ethernet-controller command with the phy keyword should be used.
If one end of an Ethernet connection is configured for full duplex and the other end of the connection is configured for half duplex, where would late collisions be observed?
- on both ends of the connection
- on the full-duplex end of the connection
- only on serial interfaces
- on the half-duplex end of the connection
*On the half-duplex end of the connection
Explanation:
Full-duplex communications do not produce collisions. However, collisions often occur in half-duplex operations. When a connection has two different duplex configurations, the half-duplex end will experience late collisions. Collisions are found on Ethernet networks. Serial interfaces use technologies other than Ethernet.
Which command is used to set the BOOT environment variable that defines where to find the IOS image file on a switch?
- config-register
- boot system
- boot loader
- confreg
- boot system
Explanation: The boot system command is used to set the BOOT environment variable. The config-register and confreg commands are used to set the configuration register. The boot loader command supports commands to format the flash file system, reinstall the operating system software, and recover from a lost or forgotten password.
What does a switch use to locate and load the IOS image?
- BOOT environment variable
- IOS image file
- POST
- startup-config
- NVRAM
- BOOT environment variable
Explanation:
The BOOT environment variable contains the information about where to find the IOS image file.
Which protocol adds security to remote connections?
- FTP
- HTTP
- NetBEUI
- POP
- SSH
SSH
Explanation: SSH allows a technician to securely connect to a remote network device for monitoring and troubleshooting. HTTP establishes web page requests. FTP manages file transfer. NetBEUI is not routed on the Internet. POP downloads email messages from email servers.
What is a characteristic of an IPv4 loopback interface on a Cisco IOS router?
The no shutdown command is required to place this interface in an UP state.
It is a logical interface internal to the router.
Only one loopback interface can be enabled on a router.
It is assigned to a physical port and can be connected to other devices.
It is a logical interface internal to the router.
Explanation:
The loopback interface is a logical interface internal to the router and is automatically placed in an UP state, as long as the router is functioning. It is not assigned to a physical port and can therefore never be connected to any other device. Multiple loopback interfaces can be enabled on a router.
What is the minimum Ethernet frame size that will not be discarded by the receiver as a runt frame?
*64 bytes
*512 bytes
*1024 bytes
*1500 bytes
*64 Bytes
Explanation:
The minimum Ethernet frame size is 64 bytes. Frames smaller than 64 bytes are considered collision fragments or runt frames and are discarded.
After which step of the switch bootup sequence is the boot loader executed?
- after CPU initialization
- after IOS localization
- after flash file system initialization
*after POST execution
*after POST execution
Explanation:
The correct bootup sequence order is as follows:
1.- The switch loads and executes the POST.
2.- The switch loads the boot loader software.
3.- The boot loader performs low-level CPU initialization.
4.- The boot loader initializes the flash memory.
5.- The boot loader locates and loads the default IOS image.
Which impact does adding a Layer 2 switch have on a network?
- an increase in the number of dropped frames
- an increase in the size of the broadcast domain
- an increase in the number of network collisions
- an increase in the size of the collision domain
- an increase in the size of the collision domain
Explanation:
Adding a Layer 2 switch to a network increases the number of collision domains and increases the size of the broadcast domain. Layer 2 switches do not decrease the amount of broadcast traffic, do not increase the amount of network collisions and do not increase the number of dropped frames.
Which characteristic describes cut-through switching?
- Error-free fragments are forwarded, so switching occurs with lower latency.
- Frames are forwarded without any error checking.
- Only outgoing frames are checked for errors.
- Buffering is used to support different Ethernet speeds.
- Frames are forwarded without any error checking.
Explanation:
Cut-through switching reduces latency by forwarding frames as soon as the destination MAC address and the corresponding switch port are read from the MAC address table. This switching method does not perform any error checking and does not use buffers to support different Ethernet speeds. Error checking and buffers are characteristics of store-and-forward switching.
What is the significant difference between a hub and a Layer 2 LAN switch?
- A hub extends a collision domain, and a switch divides collision domains.
- A hub divides collision domains, and a switch divides broadcast domains.
- Each port of a hub is a collision domain, and each port of a switch is a broadcast domain.
- A hub forwards frames, and a switch forwards only packets.
- A hub extends a collision domain, and a switch divides collision domains.
Explanation: Hubs operate only at the physical layer, forwarding bits as wire signals out all ports, and extend the collision domain of a network. Switches forward frames at the data link layer and each switch port is a separate collision domain which creates more, but smaller, collision domains. Switches do not manage broadcast domains because broadcast frames are always forwarded out all active ports.
Which statement is correct about Ethernet switch frame forwarding decisions?
- Frame forwarding decisions are based on MAC address and port mappings in the CAM table.
- Cut-through frame forwarding ensures that invalid frames are always dropped.
- Only frames with a broadcast destination address are forwarded out all active switch ports.
- Unicast frames are always forwarded regardless of the destination MAC address.
- Frame forwarding decisions are based on MAC address and port mappings in the CAM table.
Explanation:
Cut-through frame forwarding reads up to only the first 22 bytes of a frame, which excludes the frame check sequence and thus invalid frames may be forwarded. In addition to broadcast frames, frames with a destination MAC address that is not in the CAM are also flooded out all active ports. Unicast frames are not always forwarded. Received frames with a destination MAC address that is associated with the switch port on which it is received are not forwarded because the destination exists on the network segment connected to that port.
How do switch buffers affect network performance?
- They provide error checking on the data received.
- They store frames received, thus preventing premature frame discarding when network congestion occurs.
- They provide extra memory for a particular port if autonegotiation of speed or duplex fails.
- They hold data temporarily when a collision occurs until normal data transmission resumes.
- They store frames received, thus preventing premature frame discarding when network congestion occurs.
Explanation: Switches have large frame buffers that allow data waiting to be transmitted to be stored so the data will not be dropped. This feature is beneficial especially if the incoming traffic is from a faster port than the egress port used for transmitting.
Which switch characteristic helps keep traffic local and alleviates network congestion?
- high port density
- fast port speed
- large frame buffers
- fast internal switching
- high port density
Explanation:
Switches that have a lot of ports (high port density) reduce the number of switches required and keep some of the traffic locally on the switch, thus removing the need to send it between switches.
Which switch component reduces the amount of packet handling time inside the switch?
- ASIC
- dual processors
- large buffer size
- store-and-forward RAM
*ASIC
Explanation:
Application-specific integrated circuits (ASICs) are used in Cisco switches to speed up switch operations so that the switch can have an increased number of ports without degrading switch performance.
Refer to the exhibit. A switch receives a Layer 2 frame that contains a source MAC address of 000b.a023.c501 and a destination MAC address of 0050.0fae.75aa.
Place the switch steps in the order they occur. (Not all options are used.)
Explanation:
The first step a switch does when processing a frame is to see if the source MAC address is in the MAC address table. If the address is not there, the switch adds it. The switch then examines the destination MAC address and compares it to the MAC address table. If the address is in the table, the switch forwards the frame out the corresponding port. If the address is missing from the table, the switch will forward the frame to all ports except the port through which the frame arrived.
What information is added to the switch table from incoming frames?
- source MAC address and incoming port number
- destination MAC address and incoming port number
- source IP address and incoming port number
- destination IP address and incoming port number
- source MAC address and incoming port number
Explanation:
A switch “learns” or builds the MAC address table based on the source MAC address as a frame comes into the switch. A switch forwards the frame onward based on the destination MAC address.
Which switching method ensures that the incoming frame is error-free before forwarding?
- cut-through
- FCS
- fragment free
- store-and-forward
- store-and-forward
Explanation:
Two methods used by switches to transmit frames are store-and-forward and cut-through switching. The store-and-forward method performs error checking on the frame using the frame check sequence (FCS) value before sending the frame. In contrast, cut-through switching sends the frame as soon as the destination MAC address part of the header has been read and processed.
Refer to the exhibit. How many broadcast domains are displayed?
- 1
- 4
- 8
- 16
- 55
- 8
Explanation:
A router defines a broadcast boundary, so every link between two routers is a broadcast domain. In the exhibit, 4 links between routers make 4 broadcast domains. Also, each LAN that is connected to a router is a broadcast domain. The 4 LANs in the exhibit result in 4 more broadcast domains, so there are 8 broadcast domains in all.
Under which two occasions should an administrator disable DTP while managing a local area network? (Choose two.)
- when connecting a Cisco switch to a non-Cisco switch
- when a neighbor switch uses a DTP mode of dynamic auto
- when a neighbor switch uses a DTP mode of dynamic desirable
on links that should not be trunking - on links that should dynamically attempt trunking
- when connecting a Cisco switch to a non-Cisco switch
- on links that should dynamically attempt trunking
Explanation:
Cisco best practice recommends disabling DTP on links where trunking is not intended and when a Cisco switch is connected to a non-Cisco switch. DTP is required for dynamic trunk negotiation.