A. 20
B. 100
C. 170
D. 200
第1题:
publicclassSwitchTest{publicstaticvoidmain(String[]args){System.out.println(value=+switchIt(4));}publicstaticintswitchIt(intx){intj=1;switch(x){case1:j++;case2:j++;case3:j++;case4:j++;case5:j++;default:j++;}returnj+x;}}Whatistheresult?()
A.value=3
B.value=4
C.value=5
D.value=6
E.value=7
F.value=8
第2题:
A system is experiencing packet routing problems,when the administrator runs ‘netstat -nr‘ the following default routes are displayed: default165.253.251.1UG51601304 en8--default 192.168.50.1UGH01590450 en4-- Assuming the first route is correct.How can the administrator remove the incorrect default route?()
A.route delete default 192.168.50.1
B.access smit with the route_remove shortcut
C.chdev -l inet0 -a delroute=net,-hopcount,0,,192.168.50.1
D.flush the routing table from the console and configuring the 165.253.251.1 route
第3题:
A.在静态路由中,Iproute-static default-preference命令用来在当前路由器生成一条缺省路由。
B.在RIP协议中,default-route originate命令用来在当前路由器生成一条缺省路由或者将路由表中存在的缺省路由发送给邻居
C.在OSPF协议中,default-route-advertise命令用来将缺省路由通告到普通OSPF区域中
D.在BGP协议中,default-route importd命令来使能将缺省路由引入到BGP路由表中的功能
第4题:
publicclassSwitchTest{publicstaticvoidmain(Stringargs){System.out.PrintIn(value=”+switchIt(4));}publicstaticintswitchIt(intx){intj=1;switch(x){case1:j++;case2:j++;case3:j++;case4:j++;case5:j++;default:j++;}returnj+x;}}Whatistheoutputfromline3?()
A.Value=3
B.Value=4
C.Value=5
D.Value=6
E.Value=7
F.Value=8
第5题:
Asystemisexperiencingpacketroutingproblems,whentheadministratorruns’netstat-nr’thefollowingdefaultroutesaredisplayed:default165.253.251.1UG51601304en8--default192.168.50.1UGH01590450en4--Assumingthefirstrouteiscorrect,howcantheadministratorremovetheincorrectdefaultroute?()
A.routedeletedefault192.168.50.1
B.accesssmitwiththeroute_removeshortcut
C.chdev-linet0-adelroute=net,-hopcount,0,,192.168.50.1
D.flushtheroutingtablefromtheconsoleandconfiguringthe165.253.251.1route
第6题:
A.在BGP选路规则中,Preference-Value的优先级要高于Local-Preference,即优先比较Prefrred-Value
B.BGP路由Local-Preference的缺省值是100
C.BGPLocal-Preference通常在选路规则策略中用于控制数据流如何入AS
D.在BGP选路规则中,MED的优先级要高于Local-Preference即优先比较MED