computer network banner

Computer Network Multiple Choice Questions (MCQs) and Answers

Master Computer Network with Practice MCQs. Explore our curated collection of Multiple Choice Questions. Ideal for placement and interview preparation, our questions range from basic to advanced, ensuring comprehensive coverage of Computer Network. Begin your placement preparation journey now!

Q61

Q61 How does a distance-vector routing protocol determine the best route?

A

By counting hops

B

By measuring latency

C

By bandwidth

D

By using a cost metric

Q62

Q62 What is the primary benefit of using a routing protocol like EIGRP compared to RIP?

A

Faster convergence

B

Higher security

C

Simpler configuration

D

Less bandwidth usage

Q63

Q63 Which routing protocol is classified as an Exterior Gateway Protocol (EGP)?

A

OSPF

B

EIGRP

C

BGP

D

RIP

Q64

Q64 What mechanism does OSPF use to prevent routing loops?

A

Split horizon

B

Route poisoning

C

Link-state advertisement

D

Area designations

Q65

Q65 In BGP, what is the purpose of the AS_PATH attribute?

A

To encrypt data packets

B

To specify the priority of routes

C

To record the path of ASes

D

To specify the route source

Q66

Q66 Which command can display the routing table on a Cisco router?

A

show ip route

B

display ip routing-table

C

route print

D

netstat -r

Q67

Q67 How can you manually add a static route to the routing table in Linux?

A

Using the route add command

B

Using the ifconfig command

C

Editing the /etc/hosts file

D

Using the ip route add command

Q68

Q68 In Cisco IOS, how can you redistribute OSPF routes into EIGRP?

A

By configuring redistribution in the OSPF process

B

By configuring redistribution in the EIGRP process

C

By using access lists

D

By using route maps

Q69

Q69 If a newly added network is not appearing in the routing tables, what should be checked first?

A

Physical connections

B

Route summarization settings

C

Access control lists

D

Network advertisements

Q70

Q70 A router is not choosing the expected path for traffic, what might be misconfigured?

A

Interface bandwidth settings

B

Routing protocol priorities

C

Next-hop IP addresses

D

All of the above

Q71

Q71 How can you resolve a persistent routing loop between two routers?

A

Increasing the hop count limit

B

Implementing hold-down timers

C

Correcting mismatched subnet masks

D

Configuring route filtering

Q72

Q72 What is the main difference between TCP and UDP?

A

TCP is connectionless, while UDP is connection-oriented

B

TCP is connection-oriented, while UDP is connectionless

C

TCP is faster than UDP

D

UDP is more secure than TCP

Q73

Q73 Which protocol is typically used for streaming media?

A

TCP

B

UDP

C

SCTP

D

RTP

Q74

Q74 How does TCP ensure data is delivered reliably and in the correct order?

A

By using error detection codes

B

By using sequence numbers and acknowledgments

C

By compressing data packets

D

By encrypting data packets

Q75

Q75 In TCP, what mechanism is used to control the rate of data transmission to prevent network congestion?

A

Error correction

B

Flow control

C

Data encryption

D

Data compression

Q76

Q76 What is the purpose of a TCP three-way handshake?

A

To establish a secure connection

B

To synchronize sequence numbers and acknowledge the connection

C

To compress data

D

To encrypt data

Q77

Q77 Which TCP header field is used for flow control?

A

Sequence Number

B

Acknowledgment Number

C

Window Size

D

Checksum

Q78

Q78 How does UDP handle error checking?

A

It uses sequence numbers and acknowledgments

B

It includes a checksum for error detection

C

It encrypts data packets

D

It compresses data packets

Q79

Q79 What is TCP's initial congestion window size typically set to?

A

1 MSS (Maximum Segment Size)

B

2 MSS

C

3 MSS

D

4 MSS

Q80

Q80 In TCP, what is the function of the congestion avoidance algorithm?

A

To reduce the data transmission rate before packet loss occurs

B

To encrypt data

C

To compress data

D

To ensure data is sent in order

Q81

Q81 How can you check open TCP ports on a Windows machine?

A

netstat -an

B

ipconfig /all

C

ifconfig -a

D

traceroute

Q82

Q82 In Linux, how can you view the UDP sockets currently in use?

A

netstat -au

B

ifconfig

C

ip addr

D

ss -u

Q83

Q83 How can you set a specific TCP window size when using the iperf command for testing?

A

iperf -w [size]

B

iperf -s

C

iperf -c [hostname]

D

iperf -l [length]

Q84

Q84 If a client is experiencing delayed TCP connections, what could be a potential cause?

A

Incorrect subnet mask

B

Slow DNS resolution

C

Incorrect routing

D

Firewall settings

Q85

Q85 A UDP-based application is experiencing packet loss.
What should be investigated first?

A

Application error handling

B

Network congestion

C

Incorrect port numbers

D

Firewall settings

Q86

Q86 How can you troubleshoot intermittent TCP connection timeouts?

A

Checking for faulty network hardware

B

Increasing the TCP timeout settings

C

Verifying network path stability

D

All of the above

Q87

Q87 What is the primary function of HTTP in the web architecture?

A

To encrypt data

B

To compress data

C

To transfer hypertext documents

D

To stream video content

Q88

Q88 FTP uses which mode for establishing data connections by default?

A

Active mode

B

Passive mode

C

Secure mode

D

Anonymous mode

Q89

Q89 Which of the following HTTP methods is idempotent and used for updating resources on a server?

A

GET

B

POST

C

PUT

D

DELETE

Q90

Q90 In HTTP, what status code indicates that the requested resource has been permanently moved to a new URL?

A

200 OK

B

301 Moved Permanently

C

404 Not Found

D

500 Internal Server Error

ad vertical
ad