DNS and DHCP MCQ Test: Networking Services Simplified
Test your knowledge on DNS and DHCP with this comprehensive MCQs. Understand key networking services, IP address management and domain name resolution.
Questions (30)
-
What does DNS stand for?
- a) Domain Network Service
- b) Domain Name System
- c) Digital Network System
- d) Distributed Name System
View Answer
Correct Domain Name System -
Which of the following is the primary function of DNS?
- a) To assign IP addresses to devices
- b) To resolve domain names to IP addresses
- c) To secure network traffic
- d) To manage network traffic
View Answer
Correct To resolve domain names to IP addresses -
What is the role of a DNS resolver?
- a) To store IP addresses for quick access
- b) To send requests to authoritative DNS servers
- c) To block harmful websites
- d) To route domain names to DNS servers
View Answer
Correct To send requests to authoritative DNS servers -
Which DNS record type maps a domain name to an IPv4 address?
- a) A record
- b) AAAA record
- c) MX record
- d) CNAME record
View Answer
Correct A record -
What does the "MX" record in DNS represent?
- a) Mail Exchange record
- b) Master Exchange record
- c) Multiple Extension record
- d) Media Exchange record
View Answer
Correct Mail Exchange record -
What type of DNS record is used to associate a domain name with an IPv6 address?
- a) A record
- b) AAAA record
- c) CNAME record
- d) PTR record
View Answer
Correct AAAA record -
Which protocol does DNS primarily use for communication?
- a) TCP
- b) UDP
- c) HTTP
- d) FTP
View Answer
Correct UDP -
What is a DNS cache used for?
- a) To store domain names for future queries
- b) To block unwanted traffic
- c) To encrypt DNS queries
- d) To filter IP addresses
View Answer
Correct To store domain names for future queries -
What is the purpose of a DNS server?
- a) To store and manage the domain name database
- b) To monitor network security
- c) To route data packets between networks
- d) To perform encryption
View Answer
Correct To store and manage the domain name database -
Which type of DNS query is made when a user directly requests an IP address for a domain?
- a) Iterative query
- b) Recursive query
- c) Non-recursive query
- d) Forward lookup
View Answer
Correct Recursive query -
Which of the following is a DHCP message type that is sent by a client to request an IP address from a DHCP server?
- a) DHCP Discover
- b) DHCP Offer
- c) DHCP Request
- d) DHCP Acknowledge
View Answer
Correct DHCP Request -
What is the purpose of DHCP relay agents?
- a) To relay DHCP messages between clients and servers
- b) To route traffic between different subnets
- c) To block unauthorized IP address assignments
- d) To handle DNS queries
View Answer
Correct To relay DHCP messages between clients and servers -
What is a DHCP scope?
- a) A set of available IP addresses that a DHCP server can assign
- b) A list of DHCP servers in the network
- c) A method for encrypting DHCP traffic
- d) A technique for segmenting the network
View Answer
Correct A set of available IP addresses that a DHCP server can assign -
What happens when a DHCP server cannot assign an IP address due to a lack of available addresses?
- a) The client receives a default IP address
- b) The client will be assigned a private IP address
- c) The client cannot access the network
- d) The DHCP server will continue to attempt to assign an address
View Answer
Correct The client cannot access the network -
What is the purpose of a DHCP Reservation?
- a) To ensure a specific device always receives the same IP address
- b) To assign a temporary IP address to devices
- c) To restrict access to a network based on IP address
- d) To automatically configure DNS settings
View Answer
Correct To ensure a specific device always receives the same IP address -
What does the term "DNS poisoning" refer to?
- a) Corrupting the DNS cache with incorrect IP address information
- b) Encrypting DNS traffic
- c) Filtering DNS queries to block malicious sites
- d) Assigning incorrect IP addresses to devices
View Answer
Correct Corrupting the DNS cache with incorrect IP address information -
Which of the following is an advantage of using DHCP over static IP assignment?
- a) Reduces manual configuration and errors
- b) Ensures greater security for network traffic
- c) Requires less bandwidth for IP assignment
- d) Assigns IP addresses faster
View Answer
Correct Reduces manual configuration and errors -
What is the purpose of DNS recursion?
- a) To search for the IP address associated with a domain name across multiple DNS servers
- b) To filter malicious DNS queries
- c) To monitor DNS traffic
- d) To configure DNS settings on devices
View Answer
Correct To search for the IP address associated with a domain name across multiple DNS servers -
What is the primary function of a CNAME record in DNS?
- a) To alias one domain name to another
- b) To map a domain name to an IP address
- c) To assign a specific mail server for a domain
- d) To associate a domain name with an IPv6 address
View Answer
Correct To alias one domain name to another -
How can DNS security be enhanced to prevent DNS attacks?
- a) By implementing DNSSEC (DNS Security Extensions)
- b) By disabling DNS caching
- c) By using static DNS records only
- d) By restricting DNS queries to internal users only
View Answer
Correct By implementing DNSSEC (DNS Security Extensions) -
What is the main advantage of using DHCP over manual IP address configuration?
- a) Simplifies network management by automating IP address allocation
- b) Provides more security by assigning unique IP addresses
- c) Reduces the chances of IP conflicts
- d) Speeds up network traffic
View Answer
Correct Simplifies network management by automating IP address allocation -
Which of the following tools is used for testing and troubleshooting DNS?
- a) ipconfig
- b) nslookup
- c) ping
- d) traceroute
View Answer
Correct nslookup -
What type of DNS record is typically used for load balancing across multiple servers?
- a) A record
- b) CNAME record
- c) MX record
- d) SRV record
View Answer
Correct SRV record -
What does a DNS TTL (Time to Live) value indicate?
- a) The time duration for which DNS information is cached
- b) The number of DNS servers in a query
- c) The time it takes for DNS queries to be resolved
- d) The priority level of a DNS record
View Answer
Correct The time duration for which DNS information is cached -
What happens when a DHCP lease expires?
- a) The device loses its assigned IP address and must request a new one
- b) The device retains the IP address until the server is reset
- c) The device is automatically assigned a new static IP address
- d) The device will continue using the same IP address without interruption
View Answer
Correct The device loses its assigned IP address and must request a new one -
What is an authoritative DNS server?
- a) A server that provides the definitive answer to DNS queries for a domain
- b) A server that filters unwanted DNS requests
- c) A server that handles DNS caching
- d) A server that blocks specific websites
View Answer
Correct A server that provides the definitive answer to DNS queries for a domain -
What is a key feature of Dynamic DNS (DDNS)?
- a) It allows automatic updating of DNS records when IP addresses change
- b) It prevents DNS caching
- c) It improves DNS query performance
- d) It resolves DNS errors automatically
View Answer
Correct It allows automatic updating of DNS records when IP addresses change -
Which of the following best describes the role of a DHCP client?
- a) To request an IP address from the DHCP server
- b) To assign static IP addresses to devices
- c) To filter DNS queries
- d) To act as a DNS resolver
View Answer
Correct To request an IP address from the DHCP server -
How does a DNS resolver function in the context of a recursive query?
- a) It queries multiple DNS servers until it gets an authoritative response
- b) It stores DNS records locally for faster lookup
- c) It sends requests to only local DNS servers
- d) It filters DNS requests based on security rules
View Answer
Correct It queries multiple DNS servers until it gets an authoritative response -
What is the primary function of a DNS forwarder?
- a) To send DNS queries to another DNS server for resolution
- b) To block malicious DNS queries
- c) To encrypt DNS queries
- d) To perform DNS lookups locally
View Answer
Correct To send DNS queries to another DNS server for resolution
Ready to put your knowledge to the test?
Start ExamRelated Exams You May Like
- Online Practice MCQ Test on Subnetting and Master IP Addressing (30 Questions)
- History of Computers MCQs: From Invention to Innovation (30 Questions)
- Memory Management MCQ Quiz: Paging, Segmentation and Virtual Memory (30 Questions)
- Information and Communication Technology (ICT) Tools MCQ Test (40 Questions)
- Peripheral Devices, Functions and Usage MCQs Test Your Knowledge (30 Questions)
- Cybersecurity Basics and Threats MCQ for Professionals (30 Questions)
- History and Evolution of Programming Languages Test (30 Questions)
- Computer Architecture and Components MCQ Test (30 Questions)
- Computer Memory & Storage Devices MCQ Test – Evaluate Your Knowledge Online (30 Questions)
- Generations of Computers MCQs Online Test (30 Questions)