MCQs / Computer Science / NSCT: Computer Networks & Cloud Computing

NSCT: Computer Networks & Cloud Computing MCQs — Computer Science (page 3)

141 multiple-choice questions on NSCT: Computer Networks & Cloud Computing from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.

51. Which tool shows each router hop on the path to a destination?

  1. ipconfig
  2. nslookup
  3. ping only
  4. traceroute

Answer: D) traceroute

Explanation: It uses increasing TTL values. Lesson 7.3 · Computer Networks & Cloud Computing

Discuss this question

52. A router separates:

  1. Broadcast domains
  2. Only collision domains
  3. MAC addresses into VLANs automatically
  4. Physical cables only

Answer: A) Broadcast domains

Explanation: Broadcasts are not forwarded between router interfaces. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

53. A department needs 50 host addresses in one subnet with the least waste. Which prefix should be used?

  1. /26
  2. /27
  3. /24
  4. /25

Answer: A) /26

Explanation: 2^6 − 2 = 62 ≥ 50, so 6 host bits → /26. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

54. A network covering a city is a:

  1. MAN
  2. PAN
  3. LAN
  4. WAN only

Answer: A) MAN

Explanation: Metropolitan Area Network. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

55. Kubernetes is used to:

  1. Orchestrate (deploy, scale, manage) containers
  2. Design websites
  3. Encrypt emails
  4. Write SQL

Answer: A) Orchestrate (deploy, scale, manage) containers

Explanation: It automates container management. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

56. Encryption, compression and data format translation belong to the:

  1. Presentation layer
  2. Application layer
  3. Session layer
  4. Network layer

Answer: A) Presentation layer

Explanation: Layer 6 formats data. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

57. How long does it take to transfer a 250 MB file over a 10 Mbps link (ignore overhead)?

  1. 400 seconds
  2. 200 seconds
  3. 3.125 seconds
  4. 25 seconds

Answer: B) 200 seconds

Explanation: 250 MB × 8 = 2000 megabits ÷ 10 Mbps = 200 s. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

58. A switch forwards traffic based on:

  1. MAC addresses
  2. Port numbers
  3. Domain names
  4. IP addresses

Answer: A) MAC addresses

Explanation: Switches are layer-2 devices. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

59. A host has the address 192.168.1.77/26. What is its network address?

  1. 192.168.1.64
  2. 192.168.1.77
  3. 192.168.1.128
  4. 192.168.1.127

Answer: A) 192.168.1.64

Explanation: Block size 64: the address falls in the block starting at 192.168.1.64. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

60. Amazon S3 is an example of:

  1. A relational database only
  2. A hypervisor
  3. A programming language
  4. Object storage

Answer: D) Object storage

Explanation: Files are stored as objects in buckets. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

61. Renting virtual machines, storage and networks from a provider is:

  1. IaaS
  2. FaaS only
  3. SaaS
  4. PaaS

Answer: A) IaaS

Explanation: Infrastructure as a Service, e.g. AWS EC2. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

62. The address 127.0.0.1 is used for:

  1. Broadcast
  2. The default gateway
  3. Loopback (testing the local machine)
  4. DNS servers

Answer: C) Loopback (testing the local machine)

Explanation: It never leaves the host. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

63. A host has the address 172.16.45.200/27. What is its network address?

  1. 172.16.45.224
  2. 172.16.45.223
  3. 172.16.45.200
  4. 172.16.45.192

Answer: D) 172.16.45.192

Explanation: Block size 32: the address falls in the block starting at 172.16.45.192. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

64. Is 192.169.0.1 a private (RFC 1918) IPv4 address?

  1. Yes
  2. No
  3. Only inside a VPN
  4. Only for IPv6

Answer: B) No

Explanation: Private ranges: 10.0.0.0/8, 172.16.0.0/12 (172.16–172.31) and 192.168.0.0/16. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

65. Is 172.15.0.1 a private (RFC 1918) IPv4 address?

  1. Only for IPv6
  2. Yes
  3. No
  4. Only inside a VPN

Answer: C) No

Explanation: Private ranges: 10.0.0.0/8, 172.16.0.0/12 (172.16–172.31) and 192.168.0.0/16. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

66. Is 192.168.50.4 a private (RFC 1918) IPv4 address?

  1. No
  2. Only inside a VPN
  3. Only for IPv6
  4. Yes

Answer: D) Yes

Explanation: Private ranges: 10.0.0.0/8, 172.16.0.0/12 (172.16–172.31) and 192.168.0.0/16. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

67. AWS Lambda, where you upload functions that run on demand, is an example of:

  1. SaaS email
  2. Serverless (FaaS)
  3. IaaS
  4. Private cloud

Answer: B) Serverless (FaaS)

Explanation: You pay per execution. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

68. A network zone that hosts public servers separately from the internal LAN is a:

  1. VLAN trunk
  2. Loopback
  3. NAT pool
  4. DMZ

Answer: D) DMZ

Explanation: Demilitarised zone. Lesson 7.4 · Computer Networks & Cloud Computing

Discuss this question

69. The IPv6 address 2001:0db8:0000:0000:0000:0000:0000:0001 can be shortened to:

  1. 2001:db8::1
  2. 2001:db8:1
  3. 2001:db8:0:1
  4. 2001::db8::1

Answer: A) 2001:db8::1

Explanation: :: replaces one run of zero groups; leading zeros drop. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

70. The Internet uses which switching technique?

  1. Packet switching
  2. Circuit switching
  3. Message switching only
  4. Manual switching

Answer: A) Packet switching

Explanation: Data is split into independently routed packets. Lesson 7.3 · Computer Networks & Cloud Computing

Discuss this question

71. A host has the address 192.168.3.200/26. What is the broadcast address of its subnet?

  1. 192.168.4.0
  2. 192.168.3.255
  3. 192.168.3.192
  4. 192.168.3.254

Answer: B) 192.168.3.255

Explanation: Network 192.168.3.192, block size 64, so broadcast = 192.168.3.255. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

72. Processing IoT sensor data near the devices instead of in a distant data centre is:

  1. Batch processing
  2. Mainframe computing
  3. Grid computing only
  4. Edge computing

Answer: D) Edge computing

Explanation: It reduces latency and bandwidth. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

73. How long does it take to transfer a 100 MB file over a 20 Mbps link (ignore overhead)?

  1. 80 seconds
  2. 0.625 seconds
  3. 5 seconds
  4. 40 seconds

Answer: D) 40 seconds

Explanation: 100 MB × 8 = 800 megabits ÷ 20 Mbps = 40 s. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

74. A /24 network must be split into 4 equal subnets. What is the new prefix and number of usable hosts per subnet?

  1. /26 with 62 hosts
  2. /26 with 64 hosts
  3. /25 with 126 hosts
  4. /27 with 30 hosts

Answer: A) /26 with 62 hosts

Explanation: Borrow 2 bits: /26, 2^6 − 2 usable hosts. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

75. Which is an advantage of cloud computing for a startup?

  1. Guaranteed zero downtime
  2. Complete physical control of servers
  3. Low upfront cost and easy scaling
  4. No need for internet

Answer: C) Low upfront cost and easy scaling

Explanation: CapEx turns into OpEx. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

Previous Page 3 of 6 Next

Practise NSCT: Computer Networks & Cloud Computing MCQs

More Computer Science chapters