Practice
Solution
Step 1: Identify the TLS handshake flow
The handshake starts with ClientHello, followed by ServerHello and certificate, then client verifies certificate, sends encrypted pre-master secret, and both derive symmetric keys.Step 2: Evaluate each option
A: Correct sequence including ClientHello, ServerHello, certificate exchange, verification, encrypted pre-master secret, and key derivation.
B: Incorrect order and missing ClientHello/ServerHello steps.
C: Client sends HTTP request too early and symmetric key is never sent in plaintext.
D: Certificate exchange is mandatory for authentication, so this is incomplete.Final Answer:
Option A -> Option AQuick Check:
Remember the handshake involves hello messages, certificate exchange, key exchange, and symmetric key derivation.
- Confusing when the certificate is sent
- Assuming symmetric keys are exchanged in plaintext
- Skipping certificate verification step
Solution
Step 1: Understand recursive query behavior
Recursive DNS servers perform all necessary lookups to resolve a domain fully before responding.Step 2: Impact on latency
This means the recursive server makes multiple network requests, adding processing and network delay.Step 3: Why other options are incorrect
Recursive queries do use caching (A is false), do not bypass root servers (C is false), and use UDP or TCP depending on size but that is unrelated to latency increase (D is false).Final Answer:
Option D -> Option DQuick Check:
Recursive queries add latency due to multiple lookups -> correct
- Believing recursive queries bypass caching
- Thinking recursive queries contact authoritative servers first
- Confusing transport protocols with query type
Solution
Step 1: Recall PAT function
PAT maps multiple internal IP:port pairs to a single public IP with unique source ports.Step 2: Identify limitation
Since TCP/UDP ports are 16-bit, only ~65,000 ports are available per public IP, limiting simultaneous connections.Step 3: Analyze options
PAT can run out of available source ports, limiting the number of simultaneous connections correctly identifies port exhaustion. PAT requires a unique public IP per internal host, increasing IP address consumption is false; PAT uses one public IP for many hosts. PAT cannot translate destination IP addresses, so inbound connections are impossible is unrelated to PAT's outbound translation. PAT causes all internal hosts to share the same source port, causing packet collisions is false; PAT assigns unique ports to avoid collisions.Final Answer:
Option C -> Option CQuick Check:
PAT port exhaustion limits simultaneous connections [OK]
- Thinking PAT needs multiple public IPs
- Confusing PAT with DNAT limitations
- Believing PAT uses the same source port for all hosts
Solution
Step 1: Understand advanced ARP spoofing mitigation
Dynamic ARP Inspection (DAI) is a security feature on switches that intercepts ARP packets and verifies them against a trusted binding database.Step 2: Why not disabling ARP?
ARP is essential for IP-to-MAC resolution; disabling it breaks local communication.Step 3: DHCP snooping is complementary but not sufficient
DHCP snooping helps build trusted bindings but does not directly inspect ARP packets.Step 4: Increasing ARP cache timeout worsens spoofing risk
Longer cache times mean stale or poisoned entries persist longer.Final Answer:
Option A -> Option AQuick Check:
DAI validates ARP packets to prevent spoofing effectively [OK]
- Thinking ARP can be disabled safely
- Confusing DHCP snooping with ARP inspection
- Believing longer ARP cache timeout improves security
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
