Courseiva

PT0-002 Vulnerability Discovery and Analysis Practice Question

A penetration tester needs to enumerate Active Directory users and groups from a Windows domain. Which PowerShell tool is specifically designed for AD enumeration and is commonly used in post-exploitation?

⚠ Common exam trap

A common mix-up: candidates confuse post-exploitation credential tools (like Invoke-Mimikatz) with enumeration tools, or assume general-purpose scanners (Nmap) or multi-function frameworks (CrackMapExec) are PowerShell-native AD enumeration tools, when PowerView is the correct specialized PowerShell module for this task.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

PowerView

PowerView (option D) is a PowerShell tool specifically designed for Active Directory enumeration, providing functions to query users, groups, computers, and permissions via LDAP. It is widely used in post-exploitation because it runs in-memory, avoids writing to disk, and integrates seamlessly with PowerShell's pipeline for stealthy reconnaissance.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Invoke-Mimikatz

    Why it's wrong here

    Invoke-Mimikatz extracts credentials and tickets from memory; it does not query directory objects for user and group enumeration. It is tempting because it is a well-known post-exploitation PowerShell tool, and would be correct when the objective is credential dumping rather than Active Directory enumeration.

  • ✗

    Nmap

    Why it's wrong here

    Nmap performs network and port scanning, not directory object queries, so it cannot enumerate Active Directory users and groups. It is tempting because it is a standard reconnaissance tool, and would be correct for host discovery or service identification rather than querying domain directory data.

  • ✗

    CrackMapExec

    Why it's wrong here

    CrackMapExec automates authentication and lateral movement across hosts; it does not provide dedicated PowerShell-based enumeration of directory users and groups. It is tempting because it interacts with domain services, and would be correct for spraying credentials or executing commands remotely rather than structured AD enumeration.

  • ✓

    PowerView

    Why this is correct

    PowerView is a PowerShell post-exploitation framework that wraps directory services queries, enumerating users, groups, computers and trusts with minimal native tooling. It satisfies the AD enumeration requirement through functions such as Get-NetUser and Get-NetGroup, commonly loaded reflectively during engagements.

Go deeper

Related to this question

About these practice questions

This PT0-003 question is part of Courseiva's 777-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PT0-003 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PT0-003 exam.