CompTIA PenTest+ Practice Questions: Post-exploitation and Lateral Movement

21 free, exam-style CompTIA PenTest+ (PT0-003) practice questions covering Post-exploitation and Lateral Movement, each with the correct answer and an explanation. Start a timed exam below, or scroll on to read through the questions.

🧠

Mini Exam

25 Questions · 50 minutes

Start Quiz 🚀
🏆

Mock PenTest+ Exam

85 Questions · 165 minutes

Start Quiz 🚀
📅

Daily Quiz

10 Questions · 20 minutes

Start Quiz 🚀
🎯

Standard Practice

50 Questions · 100 minutes

Start Quiz 🚀

Post-exploitation and Lateral Movement practice questions

Answers and explanations are shown. Take the timed exam above to test yourself first.

Q1. After exploiting a host, which action helps preserve access for later testing within scope?

  • A.Delete all logs without approval
  • B.Establish approved persistence✓ Correct
  • C.Share credentials publicly
  • D.Expand scope silently
Explanation: Persistence may be tested only when authorized and documented in the engagement scope. Learn more.

Q2. Which technique abuses overly permissive SUID binaries on Linux?

  • A.Banner grabbing
  • B.Subnetting
  • C.Port forwarding only
  • D.Privilege escalation✓ Correct
Explanation: Misconfigured SUID binaries may execute with elevated privileges and allow local privilege escalation. Learn more.

Q3. Which file should be reviewed on Linux to identify accounts with login shells?

  • A./etc/mtab only
  • B./etc/passwd✓ Correct
  • C./var/tmp
  • D./etc/hosts.allow only
Explanation: /etc/passwd lists local accounts, user IDs, home directories, and login shells. Learn more.

Q4. Which lateral movement technique uses stolen NTLM hashes without knowing plaintext passwords?

  • A.Bluebugging
  • B.DNSSEC validation
  • C.Pass-the-hash✓ Correct
  • D.Wardriving
Explanation: Pass-the-hash authenticates with captured NTLM hashes instead of plaintext credentials. Learn more.

Q5. Which post-exploitation activity identifies sensitive files and databases reachable from a compromised account?

  • A.SSID hiding
  • B.Cable tracing
  • C.Scope removal
  • D.Data discovery✓ Correct
Explanation: Data discovery determines what sensitive data the compromised access can reach, within authorized test scope. Learn more.

Q6. Which technique maps internal network ranges after gaining a foothold?

  • A.Report proofreading
  • B.Internal network discovery✓ Correct
  • C.Disk wiping
  • D.Monitor calibration
Explanation: Internal discovery identifies reachable networks, hosts, and services from the compromised position. Learn more.

Q7. Which Windows technique authenticates using a captured NTLM hash without cracking it?

  • A.Pass-the-hash✓ Correct
  • B.Kerberoasting
  • C.Password spraying
  • D.Credential stuffing
Explanation: NTLM authentication uses the hash directly, so possession of the hash is equivalent to possession of the password for that protocol. Learn more.

Q8. What is the purpose of lateral movement after initial compromise?

  • A.Removing all evidence of the test
  • B.Increasing privileges on the same host only
  • C.Reducing the target's attack surface
  • D.Reaching additional systems to progress toward the engagement objective✓ Correct
Explanation: Initial access is rarely the goal. Lateral movement demonstrates how far an attacker could realistically reach from that foothold. Learn more.

Q9. Which Linux misconfiguration commonly enables local privilege escalation?

  • A.A SUID binary that can execute arbitrary commands✓ Correct
  • B.A user in the audio group
  • C.A non-root cron job with no privileges
  • D.An idle SSH session
Explanation: SUID binaries run as their owner, usually root, so any that can be coerced into running arbitrary commands grant escalation. Learn more.

Q10. Which command reveals sudo rights available to the current Linux user?

  • A.whoami
  • B.uname -a
  • C.sudo -l✓ Correct
  • D.id -u
Explanation: sudo -l lists permitted commands, frequently exposing entries that can be abused to obtain a root shell. Learn more.

