CompTIA CySA+ (CS0-003) — Question 473

A security analyst is trying to identify anomalies on the network routing. Which of the following functions can the analyst use on a shell script to achieve the objective most accurately?

Answer options

Correct answer: C

Explanation

Option C is correct because it utilizes the 'dig' command to reverse lookup the IP address and obtain ASN information, which is crucial for analyzing network routing anomalies. Option A only provides geographic information, which is not sufficient for routing analysis. Option B performs a ping test, which does not give detailed routing insights. Option D uses 'traceroute', but it only captures the first hop instead of providing comprehensive routing data.