CCNA 200-301 Exam Questions: VLANs and Switching, Exams of Computer Science

A comprehensive set of questions and answers related to ccna 200-301 certification, focusing on vlans, dtp, etherchannel, and switch configurations. It covers essential topics such as vlan pruning, dtp modes, etherchannel advantages, lacp, pagp, and mac address table management. The material is designed to help students and professionals prepare for the ccna exam by testing their knowledge of key networking concepts and configurations. It includes practical scenarios and configuration commands, making it a valuable resource for hands-on learning and exam preparation. The document also addresses broadcast domains, vlan security, and switch forwarding techniques, providing a well-rounded overview of lan switching technologies.

Typology: Exams

2024/2025

Available from 06/18/2025

Shantelle
Shantelle 🇺🇸

5

(2)

5.8K documents

1 / 35

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23

Partial preview of the text

Download CCNA 200-301 Exam Questions: VLANs and Switching and more Exams Computer Science in PDF only on Docsity!

CCNA 200-301 With 181 Test Exam Questions

And Expert Answers

What is the purpose of VLAN pruning? - Correct Answer ✔️ ✔ To permit or deny VLANs across a switch trunk What is the Cisco default for VLAN pruning - Correct Answer ✔️ ✔To allow all VLANs across the trunk What command sets a range of VLANs to an interface? - Correct Answer ✔️ ✔switchport trunk allowed vlan <#>-<#> What are the three modes of DTP? - Correct Answer ✔️ ✔ nonegotiate, desirable, auto Is DTP enabled by default on switch ports? - Correct Answer ✔️ ✔Yes

What does a switch port configured with desirable mode do? - Correct Answer ✔️ ✔Actively sends DTP frames to negotiate trunk with neighbor switch What is the operation of switchport mode access? - Correct Answer ✔️ ✔Access port only (no trunk) - only one VLAN, two if you include a Voice VLAN What is the operation of switchport mode trunk? - Correct Answer ✔️ ✔Trunk statically formed and no DTP frames sent

What is the operation of switchport mode dynamic auto? - Correct Answer ✔️ ✔Listens for DTP requests What is the operation of switchport mode dynamic desirable? - Correct Answer ✔️ ✔Listens and sends DTP requests What is the operation of switchport nonegotiate? - Correct Answer ✔️ ✔Disables DTP

What are the advantages of EtherChannels? - Correct Answer ✔ ️ ✔Fault tolerance (redundancy) and high speed connectivity between switches What is the maximum number of ports Cisco switches support to a single EtherChannel bundle? - Correct Answer ✔ ️ ✔8 ports What is the maximum number of ports LACP supports to a single EtherChannel bundle? - Correct Answer ✔ ️ ✔16 ports, however only 8 ports can be active simultaneously What is LACP? - Correct Answer ✔️ ✔Link Aggregation Control Protocol, within the IEEE specification, provides a method of control the bundling of several physical ports together to form a single logical channel. It allows a network device to negotiate an automatic bundling of links by sending LACP packets to the peer What are the options for configuring an EtherChannel? - Correct Answer ✔️ ✔Static or Dynamic Protocols

What is the difference between static and dynamic EtherChannel configurations? - Correct Answer ✔ ️ ✔Static does not provide any dynamic trunk negotiation What are the four supported modes of LACP? - Correct Answer ✔ ️ ✔On, off, active, and passive

What does the channel-group bind? - Correct Answer ✔️ ✔The port channel interface to an EtherChannel What is a Layer 2 port channel? - Correct Answer ✔️ ✔Logical interface comprised of EtherChannel access ports or trunk ports How is the Layer 2 port channel created? - Correct Answer ✔️ ✔It is created automatically based on the channel-group number

What are the supported channel-group numbers? - Correct Answer ✔️ ✔1 - 4096

What is the primary purpose of a VLAN? - Correct Answer ✔️ ✔ To create a broadcast domain; enable segmentation or isolation of broadcast traffic Unassigned Cisco switch ports remain in which VLAN? - Correct Answer ✔️ ✔VLAN 1

Do VLANs prevent broadcast storms? - Correct Answer ✔ ️ ✔No, they minimize the size and effect of the broadcast storm on neighbor switches and hosts What are four advantages to using VLANs? - Correct Answer ✔️ ✔1. Enable access to network services based on logical requirements

  1. Network security is optimized with VLANs that enable managing and filtering sensitive traffic from other network traffic
  2. Bandwidth efficiency is accomplished through segmenting traffic into smaller broadcast domains
  1. Easier add/move/delete administration of endpoints on a network and scalability for larger enterprise deployments What is the Layer 2 Broadcast Destination Address? - Correct Answer ✔️ ✔FFFF.FFFF.FFFF What is the Layer 3 Broadcast Destination Address? - Correct Answer ✔️ ✔255.255.255. What is VLAN 1 used for and can it be deleted? - Correct Answer ✔️ ✔Management Traffic; it cannot be deleted What are the default settings of a Cisco Catalyst Switch? - Correct Answer ✔️ ✔- Interfaces are enabled by default
  • All interfaces are assigned VLAN 1
  • 10/100 and 10/100/1000 interfaces use autonegotiation
  • MAC learning, forwarding, and flooding logic works
  • STP is enabled

