Internet and Networking MCQs
20 free Internet and Networking multiple-choice questions for UPSC GK. Tap an option to answer — you get instant feedback, the correct answer, and a detailed explanation for every question.
Which one of the following is the primary function of the Domain Name System (DNS)?
- A Maps domain names to IP addresses
- B Encrypts internet data packets
- C Stores website source code
- D Allocates wireless radio frequencies
Correct answer: Maps domain names to IP addresses
DNS translates human-readable domain names into IP addresses so devices can locate servers. Encrypting data is mainly handled by protocols like TLS, making that option the most tempting but incorrect.
Which protocol is primarily used for securely accessing web pages over the Internet?
- A Hypertext Transfer Protocol
- B Hypertext Transfer Protocol Secure
- C Simple Mail Transfer Protocol
- D Secure Shell File Transfer Protocol
Correct answer: Hypertext Transfer Protocol Secure
HTTPS combines HTTP with TLS encryption to protect communication between browser and server. HTTP alone transfers data without encryption, SMTP sends email, and SFTP (SSH File Transfer Protocol) securely transfers files rather than serving web pages.
Which of the following devices operates mainly at the Network Layer of the OSI model?
- A Ethernet hub
- B Network switch
- C Internet router
- D Wireless repeater
Correct answer: Internet router
Routers forward packets using IP addresses and function primarily at the Network Layer. Switches mainly operate at the Data Link Layer, which makes them a common confusion.
What is the principal purpose of a firewall in a computer network?
- A Increase available internet bandwidth
- B Convert IPv4 to IPv6
- C Compress multimedia files
- D Filter incoming and outgoing traffic
Correct answer: Filter incoming and outgoing traffic
A firewall enforces security rules by allowing or blocking network traffic. It does not inherently increase bandwidth, although it may influence traffic flow.
Which addressing system uniquely identifies a device on an IP network?
- A Internet Protocol address
- B Uniform Resource Locator
- C Domain name registration code
- D Media file identifier
Correct answer: Internet Protocol address
An IP address uniquely identifies a device for network communication. A URL identifies a web resource rather than the device itself.
Which statement correctly distinguishes IPv6 from IPv4?
- A IPv6 uses 32-bit addresses
- B IPv6 uses 128-bit addresses
- C IPv6 supports only wired networks
- D IPv6 eliminates packet routing
Correct answer: IPv6 uses 128-bit addresses
IPv6 uses 128-bit addresses, greatly expanding the address space compared to IPv4. The 32-bit address length belongs to IPv4 and is the most plausible distractor.
Which protocol is commonly used to automatically assign IP addresses to devices in a local network?
- A Simple Network Management Protocol
- B Internet Control Message Protocol
- C Dynamic Host Configuration Protocol
- D Lightweight Directory Access Protocol
Correct answer: Dynamic Host Configuration Protocol
DHCP automatically allocates IP addresses and related network settings to devices. ICMP is used for diagnostics, SNMP for device management and LDAP for directory lookups, not address assignment.
A Virtual Private Network (VPN) primarily provides which of the following?
- A Higher processor performance
- B Additional hard disk storage space
- C Automatic software updates
- D Secure encrypted communication
Correct answer: Secure encrypted communication
A VPN encrypts data transmitted over public networks, improving privacy and security. It does not provide extra storage or computing performance.
Which of the following best describes cloud computing?
- A On-demand computing services online
- B Computers linked only by cables
- C Offline software installation process
- D Local-only file management
Correct answer: On-demand computing services online
Cloud computing delivers computing resources such as storage and processing over the internet on demand. It is not limited to local or offline environments.
Which protocol is primarily responsible for sending email between mail servers?
- A Internet Message Access Protocol
- B Simple Mail Transfer Protocol
- C File Transfer Protocol
- D Secure Shell Protocol
Correct answer: Simple Mail Transfer Protocol
SMTP is the standard protocol for transmitting email between servers. IMAP is mainly used by clients to retrieve and manage emails.
Which network topology connects every node to a central networking device?
- A Bus topology
- B Ring topology
- C Star topology
- D Mesh topology
Correct answer: Star topology
In a star topology, all devices connect to a central hub or switch. Mesh topology provides multiple interconnections instead of one central device.
Which of the following best describes packet switching?
- A Entire message follows one circuit
- B Packets are stored permanently
- C Each packet uses identical hardware
- D Data is divided into small packets
Correct answer: Data is divided into small packets
Packet switching divides data into packets that may travel independently before reassembly. Dedicated circuits are a feature of circuit switching, not packet switching.
Which cybersecurity attack attempts to trick users into revealing confidential information?
- A Phishing attack
- B SQL injection
- C Denial of service
- D Brute-force attack
Correct answer: Phishing attack
Phishing uses deceptive messages or websites to trick users into handing over credentials or sensitive data. SQL injection exploits application inputs, denial of service floods systems with traffic, and brute-force attacks guess passwords by trial rather than deceiving the user.
Which wireless standard is commonly associated with Wi-Fi networks?
- A IEEE 802.3
- B IEEE 802.11
- C IEEE 1394
- D IEEE 802.15.1
Correct answer: IEEE 802.11
IEEE 802.11 defines Wi-Fi networking standards. IEEE 802.3 is the Ethernet standard and is the most likely source of confusion.
Which layer of the TCP/IP model is responsible for end-to-end communication using TCP or UDP?
- A Internet layer
- B Link layer
- C Transport layer
- D Application layer
Correct answer: Transport layer
The Transport layer provides end-to-end communication using protocols such as TCP and UDP. The Internet layer handles routing using IP instead.
What is the primary purpose of Network Address Translation (NAT)?
- A Encrypt wireless network communication
- B Increase CPU processing speed
- C Store DNS records permanently
- D Translate private and public addresses
Correct answer: Translate private and public addresses
NAT maps private IP addresses to public ones, allowing multiple devices to share a public address. It is not an encryption technology.
Which of the following is a characteristic feature of the Transmission Control Protocol (TCP)?
- A Reliable connection-oriented delivery
- B No acknowledgment mechanism
- C Broadcast-only communication to all hosts
- D Mandatory data encryption
Correct answer: Reliable connection-oriented delivery
TCP provides reliable, ordered and connection-oriented data delivery using acknowledgments. It is unicast, not broadcast, and encryption is optional, handled by protocols such as TLS.
Which of the following best defines bandwidth in a communication network?
- A Maximum data transfer capacity
- B Total storage available online
- C Time taken for one packet
- D Number of connected devices
Correct answer: Maximum data transfer capacity
Bandwidth refers to the maximum amount of data that can be transmitted over a connection in a given time. Packet travel time describes latency, and online storage or device count are unrelated to bandwidth.
Which of the following best explains the role of cookies in web browsing?
- A They replace browser software
- B They improve processor cooling
- C They store small user-related data
- D They permanently secure all websites
Correct answer: They store small user-related data
Cookies store small pieces of information such as session identifiers and user preferences. They do not themselves secure websites or replace browsers.
Which technology enables nearby devices to exchange data over short distances with very low power consumption?
- A Satellite communication
- B Fiber-optic backbone
- C Cellular LTE network
- D Bluetooth technology
Correct answer: Bluetooth technology
Bluetooth is designed for short-range, low-power wireless communication between nearby devices. Cellular and satellite systems support much wider coverage but require greater infrastructure.