Question 130
The customer asks the authorized assessor to evaluate this situation: A tester installed a service and scheduled task for an approved lab demonstration, then deleted only the service executable. What is the MOST defensible next step?
- Restore both execution mechanisms and verify there are no lingering startup triggers.
- Retire the scoped test infrastructure and reconcile its resource and billing inventory.
- Preserve the required evidence and remove only approved test artifacts according to the restoration plan.
- Remove the tester-created identity and validate that its permissions and sessions are gone.
Explanation
Correct Answer
A:Removal of one payload does not reverse the configuration that could recreate or launch it. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Retiring the scoped test infrastructure and reconciling its resource and billing inventory would not restore both execution mechanisms and verify there are no lingering startup triggers.
C:Preserving the required evidence and removing only approved test artifacts according to the restoration plan would not restore both execution mechanisms and verify there are no lingering startup triggers.
D:Removing the tester-created identity and validating that its permissions and sessions are gone would not restore both execution mechanisms and verify there are no lingering startup triggers.
Question 131
The test team is analyzing this evidence from a controlled environment: A network service advertises a vulnerable release, but an administrator says an edge proxy is the actual endpoint accepting connections. Which recommendation MOST directly fits this evidence?
- Record the default-credential control failure using a bounded test account and recommend credential rotation.
- Verify the endpoint identity before attributing exploitability to the internal service.
- Differentiate anonymous share enumeration from confirmed unauthorized file reads.
- Validate interface binding and approved network paths rather than assume one subnet boundary applies.
Explanation
Correct Answer
B:Intermediary infrastructure can make banners and target assumptions unreliable. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Recording the default-credential control failure using a bounded test account and recommending credential rotation would not verify the endpoint identity.
C:Differentiate anonymous share enumeration from confirmed unauthorized file reads would not verify the endpoint identity.
D:Validating interface binding and approved network paths rather than assume one subnet boundary applies would not verify the endpoint identity.
Question 132
In a formally authorized penetration test, the team observes: Multiple production deployments skip peer review and introduce previously known security flaws. Which response is MOST appropriate for this finding?
- Integrate security review and repeatable validation into the software development lifecycle.
- Introduce scheduled access reviews and documented joiner-mover-leaver account procedures.
- Provide targeted social-engineering awareness training and reinforce reporting procedures.
- Apply least-privilege role-based access control and controlled privilege elevation.
Explanation
Correct Answer
A:Development process controls prevent recurring weaknesses more effectively than reactive patching alone. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Introduce scheduled access reviews and documented joiner-mover-leaver account procedures would not integrate security review and repeatable validation into the software development lifecycle.
C:Providing targeted social-engineering awareness training and reinforce reporting procedures would not integrate security review and repeatable validation into the software development lifecycle.
D:Applying least-privilege role-based access control and controlled privilege elevation would not integrate security review and repeatable validation into the software development lifecycle.
Question 133
During a customer-approved security assessment, the tester finds: A file download handler joins a client-supplied filename to a local directory without checking whether the normalized path escapes that directory. Which action BEST addresses this specific requirement?
- Classify directory traversal and constrain resolved paths to approved storage roots.
- Assess local file inclusion controls and use an allowlisted template selector.
- Report remote file inclusion risk and recommend disabling external untrusted code inclusion.
- Identify server-side request forgery and restrict backend URL destinations and egress.
Explanation
Correct Answer
A:Path normalization flaws can redirect file operations outside the intended document directory. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Assessing local file inclusion controls and using an allowlisted template selector would not classify directory traversal and constrain resolved paths to approved storage roots.
C:Reporting remote file inclusion risk and recommending disabling external untrusted code inclusion would not classify directory traversal and constrain resolved paths to approved storage roots.
D:Identifying server-side request forgery and restricting backend URL destinations and egress would not classify directory traversal and constrain resolved paths to approved storage roots.
Question 134
A penetration-test report includes the following synthetic observation: A Windows service path contains spaces and lacks quotation marks, but an analyst ignores whether ordinary users can write to any candidate directory. What is the MOST defensible next step?
- Verify both service path parsing and effective write permissions before confirming an escalation path.
- Recommend permission hardening and plugin integrity verification for privileged execution paths.
- Document the observed kiosk escape and defer further privilege tests to an authorized lab.
- Report the writable privileged service path and recommend restricting file modification rights.
Explanation
Correct Answer
A:An unquoted path is exploitable only when the necessary path and privilege conditions coexist. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Recommending permission hardening and plugin integrity verification for privileged execution paths would not verify both service path parsing and effective write permissions.
C:Documenting the observed kiosk escape and deferring further privilege tests to an authorized lab would not verify both service path parsing and effective write permissions.
D:Reporting the writable privileged service path and recommending restricting file modification rights would not verify both service path parsing and effective write permissions.
Question 135
Within an isolated training lab, the analyst identifies: A firewall change hides an old service from an outside scanner, while a permitted internal scanner still observes the same flawed code. Which recommendation MOST directly fits this evidence?
- Revalidate the actual defect against current configuration and vendor guidance.
- Repeat a safe authorized test using synthetic records and record principal, object and policy outcomes.
- Validate both safe negative tests and permitted normal business transactions after the fix.
- Document risk reduction from segmentation separately from software-level defect remediation.
Explanation
Correct Answer
D:Reduced reachability is a compensating control rather than proof that the underlying vulnerability was patched. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Revalidating the actual defect against current configuration and vendor guidance would not document risk reduction from segmentation separately from software-level defect remediation.
B:Repeat a safe authorized test using synthetic records and record principal, object and policy outcomes would not document risk reduction from segmentation separately from software-level defect remediation.
C:Validating both safe negative tests and permitted normal business transactions after the fix would not document risk reduction from segmentation separately from software-level defect remediation.
Question 136
A penetration testing lead reviewing the approved scope learns that: An authorized exercise sends a fraudulent-looking SMS to a dedicated test phone, while staff propose sending the same link to unrelated personal numbers. Which response is MOST appropriate for this finding?
- Report training outcomes with context and privacy safeguards rather than unsupported disciplinary conclusions.
- Identify whaling or executive impersonation risk and recommend approval verification training.
- Keep the smishing simulation limited to consented recipients and approved harmless destinations.
- Classify the scenario as vishing and reinforce independent identity validation procedures.
Explanation
Correct Answer
C:Social engineering tests require specific recipient authorization and should not expose outsiders to deceptive messages. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Reporting training outcomes with context and privacy safeguards rather than unsupported disciplinary conclusions would not keep the smishing simulation limited to consented recipients and approved harmless destinations.
B:Identifying whaling or executive impersonation risk and recommending approval verification training would not keep the smishing simulation limited to consented recipients and approved harmless destinations.
D:Classifying the scenario as vishing and reinforce independent identity validation procedures would not keep the smishing simulation limited to consented recipients and approved harmless destinations.
Question 137
During an approved security validation exercise, the following occurs: An assessor finds a publicly accessible status endpoint that leaks precise software details but no sensitive customer information. Which action BEST addresses this specific requirement?
- Verify the vendor's patch or package advisory before confirming the finding.
- Record evidence of information disclosure and score its actual exploit-enabling significance.
- Correlate image-digest inventory with the actually running deployment before claiming exposure.
- Reconcile plugin output against reproducible protocol evidence and current service settings.
Explanation
Correct Answer
B:Exposed metadata can aid attacks without being equivalent to direct unauthorized access. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Verifying the vendor's patch or package advisory would not record evidence of information disclosure and score its actual exploit-enabling significance.
C:Correlating image-digest inventory with the actually running deployment would not record evidence of information disclosure and score its actual exploit-enabling significance.
D:Reconciling plugin output against reproducible protocol evidence and current service settings would not record evidence of information disclosure and score its actual exploit-enabling significance.
Question 138
The customer asks the authorized assessor to evaluate this situation: A scan causes unexpected latency in a clinical scheduling system that was approved only for non-disruptive assessment. What is the MOST defensible next step?
- Specify escalation, approval authority and rollback conditions before intrusive testing begins.
- Pause intrusive activity and obtain approval for an additional testing window.
- Stop the affected testing activity and invoke the agreed safety escalation contact.
- Follow the signed authorization and request formally approved changes before destructive validation.
Explanation
Correct Answer
C:Patient-facing service disruption is a predefined safety threshold requiring containment and communication before more testing. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Specifying escalation, approval authority and rollback conditions would not stop the affected testing activity and invoke the agreed safety escalation contact.
B:Pause intrusive activity and obtain approval for an additional testing window would not stop the affected testing activity and invoke the agreed safety escalation contact.
D:Follow the signed authorization and request formally approved changes would not stop the affected testing activity and invoke the agreed safety escalation contact.
Question 139
The test team is analyzing this evidence from a controlled environment: A public service exposes an end-of-life framework with a vendor-supplied supported replacement available. Which recommendation MOST directly fits this evidence?
- Recommend phishing-resistant multifactor authentication and suitable conditional-access restrictions.
- Recommend managed secret custody, access review and prompt credential rotation.
- Recommend parameterized queries and safe server-side input handling as the primary correction.
- Recommend an approved upgrade path and compensating controls until the vulnerable component is replaced.
Explanation
Correct Answer
D:Unsupported or vulnerable software generally requires lifecycle remediation rather than indefinite scanner exceptions. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Recommending phishing-resistant multifactor authentication and suitable conditional-access restrictions would not recommend an approved upgrade path and compensating controls until the vulnerable component is replaced.
B:Recommending managed secret custody, access review and prompting credential rotation would not recommend an approved upgrade path and compensating controls until the vulnerable component is replaced.
C:Recommending parameterized queries and safe server-side input handling as the primary correction would not recommend an approved upgrade path and compensating controls until the vulnerable component is replaced.
Question 140
In a formally authorized penetration test, the team observes: An approved server has an unexplained inbound listener that accepts a command connection from the training subnet. Which response is MOST appropriate for this finding?
- Investigate whether a bind-style remote shell or legitimate maintenance service owns the listener.
- Treat the artifact as a possible web shell and preserve minimal evidence for controlled removal.
- Investigate possible rootkit or binary tampering using trusted offline validation.
- Identify the persistent outbound callback behavior and recommend removing the authorized test implant.
Explanation
Correct Answer
A:A listening port alone is ambiguous; process ownership and authorization determine its significance. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Treat the artifact as a possible web shell and preserve minimal evidence for controlled removal would not investigate whether a bind-style remote shell or legitimate maintenance service owns the listener.
C:Investigating possible rootkit or binary tampering using trusted offline validation would not investigate whether a bind-style remote shell or legitimate maintenance service owns the listener.
D:Identifying the persistent outbound callback behavior and recommending removing the authorized test implant would not investigate whether a bind-style remote shell or legitimate maintenance service owns the listener.
CompTIA PenTest+ (PT0-003) Practice Tests