Practice
Solution
Step 1: Start at local resolver
The browser asks the local resolver, which forwards to the recursive DNS server if cache is empty.Step 2: Recursive DNS server queries root server
The recursive server queries the root DNS server to find the TLD server for '.com'.Step 3: Recursive server queries TLD server
Root server directs to TLD server, which is then queried for 'example.com'.Step 4: Recursive server queries authoritative server
TLD server directs to authoritative DNS server for 'example.com', which returns the IP.Final Answer:
Option A -> Option AQuick Check:
Order matches DNS resolution hierarchy and recursive query flow -> correct
- Misplacing root server query after authoritative server
- Confusing order of recursive and root server queries
- Assuming local resolver queries root server directly
Solution
Step 1: Identify the purpose of the handshake
The TCP three-way handshake is designed to establish a reliable, connection-oriented session between two hosts before data transfer.Step 2: Analyze each option
Sending a single UDP datagram to a remote host is incorrect because UDP is connectionless and does not use a handshake. Broadcasting a message to multiple hosts on a local network is incorrect because broadcasting does not require connection establishment. Encrypting data packets for secure transmission is unrelated to connection setup; encryption is a separate process.Final Answer:
Option B -> Option BQuick Check:
Only TCP connections require this handshake to ensure reliability and synchronization.
- Confusing TCP handshake with UDP communication
- Assuming handshake is needed for broadcast or encryption
Solution
Step 1: Understand DHCP overhead
Each new client connection triggers the DORA sequence, which adds network traffic.Step 2: Analyze impact of high churn
Frequent IP requests can overload the DHCP server and increase broadcast traffic, causing congestion.Step 3: Evaluate other options
Because DHCP cannot assign IP addresses dynamically in such environments is false; DHCP is designed for dynamic assignment. Because DHCP servers do not support IP address leasing is incorrect; DHCP supports leasing. Because clients must manually configure IP addresses in such cases is unrelated to DHCP limitations.Final Answer:
Option A -> Option AQuick Check:
High churn leads to excessive DHCP message overhead.
- Believing DHCP cannot assign dynamically in such cases
- Confusing DHCP leasing with static assignment
- Assuming manual configuration is required when DHCP is unsuitable
Solution
Step 1: Review TCP termination steps
Termination involves a four-step exchange: FIN from initiator, ACK from receiver, FIN from receiver, ACK from initiator.Step 2: Analyze each statement
Connection termination requires four steps involving FIN and ACK packets from both sides is correct describing the four-step process. Either side can initiate termination by sending a FIN packet is correct; either side can initiate. After termination, both sides enter a TIME_WAIT state to ensure all packets are received is correct; TIME_WAIT ensures delayed packets are handled. The connection closes immediately after the first FIN packet is sent is incorrect because connection does not close immediately after first FIN; it requires the full handshake.Final Answer:
Option A -> Option AQuick Check:
Termination is a multi-step process, not instantaneous.
- Assuming connection closes right after first FIN
- Thinking only server can initiate termination
- Ignoring TIME_WAIT state
Solution
Step 1: Understand the scenario
IPv6-only hosts need to reach IPv4-only services without dual-stack.Step 2: Analyze options
Dual-stack deployment on all hosts requires dual-stack, which is excluded. Tunneling IPv6 packets over IPv4 infrastructure tunnels IPv6 over IPv4 but does not solve DNS translation. NAT64 combined with DNS64 to translate DNS queries and packets correctly combines NAT64 (packet translation) and DNS64 (DNS query translation) to enable IPv6-only hosts to access IPv4 services transparently. Manual static mapping of IPv6 addresses to IPv4 addresses is impractical and not scalable.Final Answer:
Option C -> Option CQuick Check:
NAT64/DNS64 enables IPv6-only hosts to access IPv4 services without dual-stack.
- Assuming tunneling solves DNS translation
- Thinking dual-stack is mandatory for IPv6-to-IPv4 access
- Believing manual mappings are practical
