CompTIA PenTest+ PT0-003 (V3) Practice Question

While performing an internal penetration test against a legacy UNIX print server, you run an nmap scan and see that TCP 515 is open. Banner grabbing returns "220 lpd server (in.lpd 1.0) ready," and a quick process check shows the daemon running with UID 0 (root). You must determine whether this service can realistically be leveraged to obtain root access on the host without making permanent configuration changes. Which action will provide the MOST conclusive evidence of privilege-escalation potential?

  • Use lpq to list remote printer queues and compare them with entries in /etc/printcap.

  • Retrieve and update the printer server's hostname via SNMP SET requests to see if LPD restarts with elevated privileges.

  • Transmit a crafted control file that triggers the known in.lpd buffer overflow and observe whether it spawns a root shell.

  • Add your workstation's IP to /etc/hosts.lpd to limit access, then rescan port 515 for changes.

CompTIA PenTest+ PT0-003 (V3)
Post-exploitation and Lateral Movement
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $51
$425.00 $374.00
SAVE $57
CompTIA PenTest+ Voucher with Retake
v3 / PT0-003
Includes Retake
$474.00 $417.00
Bash, the Crucial Exams Chat Bot
AI Bot