List of questions
Related questions
Question 58 - CS0-003 discussion
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?
A.
function x() { info=$(geoiplookup $1) && echo '$1 | $info' }
B.
function x() { info=$(ping -c 1 $1 | awk -F '/' 'END{print $5}') && echo '$1 | $info' }
C.
function x() { info=$(dig $(dig -x $1 | grep PTR | tail -n 1 | awk -F '.in-addr' '{print $1} ').origin.asn.cymru.com TXT +short) && echo '$1 | $info' }
D.
function x() { info=$(traceroute -m 40 $1 | awk 'END{print $1}') && echo '$1 | $info' }
Your answer:
0 comments
Sorted by
Leave a comment first