Question 330
In a formally authorized penetration test, the team observes: An engineer proposes erasing all security logs to hide the penetration test's benign trial activity from auditors. Which response is MOST appropriate for this finding?
- Remove the tester-created identity and validate that its permissions and sessions are gone.
- 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.
Explanation
Correct Answer
D:Cleanup should reverse changes without destroying audit trails needed for accountability. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Removing the tester-created identity and validating that its permissions and sessions are gone would not preserve the required evidence and remove only approved test artifacts according to the restoration plan.
B:Restoring both execution mechanisms and verifying there are no lingering startup triggers would not preserve the required evidence and remove only approved test artifacts according to the restoration plan.
C:Retiring the scoped test infrastructure and reconciling its resource and billing inventory would not preserve the required evidence and remove only approved test artifacts according to the restoration plan.
Question 331
During a customer-approved security assessment, the tester finds: A tester detects a listening service on a multihomed server, and the owner believes it is reachable only from the administrator VLAN. Which action BEST addresses this specific requirement?
- Validate interface binding and approved network paths rather than assume one subnet boundary applies.
- 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.
Explanation
Correct Answer
A:Hosts with multiple interfaces can expose services through unexpected trust zones. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Recording the default-credential control failure using a bounded test account and recommending credential rotation would not validate interface binding and approved network paths rather than assume one subnet boundary applies.
C:Verifying the endpoint identity would not validate interface binding and approved network paths rather than assume one subnet boundary applies.
D:Differentiate anonymous share enumeration from confirmed unauthorized file reads would not validate interface binding and approved network paths rather than assume one subnet boundary applies.
Question 332
A penetration-test report includes the following synthetic observation: Staff repeatedly disclose credentials to convincing phone calls, and prior exercises were never followed by education. What is the MOST defensible next step?
- Apply least-privilege role-based access control and controlled privilege elevation.
- 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.
Explanation
Correct Answer
D:Awareness and clear reporting workflows reduce repeated human-targeted attack exposure. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Applying least-privilege role-based access control and controlled privilege elevation would not provide targeted social-engineering awareness training and reinforce reporting procedures.
B:Integrating security review and repeatable validation into the software development lifecycle would not provide targeted social-engineering awareness training and reinforce reporting procedures.
C:Introduce scheduled access reviews and documented joiner-mover-leaver account procedures would not provide targeted social-engineering awareness training and reinforce reporting procedures.
Question 333
Within an isolated training lab, the analyst identifies: An application accepts a remote URL as its server-side code module source and the owner assumes TLS means the code is trusted. Which recommendation MOST directly fits this evidence?
- 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.
- Classify directory traversal and constrain resolved paths to approved storage roots.
Explanation
Correct Answer
B:Encrypted transport does not establish that remotely fetched code is authorized for execution. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Assessing local file inclusion controls and using an allowlisted template selector would not report remote file inclusion risk and recommend disabling external untrusted code inclusion.
C:Identifying server-side request forgery and restricting backend URL destinations and egress would not report remote file inclusion risk and recommend disabling external untrusted code inclusion.
D:Classifying directory traversal and constrain resolved paths to approved storage roots would not report remote file inclusion risk and recommend disabling external untrusted code inclusion.
Question 334
A penetration testing lead reviewing the approved scope learns that: A tester discovers a kiosk app allows users to open a system shell, but the scope excludes bypassing physical access controls. Which response is MOST appropriate for this finding?
- 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
C:A confirmed escape surface need not be pursued into out-of-scope operating-system changes. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Verifying both service path parsing and effective write permissions would not document the observed kiosk escape and defer further privilege tests to an authorized lab.
B:Recommending permission hardening and plugin integrity verification for privileged execution paths would not document the observed kiosk escape and defer further privilege tests to an authorized lab.
D:Reporting the writable privileged service path and recommending restricting file modification rights would not document the observed kiosk escape and defer further privilege tests to an authorized lab.
Question 335
During an approved security validation exercise, the following occurs: An owner disputes a sensitive-data exposure finding because the report lacks the approved proof object identifier and exact principal scope. Which action BEST addresses this specific requirement?
- Document risk reduction from segmentation separately from software-level defect remediation.
- 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.
Explanation
Correct Answer
C:Repeatable least-data evidence supports independent verification without leaking real customer records. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Reduced reachability is a compensating control rather than proof that the underlying vulnerability was patched; repeatable least-data evidence supports independent verification without leaking real customer records.
B:A renamed or retired scanner check does not necessarily mean the security weakness has disappeared; repeatable least-data evidence supports independent verification without leaking real customer records.
D:Secure remediation should block misuse without silently breaking the authorized operation; repeatable least-data evidence supports independent verification without leaking real customer records.
Question 336
The customer asks the authorized assessor to evaluate this situation: A company uses a simulated phishing tool and wants to report individual employees as negligent based only on one link click. What is the MOST defensible next step?
- Classify the scenario as vishing and reinforce independent identity validation procedures.
- 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.
Explanation
Correct Answer
B:Simulation results are education signals and do not directly prove a person's intent or competence. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Classifying the scenario as vishing and reinforce independent identity validation procedures would not report training outcomes with context and privacy safeguards rather than unsupported disciplinary conclusions.
C:Identifying whaling or executive impersonation risk and recommending approval verification training would not report training outcomes with context and privacy safeguards rather than unsupported disciplinary conclusions.
D:Keeping the smishing simulation limited to consented recipients and approved harmless destinations would not report training outcomes with context and privacy safeguards rather than unsupported disciplinary conclusions.
Question 337
The test team is analyzing this evidence from a controlled environment: A host reports an unsafe TLS cipher by a scan plugin, while manual handshake tests negotiate only modern suites. Which recommendation MOST directly fits this evidence?
- Correlate image-digest inventory with the actually running deployment before claiming exposure.
- Reconcile plugin output against reproducible protocol evidence and current service settings.
- Verify the vendor's patch or package advisory before confirming the finding.
- Record evidence of information disclosure and score its actual exploit-enabling significance.
Explanation
Correct Answer
B:Tool findings can be stale or misinterpreted, and confirmation requires observed negotiated behavior. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Correlating image-digest inventory with the actually running deployment would not reconcile plugin output against reproducible protocol evidence and current service settings.
C:Verifying the vendor's patch or package advisory would not reconcile plugin output against reproducible protocol evidence and current service settings.
D:Recording evidence of information disclosure and score its actual exploit-enabling significance would not reconcile plugin output against reproducible protocol evidence and current service settings.
Question 338
In a formally authorized penetration test, the team observes: The assessment involves an internet-facing gateway and no agreement identifies who may authorize a temporary firewall exception. Which response is MOST appropriate for this finding?
- Stop the affected testing activity and invoke the agreed safety escalation contact.
- Follow the signed authorization and request formally approved changes before destructive validation.
- Specify escalation, approval authority and rollback conditions before intrusive testing begins.
- Pause intrusive activity and obtain approval for an additional testing window.
Explanation
Correct Answer
C:Rules of engagement must establish decision rights for changes that can affect service availability. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Stopping the affected testing activity and invoke the agreed safety escalation contact would not specify escalation, approval authority and rollback conditions.
B:Follow the signed authorization and request formally approved changes would not specify escalation, approval authority and rollback conditions.
D:Pause intrusive activity and obtain approval for an additional testing window would not specify escalation, approval authority and rollback conditions.
Question 339
During a customer-approved security assessment, the tester finds: A critical application uses a private encryption key stored in the source repository without rotation controls. Which action BEST addresses this specific requirement?
- 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.
- Recommend phishing-resistant multifactor authentication and suitable conditional-access restrictions.
- Recommend managed secret custody, access review and prompt credential rotation.
Explanation
Correct Answer
D:A key embedded in broadly copied source material cannot be reliably protected by deleting one repository line. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Recommending parameterized queries and safe server-side input handling as the primary correction would not recommend managed secret custody, access review and prompt credential rotation.
B:Recommending an approved upgrade path and compensating controls until the vulnerable component is replaced would not recommend managed secret custody, access review and prompt credential rotation.
C:Recommending phishing-resistant multifactor authentication and suitable conditional-access restrictions would not recommend managed secret custody, access review and prompt credential rotation.
Question 340
A penetration-test report includes the following synthetic observation: A system file integrity monitor sees core executables modified but the host reports normal service status. What is the MOST defensible next step?
- 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
C:Operating-system-level modification can hide malicious persistence from ordinary on-host tools. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Investigating whether a bind-style remote shell or legitimate maintenance service owns the listener would not investigate possible rootkit or binary tampering using trusted offline validation.
B:Treat the artifact as a possible web shell and preserve minimal evidence for controlled removal would not investigate possible rootkit or binary tampering using trusted offline validation.
D:Identifying the persistent outbound callback behavior and recommending removing the authorized test implant would not investigate possible rootkit or binary tampering using trusted offline validation.
CompTIA PenTest+ (PT0-003) Practice Tests