Question 100
Within an isolated training lab, the analyst identifies: An enterprise desktop has an outdated browser extension that is not visible in the perimeter scan inventory. Which recommendation MOST directly fits this evidence?
- Repeat only an external perimeter port scan and infer installed extensions from exposed services.
- Check the operating system build while excluding per-user browser extension directories.
- Inspect DNS responses for the browser vendor but do not inventory software on the affected host.
- Perform a scoped host-based software and extension inventory with approved permissions.
Explanation
Correct Answer
D:A perimeter scan cannot enumerate browser extensions installed locally. A scoped endpoint software and extension inventory, using approved host permissions, can identify the outdated component and support remediation.
Incorrect Answers
A:An external port scan reports reachable network services, not browser extensions installed inside a user profile on the endpoint.
B:The OS build is not an inventory of user-installed browser components; excluding those directories leaves the reported extension invisible.
C:DNS resolution can reveal vendor domains but not whether a specific outdated extension is installed on this workstation.
Question 101
During a customer-approved security assessment, the tester finds: An application uses a long-lived service credential created solely for a one-week test and it remains enabled after project closure. Which action BEST addresses this specific requirement?
- Limit credential use to explicitly permitted synthetic accounts and avoid unapproved lateral replay.
- Identify the tester-created account and disable it under the approved restoration procedure.
- Revoke the test credential and verify that no approved production workflow depends on it.
- Restore the original endpoint protection policy and verify the effective sensor state.
Explanation
Correct Answer
C:Temporary access material must not remain reusable after its specific purpose ends. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Temporary access material must not remain reusable after its specific purpose ends.
B:Identifying the tester-created account and disable it under the approved restoration procedure would not revoke the test credential and verify that no approved production workflow depends on it.
D:Restoring the original endpoint protection policy and verifying the effective sensor state would not revoke the test credential and verify that no approved production workflow depends on it.
Question 102
A penetration-test report includes the following synthetic observation: A simulated attacker reaches a print server on a JetDirect port, and the tester labels the device a Windows domain controller. What is the MOST defensible next step?
- Identify printer service behavior separately from identity infrastructure.
- Verify the access boundary rather than infer admin access from the presence of a web interface.
- Report legacy file-transfer exposure and recommend approved encrypted alternatives.
- Review process ownership and the approved service map before inferring lateral reconnaissance.
Explanation
Correct Answer
A:A reachable printing protocol does not imply a server exposes directory-controller privileges. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Verifying the access boundary rather than infer admin access from the presence of a web interface would not identify printer service behavior separately from identity infrastructure.
C:Reporting legacy file-transfer exposure and recommending approved encrypted alternatives would not identify printer service behavior separately from identity infrastructure.
D:Reviewing process ownership and the approved service map would not identify printer service behavior separately from identity infrastructure.
Question 103
Within an isolated training lab, the analyst identifies: A lab CAN bus capture shows command frames replayed with no application-layer freshness control. Which recommendation MOST directly fits this evidence?
- Document register-manipulation risk and use a digital twin instead of altering real process values.
- Identify message replay risk and recommend suitable origin and freshness protections.
- Classify the nuisance traffic and evaluate supported pairing hardening with user awareness.
- Report the RFID weakness and recommend stronger credential verification without badge cloning.
Explanation
Correct Answer
B:Messages lacking replay resistance can be accepted again without proving the sender is current or authorized. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Documenting register-manipulation risk and using a digital twin would not identify message replay risk and recommend suitable origin and freshness protections.
C:Classifying the nuisance traffic and evaluating supported pairing hardening with user awareness would not identify message replay risk and recommend suitable origin and freshness protections.
D:Reporting the RFID weakness and recommending stronger credential verification without badge cloning would not identify message replay risk and recommend suitable origin and freshness protections.
Question 104
A penetration testing lead reviewing the approved scope learns that: A script constructs user-supplied file paths by concatenating untrusted names and writes results outside the assigned evidence folder. Which response is MOST appropriate for this finding?
- Parse the structured JSON with an appropriate language library rather than raw text splitting.
- Resolve and validate output paths against the approved evidence directory.
- Exclude authentication secrets from logged output and retain only necessary response metadata.
- Use explicit Boolean conditions and validate the comparison types in the script.
Explanation
Correct Answer
B:Controlled file paths prevent unintended overwrites or disclosure outside the engagement workspace. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Parse the structured JSON with an appropriate language library rather than raw text splitting would not resolve and validate output paths against the approved evidence directory.
C:Excluding authentication secrets from logged output and retaining only necessary response metadata would not resolve and validate output paths against the approved evidence directory.
D:Using explicit Boolean conditions and validating the comparison types in the script would not resolve and validate output paths against the approved evidence directory.
Question 105
During an approved security validation exercise, the following occurs: A network team proposes using PsExec to remotely administer every server discovered in a sweep, including out-of-scope production servers. Which action BEST addresses this specific requirement?
- Distinguish remote management session establishment from how credentials were obtained.
- Require execution and persistence evidence rather than classify ordinary OS utilities as malware.
- Use a permitted host inventory utility such as Seatbelt for read-only configuration evidence.
- Restrict remote administration to approved lab hosts and scoped test accounts.
Explanation
Correct Answer
D:Remote execution capability can affect systems significantly and must respect explicit host and account authorization. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Distinguishing remote management session establishment from how credentials were obtained would not restrict remote administration to approved lab hosts and scoped test accounts.
B:Requiring execution and persistence evidence rather than classify ordinary OS utilities as malware would not restrict remote administration to approved lab hosts and scoped test accounts.
C:Using a permitted host inventory utility such as Seatbelt for read-only configuration evidence would not restrict remote administration to approved lab hosts and scoped test accounts.
Question 106
The customer asks the authorized assessor to evaluate this situation: An authorized mobile application review must assess secure local storage and platform-specific authentication behavior. What is the MOST defensible next step?
- Apply STRIDE to classify the API trust-boundary threats.
- Use the Purdue model to identify industrial network levels and test boundaries.
- Use the current OWASP Top 10 as a web-application risk classification reference.
- Apply relevant OWASP MASVS control categories to the mobile review.
Explanation
Correct Answer
D:MASVS addresses mobile application security requirements including platform and data handling characteristics. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Applying STRIDE to classify the API trust-boundary threats would not apply relevant OWASP MASVS control categories to the mobile review.
B:Using the Purdue model to identify industrial network levels and testing boundaries would not apply relevant OWASP MASVS control categories to the mobile review.
C:Using the current OWASP Top 10 as a web-application risk classification reference would not apply relevant OWASP MASVS control categories to the mobile review.
Question 107
The test team is analyzing this evidence from a controlled environment: A tester must confirm basic TCP reachability to one permitted lab port rather than use a broad exploitation framework. Which recommendation MOST directly fits this evidence?
- Use a simple approved connection utility such as Netcat for a non-destructive reachability check.
- Review module prerequisites and validate target configuration before considering a controlled test.
- Obtain explicit permission for the active protocol action before using the tool.
- Inspect a bounded Wireshark or tcpdump capture for the relevant five-tuple.
Explanation
Correct Answer
A:Tool choice should match the minimum evidence required and the approved target scope. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Framework modules describe potential techniques, not guaranteed successful exploitation on arbitrary services; tool choice should match the minimum evidence required and the approved target scope.
C:A tool's capability does not expand the scope of authorized packet or identity interactions; tool choice should match the minimum evidence required and the approved target scope.
D:Packet capture documents observed flags and timing while avoiding new intrusive requests; tool choice should match the minimum evidence required and the approved target scope.
Question 108
In a formally authorized penetration test, the team observes: A Python loop collects results into an unordered set, losing the association between each service port and its scanned host. Which response is MOST appropriate for this finding?
- Keep TLS verification on and isolate any approved exception to an explicit bounded test case.
- Centralize scope validation in a tested reusable function or module.
- Store structured host-port-result objects before aggregating distinct findings.
- Fail safely on unmet prerequisites and record the error in execution evidence.
Explanation
Correct Answer
C:Data structures must retain context that makes scan observations attributable to their correct targets. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Keeping TLS verification on and isolate any approved exception to an explicit bounded test case would not store structured host-port-result objects.
B:Centralize scope validation in a tested reusable function or module would not store structured host-port-result objects.
D:Fail safely on unmet prerequisites and record the error in execution evidence would not store structured host-port-result objects.
Question 109
During a customer-approved security assessment, the tester finds: A cloud inventory exposes service account credentials in a read-only configuration export. Which action BEST addresses this specific requirement?
- Redact the key material and record affected principal, permission scope and revocation urgency.
- Enumerate each key's approved owner and effective scope without exercising unauthorized APIs.
- Preserve a redacted token indicator and exclude unapproved session replay.
- Limit wireless enumeration and reporting to the authorized SSID and BSSID set.
Explanation
Correct Answer
A:Secret discovery should support remediation without storing or reusing live account credentials. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Enumerate each key's approved owner and effective scope without exercising unauthorized APIs would not redact the key material and record affected principal, permission scope and revocation urgency.
C:Preserving a redacted token indicator and excluding unapproved session replay would not redact the key material and record affected principal, permission scope and revocation urgency.
D:Limiting wireless enumeration and reporting to the authorized SSID and BSSID set would not redact the key material and record affected principal, permission scope and revocation urgency.
Question 110
A penetration-test report includes the following synthetic observation: An engineer enables intrusive scripts against a production OT device because the scanner's default profile includes them. What is the MOST defensible next step?
- Pause the scan and reconfigure rate limits, timing and excluded fragile services with the client.
- Remove unsafe plugins and obtain explicit safety approval for each high-impact test method.
- Stage scans by approved region and scope with bandwidth and rate-control safeguards.
- Coordinate credential readiness and confirm authentication success before interpreting coverage.
Explanation
Correct Answer
B:Default scanner selections are not a substitute for a risk assessment of sensitive equipment. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Pause the scan and reconfigure rate limits, timing and excluded fragile services with the client would not remove unsafe plugins and obtain explicit safety approval for each high-impact test method.
C:Stage scans by approved region and scope with bandwidth and rate-control safeguards would not remove unsafe plugins and obtain explicit safety approval for each high-impact test method.
D:Credential management would not remove unsafe plugins and obtain explicit safety approval for each high-impact test method.
CompTIA PenTest+ (PT0-003) Practice Tests