Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
The CCNA bank

2.1

Configure and verify VLANs

45 questions with the answer marked and the reasoning under it, and 12 labs and activities.

Labs and activities

  • 1.3.1.3 Packet Tracer - Skills Integration ChallengePacket Tracer8 min.pka
  • 6.1.1.5 Packet Tracer - Who Hears the Broadcast InstructionsPacket Tracer5 min.pka
  • 6.1.2.7 Packet Tracer - Investigating a VLAN Implementation InstructionsPacket Tracer5 min.pka
  • 6.2.1.7 Packet Tracer - Configuring VLANs InstructionsPacket Tracer12 min.pka
  • 6.2.3.7 Packet Tracer - Troubleshooting a VLAN Implementation - Scenario 1 InstructionsPacket Tracer5 min.pka
  • 8.3.1.2 Packet Tracer - Skills Integration Challenge InstructionsPacket Tracer5 min.pka
  • 6.2.2.5 Lab - Configuring VLANs and TrunkingLab40 min
  • Lab 11: Configuring Advanced Static Switch Access Port SecurityLab5 min
  • Lab 5: Configuring Standard VLANs on Catalyst SwitchesLab9 min
  • Lab 63: Configuring Extended VLANs on Cisco Catalyst SwitchesLab12 min
  • Lab 69: Assigning Multiple Instances to a VLAN SimultaneouslyLab7 min
  • Lab 120: Configuring VLANsTutorial16 min

