题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-11-25 01:30:21

[多项选择] 看下面关于switch的语句  switch(exp1 ) { }  表达式exp1可以是()类型 
A. int
B. char
C. byte
D. String

更多"看下面关于switch的语句  switch(exp1&en"的相关试题:

[单项选择] On a Company switch named R1 you configure the following:  iparp inspection vlan 10-12, 15   What is the purpose of this global configuration command made on R1?()
A.  Discards ARP packets with invalid IP-to-MAC address bindings on trusted ports
B.  Validates outgoing ARP requests for interfaces configured on VLAN 10, 11, 12, or 15
C.  Intercepts, logs, and discards ARP packets with invalid IP-to-MAC address bindings
D.  Intercepts all ARP requests and responses on trusted ports
E.  None of the other alternatives apply
[单项选择] A new Company switch was just configured using the "switchport trunk native vlan 7" command.   What does this interface command accomplish?()
A.  Causes the interface to apply ISL framing for traffic on VLAN 7
B.  Configures the trunking interface to forward traffic from VLAN 7
C.  Configures the interface to be a trunking port and causes traffic on VLAN 7 to be 802.1q tagged
D.  Configures the trunking interface to send traffic from VLAN 7 untagged
E.  None of the other alternatives apply
[单项选择] A Cisco switch has this configuration for a port channel connecting to an ESXi using dual NICs and is intended for use with an N1Kv.  Interface fastethernet 1/10  Switchport mode trunk  Switchport trunk allowed vlan all  Channel-group 10 mode on  No shut  Interface fastethernet 1/11   Switchport mode trunk  Switchport trunk allowed vlan all  Channel-group 10 mode on  No shut  Interface port-channel 10   Switchport mode trunk  Switchport allowed vlan all No shut  Which Port Channel configuration must be used on the Nexus 1000v port-profile?()
A.  MAC pinning
B.  Cisco Discovery Protocol pinning
C.  Mode On
D.  Mode Active
E.  No port channel configuration
[单项选择] A Company switch was configured as shown below:  switchport mode access  switchport port-security   switchport port-security maximum 2 switchport port-security mac-address 0002.0002.0002   switchport port-security violation shutdown   Given the configuration output shown above,  what happens when a host with the MAC address of  0003.0003.0003 is directly connected to the switch port? ()
A.  The host will be allowed to connect.
B.  The port will shut down.
C.  The host can only connect through a hub/switch where 0002.0002.0002 is already connected.  
D.  The host will be refused access.
E.  None of the other alternatives apply
[单项选择] On switch R1 you issue the "udld enable" global command.  What does this command accomplish? ()
A.  Enables all fiber-optic LAN ports for Unidirectional LINK Detection (UDLD)
B.  Enables all copper media LAN ports Unidirectional Link Detection (UDLD)
C.  Overrides the default UDLS setting for all ports
D.  Globally enables all ports on the device for Unidirectional Link Detection (UDLS)
E.  None of the other alternatives apply
[单项选择] A switch that is to be added to the production network has been preconfigured (trunks, VLANs, VTP, and STP) and was tested in your lab. After installing the switch into the network, the entire network went down.  What might explain what happened? ()
A. The new switch happened to be running Cisco Catalyst operating system, while the other network switches were running Cisco IOS Software.
B. The configuration revision of the new switch was higher than the configuration revision of the production VTP domain.
C. The link costs on the new switch are set to a high value, causing all ports on the new switch to go into a forwarding mode and none into blocking mode, thereby causing a spanning-tree loop.
D. The ports connecting to the two switches have been configured incorrectly. One side has the command switchport mode access and the other switchport mode trunk.
[单项选择] A switch port on TK1 is being configured to support 802.1Q trunking.  Which of the following are true about 802.1Q trunking?()
A. Both switches must be in the same VTP domain.
B. The encapsulation type of both ends of the trunk does not have to match.
C. The native VLAN on both ends of the trunk must be VLAN 1.
D. 802.1Q trunking can only be configured on a Layer 2 port.
E. In 802.1Q trunking, all VLAN packets are tagged on the trunk link, except the native VLAN.
[单项选择] switch (i) {  default:   System.out.printIn(“Hello”);   }  What is the acceptable type for the variable i?()  
A.  Byte
B.  Long
C.  Float
D.  Double
E.  Object
F.  A and B
G.  C and D
[多项选择] switch (i)  {  default:  System.out.printIn(“Hello”);  )   What are the two acceptable types for the variable i?()  
A.  Char
B.  Byte
C.  Float
D.  Double
E.  Object
[单项选择] Switch R1 has been configured with the root guard feature.  What statement is true if the spanning  tree enhancement Root Guard is enabled? ()
A.  If BPDUs are not received on a non-designated port, the port is moved into the STP loop- inconsistent blocked state
B.  IF BPDUs are received on a PortFast enabled port, the port is disabled.
C.  If superior BPDUs are received on a designated port, the interface is placed into the root- inconsistent blocked state.
D.  If inferior BPDUs are received on a root port, all blocked ports become alternate paths to the  root bride.
[多项选择] When the Catalyst switch R1 is enabled to use VTP,  which information does it advertise on its  trunk ports?()
A.  VTP mode
B.  STP root status
C.  Negotiation status
D.  Management domain
E.  Configuration revision number
[多项选择] Switch R1 is configured with VTP.  Which two VTP modes will make R1 capable of creating and  deleting VLANs on itself? ()
A.  Client
B.  Server
C.  Transparent
D.  Pass-through
E.  No-negotiate
[单项选择] 研究下面的Java代码:  switch (x) {  case 1:  System.out.println(1);  case 2:  case 3:  System.out.println(3);  case 4:  System.out.println(4); }  当x=2时,运行结果是()。 
A. 没有输出任何结果
B. 输出结果为3
C. 输出结果是3和4
D. 输出结果是1、3和4
[多项选择] On a 3550 EMI switch,  which three types of interfaces can be used to configure HSRP? ()
A.  Loopback interface
B.  SVI interfac
C.  Routed port
D.  Access port
E.  EtherChannel port channel
F.  BVI interface
[多项选择] hostname Switch1  interface Vlan10  ip address 172.16.10.32 255.255.255.0  no ip redirects  standby 1 ip 172.16.10.110  standby 1 timers 1 5  standby 1 priority 130  hostname Switch2  interface Vlan10  ip address 172.16.10.33 255.255.255.0  no ip redirects  standby 1 ip 172.16.10.110  standby 1 timers 1 5  standby 1 priority 120  HSRP was implemented and configured on two switches while scheduled network maintenance was performed.  After the two switches have finished rebooting, you notice via show commands that Switch2 is the HSRP active router.  Which two items are most likely the cause of Switch1 not becoming the active router? ()
A. premption is disabled
B. standby group number does not match VLAN number
C. IP addressing is incorrect
D. IP redirect is disabled
E. incorrect standby timers
F. booting delays

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码