BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA N10-009 Exam - Topic 4 Question 44 Discussion

Posted by Milly on Sep 26, 2026 at 12:28 PM

An attacker gained access to the hosts file on an endpoint and modified it. Now, a user is redirected from the company's home page to a fraudulent website. Which of the following most likely happened?

Suggested Answer: A

When the hosts file is altered, local name resolution is compromised, and domain queries are redirected to malicious IP addresses. This is a form of DNS spoofing/poisoning, where false mappings trick users into visiting fraudulent websites.

B . Phishing typically uses emails or messages to trick users, not local file modification.

C . VLAN hopping is a Layer 2 attack to gain unauthorized network access, unrelated to DNS.

D . ARP poisoning manipulates ARP tables on a LAN to reroute traffic, not name resolution.

Reference (CompTIA Network+ N10-009):

Domain: Network Security --- DNS poisoning/spoofing, host file manipulation, endpoint attacks.


Get Premium N10-009 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
JU
Juan 4 days ago
Wait, could it be ARP poisoning instead?
MI
Miesha 9 days ago
Totally agree, that's the most likely scenario.
AL
Aleta 14 days ago
Sounds like DNS spoofing to me.
LA
Launa 20 days ago
Not so sure about that, could be ARP poisoning too.
SU
Sueann 25 days ago
Wait, modifying the hosts file can do that?
LE
Leonardo 30 days ago
Definitely not VLAN hopping, that's for sure.
AL
Alpha 1 month ago
I think it's phishing, though.
HE
Helaine 1 month ago
Sounds like DNS spoofing to me.
RI
Richelle 2 months ago
ARP poisoning could be related, but modifying the hosts file seems more directly linked to DNS spoofing.
RO
Ronny 2 months ago
VLAN hopping sounds familiar, but I don't think it applies here since it's more about network segmentation issues.
BI
Billi 2 months ago
I'm not entirely sure, but I think phishing is more about tricking users into giving up their info, not just redirecting them.
LA
Laurel 2 months ago
I remember studying DNS spoofing, and it seems like the hosts file modification fits that description.
0/2000 characters

Save Cancel