nerdexam
CompTIA

PT0-001 · Question #235

A penetration tester runs the following on a machine: Which of the following will be returned?

The correct answer is B. 3. The command or script referenced in the question stem (not visible in the provided text) produces an output or count of 3 when executed on the target machine.

Attacks and exploits

Question

A penetration tester runs the following on a machine:

Which of the following will be returned?

Options

  • A1
  • B3
  • C5
  • D6

How the community answered

(53 responses)
  • A
    13% (7)
  • B
    75% (40)
  • C
    4% (2)
  • D
    8% (4)

Why each option

The command or script referenced in the question stem (not visible in the provided text) produces an output or count of 3 when executed on the target machine.

A1

The value 1 does not match the actual output produced by the referenced command or script.

B3Correct

The specific command or script, when run against the target data or conditions, evaluates to 3. The other numeric values do not match the expected output based on the logic or data the script processes. Without the visible command, this answer is established by the known correct result for this question variant.

C5

The value 5 does not match the actual output produced by the referenced command or script.

D6

The value 6 does not match the actual output produced by the referenced command or script.

Concept tested: Penetration testing scripting output interpretation

Topics

#scripting#code analysis#enumeration logic#output parsing

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice