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
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
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
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
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
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.
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
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
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
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
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
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.
- Check Computer Network Books
- Practice MCA MCQs
- Practice Computer Science MCQs
- Apply for Computer Science Internship
- Check Computer Science Books