Networking Basics

Practice questions

Which list gives the OSI layers from the bottom up?

  1. Physical, Data Link, Network, Transport, Session, Presentation, Application
  2. Physical, Network, Data Link, Transport, Session, Presentation, Application
  3. Physical, Data Link, Network, Session, Transport, Presentation, Application
  4. Application, Presentation, Session, Transport, Network, Data Link, Physical
Answer and explanation

Answer: A

From the bottom: Physical, Data Link, Network, Transport, Session, Presentation, Application (Please Do Not Throw Sausage Pizza Away). The list starting with Application is top-down.

A 100 Mbps connection is shared equally by 4 users. How much does each get?

  1. 20 Mbps
  2. 50 Mbps
  3. 400 Mbps
  4. 25 Mbps
Answer and explanation

Answer: D

100 divided by 4 = 25 Mbps each.

A star network has 12 computers around a switch. How many cables join them to the switch?

  1. 12
  2. 66
  3. 11
  4. 24
Answer and explanation

Answer: A

There is one cable from each computer to the switch, so 12.

An 8 MB file is sent at 10 megabits per second. How long does it take?

  1. 0.8 seconds
  2. 8 seconds
  3. 80 seconds
  4. 6.4 seconds
Answer and explanation

Answer: D

8 MB = 64 megabits. 64 divided by 10 = 6.4 seconds.

How many ports does each computer in a full mesh of 10 computers need?

  1. 10
  2. 45
  3. 9
  4. 11
Answer and explanation

Answer: C

Each computer connects to the other 9, so it needs 9 ports.

How many links does a full mesh of 7 computers need?

  1. 14
  2. 21
  3. 42
  4. 49
Answer and explanation

Answer: B

7 × 6 / 2 = 21 links.

How many usable hosts does a default class C network have?

  1. 256
  2. 255
  3. 254
  4. 253
Answer and explanation

Answer: C

There are 8 host bits, so 2^8 = 256 addresses, minus the network and broadcast addresses, leaves 254.

Which address is a private address?

  1. 172.32.0.1
  2. 192.169.1.1
  3. 11.1.1.1
  4. 172.16.5.9
Answer and explanation

Answer: D

The private block 172.16.0.0 to 172.31.255.255 includes 172.16.5.9. The others are public.

What is the binary form of the octet 168?

  1. 10101000
  2. 10100100
  3. 11000100
  4. 10001010
Answer and explanation

Answer: A

168 = 128 + 32 + 8, which is 10101000.

To which class does the address 150.20.4.1 belong?

  1. Class A
  2. Class C
  3. Class B
  4. Class D
Answer and explanation

Answer: C

The first octet 150 is in the range 128 to 191, so it is class B.

Which of these is a valid IPv4 address?

  1. 10.0.0.1
  2. 192.168.1.256
  3. 172.16.5
  4. 1.1.1.a
Answer and explanation

Answer: A

Each octet must be 0 to 255 and there must be four parts. Only 10.0.0.1 satisfies both.

A hub works at which OSI layer?

  1. Physical
  2. Network
  3. Application
  4. Data Link
Answer and explanation

Answer: A

A hub only repeats electrical signals, which is a Physical layer (layer 1) function.

What is the unit of data at the Data Link layer called?

  1. Packet
  2. Frame
  3. Segment
  4. Bit
Answer and explanation

Answer: B

At the Data Link layer, data is packaged in frames.

Which layer is responsible for end-to-end delivery and error recovery?

  1. Session
  2. Network
  3. Presentation
  4. Transport
Answer and explanation

Answer: D

The Transport layer (4), using TCP or UDP, handles end-to-end delivery.

At which OSI layer does a router work?

  1. Network
  2. Data Link
  3. Physical
  4. Transport
Answer and explanation

Answer: A

A router forwards packets using IP addresses, which is the Network layer (layer 3).

How many layers does the OSI model have?

  1. Four
  2. Five
  3. Seven
  4. Nine
Answer and explanation

Answer: C

The OSI model has seven layers, from Physical (1) to Application (7).

Live video calls often prefer which transport protocol?

  1. TCP
  2. UDP
  3. SMTP
  4. HTTPS
Answer and explanation

Answer: B

UDP is faster with less overhead, and a small loss is acceptable in live video.

Which pair correctly contrasts secure and insecure remote login?

  1. SSH is insecure, Telnet is secure
  2. FTP is secure, SSH is insecure
  3. Telnet is encrypted, FTP is not
  4. SSH is encrypted, Telnet is not
Answer and explanation

Answer: D

SSH encrypts the session; Telnet sends everything as plain text.

Which protocol automatically assigns IP addresses to devices?

  1. DHCP
  2. DNS
  3. SMTP
  4. SSH
Answer and explanation

Answer: A

The Dynamic Host Configuration Protocol hands out IP addresses automatically.

What is the default port number for HTTPS?

  1. 80
  2. 443
  3. 21
  4. 25
Answer and explanation

Answer: B

HTTPS uses port 443 by default, while HTTP uses 80.

Privacy · Terms · Refunds · Delivery