exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 160 discussion

Actual exam question from CompTIA's XK0-004
Question #: 160
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: AB 🗳️

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
dansecu
Highly Voted 4 years, 2 months ago
The given answer is correct: route and traceroute. With route check to not have any gateway. With traceroute test if have path to that subnet from extern. On both cases should not have.
upvoted 7 times
...
DiaaEmara
Most Recent 2 years, 5 months ago
A,B Tcpdump Examples tcpdump examples needle in haystackPractical tcpdump examples to lift your network troubleshooting and security testing game. Commands and tips to not only use tcpdump but master ways to know your network. Knowing tcpdump is an essential skill that will come in handy for any system administrator, network engineer or security professional. Practical tcpdump examples 1. Extract HTTP User Agents 2. Capture only HTTP GET and POST packets 3. Extract HTTP Request URL's 4. Extract HTTP Passwords in POST Requests 5. Capture Cookies from Server and from Client 6. Capture all ICMP packets 7. ICMP Packets that are not ECHO/REPLY 8. Capture SMTP / POP3 Email 9. Troubleshooting NTP Query and Response 10. Capture SNMP Query and Response 11. Capture FTP Credentials and Commands 12. Rotate Capture Files 13. Capture IPv6 Traffic 14. Detect Port Scan in Network Traffic 15. Example Filter Showing Nmap NSE Script Testing 16. Capture Start and End Packets (SYN/FIN) 17. Capture DNS Request and Response 18. Capture HTTP data packets 19. Capture with tcpdump and view in Wireshark 20. Top Hosts by Packets 21. Capture all the plaintext passwords 22. DHCP Example
upvoted 2 times
...
MeisAdriano
3 years, 2 months ago
Selected Answer: AB
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 4 times
Lana973
2 years, 6 months ago
I see the correct response. However, which one will get me correct on exam!
upvoted 1 times
...
...
augustogcn
3 years, 2 months ago
route - It is used for showing or updating the IP/kernel routing table. traceroute - Returns the names or IP addresses of all the routers between two devices. (Path) tcpdump - Captures and inspect network traffic going to and from your system.
upvoted 1 times
...
nakres64
4 years, 1 month ago
traceroute and tcpdump https://hackertarget.com/tcpdump-examples/
upvoted 3 times
...
FilipIT
4 years, 3 months ago
it should be traceroute and tcpdump
upvoted 4 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