复习题chapter.docx
《复习题chapter.docx》由会员分享,可在线阅读,更多相关《复习题chapter.docx(9页珍藏版)》请在冰豆网上搜索。
复习题chapter
Chapter2ApplicationLayer
1.Inthefollowingfourdescriptions,whichoneiscorrect?
AInC/Sarchitecture,clientscommunicatewitheachotherdirectly.
BInC/Sarchitecture,clienthasafixedwell-knownaddress.
CInP2Parchitecture,peerscommunicatewitheachotherdirectly.在对等网络结构中,同行相互直接联系。
DInP2Parchitecture,peerhasafixedwell-knownaddress.
2.Inthecontextofacommunicationsessionbetweenapairofprocess,theprocessthatinitiatesthecommunicationislabeledasthe,theprocessthatwaitstobecontactedtobeginthesessionislabeledasthe.
Aclientprocess,serverprocessBsendingprocess,receivingprocess
Cinputprocess,outputprocessDcommunicatingprocess,connectingprocess
3.Asocketistheinterfacebetweenwithinahost.
Athenetworklayerandthelinklayer
Bthelinklayerandthephysicallayer
Ctheapplicationlayerandthetransportlayer
Dthetransportlayerandthenetworklayer
4.Inthefollowingapplications,whichoneisaloss-tolerantapplication?
AE-mailBfiletransferCinstantmessagingDreal-timeaudio
5.Inthefollowingapplications,whichoneisabandwidth-sensitiveapplication?
AE-mailBwebapplicationCreal-timeaudioDfiletransfer
6.TheserviceofTCPcan’tguarantee.
AdeliveryofalldatawithouterrorBdeliveryofalldataintheproperorder
CtherateofdeliveryDcongestioncontrol
7.Inthefollowingapplications,whichoneusesUDP(UserDatagramProtocol用户数据报协议)?
AE-mailBwebapplicationCfiletransferDDNSDomainNameServer,域名服务器
8.InthefollowingdescriptionsaboutHTTP(HypertextTransferProtocol),whichoneisnotcorrect?
AHTTPusesnon-persistentconnectionsinitsdefaultmode.超文本传输协议使用非持久连接的默认模式。
BHTTPusesTCPasitsunderlyingtransportprotocol.超文本传输协议使用协议作为底层传输协议
CHTTPisastatelessprotocol.是一种无状态协议
DHTTPisclient-serverarchitecture.
10.InHTTPresponsemessage,iftherequestedHTTPprotocolversionisnotsupported,thestatuscodeis.
A200B301C400D505
11.Theportnumberofwebapplicationis.
A25B20C80D53
12.AnetworkentitythatsatisfiesHTTPrequestsonthebehalfofanoriginwebserveris.
AserverfarmBserverstackCproxyserver(代理服务器)Dedgeserver
13.Inthefollowingdescriptionsaboutpersistentconnection持久连接,whichoneisnotcorrect?
ATheserverleavestheTCPconnectionopenaftersendingaresponse.
BEachTCPconnectionisclosedaftertheserversendingoneobject.
CTherearetwoversionsofpersistentconnection:
withoutpipeliningandwithpipelining.
DThedefaultmodeofHTTPusespersistentconnectionwithpipelining.
14.FTP(FileTransferProtocol文件传送[输]协议)usestwoparallelTCPconnectionstotransferafile,thereare.
Acontrolconnectionanddataconnection
Breceivingconnectionandsendingconnection
Cclientconnectionandseverconnection
Dprogramconnectionandprocessconnection
15.InthefollowingdescriptionsaboutFTP,whichoneiscorrect?
AFTPisp2parchitecture.BFTPsendsitscontrolinformationout-of-band.服务器发送的控制信息带
CFTPusespersistentconnection.DFTPisastatelessprotocol.
17.TheInternetmailsystemhasthreecomponentswhichtheyare.
Auseragent,SMTP,POP3BSMTP,POP3,IMAPInternetMessageAccessProtocol消息访问协议
Cuseragent,SMTP,IMAPDuseragent,SMTP(SimpleMessageTransferProtocol简单邮件传输协议),mailserver
18.IfthestatuscodeinHTTPresponsemessageis404,itmeans.
ARequestsucceeded.
BTherequesteddocumentdoesn’texitonthisserver.
CThisisagenericerrorcodeindicatingthattherequestcouldnotbeunderstoodbytheserver.
DRequestedobjecthasbeenpermanentlymover.
19.ComparisonHTTPwithSMTP,thecorrectis.
AHTTPisapushprotocol,andSMTPisapullprotocol.
BInthedefaultmode,bothofthemusepersistentconnection.
CHTTPplacesallofthemessage’sobjectsintoonemessage,andSMTPsendseveryobjectonebyone.
DHTTPrequireseachmessagetobein7-bitASCIIformat,andSMTPdoesn’timposethisrestriction.
21.Inthefollowingprotocol,whichoneisstateless?
APOP3和HTTPBSMTPCFTPDIMAP
22.DNSmeans.
ADataNameSystemBDataNationalSystem
CDomainNameSystem域名服务器DDomainNationalSystem
23.TherearethreeclassesofDNSserverexcept.
ARootDNSserverBLocalDNSserver
CTLDserverDAuthoritativeDNSserver
24.DNSprovidessomeservicesexcept.
AHostaliasingBMailserveraliasing
CLoaddistributionDAsinglepointoffailure
28.Thetimeittakesforasmallpackettotravelfromclienttoserverandthenbacktotheclientis.
Around-traveltimeBnext-hoptime
Cround-triptime往返时间Dprefix-matchingtime
29.SupposeA(withaWeb-basede-mailaccount)sendsamessagetoB(whoaccesseshismailserverusingPOP3),whichapplication-layerprotocolisnotused?
AHTTPBSMTPCPOP3DIMAP
30.Inthefourfollowingoptions,whichprotocolisincludedinMailAccessProtocol?
ASMTPBDHCPCIMAPDFTP
31.InFTPcommands,isusedtosenduserpasswordtotheserver.
AUserBPassCRetrDStor
32.ThefunctionoftheadditionalheaderfieldinMIME多用途的网际邮件扩充协议Content-Typeis.
Atoconvertthemessagebodytoitsoriginnon-ASCIIform
Btodeterminewhatactionsitshouldtakeonmessagebody
CtosendanE-mailtothereceivinguseragent
Dtoindicatewhattypethemessageis
33.Inthefourfollowingoptions,whichapplicationisorganizedashybridofC/SandP2Ppeer-to-peerarchitecture?
AE-mailBOICQCFiletransferDWebapplication
35.Inthefollowingoptions,fromtheapplicationdeveloper’sperspective,whichisnotcorrect?
Athenetworkarchitectureisfixed
Bthenetworkarchitectureprovidesaspecificsetofservicestoapplications
Ctheapplicationarchitectureisdesignedbythephysicaldevices设备;装置
Dtheapplicationarchitecturedictateshowtheapplicationisorganizedoverthevariousendsystems
36.Therearethreepredominant主要的,占主导地位的architecturesusedinmodernnetworkapplications,whichoneisnotincluded?
Atheclient-serverarchitectureBtheP2Parchitecture
Cahybridoftheclient-serverandP2Parchitecture
Dahybridoftheclient-serverandbrowser-serverarchitecture
37.InthefollowingoptionsaboutC/Sarchitecture,whichisnotcorrect?
AInC/Sarchitecture,thereisanalways-onhost,calledtheserver.
BInC/Sarchitecture,thereisanalways-onhost,calledtheclient.
CTheserverhasafixed,well-knownaddress,calledIPaddress.
DClientsdonotdirectlycommunicatewitheachother.
39.Aprocesssendsmessagesinto,andreceivesmessagesfrom,thenetworkthroughits.
AsocketBprogramCclientDpeer
40.Whichoneisnotdefinedbyanapplication-layerprotocol?
Athetypesofmessagesexchanged
Bthesyntaxofvariousmessagetypes
Cthesemanticsofthefields
Drulesfordeterminingwhenandhowtotranslatethesocket
41.HTTPcanusetwotypesofconnections,whichare.
Apersistentandnon-persistentconnection
Bconnectionwithpipelining流水线操作andwithoutpipelining
CTCPandUDP
Dparallelandserialconnection
42.takesforasmallpackettotravelfromclienttoserverandthenbacktotheclient.
ARDTBthresholdCRTTDoverhead
43.ThedefaultmodeofHTTP(和SMTP)uses.
Anon-persistentconnectionwithpipelining
Bnon-persistentconnectionwithoutpipelining
Cpersistentconnectionwithpipelining
Dpersistentconnectionwithoutpipelining
44.InHTTPrequestmessages,therequestlinehasthreefields,thereare.
Athemethodfield,theURL(UniformResourceLocator统一资源定位器)fieldandtheHTTPversionfield
Bthemethod,theconnectionandURLfield
Ctheuser-agent,themethodandHTTPversionfield
Dtheuser-agent,theURLandtheHTTPversionfield
45.IntheheaderlinesofHTTPrequestmessage,ifthefieldofConnectionisclose,itspecifies.
Athehostonwhichobjectresides
Bwhattypeoftheuseragent
Cthatthebrowserwantstheservertoclosetheconnectionaftersendingtherequestedobject
Dwhichlanguagecanthebrowserreceive
46.InHTTPresponsemessage,ifthestatuscodeis404,itmeans.
Arequestsucceededandtheinformationisreturnedintheresponse
Brequestedobjecthasbeenpermanentlymoved
CtherequestedHTTPprotocolversionisnotsupportedbytheserver
Dtherequesteddocumentdoesnotexistonthisserver
47.isanetworkentitythatsatisfiesHTTPrequestsonthebehalfofanoriginWebserver.
AproxyserverBlocalserverCDNSserverDWebserver
48.Inthefollowingfouroptionsaboutwebcache,whichoneisnotcorrect?
AAwebcacheisbothaserverandaclientatthesametime.
BAwebcacheispurchasedandinstalledbyanISP.
CAwebcachecanraisetheresponsetimeforaclientrequest.
DAwebcachecanreducetrafficonaninstitution’saccesslinktotheInternet.
49.TherequestmessageintheconditionalGETmustincludetheheaderline.
ALast-ModifiedBLast-Referenced
CIf-Modified-SinceDIf–Referenced-Since
50.FTPusestwoparallelconnectionstotransferafile,theyare.
ATCPandUDPconnection
Bconnectionwithpipeliningandwithoutpipelining
Ccontrolanddataconnection
Dclient-serverandbrowser-serverconnection
51.InFTPcommands,whichoneisusedtoasktheservertosendbackalistofallfilesinthecurrentremotedirectory?
AUSERBPASSCLISTDRETR
52.IntheInternetmailsystem,allowuserstoread,replyto,forward,saveandcomposemessage.
AUseragentsBmailserversCSMTPDTCP
53.ThetwokeyMIMEheadersforsupportingmultimediaare.
AContent-TypeandMIME-Version
BContent-TypeandContent-Transfer-Encoding
CContent-Transfer-E