Computer Networks Questions & Answers – VLAN

This set of Computer Networks Multiple Choice Questions & Answers (MCQs) focuses on “VLAN”.

1. Physical partitioning of a switch can create virtual local area networks.
a) True
b) False
View Answer

Answer: b
Explanation: Virtual local area networks can be created by dividing the switch logically. Virtual local area networks reduce the number of devices as they use a single switch for multiple local area networks.

2. Which of the following cannot be considered as characteristic to create virtual local area networks using switch?
a) Port numbers of the switch
b) IP addresses of the stations
c) Port numbers of the stations
d) MAC addresses of the stations
View Answer

Answer: c
Explanation: Port number of a station cannot be considered as a characteristic to partition a switch, because a single station may have multiple port. Remaining all characteristics are unique to identify each station individually.

3. Which method(s) can be used to establish communication between two different virtual area networks?
a) TDM
b) Frame tagging and table maintenance
c) Frame tagging and TDM
d) TDM, frame tagging and table maintenance
View Answer

Answer: d
Explanation: Communication between two virtual area networks can be possible using a router or backbone switch. When back bone switch is used, then any one of the three methods can be used to establish communication between different VLANs.

4. Why is it important to add VLAN identifiers to the frames when they move from one VLAN to another VLAN?
a) To identify which VLAN they belong to
b) To identify which switch they belong to
c) To identify which host they belong to
d) To identify which router they belong to
View Answer

Answer: a
Explanation: Generally, no host knows to which VLAN it belongs to and it is the switch who takes the responsibility of tagging VLAN identifiers to frames. Before placing a packet on the trunk link, the packet should have VLAN identifier to be identified uniquely.

5. What can be achieved by partitioning the whole local area network into virtual local area networks?
a) Security and cost reduction
b) Security, cost reduction, efficiency and application management
c) Efficiency and application management
d) Security, cost reduction and efficiency
View Answer

Answer: b
Explanation: Main purpose of VLANs is providing security. Along with security it reduces the cost by reducing usage of many devices, improves efficiency and it makes application easy to maintain.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. Which of the following is a disadvantage of virtual local area network?
a) Division of domains
b) Adds security
c) Latency reduction
d) VLAN hooping
View Answer

Answer: d
Explanation: In VLAN hooping an attacker can access all the VLANs. The attacker gets the access by penetrating other VLANs with traffic. There are two ways to do this hooping, they are switch spoofing and double tagging.

7. What is the normal virtual area network range?
a) VLAN 2-1001
b) VLAN 0-4095
c) VLAN 1002-1005
d) VLAN 1006-4094
View Answer

Answer: a
Explanation: VLAN 2-1001 is a normal range where we can create the VLANs. These VLANs are editable means we can create, delete and update. Actually 1-4094 is the complete valid range to create the VLANs.

8. Which VLAN receives a frame that does not contain a VLAN tag?
a) Data VLAN
b) Management VLAN
c) Default VLAN
d) Native VLAN
View Answer

Answer: d
Explanation: When a switch encounters a frame without a VALN tag, then it routes the frame to the native VLAN. Basically, a native VLAN is VLAN1. But it is not advisable to let the VLAN1 be a native VLAN.

9. In how many ways stations can be configured to be grouped into different virtual local area networks?
a) Manual and semi-automatic configuration
b) Manual and automatic configuration
c) Automatic, manual and semi-automatic
d) Automatic and semi-automatic
View Answer

Answer: c
Explanation: VLAN configuration uses VLAN software and in that software, if we type all the addresses then it is manual. If a particular criterion is used to create the VLAN then it is automatic. In semi-automatic, we use manual configuration only for initializing.

10. How many bits are required to represent a virtual local area network identifier in an ethernet frame?
a) 16 bits
b) 12 bits
c) 12 bytes
d) 2 bytes
View Answer

Answer: b
Explanation: VLAN identifier occupies 12 bits in a frame tag to be distinguished from other VLANs. A tag field is present in between a source MAC address and ethernet type in the ethernet frame. This tag contains VLAN identifier.

Sanfoundry Global Education & Learning Series – Computer Networks.

To practice all areas of Computer Networks, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.