nerdexam
CompTIA

PT0-002 · Question #238

Given the following script: Which of the following BEST characterizes the function performed by lines 5 and 6?

Sign in or unlock PT0-002 to reveal the answer and full explanation for question #238. The question stem and answer options stay visible for context.

Reconnaissance and enumeration

Question

Given the following script:

Which of the following BEST characterizes the function performed by lines 5 and 6?

Exhibit

PT0-002 question #238 exhibit

Options

  • ARetrieves the start-of-authority information for the zone on DNS server 10.10.10.10
  • CLoops through variable b to count the results returned for the DNS query and prints that count to
  • DPrints each DNS query result already stored in variable b

Unlock PT0-002 to see the answer

You've previewed enough free PT0-002 questions. Unlock PT0-002 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

#Scripting fundamentals#DNS enumeration#Information output#Reconnaissance techniques
Full PT0-002 Practice