Q11. What is the risk of an unquoted Windows service path?

  • A.The registry becomes corrupted
  • B.The firewall is disabled
  • C.A binary planted in a parent directory may run with service privileges✓ Correct
  • D.The service cannot start
Explanation: Windows tries each space-delimited path fragment in turn, so a writable parent directory allows a planted executable to run as the service account. Learn more.

Q12. Which technique extracts credentials from Windows memory?

  • A.Reading the hosts file
  • B.Dumping LSASS process memory✓ Correct
  • C.Querying DNS
  • D.Listing scheduled tasks
Explanation: LSASS caches authentication material, so a memory dump can yield hashes and sometimes plaintext credentials for lateral movement. Learn more.

Q13. What should a tester do with persistence mechanisms created during an engagement?

  • A.Leave them for the client to find
  • B.Document them and remove them during cleanup✓ Correct
  • C.Transfer them to another client
  • D.Encrypt them and keep access
Explanation: Every artefact created must be recorded and removed so the test does not leave the client less secure than it found them. Learn more.

Q14. Which activity is normally prohibited unless explicitly authorised in writing?

  • A.Taking screenshots as evidence
  • B.Enumerating local users
  • C.Deleting or altering logs to hide tester activity✓ Correct
  • D.Recording command output
Explanation: Log manipulation destroys the client's forensic record and is generally out of scope outside specific detection-testing objectives. Learn more.

Q15. What is credential harvesting in post-exploitation?

  • A.Collecting stored passwords, hashes, keys, and tokens from a compromised host✓ Correct
  • B.Guessing passwords over the network
  • C.Scanning for open ports
  • D.Cracking WPA2 handshakes
Explanation: Harvested material from one host frequently unlocks others, which is the usual engine of lateral movement in flat networks. Learn more.

Q16. Which Active Directory attack replicates directory data as if the tester were a domain controller?

  • A.AS-REP roasting
  • B.Kerberoasting
  • C.DCSync✓ Correct
  • D.Password spraying
Explanation: DCSync abuses replication rights to request password data directly, and requires high privilege such as delegated replication permissions. Learn more.

Q17. Which technique moves between hosts using legitimate remote administration tools?

  • A.Living off the land using built-in utilities✓ Correct
  • B.Sending phishing emails
  • C.Deploying a custom rootkit
  • D.Running a port scan
Explanation: Using signed, expected tools such as WMI, PsExec, or PowerShell remoting blends with normal administrative traffic and evades signature detection. Learn more.

Q18. What does pivoting through a compromised host allow a tester to do?

  • A.Reach network segments not directly routable from the tester's position✓ Correct
  • B.Decrypt all network traffic
  • C.Escalate privileges automatically
  • D.Disable the target's firewall
Explanation: The compromised host acts as a relay into networks the tester cannot reach directly, which is how segmentation is really tested. Learn more.

Q19. Which finding best demonstrates inadequate network segmentation?

  • A.A workstation subnet can reach server management interfaces directly✓ Correct
  • B.A VLAN uses tagged frames
  • C.Two servers share a rack
  • D.A firewall logs denied traffic
Explanation: Segmentation should prevent low-trust zones reaching management planes. Reachability from a user subnet shows the control is missing or misconfigured. Learn more.

Q20. Why should testers record timestamps and source addresses for all actions?

  • A.To increase the report's page count
  • B.To satisfy the scanner license
  • C.So the client can correlate tester activity against their own alerts✓ Correct
  • D.To prove the client was negligent
Explanation: Deconfliction lets the blue team distinguish authorised testing from a genuine intrusion, and supports measuring their detection coverage. Learn more.

Q21. Which post-exploitation action most clearly exceeds a standard test scope?

  • A.Listing directory names on a file share
  • B.Recording a screenshot of a shell prompt
  • C.Exfiltrating real customer personal data to an external system✓ Correct
  • D.Noting the operating system version
Explanation: Removing genuine personal data creates real legal and privacy exposure. Proof of access is demonstrated without exfiltrating live records. Learn more.

More CompTIA PenTest+ practice topics

Keep studying CompTIA PenTest+

Full CompTIA PenTest+ practice exam · CompTIA PenTest+ study guide · All CompTIA practice questions

Last updated