CompTIACompTIA
CS0-003 · Question #39
CS0-003 Question #39: Real Exam Question with Answer & Explanation
Sign in or unlock CS0-003 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.
Submitted by yousef_jo· Mar 6, 2026Security operations
Question
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?
Options
- Afunction x() { info=$(geoiplookup $1) && echo "$1 | $info" }
- Bfunction x() { info=$(ping -c 1 $1 | awk -F "/" 'END{print $5}') && echo "$1 | $info" }
- Cfunction x() { info=$(dig $(dig -x $1 | grep PTR | tail -n 1 | awk -F ".in-addr" '{print $1}
- Dfunction x() { info=$(traceroute -m 40 $1 | awk 'END{print $1}') && echo "$1 | $info" }
Unlock CS0-003 to see the answer
You've previewed enough free CS0-003 questions. Unlock CS0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#network analysis#traceroute#shell scripting#network routing