COMPUTER NETWORK CHAPTER 2
QUESTIONS WITH ANSWERS 2025
Foraaacommunicationasessionabetweenaaapairaofaprocesses,awhichaprocessaisatheaclientaan
dawhichaisatheaserver?A-acorrectaanswers-
theaprocessawhichainitiatesatheacommunicationaisatheaclient;atheaprocessathatawaitsatoabeaco
ntactedaisatheaserver.
Whataisameantabyaaahandshakingaprotocol?A-acorrectaanswers-
aaprotocolausesahandshakingaifatheatwoacommunicatingaentitiesafirstaexchangeacontrolapac
ketsabeforeasendingadataatoaeachaother.asmtpausesahandshakingaatatheaapplicationalayeraw
hereasahttpadoesanot.
Describeahowawebacachingacanareduceatheadelayainareceivingaaarequestedaobject.awillaweba
cachingareduceatheadelayaforaallaobjectsarequestedabyaaauseraoraforaonlyasomeaofatheaobject
s?Awhy?A-acorrectaanswers-
webacachingacanabringatheadesiredacontenta"closer"atoatheauser,aperhapsatoatheasamealanat
oawhichatheauser'sahostaisaconnected.awebacachingacanareduceatheadelayaforaallaobjects,aev
enaobjectsathataareanotacached,asinceacachingareducesatheatrafficaonalinks.
Inabittorrent,asupposeaaliceaprovidesachunksatoabobathroughoutaaa30-
secondainterval.awillabobanecessarilyareturnatheafavoraandaprovideachunksatoaaliceainatheasa
meainterval?Awhyaorawhyanot?A-acorrectaanswers-
itaisanotanecessaryathatabobawillaalsoaprovideachunksatoaalice.aaliceahasatoabeainatheatopa4ane
ighborsaofabobaforabobatoasendaoutachunksatoaher;athisamightanotaoccuraevenaifaaliceaprovide
sachunksatoabobathroughoutaaa30asecondainterval.
Whataisaanaoverlayanetwork?Adoesaitaincludearouters?Awhataareatheaedgesain
Theaoverlayanetwork?A-acorrectaanswers-
overlayanetworkaisaaalogicalanetworkathatarunsaonatopaofaanotheranetwork.A
No,aitadoesanotaincludearouters.A
Ifapeeraxamaintainsaaatcpaconnectionawithaanotherapeeray,athenaweasayathereaisaanaedgeabet
weenaxaanday.aanaedgeainaoverlayaisasimplyatheatcpaconnectionabetweenaaapeer.
Inasectiona2.7,atheaudpaserveradescribedaneededaonlyaoneasocket,awhereasathe
Tcpaserveraneededatwoasockets.awhy?Aifatheatcpaserverawereatoasupportan
Simultaneousaconnections,aeachafromaaadifferentaclientahost,ahowamanyasockets
Wouldatheatcpaserveraneed?A-acorrectaanswers-
withatheaudpaserver,athereaisanoawelcomingasocket,aandaalladataafromadifferentaclientsaenter
satheaserver
Throughathisaoneasocket.awithatheatcpaserver,athereaisaaawelcomingasocket,aandaeachatimea
aaclientainitiates
Aaconnectionatoatheaserver,aaanewasocketaisacreated.athus,atoasupportanasimultaneousaconn
ections,atheaserver
Wouldaneedana+A1Asockets.
Theatextabelowashowsatheareplyasentafromathea
Serverainaresponseatoatheahttpagetamessageainatheaquestionaabove.aanswerathea
Followingaquestions,aindicatingawhereainatheamessageabelowayouafindatheaanswer.
QUESTIONS WITH ANSWERS 2025
Foraaacommunicationasessionabetweenaaapairaofaprocesses,awhichaprocessaisatheaclientaan
dawhichaisatheaserver?A-acorrectaanswers-
theaprocessawhichainitiatesatheacommunicationaisatheaclient;atheaprocessathatawaitsatoabeaco
ntactedaisatheaserver.
Whataisameantabyaaahandshakingaprotocol?A-acorrectaanswers-
aaprotocolausesahandshakingaifatheatwoacommunicatingaentitiesafirstaexchangeacontrolapac
ketsabeforeasendingadataatoaeachaother.asmtpausesahandshakingaatatheaapplicationalayeraw
hereasahttpadoesanot.
Describeahowawebacachingacanareduceatheadelayainareceivingaaarequestedaobject.awillaweba
cachingareduceatheadelayaforaallaobjectsarequestedabyaaauseraoraforaonlyasomeaofatheaobject
s?Awhy?A-acorrectaanswers-
webacachingacanabringatheadesiredacontenta"closer"atoatheauser,aperhapsatoatheasamealanat
oawhichatheauser'sahostaisaconnected.awebacachingacanareduceatheadelayaforaallaobjects,aev
enaobjectsathataareanotacached,asinceacachingareducesatheatrafficaonalinks.
Inabittorrent,asupposeaaliceaprovidesachunksatoabobathroughoutaaa30-
secondainterval.awillabobanecessarilyareturnatheafavoraandaprovideachunksatoaaliceainatheasa
meainterval?Awhyaorawhyanot?A-acorrectaanswers-
itaisanotanecessaryathatabobawillaalsoaprovideachunksatoaalice.aaliceahasatoabeainatheatopa4ane
ighborsaofabobaforabobatoasendaoutachunksatoaher;athisamightanotaoccuraevenaifaaliceaprovide
sachunksatoabobathroughoutaaa30asecondainterval.
Whataisaanaoverlayanetwork?Adoesaitaincludearouters?Awhataareatheaedgesain
Theaoverlayanetwork?A-acorrectaanswers-
overlayanetworkaisaaalogicalanetworkathatarunsaonatopaofaanotheranetwork.A
No,aitadoesanotaincludearouters.A
Ifapeeraxamaintainsaaatcpaconnectionawithaanotherapeeray,athenaweasayathereaisaanaedgeabet
weenaxaanday.aanaedgeainaoverlayaisasimplyatheatcpaconnectionabetweenaaapeer.
Inasectiona2.7,atheaudpaserveradescribedaneededaonlyaoneasocket,awhereasathe
Tcpaserveraneededatwoasockets.awhy?Aifatheatcpaserverawereatoasupportan
Simultaneousaconnections,aeachafromaaadifferentaclientahost,ahowamanyasockets
Wouldatheatcpaserveraneed?A-acorrectaanswers-
withatheaudpaserver,athereaisanoawelcomingasocket,aandaalladataafromadifferentaclientsaenter
satheaserver
Throughathisaoneasocket.awithatheatcpaserver,athereaisaaawelcomingasocket,aandaeachatimea
aaclientainitiates
Aaconnectionatoatheaserver,aaanewasocketaisacreated.athus,atoasupportanasimultaneousaconn
ections,atheaserver
Wouldaneedana+A1Asockets.
Theatextabelowashowsatheareplyasentafromathea
Serverainaresponseatoatheahttpagetamessageainatheaquestionaabove.aanswerathea
Followingaquestions,aindicatingawhereainatheamessageabelowayouafindatheaanswer.