Cisco Routing and Switching Pro chapter 6

Which of the flowing statement describe how VLANs affect broadcast traffic within an internetwork? select two
Broadcast traffic is transmitted only within a VLAN
Devices on the same VLAN have the same subnet address
6.1.1 Practice exam
You have used a set of bridges and routers to segment your LAN into smaller networks. What result will you get? select two
Increased number of collision domains
Decreased congestion on each segment
Which of the following are results of using a router to segment a network? select two
Increased number of collision domains
Fewer devices per broadcast domain
You have implemented a network switch. Each switch port is connected to a workstation or server host. Which of the following is NOT true regarding this implementation?
The broadcast domain is reduced to only one device
Which of the following accurately describe cut-through switching?
The switch copies only the destination address of the frame into its buffer.

The switch reduces latency by forwarding the frame almost immediately.

Which statement best describes the fragment-free switching method?
The switch reads the first 64 bytes of the frame, verifies that a collision has not occurred, and switches the frame to the correct port.
Which of the following are true of store-and-forward switches? select three
Frames are checked for errors before being forwarded
Frames with errors are dropped
Latency is greater than with cut-through switches
You have a network consisting of routers, switches, a hub, and workstations connected as shown in the graphic. No VLANs have been configured. How many collision domains exist in this network?
You have a network consisting of routers, switches, a hub, and workstations connected as shown in the graphic. No VLANs have been configured. How many collision domains exist in this network?
4
Device B sends a frame to Device A on the network shown in the Exhibit. The switch has an entry in its CAM table for Device A in its database, but not for Device B. Which of the following best describes what the switch does with the message?
The switch records the address and port from Device B in its database. It sends the frame out port Fa0/1.
You have a new switch that you have just connected to the network as shown in the exhibit. After connecting the switch to the network: Host A sends a frame addressed to Host D. Host A sends a frame addressed to Host A. Host B sends a frame addressed to Host C. The switch receives a frame on Fa0/3 addressed to the MAC address of Host D. What will the switch do?
Record the MAC address of Host C, then forward the frame out all ports except Fa0/3
You have a switch connected to a small network as shown in the Exhibit. A hub connects Wrk1 and Wrk5 to the switch. The switch has the following information in its CAM table: Wrk 1 sends a frame addressed to Wrk5. What will the switch do with the frame? select two
Forward the frame out all ports except Fa0/1.
It will not record the location of any device.
You have a switch connected to a small network as shown in the Exhibit. A hub connects Wrk1 and Wrk5 to the switch. The switch has the following information in its CAM table: Wrk 1 sends a frame addressed to Wrk5. What will the switch do with the frame? select two
It will not record the location of any device.
Drop the frame
Which of the following describes the role of Distribution switches and how they are implemented in the design of a local area network on a university or corporate campus? select three
Linked to each other via high-speed connections
Constitute the second tier in a two-tier network design
Connected to high-speed core switches
Which of the following describes the role of Core switches and how they are implemented in the design of a local area network on a university or corporate campus? select three
Provide high speed connections between distribution switches
Not used in two-tier (collapsed core) network design
Reduce the number of uplinks required to connect each building to the campus network.
6.2.6 Practice exam
Consider the network shown in the exhibit. You have been experiencing intermittent connectivity issues with swtch2. To check the status of the interface, you run the following commands
What is the issue with this network?
The device connected to the Fa0/1 interface has auto negotiation disabled
A workstation is connected to a switch on the Gi0/2 interface using a straight-through cable. The ethernet interface in the workstation has been manually configured to use a 100Mbps link speed and full duplexing. Which of the following are true in this scenario? select three
If the link speed is 1000 Mbps or faster, full-duplex is used
If the link speed is 10 Mbps, half-duplex is used
The switch attempts to sense the link speed. If it can’t, the slowest link speed supported on the interface is selected.
You need to configure the fastethernet 0/1 interface on a switch to automatically detect the appropriate link speed and duplex setting by negotiating with the device connected to the other end of the link. Drag the command on the left to the appropriate configuration step on the right to accomplish this. Not all of the commands may be required.
Enter global configuration mode= conf t
Enter interface configuration= ing fa0/1
Set speed of the interface= speed auto
Set duplex setting for the interface= duplex auto
You need to disable the fastehternet 0/0 interface on a switch. Drag the command on the left to the appropriate configuration step on the right to accomplish this. Not all of the commands may be required.
Enter global configuration mode= conf t
Enter interface configuration= ing fa0/0 Disable the interface= shutdown
Verify the interface is disabled= show ip interface brief
The fastethernet 0/0 interface on a switch is currently disabled. You need to enable it so a workstation can be connected to it. Drag the command on the left to the appropriate configuration step on the right to accomplish this. Not all of the commands may be required.
Enter global configuration mode= conf t
Enter interface configuration= ing fa0/0
Enable the interface= no shutdown
Verify the interface is disabled= show interface status
6.3.15 Practice exam
You have a small network connected to the Internet as shown in the exhibit. You need to configure the default gateway address on Wr1 so that it can communicate with hosts on the internet. Which address would you use for the default gateway address?
The IP address assigned to FA0/0 on Router 1.
You have a small network as shown in the exhibit. You have configured the IP address and subnet mask on Wrk1. You want to be able to use Wrk1 to browse the internet to connect to sites like www,cisco.com. What other parameters are required on the workstation? select two
Default gateway
DNS server address
You have a small network with a single subnet connected to the internet as shown in the exhibit. The router has been assigned the two addresses shown. You need to manually configure the workstation to connect to the network. The workstations should use RouterA as the default gateway, and DNS1 as the DNS server address. From the down-down list, select the appropriate parameters to configure the workstations TCP/IP settings.
IP Address 192.168.12.46
Subnet Mask 255.255.255.240
Default Gateway 192.168.12.34
DNS Server 198.162.1.22
Which command(s) would you use to configure a default-gateway on a Catalyst 2950XL switch?
Switch(config)#ip default-gateway 192.168.10.1
You must configure an IP address on a Catalyst 2950XL switch using the default management switch port. From global configuration mode, which commands would you enter to configure the correct management port?
int vlan 1
ip address 192.168.10.2 255.255.255.0
You are the only administrator for your company. You are planning for an upcoming vacation and need to ensure that you can administer your switches remotely while you are gone. What must you configure to allow remote administration? select two
The switch must be configured with a valid IP address and default gateway
The remote workstation must have access to the management VLAN of the switch
You have a workstation configured with DNS server addresses as follows.
Primary-192.168.1.1
Alt- 192.168.1.115
While browsing the internet, you go to www.cisco.com. A few minutes later, you type ping www.cisco.com into a command prompt.
How will the workstation get the ipad dress for www.cisco.com?
out of its local DNS cache
Listed below are several places that a workstation checks to resolve DNS host names.
A-Primary DNS server
B-Secondary DNS servers
C-Host files
D-Local DNS cache
D,C,A,B
You would like to see what host names have been cached on your router. Which command displays the cashed list of host names?
show host
For each operation on the right match the appropriate command from the list on the left.
Configure DNS server addresses for the router to use for resolving host names
ip name-server
Create static entries for hosts, associating a host name with an IP address
ip host
Prevent the router from using DNS to resolve host names
no ip domain-lookup
Set the DNS name used by the router
hostname
You have just started a Cisco 2960 switch. You notice that the system light is a solid amber color. What does this indicate?
The system has power but is not functioning properly
You are checking the status of port fa0/12 on your Cisco 2960 switch. A cable has been plugged in to the port and is connected to a device. You press the Mode button to select Stat, Duplex, and Speed. Each time the port light remains off. Which of the following is true?
The port is shut down or the cable is bad.
You are checking the status of port Gi0/1 on your Cisco switch. A cable has been plugged in to the port and is connected to a device. You press the Mode button to select Stat, Duplex, and Speed. the results are shown below.
Stat=Flashing green
Duplex=Solid green
Speed= Flashing green
Which of the following are true. select two
The port is operating in full duplex mode
The port speed is 1000 Mbps
Wrk1 is connected to port fa0/16 on your Cisco 2960 switch. The user complains that she can’t access the network server.
You verify that a cable is connected to the fa0/16 port on the switch. You press the Mode button to select Stat, Duplex, and Speed. Each time the port light remains off.
Which command would most likely correct the problem?
no shutdown
Wrk1 is connected to port fa0/16 on your Cisco 2960 switch. a cable has been plugged in to the port and is connected to a device.
You press the mode button to select Stat, and the port light alternately flashes amber and green. What should you do to correct the problem?
Check the NIC in Wrk1 for frame errors or excessive collisions
6.4.6 Practice exam
Which of the following are reasons to configure VLANs on a switch as opposed to using switches without VLANs?
Increased security
Increased number of broadcast domains
You have two switches connected together as shown in the following diagram. How many broadcast domains are there in the network shown?
You have two switches connected together as shown in the following diagram. How many broadcast domains are there in the network shown?
2
Which of the following benefits apply only to creating VLANs with switches and not to segmenting the network with regular switches?
You can create multiple broadcast domains
Which of the following statements describe how VLANs affect broadcast traffic within and internetwork? select two
Devices on the same VLAN have the same subnet address
Broadcast traffic is transmitted only within a VLAN
Which of the following are true regarding using multiple VLANs on a single switch? select two
The number of broadcast domains increases
The number of collisions domains remains that same
You are configuring a new switch before you connect it to your network. You want to create two VLANs and assign several ports as members of each VLAN.
Create the two VLANs as indicated, and then assign the following switch ports as members of the VLAN.
Which interface is the member of VLAN 65?
fa0/22
6.5.9 Practice exam
Computer A and B are on the same VLAN and are separated by two switches, as show in the exhibit. Computer A sends a frame to Computer B.
Which of the following best describes the composition of the frame as it travels from A to B?
Computer A sends a normal frame. The first switch appends a VLAN ID to the Frame. The second switch removes the VLAN ID before forwarding it to computer B.
Which of the following statements accurately describes a VLAN ID?
Switches append a VLAN ID to the header of each frame to identify the virtual network to witch it belongs
What primary advantages does the 802.1Q Trunking Protocol offer compared to ISL. choose two
Can be used with a mix of Cisco and non-disco devices
IEEE standard
You’ve just enabled trunking on the fa0/1 port of Catalyst 2960 switch. By default, what traffic can now be sent across this interface?
only 802.1Q traffic
Switch B is a Catalyst 2924 switch you’re configuring to support VLAN trunking. Switch B is both ISL and 802.1Q callable. With a is encapsulating 802.1Q. You want switch B’s port to be in trunk mode regardless of the mode configured on switch A. Which commands should you use to configure the trunk port on Switch B? choose two
switchport trunk encapsulation dot1q
switch port mode trunk
You want to make interface fa0/2 a member of VLAN2 on a Catalyst 2950XL switch. Which commands must you enter? select two
switch port access vlan2
int fastethernet 0/2
you have a small network with four switches as shown in the diagram. which of the following are true. select two
you have a small network with four switches as shown in the diagram. which of the following are true. select two
Fa0/3 on switch B is an access port
Fa0/2 on switch B is a trunk port
You are implementing a static VLAN trunking configuration on a Catalyst 3550 switch. You would like to keep the switch from tagging packets from VLAN 3 as they leave fastethernet 0/1. Which commands would you use?
Switch(config)#int fa 0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#swtichport trunk native vlan3
You are implementing a static VLAN trunking configuration on a Catalyst 3550 switch. You would like to keep the switch from forwarding packets from VLAN 3 as they leave fastethernet 0/1. Which commands would you use?
Switch(config)#int fa 0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#swtichport trunk allowed vlan remove 3
Which of the following is true concerning the native VLAN and VLAN trunking? select three
If the native VLAN on one end of the trunk is different that the native VLAN on the other end, the traffic of the native VLANs on both sides cannot be transmitted correctly on the trunk
Frames are placed on the native VLAN when they enter an 802.1Q trunking interface but do not have an 802.1Q header
With 802.1Q trunking, frames from the native VLAN are not tagged
After using the show run command on a 2960 Cisco switch, you receive the following output. Which of the following is true?
Both fastethernet 0/9 and 0/10 are configured as unconditional access ports.
You want to get a list of all ports on your switch that are currently trunking. Which command should you use?
show interface trunk
YOu want to verify that trunking is enable between the Catalyst 2950XL switch and the Cisco 2600 router. Which command must you enter?
YOu want to verify that trunking is enable between the Catalyst 2950XL switch and the Cisco 2600 router. Which command must you enter?
Show interface fa0/1 trunk
You are configuring a new switch before you connect it to your network. You want o manually set the trunk and access port designations for each port. Complete the following tasks.
Configure the following port as trunk ports fa0/20-23, gi0/1-2
Configure the remaining ports as access ports
save the changes in the startup-config file
6.6.9 Practice exam
Using the exhibit to answer the following questions.
You are the network administrator for a city library. Throughout the library are several groups of computers that provide public access to the Internet. Supervision of these computers has been difficult. You’ve had problems with patrons bringing personal laptops into the library and disconnecting the network cables from the library computers to connect their laptops to the internet.
The library computers are in groups of four. Each group of four computers is connected to a hub that is connected to the library network through an access port on a Catalyst 2960 switch. You want to restrict access to the network so only the library computers are permitted connectivity to the internet. What can you do?
Configure port security on the switch.
You’ve just enabled port security on an interface of a Catalyst 2950 switch. You want to generate an SNMP trap whenever a violation occurs. Which feature should you enable?
restrict
What are the default swtichport configurations parameters on a 2960 switch? select two
Violation actions is set to shutdown
A maximum of 1 MAC per port is allowed
You are configuring a new 2960 switch. You issue the following commands.
Switch(config)#interface fast 0/15
switch(config-if)#swtichport modes access
switch(config-if)#switchport port-security
switch(config-if)#switchport port-security maximum 1
switch(config-if)#switchport port-securitymac-address sticky
switch(config-if)#switchport port-security violation protect
you connect a hub with two workstation to port fa0/15. You power on first device1 and then device2. what will be the result?
Frames from device1 will be allowed; frats from device2 will be dropped
You have a Catalyst 2960 switch on a small local area network with one server and five workstations. The file server is named SrvFS and is connected to port fa0/17 on the switch. You have to make sure that only this server can connect to port fa0/17, but that it an send and receive frames from the five workstations on the network. What should you do?
Configure swtichport security on fa0/17 to allow only the MAC address of SrvFS
You have a Catalyst 2960 switch on a small local area network with one server and five workstations. The file server is named SrvFS and is connected to port fa0/17 on the switch. You have to make sure that only this server can connect to port fa0/17. If any unauthorized devices attempt to attach, you want to disable the port until you manually re-enable it. On fa0/17, you use the swtichport port-security mac-address command to identify the MAC address on the server. What else should you include in your commands? select two.
swithcport port-security maximum 1
switch port port-security violation shutdown
You have a switch that has port security enable on the fa0/3 interface. The output of the show port-security interface fa0/3 command is shown below.
Port security: enable
Port status; secure-up
violation mode; protect
What is true of this configuration? select two
The port has learned one MAC address and saved that address in the running config file
The port allows up to two connected devices
You have a switch that has port security enable on the fa0/3 interface. The output of the show port-security interface fa0/3 command is shown below.
Port security: enable
Port status; secure-shutdown
violation mode; shutdown
What is true of this configuration?
The port has been disabled because too many MAC address have been detected
You have configured port security for the fa0/3 interface. To test the security settings, you connect two workstations to the same port. Both are allowed to connect. You check the running-config file and fine the fowling for the interface.
interface fastethernet0/3
swithport mode access
swithport port-security mac-address sticky
for the interface, use the swithport port-security command
Which of the follwing are true of port security sticky addresses? select two
They can be learned automatically or manually configured
they are placed in the running-config-file, and can be saved to the startup-config file
You have just enabled port security on a switch port. What are the default settings? select three
Dynamically-learned allows addresses
Maximum of 1 device
Shutdown violation mode
You have tow IP phone daisy chains as shown in the exhibit. Which of the following commands correctly configures port security on both fastethernet 0/5-6? select two
You have tow IP phone daisy chains as shown in the exhibit. Which of the following commands correctly configures port security on both fastethernet 0/5-6? select two
Switch(config-if)#swithport port-security
Switch(config-if)#swithport port-security maximum 3
In which of the following situations would you use port security?
You wanted to restrict the devices that could connect through a switch port
You are troubleshooting the connection on a switch. Which would you do to correct the status shown for fa0/12? Note: you will not be able to use the show run or show start commands in this lab.
use the no shutdown command
You are troubleshooting the connection on a switch. The device connected to the switch on fa0/8 is powered on. Which would you do to coeected the status of fa0/8. Note: you will not be able to use the show run or show start commands in this lab.
Replace the cable
6.7.3 Practice exam
Which of the following measures can you take to increase the security of remote connections to your router?
Configure SSH
You would like to use the crypto key command to generate a key pair for use with SSH. Which parameters must be set prior to running this command? select two
hostname
ip domain-name
You are in the process of configuring a new router. You have configured a hostname and ip domain name for the router. you continue with the following commands.
RouterA(config)#enable secret highway
RouterA(config)#username admin password television
RouterA(config)#crypto key generate rsa
RouterA(config)#aaa new-model
RouterA(config-line)#login
RouterA(config-line)#line vty 0 4
RouterA(config-line)#password garage
RouterA(config-line)#transport input ssh
RouterA(config)# line con 0
RouterA(config-line)#passwork airplane
What owl you do to establish a remote console session with the router? select two
Run SSH
Use admin for a username and television for the password
To secure remote console sessions, you have just configured your router to require SSH with the following command:
Routera(config-line)#transport input ssh
When you go to connect, the system prompts you for a username and password. You recall that you did not configure this information. Which command(s) would complete the SSH configuration?
RouterA(config)#username admin password canyon
6.8.8 Practice exam
You are physically seated at a host connected to the console on the seattle router as shown in the exhibit. You need to know what IP address has been configured on the E0 interface on the New York router. What are your options? select two
Telnet to New York. From privileged mode type show interface E0
Telnet to Toronto. From privileged mode top show cdp neighbors detail
YOu are configuring a router that has a previous configuration. You need to turn CDP on for the entire router, but turn it off for the serial 0/0/1 interface. Match the correct commands on the left with the configuration task on the right.
Enter global configuration mode
router#config t
Turn CDP on for the router
router(config)#cdp run
Enter interface configuration mode
router(config)#int s0/0/1
Turn CDP off for the interface
router(config-if)# no cdp enable
Which of the follwong commands would you use to modify the CDP packet enhance interval to send CDP packets every 30 seconds?
cdp timer 30
For security reasons, you want to prevent the Toronto router from sharing any information about itself with neighboring devices. What should you do?
For security reasons, you want to prevent the Toronto router from sharing any information about itself with neighboring devices. What should you do?
From global configuration mode on Toronto, type no cdp run
Which of the following protocols enables Cisco devices to discover non-Cisco devices?
LLDP
LLDP is disabled on Cisco devices by default. Which of the following commands enables LLDP on a Cisco device?
switch(config)# Feature lldp
6.9.7 Practice exam
A 5-port hub is attached to interface fa0/1 on your switch. Users of the workstation attached to the hub are complaining that their pings are erratic. When you run the show interface fa0/1 command you receive the following output.
fastethernet0/1 is up, line protocol is up (connected)
hardware is fast ethernet, address is 0019.e744.7401 (bia 0019.e774.7401)
what is the problem?
Duplex mismatch
Wrk1 is connected to port fa0/16 on your Cisco 2960 switch. A cable has been plugged into the port and is conencted to a device. The port should be using full-duplex communications at 100 Mbps. You press the MODE button to select Stat, Duplex, and Speed. the results are shown below.
-Stat= Solid Green
-Duplex=off
-SPeed= Solid green
Which command(s) should you use for the interface to configure the appropriate settings?
Duplex full
You have two Cisco 2960switches with 12 fastethernet ports and 2 gigabitehternet prots on each switch. You connect fa0/1 on switchA to fa0/1 on switchB with a crossover cable. A partial configuration for both switches is shown below. You notice that VLAN traffic for VLAN 2 is not being carried from switchA to switchB. what should you do?
For fa0/1 on switchA, set swithport mode to dynamic desirable
You want to verify that interface fastethernet 0/2 is a member of VLAN0002. Which command displays the output shown here?
You want to verify that interface fastethernet 0/2 is a member of VLAN0002. Which command displays the output shown here?
show vlan brief
You have two Cisco 2960switches with 12 fastethernet ports and 2 gigabitehternet prots on each switch. You connect fa0/1 on switchA to fa0/1 on switchB with a crossover cable. A partial configuration for both switches is shown below. You notice that VLAN traffic for VLAN 2 is not being carried from switchA to switchB. what should you do?
For fa0/1 on switchA, set swithport mode to dynamic desirable
You are troubleshooting physical layer issues with the gi0/1 interface in a router. You suspect a duplex mismatch error has occurred and need to determine the duplex settings configured on the interface. Which commands could you use> choose two
show interfaces gi0/1 status
show interfaces gi0/1
Revue te iytoyr fri tge sgiw ubterfaces fa0/1 command on the switch2 with in the exhibit. What is wrong with the fat/1 interface in this example?
Revue te iytoyr fri tge sgiw ubterfaces fa0/1 command on the switch2 with in the exhibit. What is wrong with the fat/1 interface in this example?
A duplex mismatch exist with the device on teh oterh end of the connection
Consider the network shown in the exhibit. When you run the show interfaces command on switch1, you observe a significant number of runts on the gi0/1 interface. what does the statistic indicate?
Collisions are occurring
You are reviewing the output of the show interfaces command for gi0/1 interface on a switch. Which interface statistic displays the number of collisions that occurred after the 6th byte of the frame was transmitted?
late collisions
You are reviewing the output of the show interfaces command for the gi0/1 interface on a switch. You notice a significant number of CRC error displayed. What are the most likely causes? Select two
EMI, or cross-talk, on the UT cabling is damaging frames in transit to this interface
Collisions are causing frame contents to arrive at this interface in a corrupted state
You are troubleshooting Physical Layer issues with the gi0/1 interface in a router. You need to view and analyze the number of collisions detected on the interface. Which command should you use?
show interface gi0/1