Questions and answers

  1. 1. Which two devices allow hosts on different VLANs to communicate with each other (Choose two.)

    • Layer 3 switch(correct)
    • repeater
    • router(correct)
    • hub
    • Layer 2 switch

    Routing and Switching Essentials 6.3.1 Inter-VLAN Routing Operation Members of different VLANs are on separate networks. For devices on separate networks to be able to communicate, a Layer 3 device, such as a router or Layer 3 switch, is necessary.

  2. 2. What is the purpose of setting the native VLAN separate from data VLANs?

    • The native VLAN is for routers and switches to exchange their management information,
    • so it should be different from data VLANs.
    • A separate VLAN should be used to carry uncommon untagged frames to avoid(correct)
    • bandwidth contention on data VLANs.
    • The security of management frames that are carried in the native VLAN can be
    • enhanced.
    • The native VLAN is for carrying VLAN management traffic only.

    Routing and Switching Essentials 6.1.1 Overview of VLANs When a Cisco switch trunk port receives untagged frames (unusual in well-designed networks), it forwards these frames to the native VLAN. When the native VLAN is moved away from data VLANs, those untagged frames will not compete for bandwidth in the data VLANs. The native VLAN is not designed for carrying management traffic, but rather it is for backward compatibility with legacy LAN scenarios.

  3. 3. A network administrator configures the port security feature on a switch. The security policy specifies that each access port should allow up to two MAC addresses. When the maximum number of MAC addresses is reached, a frame with the unknown source MAC address is dropped and a notification is sent to the syslog server. Which security violation mode should be configured for each access port?

    • restrict(correct)
    • protect
    • warning
    • shutdown

    Restrict drops frames and sends syslog/SNMP notification without shutting port

  4. 4. Which two statements are true about VLAN implementation? (Choose two.)

    • The network load increases significantly because of added trunking information.
    • Devices in one VLAN do not hear the broadcasts from devices in another VLAN.(correct)
    • The size of the collision domain is reduced.
    • VLANs logically group hosts, regardless of physical location.(correct)
    • The number of required switches in a network decreases.

    VLANs separate broadcast domains and group hosts logically.

  5. 5. What is a basic function of the Cisco Borderless Architecture distribution layer?

    • acting as a backbone
    • aggregating all the campus blocks
    • aggregating Layer 3 routing boundaries(correct)
    • providing access to end user devices

    One of the basic functions of the distribution layer of the Cisco Borderless Architecture is to perform routing between different VLANs. Acting as a backbone and aggregating campus blocks are functions of the core layer. Providing access to end user devices is a function of the access layer.

  6. 6. What happens to a port that is associated with VLAN 10 when the administrator deletes VLAN 10 from the switch?

    • The port becomes inactive.(correct)
    • The port goes back to the default VLAN.
    • The port automatically associates itself with the native VLAN.
    • The port creates the VLAN again.

    Ports in a deleted VLAN become inactive until reassigned

  7. 7. In a basic VLAN hopping attack, which switch feature do attackers take advantage of?

    • an open Telnet connection
    • automatic encapsulation negotiation
    • forwarding of broadcasts
    • the default automatic trunking configuration(correct)

    Basic VLAN hopping exploits default dynamic auto/desirable trunking

  8. 8. What is the effect of issuing a switchport access vlan 20 command on the Fa0/18 port of a switch that does not have this VLAN in the VLAN database?

    • The command will have no effect on the switch.
    • VLAN 20 will be created automatically.(correct)
    • An error stating that VLAN 20 does not exist will be displayed and VLAN 20 is not
    • created.
    • Port Fa0/18 will be shut down.

    IOS auto-creates the VLAN when assigned to an access port

  9. 9. Port Fa0/11 on a switch is assigned to VLAN 30. If the command no switchport access vlan 30 is entered on the Fa0/11 interface, what will happen?

    • Port Fa0/11 will be shutdown.
    • An error message would be displayed.
    • Port Fa0/11 will be returned to VLAN 1.(correct)
    • VLAN 30 will be deleted.

    Removing the access VLAN assignment reverts the port to default VLAN 1

  10. 10. Which command is used to remove only VLAN 20 from a switch?

    • delete vlan.dat
    • delete flash:vlan.dat
    • no vlan 20(correct)
    • no switchport access vlan 20

    Global 'no vlan 20' deletes only that VLAN; delete vlan.dat removes all

  11. 11. Which two Layer 2 security best practices would help prevent VLAN hopping attacks? (Choose two.)

    • Change the native VLAN number to one that is distinct from all user VLANs and is not(correct)
    • VLAN 1.
    • Change the management VLAN to a distinct VLAN that is not accessible by regular users.
    • Statically configure all ports that connect to end-user host devices to be in trunk mode.
    • Disable DTP autonegotiation on end-user ports.(correct)
    • Use SSH for all remote management access.

    Option 1 is a wrapped continuation of option 0

  12. 12. What happens to a port that is associated with VLAN 10 when the administrator deletes VLAN 10 from the switch?

    • The port automatically associates itself with the native VLAN.
    • The port creates the VLAN again.
    • The port goes back to the default VLAN.
    • The port becomes inactive.(correct)

    Port becomes inactive when its VLAN is deleted

  13. 13. Which command is used to remove only VLAN 20 from a switch?

    • no switchport access vlan 20
    • delete flash:vlan.dat
    • no vlan 20(correct)
    • delete vlan.dat

    no vlan 20 removes just VLAN 20

  14. 14. What is the effect of issuing a switchport access vlan 20 command on the Fa0/18 port of a switch that does not have this VLAN in the VLAN database?

    • VLAN 20 will be created automatically.(correct)
    • The command will have no effect on the switch.
    • Port Fa0/18 will be shut down.
    • An error stating that VLAN 20 does not exist will be displayed and VLAN 20 is not
    • created.

    VLAN is created automatically by the access VLAN assignment

  15. 15. Which two Layer 2 security best practices would help prevent VLAN hopping attacks? (Choose two.)

    • Disable DTP autonegotiation on end-user ports.(correct)
    • Change the management VLAN to a distinct VLAN that is not accessible by regular users.
    • Statically configure all ports that connect to end-user host devices to be in trunk mode.
    • Change the native VLAN number to one that is distinct from all user VLANs and is not(correct)
    • VLAN 1.
    • Use SSH for all remote management access.

    Option 4 is a wrapped continuation of option 3 (native VLAN not VLAN 1)

  16. 16. In a basic VLAN hopping attack, which switch feature do attackers take advantage of?

    • automatic encapsulation negotiation
    • the default automatic trunking configuration(correct)
    • an open Telnet connection
    • forwarding of broadcasts

    Default automatic trunking (DTP) is exploited

  17. 17. How are IP addressing designs affected by VLAN implementations?

    • VLANs do not support VLSM.
    • VLANs do not use a broadcast address.
    • Each VLAN must have a different network number.(correct)
    • Each VLAN must have a different subnet mask.

    Each VLAN is a separate subnet/network.

  18. 18. What are three primary benefits of using VLANs? (Choose three.)

    • security(correct)
    • a reduction in the number of trunk links
    • cost reduction(correct)
    • end user satisfaction
    • improved IT staff efficiency(correct)
    • no required configuration

    Security, cost reduction, IT staff efficiency

  19. 19. Which command displays the encapsulation type, the voice VLAN ID, and the access mode VLAN for the Fa0/1 interface?

    • show vlan brief
    • show interfaces Fa0/1 switchport(correct)
    • show mac address-table interface Fa0/1
    • show interfaces trunk

    show interfaces switchport shows encapsulation, access and voice VLAN

  20. 20. What must the network administrator do to remove Fast Ethernet port fa0/1 from VLAN 2 and assign it to VLAN 3?

    • Enter the no vlan 2 and the vlan 3 commands in global configuration mode.
    • Enter the switchport access vlan 3 command in interface configuration mode.(correct)
    • Enter the switchport trunk native vlan 3 command in interface configuration mode.
    • Enter the no shutdown in interface configuration mode to return it to the default
    • configuration and then configure the port for VLAN 3.

    Explanation: There is no need to enter the no shutdown command or remove VLAN 2 using the no vlan 2 command. The switchport trunk command is not used on an access port.

  21. 21. A Cisco Catalyst switch has been added to support the use of multiple VLANs as part of an enterprise network. The network technician finds it necessary to clear all VLAN information from the switch in order to incorporate a new network design. What should the technician do to accomplish this task?

    • Erase the startup configuration and reboot the switch.
    • Erase the running configuration and reboot the switch.
    • Delete the startup configuration and the vlan.dat file in the flash memory of the switch(correct)
    • and reboot the switch.
    • Delete the IP address that is assigned to the management VLAN and reboot the switch.

    Explanation: To restore a Catalyst switch to its factory default condition, unplug all cables except the console and power cable from the switch. Then enter the erase startup-config privileged EXEC mode command followed by the delete vlan.dat command and reboot the switch.

  22. 22. Which two characteristics match extended range VLANs? (Choose two.)

    • CDP can be used to learn and store these VLANs.
    • VLAN IDs exist between 1006 to 4094.(correct)
    • They are saved in the running-config file by default.(correct)
    • VLANs are initialized from flash memory.
    • They are commonly used in small networks.

    Extended VLANs 1006-4094, stored in running-config

  23. 23. A Cisco switch currently allows traffic tagged with VLANs 10 and 20 across trunk port Fa0/5. What is the effect of issuing a switchport trunk allowed vlan 30 command on Fa0/5?

    • It allows VLANs 1 to 30 on Fa0/5.
    • It allows VLANs 10, 20, and 30 on Fa0/5.
    • It allows only VLAN 30 on Fa0/5.(correct)
    • It allows a native VLAN of 30 to be implemented on Fa0/5.

    Command without 'add' replaces the allowed list

  24. 24. What VLANs are allowed across a trunk when the range of allowed VLANs is set to the default value?

    • All VLANs will be allowed across the trunk.(correct)
    • Only VLAN 1 will be allowed across the trunk.
    • Only the native VLAN will be allowed across the trunk.
    • The switches will negotiate via VTP which VLANs to allow across the trunk.

    Explanation: By default, all VLANs, including the native VLAN and untagged traffic, are allowed across a trunk link.

  25. 25. How is traffic routed between multiple VLANs on a multilayer switch?

    • Traffic is routed via physical interfaces.
    • Traffic is routed via internal VLAN interfaces.(correct)
    • Traffic is broadcast out all physical interfaces.
    • Traffic is routed via subinterfaces.

    Multilayer switch routes via SVIs (internal VLAN interfaces).

  26. 26. What must the network administrator do to remove Fast Ethernet port fa0/1 from VLAN 2 and assign it to VLAN 3?

    • Enter the no vlan 2 and the vlan 3 commands in global configuration mode.
    • Enter the switchport access vlan 3 command in interface configuration mode.(correct)
    • Enter the switchport trunk native vlan 3 command in interface configuration mode.
    • Enter the no shutdown command in interface configuration mode to return it to the
    • default configuration and then configure the port for VLAN 3.

    Explanation: There is no need to enter the no shutdown command or remove VLAN 2 using the no vlan 2 command. The switchport trunk command is not used on an access port.

  27. 27. A network administrator issues the show vlan brief command while troubleshooting a user support ticket. What output will be displayed?

    • the VLAN assignment and membership for all switch ports(correct)
    • the VLAN assignment and trunking encapsulation
    • the VLAN assignment and native VLAN
    • the VLAN assignment and membership for device MAC addresses

    show vlan brief lists VLANs and assigned ports

  28. 28. An administrator is trying to remove configurations from a switch. After using the command erase startup-config and reloading the switch, the administrator finds that VLANs 10 and 100 still exist on the switch. Why were these VLANs not removed?

    • These VLANs cannot be deleted unless the switch is in VTP client mode.
    • These VLANs are default VLANs that cannot be removed.
    • These VLANs can only be removed from the switch by using the no vlan 10 and no vlan
    • 100 commands.
    • Because these VLANs are stored in a file that is called vlan.dat that is located in flash(correct)
    • memory, this file must be manually deleted.

    Options 4+5 wrap: VLANs stored in vlan.dat in flash, must be deleted separately.

  29. 29. What is the purpose of the vlan.dat file on a switch?

    • It holds the running configuration.
    • It holds the saved configuration.
    • It holds the VLAN database.(correct)
    • It holds the operating system.

    Explanation: The VLAN database (vlan.dat) contains information about normal range VLANs such as the VLAN number, name, and VTP mode.

  30. 30. What happens to switch ports after the VLAN to which they are assigned is deleted?

    • The ports are placed in trunk mode.
    • The ports are assigned to VLAN1, the default VLAN.
    • The ports stop communicating with the attached devices.(correct)
    • The ports are disabled.

    The affected ports must be reconfigured for an active VLAN.

  31. 31. Where is the vlan.dat file stored on a switch?

    • on the externally attached storage media or internal hard drive
    • in RAM
    • in NVRAM
    • in flash memory(correct)

    Normal range VLAN configurations are stored within a VLAN database file, called vlan.dat, which is located in the flash memory of the switch.

  32. 32. How are IP addressing designs affected by VLAN implementations?

    • Each VLAN must have a different network number.(correct)
    • VLANs do not use a broadcast address.
    • VLANs do not support VLSM.
    • Each VLAN must have a different subnet mask.

    Each VLAN requires its own network number, broadcast address, and valid IP addresses because each VLAN is a separate network. IP addressing schemes are frequently designed with the VLAN numbers as part of the design.

  33. 33. On a Cisco switch, where is extended range VLAN information stored?

    • running configuration file(correct)
    • NVRAM
    • startup configuration file
    • flash

    Extended range VLANs, 1006 through 4094, are not written to the vlan.dat file but are saved in the running configuration file.

  34. 34. What are three primary benefits of using VLANs? (Choose three.)

    • no required configuration
    • security(correct)
    • a reduction in the number of trunk links
    • cost reduction(correct)
    • improved IT staff efficiency(correct)
    • end user satisfaction

    Security, cost reduction, and improved IT staff efficiency are all benefits of using VLANs, along with higher performance, broadcast storm mitigation, and simpler project and application management. End users are not usually aware of VLANs, and VLANs do require configuration. Because VLANs are assigned to access ports, they do not reduce the number of trunk links.

  35. 35. Which two devices allow hosts on different VLANs to communicate with each other? (Choose two.)

    • repeaterhub
    • Layer 3 switch(correct)
    • Layer 2 switch
    • router(correct)

    Members of different VLANs are on separate networks. For devices on separate networks to be able to communicate, a Layer 3 device, such as a router or Layer 3 switch, is necessary.

  36. 36. Which statement describes the RSPAN VLAN?

    • The RSPAN VLAN can be used to carry secure traffic between switches.
    • The RSPAN VLAN must be the same on both the source and destination switch.(correct)
    • The RSPAN VLAN must be the same as the native VLAN.
    • The RSPAN VLAN can be used for remote management of network switches.

    Remote SPAN (RSPAN) allows source and destination ports to be in different switches. RSPAN uses two sessions. One session is used as the source and one session is used to copy or receive the traffic from a VLAN. The traffic for each RSPAN session is carried over trunk links in a user-specified RSPAN VLAN that is dedicated (for that RSPAN session) in all participating switches.

  37. 37. Which two devices allow hosts on different VLANs to communicate with each other? (Choose two.)

    • router(correct)
    • Layer 3 switch(correct)
    • repeater
    • Layer 2 switch
    • hub

    Members of different VLANs are on separate networks. For devices on separate networks to be able to communicate, a Layer 3 device, such as a router or Layer 3 switch, is necessary.

  38. 38. What protocol should be disabled to help mitigate VLAN attacks?

    • DTP(correct)
    • STP
    • CDP
    • ARP

    Explanation: Dynamic Trunking Protocol (DTP) should be disabled to mitigate VLAN hopping attacks because a threat actor can spoof DTP signaling to trick a switch port into establishing an unauthorized trunk link. Once a trunk is established, the attacker can access all VLANs on the switch. Mitigation involves disabling DTP negotiations on both access ports (by setting them to static access mode) and trunk ports (using the switchport nonegotiate command) to ensure that trunking is only enabled manually.

  39. 39. RSPAN depends on which type of VLAN?

    • RSPAN VLAN(correct)
    • default VLAN
    • native VLAN
    • black hole VLAN
    • management VLAN
    • private VLAN

    Remote SPAN (RSPAN) allows source and destination ports to be in different switches. RSPAN uses two sessions. One session is used as the source and one session is used to copy or receive the traffic from a VLAN. The traffic for each RSPAN session is carried over trunk links in a user-specified RSPAN VLAN that is dedicated (for that RSPAN session) in all participating switches.

  40. 40. A network contains multiple VLANs spanning multiple switches. What happens when a device in VLAN 20 sends a broadcast Ethernet frame?

    • All devices in all VLANs see the frame.
    • Devices in VLAN 20 and the management VLAN see the frame.
    • Only devices in VLAN 20 see the frame.(correct)
    • Only devices that are connected to the local switch see the frame.

    Explanation: VLANs create logical broadcast domains that can span multiple VLAN segments. Ethernet frames that are sent by a device on a specific VLAN can only be seen by other devices in the same VLAN.

  41. 41. A Cisco Catalyst switch has been added to support the use of multiple VLANs as part of an enterprise network. The network technician finds it necessary to clear all VLAN information from the switch in order to incorporate a new network design. What should the technician do to accomplish this task?

    • Erase the startup configuration and reboot the switch
    • Erase the running configuration and reboot the switch
    • Delete the startup configuration and the vlan.dat file in the flash memory of the switch(correct)
    • and reboot the switch(correct)
    • Delete the IP address that is assigned to the management VLAN and reboot the switch.

    Explanation: To restore a Catalyst switch to its factory default condition, unplug all cables except the console and power cable from the switch. Then enter the erase startup-config privileged EXEC mode command followed by the delete vlan.dat command and reboot the switch.

  42. 42. What VLANs are allowed across a trunk when the range of allowed VLANs is set to the default value?

    • The switches will negotiate via VTP which VLANs to allow across the trunk
    • Only VLAN 1 will be allowed across the trunk.
    • Only the native VLAN will be allowed across the trunk
    • All VLANs will be allowed across the trunk(correct)

    Explanation: By default, all VLANs, including the native VLAN and untagged traffic, are allowed across a trunk link.

  43. 43. Question 32 of 102 32. Question 1 points What VLANs are allowed across a trunk when

    • the range of allowed VLANs is set to the default value? The switches will negotiate via
    • VTP which VLANs to allow across the trunk Only VLAN 1 will be allowed across the trunk.
    • Only the native VLAN will be allowed across the trunk All VLANs will be allowed across(correct)
    • the trunk Correct Incorrect

    Default allowed VLAN range on a trunk is all VLANs 1-4094; text starts line 2

  44. 44. Question 35 of 53 35. Question 1 points RSPAN depends on which type of VLAN? RSPAN

    • VLAN default VLAN native VLAN black hole VLAN management VLAN private VLAN(correct)
    • Correct Incorrect Hint Remote SPAN (RSPAN) allows source and destination ports to be
    • in different switches. RSPAN uses two sessions. One session is used as the source and
    • one session is used to copy or receive the traffic from a VLAN. The traffic for each
    • RSPAN session is carried over trunk links in a user-specified RSPAN VLAN that is
    • dedicated (for that RSPAN session) in all participating switches.

    RSPAN requires a dedicated RSPAN VLAN

  45. 45. Question 52 of 52 52. Question 1 points Which type of traffic requires a separate VLAN,

    • strict QoS requirements, and a one-way overall delay of less than 150 ms across the
    • network? video POP/IMAP HTTP VoIP Correct Incorrect Hint VoIP traffic tends to have a(correct)
    • separate VLAN to ensure that voice quality is maintained. VoIP traffic requires the
    • following: • Assured bandwidth to ensure voice quality • Transmission priority over other
    • types of network traffic • Ability to be routed around congested areas on the network •
    • Delay of less than 150 ms across the network

    VoIP needs voice VLAN QoS and under 150 ms one-way delay; options sit on line 1