Computer Knowledge

Computer Networks

2,614 Questions

Computer networks involve the architecture, protocols, and security measures used for digital communication. This collection covers OSI model layers, IP addressing, data transmission, and cryptographic standards. These concepts are vital for the computer knowledge sections of banking and government exams.

OSI model layersNetwork protocolsIP subnet maskingData encryption standardsServer configurationsNetwork commands

Computer Networks Questions

Multiple choice

What is the difference between source NAT and destination NAT?

  1. Source NAT translates the source IP address, while destination NAT translates the destination IP address

  2. Source NAT translates the public IP address, while destination NAT translates the private IP address

  3. Source NAT is used for incoming traffic, while destination NAT is used for outgoing traffic

  4. All of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Source NAT translates the source IP address, while destination NAT translates the destination IP address.

Multiple choice

Which NAT technique is used to translate multiple private IP addresses to a single public IP address?

  1. PAT

  2. NAPT

  3. Static NAT

  4. Dynamic NAT

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

PAT (Port Address Translation) is used to translate multiple private IP addresses to a single public IP address.

Multiple choice

What is the difference between NAT and proxy server?

  1. NAT translates IP addresses, while a proxy server forwards traffic

  2. NAT is a network-level solution, while a proxy server is an application-level solution

  3. NAT is transparent to the end user, while a proxy server is not

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

NAT translates IP addresses, while a proxy server forwards traffic. NAT is a network-level solution, while a proxy server is an application-level solution. NAT is transparent to the end user, while a proxy server is not.

Multiple choice

Which NAT technique is used to translate a single private IP address to a single public IP address?

  1. PAT

  2. NAPT

  3. Static NAT

  4. Dynamic NAT

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Static NAT is used to translate a single private IP address to a single public IP address.

Multiple choice

What is the difference between NAT and firewall?

  1. NAT translates IP addresses, while a firewall filters traffic

  2. NAT is a network-level solution, while a firewall is an application-level solution

  3. NAT is transparent to the end user, while a firewall is not

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

NAT translates IP addresses, while a firewall filters traffic. NAT is a network-level solution, while a firewall is an application-level solution. NAT is transparent to the end user, while a firewall is not.

Multiple choice

What is the primary function of a DNS server?

  1. To translate domain names into IP addresses

  2. To store website content

  3. To manage email accounts

  4. To provide internet access

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A DNS server's primary function is to resolve domain names into their corresponding IP addresses, enabling devices to communicate with each other on the internet.

Multiple choice

Which DNS record type is used to map a domain name to an IP address?

  1. A

  2. CNAME

  3. MX

  4. NS

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The A record is used to map a domain name to an IPv4 address.

Multiple choice

Which DNS record type is used to specify the mail server for a domain?

  1. A

  2. CNAME

  3. MX

  4. NS

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The MX record is used to specify the mail server responsible for handling email for a domain.

Multiple choice

What is the purpose of a NS record?

  1. To map a domain name to an IP address

  2. To alias one domain name to another

  3. To specify the mail server for a domain

  4. To define the authoritative DNS servers for a domain

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A NS record is used to specify the authoritative DNS servers responsible for a domain.

Multiple choice

What is the time-to-live (TTL) for a DNS record?

  1. The amount of time a DNS record is valid

  2. The amount of time a DNS record is cached

  3. The amount of time it takes for a DNS record to be updated

  4. The amount of time it takes for a DNS record to be deleted

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The TTL is the amount of time a DNS record is valid before it needs to be refreshed.

Multiple choice

What is the difference between a primary DNS server and a secondary DNS server?

  1. The primary DNS server is responsible for updating DNS records, while the secondary DNS server is responsible for caching DNS records.

  2. The primary DNS server is responsible for resolving DNS queries, while the secondary DNS server is responsible for forwarding DNS queries to the primary DNS server.

  3. The primary DNS server is responsible for managing DNS zones, while the secondary DNS server is responsible for replicating DNS zones.

  4. The primary DNS server is responsible for authenticating DNS queries, while the secondary DNS server is responsible for validating DNS queries.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The primary DNS server is responsible for managing DNS zones, while the secondary DNS server is responsible for replicating DNS zones from the primary DNS server.

Multiple choice

What is the role of a DNS resolver?

  1. To translate domain names into IP addresses

  2. To store DNS records

  3. To forward DNS queries to DNS servers

  4. To manage DNS zones

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A DNS resolver is responsible for forwarding DNS queries to DNS servers.

Multiple choice

What is the difference between a recursive DNS query and an iterative DNS query?

  1. A recursive DNS query is sent to a single DNS server, while an iterative DNS query is sent to multiple DNS servers.

  2. A recursive DNS query is sent to the root DNS servers, while an iterative DNS query is sent to the authoritative DNS servers.

  3. A recursive DNS query is used to resolve a domain name into an IP address, while an iterative DNS query is used to find the authoritative DNS servers for a domain.

  4. A recursive DNS query is used to check the validity of a DNS record, while an iterative DNS query is used to update a DNS record.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A recursive DNS query is sent to a single DNS server, which is responsible for resolving the query or forwarding it to other DNS servers. An iterative DNS query is sent to multiple DNS servers, each of which is responsible for resolving a portion of the query.

Multiple choice

Which of the following is a common type of network monitoring tool?

  1. Ping

  2. Traceroute

  3. SNMP

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Common types of network monitoring tools include Ping, Traceroute, and SNMP.

Multiple choice

Which of the following is a common type of firewall?

  1. Stateful firewall

  2. Stateless firewall

  3. Next-generation firewall

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Common types of firewalls include stateful firewalls, stateless firewalls, and next-generation firewalls.