The subnet mask:
- Identifies the network and host portions of an IP address by using 1s for the network part and 0s for the host part (e.g., 255.255.255.0).
- Enables devices to determine if a destination is on the same network.
Option (2) relates to encryption, (3) to DHCP, and (4) to routing, none of which are subnet mask functions.
Option (1) is correct.