Title | Tcpip multiple choice questions and answers |
---|---|
Course | Computer application |
Institution | The University of the West Indies Mona |
Pages | 4 |
File Size | 122.8 KB |
File Type | |
Total Downloads | 102 |
Total Views | 199 |
to learn everything and get answers and to to get a wide aspect...
Security503,IntrusionDetectionInͲDepth,TCP/IPQuizAnswers 1. Howmanybitsinabyte? a. 8 b. 16 c. 4 d. 2 2. Themaximumdecimalvaluethatcanberepresentedinabyteis: a. 256 b. 255 c. 128 d. 127 3. WhatisaMACaddress? a. TheIPaddressofthehost b. TheembeddedIPprotocol c. Thehardwareaddressassignedtothenetworkcard/interface d. Theembeddedprotocolportaddress 4. WhatdoestheAddressResolutionProtocol(ARP)do? a. ResolvesaknownIPaddresswithaMACaddress b. ResolvesaknownMACaddresswithanIPaddress c. Resolvesaknownnetworkinterfacenamewithahardwareaddress d. ResolvesaknownMACaddresswithavendortype 5. AserverportofUDPorTCP53istypicallyassociatedwithwhatservice? a. HTTP b. DNS c. FTP d. RPC 6. HowdoesahostthathassentTCPdataknowthatthedatawasreceived? a. ATCPacknowledgementissentfromthereceiver b. AnICMPechoreplyissentfromthereceiver c. AnincrementedTCPsequencenumberissentfromthereceiver d. ASYN/ACKissentfromthereceiver 7. WhichofthefollowingbestcharacterizesTCPversusUDP(inmostcases)? a. TCPislessreliableandquicker b. TCPisslower,morereliable,andrequiresmoreoverhead c. TCPisfaster,morereliable,andmorestreamlined d. TCPislessreliableandconnectionͲoriented 8. WhichofthefollowingbestcharacterizesICMP a. Itisusedtocommunicateerrorconditions b. ItisusedforconnectionͲorientedcommunications
9.
10.
11.
12.
13.
c. Itisusedforreliablecommunications d. Itisusedforclient/servercommunications ATCPflagofRESETindicates: a. AnintentiontoopenanewTCPconnection b. Anintentiontogracefullycloseandacknowledgetheterminationofbothsidesof theconnection c. AnintentiontoabortaTCPconnection d. AnintentiontoclosetheconnectionafterallinͲtransitdataisreceived TCPtypicallybeginsasessionwith: a. ThethreeͲwayhandshakeofclienttoserverwithSYNset,theserverresponseof SYN/ACK,andtheclientacknowledgementofACK b. ThethreeͲwayhandshakeofservertoclientwithSYNset,theclientresponseof SYN/ACK,andtheserveracknowledgementofACK c. TCPisnotconnectionorientedsonohandshakeisrequired d. AhandshakeconsistingoftheclientrequesttotheserverwithSYNsetandaserver responseofaSYN Avalueof6intheprotocolfieldoftheIPheaderrepresents: a. AnembeddedprotocolofICMPfollowstheIPheader b. AnembeddedprotocolofUDPfollowstheIPheader c. AnembeddedprotocolofTCPfollowstheIPheader d. AnembeddedprotocolofTCPprecedestheIPheader IPfragmentationoccurswhen: a. Thereceiverisnotreadyforallthedatafromthesender b. WhentherearemorebytesintheIPpacketthanthesizeoftheMaximum TransmissionUnitofalllinksfromsendertoreceiver c. WhentherearemorebytesintheIPpacketthanthesizeofthereceivingTCP window d. WhentherearemorebytesinthepayloadthatfollowstheIPheaderthanthesize oftheMaximumTransmissionUnitofalllinksfromthesendertoreceiver SomeofthefieldsinanIPv4packetthatareusedbythereceivertoreassembleassociated fragmentsare: a. TheIPidentificationfieldtoidentifyallassociatedfragments,theMoreFragmentbit toindicatewhetherornotmorefragmentsfollowthecurrentone,andthe fragmentoffsettoindicatewhereaparticularfragmentfallsinrelationtoother fragments b. TheIPidentificationfieldtoidentifyallassociatedfragments,theMoreFragmentbit toindicatewhetherornotmorefragmentsfollowthecurrentone,andtheTimeto Livetoexpiremissingfragments c. TheIPidentificationfieldtoidentifyallassociatedfragments,theMoreFragmentbit toindicatewhetherornotmorefragmentsfollowthecurrentone,andtheTCP checksumtodiscardcorruptedfragments
14.
15.
16.
17.
18.
19.
20.
d. TheIPidentificationfieldtoidentifyallassociatedfragments,theMoreFragmentbit toindicatewhetherornotmorefragmentsfollowthecurrentone,theIPoptionsto routeallfragmentsthroughthesameintermediaterouters TheTimetoLive(TTL)field/valuefoundintheIPheaderareusedto: a. Makesureallassociatedfragmentsarrivewithagivenwindowoftime b. ExpireTCPsegmentsintransitwhentheTTLvaluebecomes0 c. FlushDNSrecordsfromcachewhentheTTLvalueisexceeded d. ExpireIPpacketsintransitwhentheTTLvaluebecomes0 WhatisthepurposeoftheIPchecksum? a. Tomakesurethatdataintheentirepacketisnotcorruptedintransit b. TomakesurethatdataintheIPheaderisnotcorruptedintransit c. TomakesurethatdataintheEthernetframeisnotcorruptedintransit d. Tomakesurethatdataintheembeddedprotocolisnotcorruptedintransit WhatisacommonuseofDNS? a. ResolutionofaMACaddresstoanIPaddress b. ResolutionofanIPaddresstoaMACaddress c. Resolutionofaportnumbertoaportservice d. ResolutionofahostnametoanIPaddress WhatisatypicalresponsefromahostthatreceivesaUDPpacketonanonͲlisteningport? a. AUDPresetflagsettothesender b. AUDPFINflagsettothesender c. AnICMPportunreachablemessagetothesender d. AUDPportunreachablemessagetothesender SupposeaSYNpacketisspoofedusingarealIPaddressandthensenttoaserverthat respondswithaSYN/ACKtotheactualIPaddress.HowdoestherealIPaddressrespond? a. WithanacknowledgementsinceitdidnotsendtheSYN b. WitharesetsinceitdidnotsendtheSYN c. WithaduplicateSYNsinceitdidnotsendtheSYN d. WithaTTLof0sinceitdidnotsendtheSYN WhataresomedifferencesbetweenIPv4andIPV6? a. TheyarethesameexcepttheIPversionnumberintheIPheaderisdifferent b. TheIPv6addressesare4timeslargerandsomeofthefields/functionalitypreviously intheIPv4headerarenowinIPv6extensionheaders c. IPv6allowsmorethan255embeddedprotocols d. IPv6packetsareautomaticallyencryptedwhileIPv4arenot SupposeyouhadatoolthatallowedyoutocraftanICMPechorequestoverEthernet,but youneededtotellthetoolhowtocomposetherequestlayerbylayerintheproperorder. Howwouldyouorderthedifferentlayers? a. Ethernetheader,followedbyIPheader,followedbyICMPheader,followedby optionalICMPdata
21.
22.
23.
24.
25.
b. IPheader,followedbyEthernetheader,followedbyICMPheader,followedby optionalICMPdata c. Theorderisunimportant^crafttheminanyorderandtheTCP/IPstackwill properlyassemblethembeforesending d. TheEthernetheadermustbefirst,andtheorderoftheIPheader,ICMPheader,and dataisunimportantsincetheTCP/IPstackwillproperlyorderassemblethembefore sending Whatisthefunctionofarouter? a. ItdeterminestheentirerouteforanIPpacketfromsourcetodestinationhost b. ItusesARPtoroutethepackettothenexthop c. ItusesDNStoroutethepackettothenexthop d. ItattemptstomovetheIPpacketonehopclosertothedestination TheIPprotocolfieldidentifies: a. Thedestinationportofthepacket b. Thesourceportofthepacket c. Theembeddedserviceportofthepacket d. Theembeddedprotocolofthepacket AfunctionoftheTCPsequencenumberis: a. ToassociateachronologicalnumberwitheachTCPsegment,allowingthereceiver toproperlyreordertheindividualsegmentsofdata b. Toinformthesenderofthenextexpectedchronologicalsequencenumberofthe TCPsegment c. ToreassembleIPfragments d. ToincrementthehopcountonallTCPsegments SupposeyouwanttopinganewknownIPv4addressonyournetwork.Whatmusthappen first? a. TheIPaddressmustberesolvedtoahostnameusingDNS b. AnICMPrequestmustbesenttotheroutertolocatetheIPaddress c. AnARPrequestmustbeissuedbyyourhosttodiscovertheMACaddressassociated withtheIPaddress d. Nothingneedstooccur;thehoststalkoverIPsimplyusingIPaddresses WhenanIPv4packettraversesarouterwhataresomeofthetaskstheroutermust perform? a. DecrementtheTimetoLivevalueby1andrecomputetheIPchecksum b. DecrementtheTimetoLivevalueby1andrecomputetheIPandembedded protocolchecksums c. DecrementtheTimetoLivevalueby1withoutchanginganychecksum d. IncrementtheTimetoLivevalueby1andrecomputetheembeddedprotocol checksum...