Preventing DNS Hijacking with DNSSEC
Short answer
C The customer should use DNS Security Extensions (DNSSEC) to cryptographically sign DNS records and prevent attackers from hijacking domain lookups and redirecting users via man-in-the-middle attacks.
Question
Which solution should this customer use?
Key Takeaways
The main trap is selecting Cloud Armor; however, Cloud Armor protects traffic after it arrives, while DNSSEC secures the initial domain resolution process where hijacking occurs.
Learn why DNS Security Extensions (DNSSEC) are the correct solution for preventing DNS hijacking and man-in-the-middle redirection attacks in Google Cloud environments.
Common mistake: Many candidates choose Cloud Armor because it is a popular security tool, but it fails here because it cannot inspect traffic that has already been redirected to a malicious IP by a compromised DNS response.
Expert Analysis
DNS Hijacking and the Role of DNSSEC
The scenario describes a classic DNS hijacking or man-in-the-middle (MitM) attack where an attacker intercepts or spoofs domain resolution, redirecting users to a malicious site. This occurs at the name-resolution layer, before any application traffic reaches infrastructure firewalls. DNS Security Extensions (DNSSEC) is the specific solution designed to address this by digitally signing DNS records. This cryptographic signature allows resolvers to verify that the DNS response has not been tampered with, effectively preventing spoofed responses from redirecting users.
Why Cloud Armor is Incorrect in This Context
While Cloud Armor provides robust DDoS protection and web application firewall capabilities, it operates at the edge of the network, inspecting HTTP/HTTPS traffic after the DNS lookup has occurred. If the DNS record itself is poisoned (hijacked), the user’s browser connects directly to the attacker’s IP address. In this case, the legitimate Cloud Armor policy never sees the traffic, rendering it ineffective against the initial redirection phase. As noted in community discussions, "traffic first needs to reach cloud armour... DNS can be hijacked if you dont use DNSSEC," highlighting that boundary protection cannot secure a compromised path to the boundary.
Operational Consequence and Exam Strategy
Choosing Cloud Armor over DNSSEC represents a common trap: confusing general perimeter security with protocol-specific integrity. On the exam, always map the threat vector to the OSI layer. For attacks involving domain/IP redirection or spoofed DNS responses, look for DNSSEC. For attacks involving volumetric floods or malicious HTTP payloads reaching your load balancer, look for Cloud Armor. Understanding this sequencing—DNS resolution precedes traffic ingestion—is critical for selecting the correct control.
Official Reference
These links open the official vendor documentation in a new tab.
Exam Strategy
When analyzing security questions, identify the exact layer where the vulnerability exists. If the threat involves 'redirecting,' 'spoofing,' or 'domain hijacking,' the issue is likely at the DNS layer, requiring DNSSEC. If the threat involves 'DDoS,' 'SQL injection,' or 'malicious payloads' hitting your endpoint, consider Cloud Armor. Always prioritize controls that mitigate the attack at its source rather than downstream defenses.
Frequently Asked Questions
Why isn't Cloud Armor sufficient to stop DNS hijacking?
What does DNSSEC actually do?
Discussion 16 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 16
-
ESP_SAP 👍 16Correct Answer is (C): DNSSEC — use a DNS registrar that supports DNSSEC, and enable it. DNSSEC digitally signs DNS communication, making it more difficult (but not impossible) for hackers to intercept and spoof. Domain Name System Security Extensions (DNSSEC) adds security to the Domain Name System (DNS) protocol by enabling DNS responses to be validated. Having a trustworthy Domain Name System (DNS) that translates a domain name like www.example.com into its associated IP address is an increasingly important building block of today’s web-based applications. Attackers can hijack this process of domain/IP lookup and redirect users to a malicious site through DNS hijacking and man-in-the-middle attacks. DNSSEC helps mitigate the risk of such attacks by cryptographically signing DNS records. As a result, it prevents attackers from issuing fake DNS responses that may misdirect browsers to nefarious websites. https://cloud.google.com/blog/products/gcp/dnssec-now-available-in-cloud-dns
-
Kameswara 👍 5C. Attackers can hijack this process of domain/IP lookup and redirect users to a malicious site through DNS hijacking and man-in-the-middle attacks. DNSSEC helps mitigate the risk of such attacks by cryptographically signing DNS records. As a result, it prevents attackers from issuing fake DNS responses that may misdirect browsers to nefarious websites.
-
ASG 👍 3Its man in the middle attack protection. The traffic first needs to reach cloud armour before you can make use of cloud armour related protection. DNS can be hijacked if you dont use DNSSEC. Its your DNS that needs to resolve the initial request before traffic is directed to cloud armour. Option C is most appropriate measure. (think of sequencing of how traffic will flow)
-
shreenine 👍 3C is the correct answer indeed.
-
GCP72 👍 3 Answered CThe correct answer is C
Show 11 more comments
-
bolu 👍 2The answers from rest of the folks are complete unreliable. The right answer is Cloud Armor based on my Hands-On labs in Qwiklabs. Reason: Creating a policy in Cloud Armor sends 403 forbidden message for man-in-the middle-attack. Reference: https://cloud.google.com/blog/products/identity-security/identifying-and-protecting-against-the-largest-ddos-attacks Some more: https://cloud.google.com/armor Refer this lab: https://www.qwiklabs.com/focuses/1232?catalog_rank=%7B%22rank%22%3A1%2C%22num_filters%22%3A0%2C%22has_search%22%3Atrue%7D&parent=catalog&search_id=8696512
-
minostrozaml2 👍 2Took the tesk today, only 5 question from this dump, the rest are new questions.
-
ArizonaClassics 👍 2Option C is Perfect. DNSSECURITY!
-
saurabh1805 👍 2DNSEC is the thing, Option C
-
MohitA 👍 2C, Yes for sure DNSSEC
-
sc_cloud_learn 👍 2C. DNSSEC is the ans
-
AzureDP900 👍 2C is right
-
bigdo 👍 2C DNSSEC
-
b6f53d8 👍 1 Answered Con exam only 5 questions was the same as on examtopic
-
KyubiBlaze 👍 1No, C is the correct answer.
-
KILLMAD 👍 1I agree it's C
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.