Cisco Exam Questions

On the basis of the information in the exhibit, which command sequence would correct the problem?

Refer to the exhibit. The user who is connected to interface FastEthernet 0/1 is on VLAN 10 and cannot access network resources. On the basis of the information in the exhibit, which command sequence would correct the problem?

A.
SW1(config)# interface fastethernet 0/1
SW1(config-if)# no shut

B.
SW1(config)# interface fastethernet 0/1
SW1(config-if)# switchport mode access

C.
SW1(config)# interface fastethernet 0/1
SW1(config-if)# switchport mode access
SW1(config-if)# switchport access vlan 10

D.
SW1(config)# vlan 10
SW1(config-vlan)# no shut

E.
SW1(config)# vlan 10
SW1(config-vlan)# state active