A computer is connected directly to a switch port that is configured as an access port. Which description best explains how that port carries traffic?
1 VLANs and Access Ports Online Quiz Questions
Use this free practice quiz with 20 questions to review 1 VLANs and Access Ports, test your knowledge, and prepare for your next test or exam.
On the example switch, GigabitEthernet1/0/3-4 connect guest computers and should be access ports in VLAN 20. Which command assigns the interface range to VLAN 20?
- A
switchport mode access - B
switchport access vlan 10 - C
switchport access vlan 20 - D
switchport mode trunk
A staff computer in VLAN 10 needs to communicate with a guest computer in VLAN 20. What network function is required for traffic to pass between them?
- A
Add a router or Layer 3 switch to route traffic between the VLANs.
- B
Put both devices on the same physical switch; that is sufficient.
- C
Change both ports to access mode; that enables routing.
- D
Use
show vlan briefto enable communication between the VLANs.
You need to check whether GigabitEthernet1/0/1 is in access mode and which access VLAN it uses. Which command is the most direct check?
- A
show vlan brief - B
copy running-config startup-config - C
show running-config - D
show interfaces GigabitEthernet1/0/1 switchport
Select all commands that can help verify the example switch's VLAN membership or an interface's access-port settings.
- A
Use
show vlan briefto check VLANs and their listed access ports. - B
Use
show interfaces GigabitEthernet1/0/1 switchportto inspect that port's mode and access VLAN. - C
Use
copy running-config startup-configto display VLAN membership. - D
Use
show vlan briefto determine whether inter-VLAN routing is configured.
Select all statements consistent with testing whether two endpoints in VLAN 10 can communicate.
- A
The endpoints are active, in the same VLAN and IP subnet, and host firewalls and other settings allow communication.
- B
The endpoints are in different VLANs, which guarantees direct Layer 2 communication.
- C
The switch port is up and the endpoint is connected to the expected port.
- D
The endpoints are in the same VLAN, so their IP settings do not matter.
True or false: VLAN membership by itself should be treated as a substitute for security controls.
- A
True
- B
False
True or false: Two active endpoints in the same VLAN and IP subnet should generally be able to communicate if their host firewalls and other network settings allow it.
- A
True
- B
False
In the example topology, what VLAN number is assigned to the guest computers?
What complete command does the example use to save the running configuration to startup configuration?
A staff computer in VLAN 10 and a guest computer in VLAN 20 are correctly connected to their assigned access ports but cannot communicate. Explain why VLAN membership alone is not enough and what is needed for communication between them.
A computer is connected to a switch port configured as an access port. Which description best matches the role of that port?
- A
It carries traffic for all VLANs on the switch.
- B
It carries traffic for one VLAN and is typically used for an end device.
- C
It routes traffic between VLANs.
- D
It creates a separate physical network for each VLAN.
A team wants to logically separate groups of devices that are connected to the same physical switch. Which VLAN function supports this goal?
- A
They ensure every device uses a separate physical switch.
- B
They assign IP addresses to all connected devices.
- C
They divide a switched network into separate Layer 2 broadcast domains.
- D
They automatically route traffic between separate IP subnets.
A device in VLAN 10 needs to communicate with a device in VLAN 20. What network function is required for communication between the VLANs?
- A
A router or Layer 3 switch must route traffic between them.
- B
The devices must be connected to the same physical switch.
- C
Both ports must be configured as access ports in their respective VLANs.
- D
The switch must assign both devices to the same VLAN.
You have entered interface configuration for an endpoint-facing port and set it to access mode. Which Cisco IOS/IOS XE-style command assigns that port to VLAN 20?
- A
switchport mode access 20 - B
vlan access 20 - C
switchport vlan 20 - D
switchport access vlan 20
Two active endpoints are in the same VLAN and IP subnet. They should generally be able to communicate, assuming their host firewalls and other network settings allow it.
- A
True
- B
False
In Cisco IOS/IOS XE-style interface configuration, what command sets a switch port to access mode?
Which Cisco IOS/IOS XE-style command checks the switchport mode and access VLAN for interface GigabitEthernet1/0/1?
From global configuration, complete the commands to create VLAN 30 and name it OPERATIONS:
Switch(config)#
Switch(config-vlan)#
An administrator has just named VLAN 30 and wants to create VLAN 40 next. Complete the command that returns to global configuration so the following command is valid:
Switch(config)# vlan 30
Switch(config-vlan)# name OPERATIONS
Switch(config-vlan)#
Switch(config)# vlan 40
Related study packs and tools
- Quiz
1 Network Troubleshooting Method
A medium-difficulty quiz on applying a disciplined network troubleshooting workflow: defining symptoms, gathering evidence, testing hypotheses, verifying fixes, and documenting outcomes.
- Quiz
1 Networking Fundamentals
A medium-difficulty quiz on networking fundamentals, including communication roles, protocol layers, data units, and network models.
CompTIA A+ NetworkingUpdated - Quiz
2 Cabling and Physical Connectivity
A medium-difficulty quiz on diagnosing cabling and physical connectivity faults, interpreting symptoms, and selecting appropriate tests.
- Flashcards
2 Protocols and Ports
Review how TCP and UDP work, what common network ports indicate, and how to interpret port clues cautiously.
CompTIA A+ NetworkingUpdated - Quiz
2 Protocols and Ports
A medium-difficulty quiz on interpreting network protocols, ports, and common traffic patterns.
CompTIA A+ NetworkingUpdated - Quiz
3 Accessories and Peripheral Devices
A medium-difficulty quiz on selecting, connecting, configuring, and troubleshooting laptop accessories and peripheral devices.
CompTIA A+ Mobile DevicesUpdated - Quiz
5 Network Operations and Reliability
A medium-difficulty quiz on network operations, monitoring, configuration management, resilience, and recovery planning.
- Quiz
5 Network Services and Name Resolution
A medium-difficulty quiz on diagnosing DHCP, DNS, and network-service problems, progressing from core concepts to multi-step troubleshooting.
- Quiz
6 Diagnosing Network Problems
A medium-difficulty quiz on diagnosing network problems by testing systematically, interpreting evidence, and narrowing down likely causes.
- Quiz
6 SOHO Network Setup and Troubleshooting
A medium-difficulty quiz on setting up, securing, and troubleshooting a small-office/home-office network.
CompTIA A+ NetworkingUpdated - Study guide
7 Integrated Troubleshooting Practice
A practical workflow for isolating mixed hardware, display, storage, mobile-device, and network problems, protecting data, and verifying repairs.
- Study guide
8 Comprehensive Security+ Practice and Review
A scenario-focused guide to Security+ SY0-701 concepts, emphasizing evidence-based incident response, access control, cryptography, vulnerability handling, recovery objectives, and risk governance.