HCIA Datacom Ethernet Switching Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 23 | Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which layer of the OSI model does Ethernet switching operate at?

Explanation

Ethernet switches operate at Layer 2, the Data Link layer. They examine MAC addresses in Ethernet frames to learn which devices are connected to each port and forward frames to the appropriate destination port.

Submit
Please wait...
About This Quiz
HCIA Datacom Ethernet Switching Quiz - Quiz

Test your knowledge of Ethernet switching fundamentals essential for Huawei HCIA Datacom certification. This quiz covers VLAN configuration, spanning tree protocol, MAC learning, switch ports, and layer 2 switching concepts. Ideal for networking professionals preparing for entry-level Huawei certifications or those building foundational datacom expertise.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What does VLAN stand for?

Explanation

VLAN stands for Virtual Local Area Network. It is a logical grouping of devices on a physical network, allowing them to communicate as if they were on the same LAN, even when separated physically. VLANs help organize traffic, improve security, and reduce unnecessary broadcasts without requiring separate physical network hardware.

Submit

3. What is the primary function of a switch in a local area network?

Explanation

A switch connects devices within a local area network and forwards Ethernet frames to the appropriate destination. It learns which devices are reachable through each port by examining their MAC addresses, then uses that information to send frames only where they need to go. Routing packets between different networks is typically handled by a router.

Submit

4. Spanning Tree Protocol (STP) prevents which of the following network issues?

Explanation

STP prevents switching loops by disabling redundant paths in a network. Without this protection, frames can circulate indefinitely, causing broadcast storms that consume network bandwidth and disrupt connectivity.

Submit

5. What is the default VLAN ID on most Huawei switches?

Explanation

On most Huawei switches, VLAN 1 is created by default, and ports belong to it unless they are configured otherwise. VLAN 0 is reserved for priority-tagged frames, while VLANs 100 and 254 are ordinary VLAN IDs that must be configured as needed.

Submit

6. Which of the following is a characteristic of a trunk port?

Explanation

A trunk port transports traffic from multiple VLANs over a single link. VLAN tags identify which VLAN each frame belongs to, allowing connected switches or network devices to keep the traffic separated.

Submit

7. Which of the following best describes port security in switching?

Explanation

Port security controls which devices can connect through a switch port by limiting the MAC addresses permitted on it. This helps prevent unauthorized devices from accessing the network and can trigger protective actions if an unapproved MAC address is detected.

Submit

8. What does RSTP stand for?

Explanation

RSTP stands for Rapid Spanning Tree Protocol. It is a networking protocol that prevents Layer 2 loops by managing redundant paths between switches. Compared with the original Spanning Tree Protocol, RSTP can restore connectivity more quickly when a network link fails.

Submit

9. What is the primary advantage of using VLANs in a network?

Explanation

VLANs logically divide a physical network into separate broadcast domains. This limits unnecessary traffic, improves performance, and helps isolate devices or departments, making it easier to apply security policies and restrict access between network segments.

Submit

10. In STP, which port role prevents forwarding of frames?

Explanation

A blocked port does not forward data frames, helping prevent switching loops in the network. It can still receive and process Bridge Protocol Data Units (BPDUs) so the switch can monitor the topology and respond if network conditions change.

Submit

11. Which protocol is used to carry multiple VLAN traffic over a single link?

Explanation

IEEE 802.1Q adds VLAN tags to Ethernet frames, identifying which VLAN each frame belongs to. This lets a single trunk link carry traffic for multiple VLANs between switches or other network devices. RSTP prevents switching loops, IGMP manages multicast group membership, and LACP bundles links.

Submit

12. What happens when a switch receives a frame with an unknown destination MAC address?

Explanation

A switch checks its MAC address table to determine which port leads to the destination. If the destination MAC address is unknown, the switch floods the frame out all ports except the one it arrived on. This gives the destination a chance to receive it, while the switch can learn the sender’s MAC address from the frame.

Submit

13. Which STP state allows a port to learn MAC addresses but not forward frames?

Explanation

In the Learning state, a switch port builds its MAC address table by examining incoming frames, but it does not forward user traffic. This helps the switch prepare to forward frames safely once the port transitions to the Forwarding state.

Submit

14. A MAC address consists of ____ hexadecimal digits.

Explanation

A standard MAC address is a 48-bit identifier used to identify a network interface. Since each hexadecimal digit represents four bits, a 48-bit address requires 12 hexadecimal digits. These digits are commonly written as six pairs, often separated by colons or hyphens, such as 00:1A:2B:3C:4D:5E. This format represents the address compactly and consistently.

Submit

15. A switch port in access mode belongs to a ____ VLAN.

Explanation

An access-mode switch port is assigned to one VLAN and typically carries traffic for that VLAN only. Devices connected to it send and receive untagged Ethernet frames, while the switch associates those frames with the configured VLAN. Unlike a trunk port, an access port does not carry traffic for multiple VLANs at the same time.

Submit

16. In Ethernet, a collision occurs when two devices transmit ____ simultaneously.

Explanation

In traditional shared Ethernet, devices use the same communication medium. If two devices begin transmitting at the same time, their signals interfere, causing a collision. The data being transmitted by each device is organized into units called frames, so the collision involves two frames.

Submit

17. The STP root bridge is determined by the lowest ____ value.

Explanation

STP selects the root bridge by comparing bridge priorities. The bridge with the lowest priority value is preferred; if priorities tie, the bridge ID is used to break the tie.

Submit

18. A switch uses ____ switching to forward frames with minimal latency.

Explanation

Cut-through switching begins forwarding a frame as soon as the switch reads its destination MAC address. It does not wait for the entire frame to arrive, which minimizes latency. However, because it forwards before checking the frame’s full integrity, it may also pass along corrupted frames.

Submit

19. What is the maximum frame size for standard Ethernet?

Explanation

A standard Ethernet frame can be at most 1,518 bytes, counting the 14-byte header, payload (up to 1,500 bytes), and 4-byte frame check sequence (FCS). The preamble and start-frame delimiter are transmitted separately and are not included in this size limit. Thus, 1,518 bytes is the maximum among the choices.

Submit

20. In a switch, the MAC address table is used to map MAC addresses to ____.

Explanation

A switch’s MAC address table records which devices are reachable through each switch port. When a frame arrives, the switch checks the destination MAC address in the table and forwards the frame through the associated port, helping deliver traffic efficiently.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which layer of the OSI model does Ethernet switching operate at?
What does VLAN stand for?
What is the primary function of a switch in a local area network?
Spanning Tree Protocol (STP) prevents which of the following network...
What is the default VLAN ID on most Huawei switches?
Which of the following is a characteristic of a trunk port?
Which of the following best describes port security in switching?
What does RSTP stand for?
What is the primary advantage of using VLANs in a network?
In STP, which port role prevents forwarding of frames?
Which protocol is used to carry multiple VLAN traffic over a single...
What happens when a switch receives a frame with an unknown...
Which STP state allows a port to learn MAC addresses but not forward...
A MAC address consists of ____ hexadecimal digits.
A switch port in access mode belongs to a ____ VLAN.
In Ethernet, a collision occurs when two devices transmit ____...
The STP root bridge is determined by the lowest ____ value.
A switch uses ____ switching to forward frames with minimal latency.
What is the maximum frame size for standard Ethernet?
In a switch, the MAC address table is used to map MAC addresses to...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!