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
What is the difference between source NAT and destination NAT?
-
Source NAT translates the source IP address, while destination NAT translates the destination IP address
-
Source NAT translates the public IP address, while destination NAT translates the private IP address
-
Source NAT is used for incoming traffic, while destination NAT is used for outgoing traffic
-
All of the above
A
Correct answer
Explanation
Source NAT translates the source IP address, while destination NAT translates the destination IP address.
Which NAT technique is used to translate multiple private IP addresses to a single public IP address?
-
PAT
-
NAPT
-
Static NAT
-
Dynamic NAT
A
Correct answer
Explanation
PAT (Port Address Translation) is used to translate multiple private IP addresses to a single public IP address.
What is the difference between NAT and proxy server?
-
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
-
All of the above
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.
Which NAT technique is used to translate a single private IP address to a single public IP address?
-
PAT
-
NAPT
-
Static NAT
-
Dynamic NAT
C
Correct answer
Explanation
Static NAT is used to translate a single private IP address to a single public IP address.
What is the difference between NAT and firewall?
-
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
-
All of the above
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.
What is the primary function of a DNS server?
-
To translate domain names into IP addresses
-
To store website content
-
To manage email accounts
-
To provide internet access
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.
Which DNS record type is used to map a domain name to an IP address?
A
Correct answer
Explanation
The A record is used to map a domain name to an IPv4 address.
Which DNS record type is used to specify the mail server for a domain?
C
Correct answer
Explanation
The MX record is used to specify the mail server responsible for handling email for a domain.
What is the purpose of a NS record?
-
To map a domain name to an IP address
-
To alias one domain name to another
-
To specify the mail server for a domain
-
To define the authoritative DNS servers for a domain
D
Correct answer
Explanation
A NS record is used to specify the authoritative DNS servers responsible for a domain.
What is the time-to-live (TTL) for a DNS record?
-
The amount of time a DNS record is valid
-
The amount of time a DNS record is cached
-
The amount of time it takes for a DNS record to be updated
-
The amount of time it takes for a DNS record to be deleted
A
Correct answer
Explanation
The TTL is the amount of time a DNS record is valid before it needs to be refreshed.
What is the difference between a primary DNS server and a secondary DNS server?
-
The primary DNS server is responsible for updating DNS records, while the secondary DNS server is responsible for caching DNS records.
-
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.
-
The primary DNS server is responsible for managing DNS zones, while the secondary DNS server is responsible for replicating DNS zones.
-
The primary DNS server is responsible for authenticating DNS queries, while the secondary DNS server is responsible for validating DNS queries.
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.
What is the role of a DNS resolver?
-
To translate domain names into IP addresses
-
To store DNS records
-
To forward DNS queries to DNS servers
-
To manage DNS zones
C
Correct answer
Explanation
A DNS resolver is responsible for forwarding DNS queries to DNS servers.
What is the difference between a recursive DNS query and an iterative DNS query?
-
A recursive DNS query is sent to a single DNS server, while an iterative DNS query is sent to multiple DNS servers.
-
A recursive DNS query is sent to the root DNS servers, while an iterative DNS query is sent to the authoritative DNS servers.
-
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.
-
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.
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.
Which of the following is a common type of network monitoring tool?
-
Ping
-
Traceroute
-
SNMP
-
All of the above
D
Correct answer
Explanation
Common types of network monitoring tools include Ping, Traceroute, and SNMP.
Which of the following is a common type of firewall?
-
Stateful firewall
-
Stateless firewall
-
Next-generation firewall
-
All of the above
D
Correct answer
Explanation
Common types of firewalls include stateful firewalls, stateless firewalls, and next-generation firewalls.