exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 113 discussion

Actual exam question from CompTIA's XK0-004
Question #: 113
Topic #: 1
[All XK0-004 Questions]

A technician wants to secure a sensitive workstation by ensuring network traffic is kept within the local subnet. To accomplish this task, the technician executes the following command: echo 0 > /proc/sys/net/ipv4/ip_default_ttl
Which of the following commands can the technician use to confirm the expected results? (Choose two.)

  • A. tcpdump
  • B. traceroute
  • C. route
  • D. iperf
  • E. ip
  • F. arp
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DiaaEmara
2 years, 5 months ago
Let's start saying when the packet hits "hop 0", connection automatically destroys itself. https://hopzero.com/what-does-hop-count-mean/ So if workstation device has "HOP 0" he can't go throw the network, but can be reached. A. tcpdump => valid because in the header we can see the TTL number; the TTL is the "count register" in the packet header of your devices. https://hopzero.com/wp-content/uploads/hop-count-register-ttl.png B. traceroute => valid because I can hop any step C. route => not valid because doesn't show HOP or TTL, just inside my private network. D. iperf => not valid because that's an external tool and it misures performances and quality of a network link from a client and a server, not TTL/HOPs E. ip => not valid because show about network interface not F. arp => not valid because ISO/OSI level 2, associates a MAC Address to an IP. ping could be a valid option too, but not in the list. i.g.: echo 10 > /proc/sys/net/ipv4/ip_default_ttl ping www.google.it PING www.google.it (142.250.184.99) 56(84) bytes of data. From 142.251.50.137 (142.251.50.137) icmp_seq=1 Time to live exceeded
upvoted 1 times
...
examtopics_htc
2 years, 6 months ago
Selected Answer: AB
Tcpdump is your #1 option for this https://danielmiessler.com/study/tcpdump/
upvoted 2 times
...
emaildeprueba
2 years, 11 months ago
B and C are correct. A is not correct because tcpdump is a tool used to monitor network traffic, but it does not show the packets being sent to same subnet.
upvoted 3 times
...
mjLegacy
3 years, 8 months ago
Same question as #113 yet a different answer... SMH
upvoted 1 times
...
nakres64
4 years, 1 month ago
It is A B. https://hackertarget.com/tcpdump-examples/
upvoted 4 times
...
phlagg
4 years, 2 months ago
This is the same question as 113. I believe the answer is A, B. The question asks us to confirm traffic remains in the subnet. D,E,F do not confirm that. I do not believe C does either.
upvoted 3 times
...
mickeyz
4 years, 3 months ago
I tested in the lab and saw that no matter what is the ip_default_ttl value the traceroute ttl keeps increasing. To me it is A and D
upvoted 1 times
...
francocaorlini
4 years, 4 months ago
It's B C
upvoted 4 times
trusteme
4 years, 4 months ago
Traceroute make sense not sure about the route command. I how about iperf
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago