What is the primary purpose of a subnet mask in an IP network configuration? MCQ with Answer and Explanation

What is the primary purpose of a subnet mask in an IP network configuration?
A. To distinguish the network portion of an IP address from the host portion.
B. To encrypt the physical payload fields.
C. To route packets automatically between separate cities.
D. To assign a hardware address to an internal interface.
Answer: Option A
Solution (By JKSSB Mock Tests)
The subnet mask uses binary masking to show which bits of an IP address indicate the network prefix and which bits identify the specific host device.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Computer Networking Questions

Question #1
What is the main function of a router's routing protocol?
A. To exchange routing information with other routers
B. To filter traffic
C. To assign IP addresses
D. To resolve MAC addresses

Correct Answer: Option A


Explanation:
Routing protocols (e.g., OSPF, BGP) allow routers to share information about network paths.

This question belongs to: Computer Computer Networking
Question #2
Which topology design features all client nodes wired directly to a central switch or hub, ensuring that a broken client cable only affects that single node?
A. Ring Topology
B. Linear Topology
C. Bus Topology
D. Star Topology

Correct Answer: Option D


Explanation:
In a star topology, each device connects back to a central switch via an isolated cable run, so a cable break only affects that specific device.

This question belongs to: Computer Computer Networking
Question #3
Which protocol is used to access and view web pages?
A. SMTP
B. FTP
C. DNS
D. HTTP

Correct Answer: Option D


Explanation:
HTTP (Hypertext Transfer Protocol) is used for retrieving web pages.

This question belongs to: Computer Computer Networking