'line #' 'login local' What commands are necessary for ssh? - Correct Answer ✔️ ✔ 'hostname ' 'ip domain-name ' crypto key generate rsa' What can you add to 'crypto key generate rsa' to set the modulus value? - Correct Answer ✔️ ✔'modulus #' What command would you use to only allow ssh? - Correct Answer ✔️ ✔'transport input ssh' What modulus value should be at least used with sshv2? - Correct Answer ✔️ ✔768-bit key How do you override default settings of sshv1 support? - Correct Answer ✔️ ✔'ip ssh version 2'

What is the SVI? - Correct Answer ✔️ ✔Switch Virtual Interface

  • VLAN interface that acts like the switch's own NIC How do you give an SVI DHCP? - Correct Answer ✔️ ✔'int vlan 1' 'ip address dhcp' How do you set the history size of only the current session? - Correct Answer ✔️ ✔'terminal history size #'

How do you disable uto syslog at console? - Correct Answer ✔️ ✔'no logging console'

What subnet mask is considered the serial mask? - Correct Answer ✔️ ✔255.255.255. What method was used for detecting Ethernet collisions on older hubs and bridges? - Correct Answer ✔️ ✔Carrier Sense Multiple Access Collision Detection (CSMA/CD)

the source MAC address of incoming frame if it is not listed in the MAC address table

  1. Switch does a MAC address table lookup for the destination MAC address
  2. Switch floods a frame using FFFF.FFFF.FFFF as destination MAC address out all switch ports except the port where the source MAC address was learned
  3. Server wit the assigned MAC address responds with a frame that lists the MAC address
  4. Switch updates the MAC address table with the MAC address of the server; That is the destination MAC address for frames sent from the host
  5. Switch forwards the frames from the host to the server based on the switch port assigned to the server

What is Cut-Through Switching? - Correct Answer ✔️ ✔It is a technique that optimizes performance by examing only the first 6 bytes (destination MAC address) of an Ethernet frame before making a forwarding decision. The switch does a MAC address table lookup for the destination MAC address and forwards the frame. What is the advantage of Cut-Through Switching? - Correct Answer ✔️ ✔The forwarding decision is made before all of the frame arrives and thereby minimizes latency What is Store-and-Forward Switching? - Correct Answer ✔️ ✔ Traditional switching where the frame is not forwarded until all of the frame has arrived. The switch copies the frame to memory before examining the destination MAC address and forwarding the frame. What is CEF? - Correct Answer ✔ ️ ✔Cisco Express Forwarding: Layer 3 switching technique that creates FIB and adjacency tables for optimized forwarding. It is only available on routers and switch platforms with routing enabled and the required hardware

encapsulation dot1q What does the native VLAN forward? - Correct Answer ✔️ ✔ Control traffic across switch trunks Why is it recommended to change the native VLAN? - Correct Answer ✔️ ✔This is a Cisco security best practice as there are security vulnerabilities associated with default VLAN 1; STP issues are minimized as well by selecting a nondefault VLAN instead of VLAN 1 What command changes the native VLAN? - Correct Answer ✔️ ✔switchport trunk native vlan <vlan_id>

What is the normal VLAN range? - Correct Answer ✔️ ✔VLAN 2

  • 1001 What is the extended VLAN range? - Correct Answer ✔️ ✔VLAN 1006 - 4094 What VLANs are auto-created and cannot be deleted? - Correct Answer ✔️ ✔VLAN 1, 1002 - 1005

What VLANs cannot be pruned from a trunk? - Correct Answer ✔ ️ ✔VLAN 1006 - 4094 How many VLANs can be assigned to a switch access port? - Correct Answer ✔️ ✔Only one VLAN unless you are connecting an IP phone What commands would you use to setup a switch access port with an IP phone? - Correct Answer ✔ ️ ✔interface <interface#/#> switchport mode access switchport access vlan # switchport voice vlan # Where is the switch VLAN configuration stored? - Correct Answer ✔️ ✔vlan.dat file What commands would you use to globally create and name a VLAN?

  • Correct Answer ✔️ ✔vlan #

Does the Cisco default switch configuration have an IP default gateway? - Correct Answer ✔️ ✔No

What command is used to create an IP default gateway? - Correct Answer ✔️ ✔ip default-gateway <ip_address>

What is the primary purpose of a switch? - Correct Answer ✔️ ✔To make forwarding decisions based on destination MAC address

List the network services provided by switches - Correct Answer ✔️ ✔- Only read Ethernet frame headers and forward traffic

  • Create and maintain the MAC address table
  • Create separate collision domains per switch port
  • Create separate broadcast domains per VLAN What is the default mode for LACP? - Correct Answer ✔️ ✔ Passive Mode

What is the default mode for PAgP? - Correct Answer ✔️ ✔Auto Mode What layer of the TCP/IP model does HTTP belong? - Correct Answer ✔️ ✔Application Layer

What layer of the TCP/IP model does POP3 belong? - Correct Answer ✔️ ✔Application Layer

What layer of the TCP/IP model does SMTP belong? - Correct Answer ✔️ ✔Application Layer What layer of the TCP/IP model does TCP and UDP belong? - Correct Answer ✔️ ✔Transport Layer What layer of the TCP/IP model does ICMP belong? - Correct Answer ✔️ ✔Internet Layer What does the Application Layer define? - Correct Answer ✔ ️ ✔ Does not define the applications itself, but it defines services that