Virtual Lans(Networking ) Questions and Answers

Question 1. Which protocol reduces administrative overhead in a switched network by allowing the configuration of a new VLAN to be distributed to all the switches in a domain?
  1.    STP
  2.    VTP
  3.    DHCP
  4.    ISL
Explanation:-
Answer: Option B. -> VTP
Virtual Trunk Protocol (VTP) is used to pass a VLAN database to any or all switches in the switched network. The three VTP modes are server, client, and transparent.

Question 2. Which of the following is true regarding VLANs?
  1.    You must have at least two VLANs defined in every Cisco switched network.
  2.    All VLANs are configured at the fastest switch and, by default, propagate this information to all other switches.
  3.    You should not have more than 10 switches in the same VTP domain.
  4.    VTP is used to send VLAN information to switches in a configured VTP domain.
Explanation:-
Answer: Option D. -> VTP is used to send VLAN information to switches in a configured VTP domain.
Switches do not propagate VLAN information by default; you must configure the VTP domain. VLAN Trunk Protocol (VTP) is used to propagate VLAN information across a trunked link.

Question 3. Which of the following is true regarding VTP?
  1.    All switches are VTP servers by default.
  2.    All switches are VTP transparent by default.
  3.    VTP is on by default with a domain name of Cisco on all Cisco switches.
  4.    All switches are VTP clients by default.
Explanation:-
Answer: Option A. -> All switches are VTP servers by default.
All Cisco switches are VTP servers by default. No other VTP information is configured on a Cisco switch by default. You must set the VTP domain name on all switches to be the same domain name or they will not share the VTP database.

Question 4. Which command will configure a switch port to use the IEEE standard method of inserting VLAN membership information into Ethernet frames?
  1.    Switch(config)# switchport trunk encapsulation isl
  2.    Switch(config)# switchport trunk encapsulation ietf
  3.    Switch(config)# switchport trunk encapsulation dot1q
  4.    Switch(config-if)# switchport trunk encapsulation isl
Explanation:-
Answer: Option A. -> Switch(config)# switchport trunk encapsulation isl
If you are on a 2950 switch, then the interface command is just switchport mode trunk, since the 2950 can only run the IEEE 802.1Q version. However, a 3550 can run both ISL and 802.1Q, so you must use the encapsulation command. The argument to choose 802.1Q for a trunking protocol is dot1q.

Question 5. Which of the following commands sets a trunk port on a 2960 switch?
  1.    trunk on
  2.    trunk all
  3.    switchport trunk on
  4.    switchport mode trunk
Explanation:-
Answer: Option D. -> switchport mode trunk
To set a switch port to trunk mode, which allows all VLAN information to pass down the link, use the switchport mode trunk command.

Question 6. Which of the following provide inter-switch VLAN communication?
1. ISL
2. VTP
3. 802.1Q
4. 802.3Z
  1.    2 only
  2.    1 and 3
  3.    2 and 4
  4.    2, 3 and 4
Explanation:-
Answer: Option B. -> 1 and 3
ISL is a Cisco-proprietary frame-tagging method. IEEE 802.1Q is the nonproprietary version of frame tagging.

Question 7. Which of the following protocols are used to configure trunking on a switch?
1. VLAN Trunk Protocol
2. VLAN
3. 802.1Q
4. ISL
  1.    1 only
  2.    3 only
  3.    3 and 4
  4.    1, 3 and 4
Explanation:-
Answer: Option C. -> 3 and 4
Cisco has a proprietary trunking protocol called ISL. The IEEE version is 802.1Q.

Question 8. What VTP mode allows you to change VLAN information on the switch?
  1.    Client
  2.    STP
  3.    Server
  4.    Transparent
Explanation:-
Answer: Option C. -> Server
Only in server mode can you change VTP information on a switch.

Question 9. Which of the following are benefits of VLANs?
1. They increase the size of collision domains.
2. They allow logical grouping of users by function.
3. They can enhance network security.
4. They increase the size of broadcast domains while decreasing the number of collision domains.
5. They simplify switch administration.
6. They increase the number of broadcast domains while decreasing the size of the broadcast domains.
  1.    1 and 5
  2.    2 and 4
  3.    1, 3 and 5
  4.    2, 3 and 6
Explanation:-
Answer: Option D. -> 2, 3 and 6
VLANs break up broadcast domains in a switched layer 2 network, which means smaller broadcast domains. They allow configuration by logical function instead of physical location and can create some security if configured correctly.

Question 10. A switch has been configured for three different VLANs: VLAN2, VLAN3, and VLAN4. A router has been added to provide communication between the VLANs. What type of interface is necessary on the router if only one connection is to be made between the router and the switch?
  1.    10Mbps Ethernet
  2.    56Kbps Serial
  3.    100Mbps Ethernet
  4.    1Gbps Ethernet
Explanation:-
Answer: Option C. -> 100Mbps Ethernet
Although you can use either 100Mbps or 1Gbps Ethernet, the 100Mbps is necessary at a minimum and is the best answer to this question. You need to trunk the link from the switch to the router to make this connection work with inter-VLAN communication.