Multiple Choice Question- Domain Name Server

What does DNS stand for?

  • a) Domain Name Service
  • b) Domain Name System
  • c) Domain Network Service
  • d) Domain Network System

Answer: b) Domain Name System

What is the primary function of DNS?

  • a) Encrypting domain names
  • b) Resolving domain names to IP addresses
  • c) Managing web traffic
  • d) Encrypting IP addresses

Answer: b) Resolving domain names to IP addresses

What is a DNS resolver?

  • a) A server that stores domain names
  • b) A client-side application
  • c) A server that resolves domain names to IP addresses
  • d) A system for storing DNS records

Answer: c) A server that resolves domain names to IP addresses

Which server is responsible for managing domain names?

  • a) Root DNS server
  • b) Authoritative DNS server
  • c) TLD DNS server
  • d) Both b and c

Answer: b) Authoritative DNS server

What type of DNS record maps a domain name to an IP address?

  • a) MX Record
  • b) A Record
  • c) TXT Record
  • d) CNAME Record

Answer: b) A Record

Which of the following is a top-level domain (TLD)?

  • a) .com
  • b) .org
  • c) .net
  • d) All of the above

Answer: d) All of the above

Which DNS record type is used to map domain names to mail servers?

  • a) A Record
  • b) MX Record
  • c) CNAME Record
  • d) PTR Record

Answer: b) MX Record

What is the purpose of a TTL (Time To Live) in a DNS record?

  • a) To specify the amount of time the record can be cached
  • b) To control the DNS query timeout
  • c) To set the maximum number of DNS servers queried
  • d) To prioritize DNS queries

Answer: a) To specify the amount of time the record can be cached

Which DNS record type is used to define alias domain names?

  • a) MX Record
  • b) A Record
  • c) CNAME Record
  • d) TXT Record

Answer: c) CNAME Record

What is the role of a DNS cache?

  • a) To store recent DNS queries and responses
  • b) To store encrypted data
  • c) To protect from DNS attacks
  • d) To speed up website loading

Answer: a) To store recent DNS queries and responses

Which protocol does DNS primarily use?

  • a) HTTP
  • b) TCP
  • c) UDP
  • d) FTP

Answer: c) UDP

What happens when a DNS resolver cannot find the answer locally?

  • a) It returns a 404 error
  • b) It sends the request to a higher-level DNS server
  • c) It returns an IP address from its cache
  • d) It blocks the request

Answer: b) It sends the request to a higher-level DNS server

Which of the following is not a DNS record type?

  • a) A
  • b) CNAME
  • c) HTTP
  • d) PTR

Answer: c) HTTP

What is a recursive DNS query?

  • a) A query where the DNS resolver does all the work to find the answer
  • b) A query where only the client resolves the domain name
  • c) A query that involves multiple servers sharing the same cache
  • d) A query that returns a specific domain name directly

Answer: a) A query where the DNS resolver does all the work to find the answer

Which type of DNS record is used for reverse DNS lookups?

  • a) MX Record
  • b) PTR Record
  • c) A Record
  • d) NS Record

Answer: b) PTR Record

What does a “DNS zone” contain?

  • a) DNS records for a specific domain
  • b) A group of connected domain names
  • c) Cached DNS queries
  • d) Multiple authoritative DNS servers

Answer: a) DNS records for a specific domain

Which server holds the information about the domain names and IP addresses?

  • a) Resolver
  • b) Root server
  • c) Authoritative server
  • d) TLD server

Answer: c) Authoritative server

What is a DNS spoofing attack?

  • a) A method to speed up DNS resolution
  • b) A method of encrypting DNS traffic
  • c) A method of hijacking DNS queries to redirect traffic
  • d) A method to cache DNS data for faster resolution

Answer: c) A method of hijacking DNS queries to redirect traffic

Which of the following is an example of a valid domain name?

  • a) example.com
  • b) www.example
  • c) example/com
  • d) example..com

Answer: a) example.com

What is a DNS Caching issue?

  • a) When DNS records are cached for too long
  • b) When DNS records are cached for too short a time
  • c) When DNS records are cached on every device
  • d) When DNS records are deleted

Answer: a) When DNS records are cached for too long

Leave a Reply

Your email address will not be published. Required fields are marked *