BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA PT0-003 Exam - Topic 4 Question 44 Discussion

Posted by Carey on Oct 15, 2026 at 12:01 AM

While performing a penetration testing exercise, a tester executes the following command:

bash

Copy code

PS c:\tools> c:\hacks\PsExec.exe \\server01.comptia.org -accepteula cmd.exe

Which of the following best explains what the tester is trying to do?

Suggested Answer: B

Lateral Movement with PsExec:

PsExec is a tool used for executing processes on remote systems.

The command enables the tester to execute cmd.exe on the target host (server01) to achieve lateral movement and potentially escalate privileges.

Why Not Other Options?

A: The command is not testing connectivity; it is executing a remote command.

C: PsExec does not send its binary; it executes commands on remote systems.

D: The command is not enabling cmd.exe; it is using it as a tool for executing commands remotely.

CompTIA Pentest+ Reference:

Domain 3.0 (Attacks and Exploits)


Get Premium PT0-003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
9 comments · newest first
LA
Laurel 3 days ago
Nah, it’s not about sending the binary, that’s not what PsExec does.
LU
Lucille 8 days ago
Definitely enabling CMD.exe on that server.
DY
Dylan 13 days ago
Surprised they’re using PsExec for this! Seems risky.
LY
Lyndia 18 days ago
I think it's just testing connectivity, not an attack.
PA
Paris 23 days ago
Looks like they're trying to perform a lateral movement attack with PsExec.
FE
Felicitas 28 days ago
I feel like the command is enabling CMD.exe on the server, but I’m not confident that’s the right interpretation.
ON
Onita 1 month ago
I’m a bit confused about whether it’s just testing connectivity or actually executing something on the server. Could it be both?
AL
Aliza 1 month ago
I remember practicing a similar question where PsExec was used to execute commands remotely. It feels like option B makes the most sense here.
MA
Magnolia 1 month ago
I think the command is trying to perform a lateral movement attack, but I'm not entirely sure if that's the main goal.
0/2000 characters

Save Cancel