0
0
Computer Networksknowledge~20 mins

DNS (Domain Name System) in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
DNS Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How DNS Resolves a Domain Name

When you type a website address like www.example.com in your browser, how does DNS help your computer find the website?

Choose the best description of the DNS resolution process.

ADNS translates the domain name into an IP address by querying a series of DNS servers starting from the root, then top-level domain, and finally the authoritative server.
BDNS directly connects to the website server without any translation, using the domain name as the address.
CDNS stores the website content locally and sends it to your browser when you enter the domain name.
DDNS encrypts your domain name and sends it to the internet service provider to find the website.
Attempts:
2 left
💡 Hint

Think about how computers use numbers (IP addresses) to find each other, not names.

📋 Factual
intermediate
1:30remaining
Purpose of a DNS Cache

What is the main purpose of a DNS cache on your computer or network?

ATo block access to certain websites by storing their IP addresses.
BTo store IP addresses of recently visited domain names to speed up future lookups.
CTo permanently save all domain names and their IP addresses for offline use.
DTo encrypt DNS queries to protect user privacy.
Attempts:
2 left
💡 Hint

Think about how remembering something recently used can make things faster.

🔍 Analysis
advanced
2:30remaining
Identifying DNS Record Types

Given the following DNS record, what type of record is it and what does it do?

example.com. 3600 IN MX 10 mail.example.com.
AA record; it maps a domain to an IPv4 address.
BCNAME record; it aliases one domain name to another.
CMX record; it specifies the mail server responsible for receiving email for the domain.
DTXT record; it stores text information for the domain.
Attempts:
2 left
💡 Hint

Look at the record type abbreviation and think about email.

Comparison
advanced
2:30remaining
Difference Between Recursive and Iterative DNS Queries

Which statement correctly describes the difference between recursive and iterative DNS queries?

AIn a recursive query, the DNS server fully resolves the domain name and returns the final IP address; in an iterative query, the server returns the best answer it has or a referral to another server.
BIn a recursive query, the client resolves the domain name by itself; in an iterative query, the server resolves it fully for the client.
CRecursive queries are used only for email servers; iterative queries are used for websites.
DRecursive queries always return multiple IP addresses; iterative queries return only one.
Attempts:
2 left
💡 Hint

Consider who does the work of finding the final answer in each query type.

Reasoning
expert
3:00remaining
Impact of DNS TTL on Website Accessibility

If a website's DNS record has a very high TTL (Time To Live) value, what could be a potential downside when the website's IP address changes?

AHigh TTL values cause DNS queries to fail more often.
BThe website will immediately update for all users, causing no downtime.
CThe DNS servers will ignore the TTL and update instantly to the new IP address.
DUsers may continue to be directed to the old IP address for a long time, causing access problems until caches expire.
Attempts:
2 left
💡 Hint

Think about how caching works and what happens when information changes.