Question 260
During an approved security validation exercise, the following occurs: An SSH service accepts public keys for administrators, but a report interprets this as proof that passwords can be guessed online. Which action BEST addresses this specific requirement?
- Assess end-to-end protocol plaintext risk and recommend SSH or an equivalent protected alternative.
- Distinguish SMB file access from separate remote execution and privilege requirements.
- Classify WinRM as an available management path distinct from desktop remote access.
- Check the actual configured SSH authentication methods before describing password attack exposure.
Explanation
Correct Answer
D:Key-based authentication support does not imply password authentication is enabled. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Network location controls do not change Telnet's intrinsic lack of application transport encryption; key-based authentication support does not imply password authentication is enabled.
B:File sharing and administrative control use different capabilities and permissions; key-based authentication support does not imply password authentication is enabled.
C:A blocked RDP port does not preclude other legitimate management interfaces from responding; key-based authentication support does not imply password authentication is enabled.
Question 261
The customer asks the authorized assessor to evaluate this situation: A synthetic lab account can read one public share, and an analyst claims it can write to every host because the same username exists in the directory. What is the MOST defensible next step?
- Validate the chain's current group membership and delegated permissions before declaring lateral access.
- Record network reachability without attempting authentication against unapproved accounts.
- Validate per-host permissions and avoid assuming identical authorization from shared identity names.
- Terminate the chain at the excluded boundary and document the untested potential.
Explanation
Correct Answer
C:Authentication identity and resource-specific access grants are separate security decisions. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Validating the chain's current group membership and delegated permissions would not validate per-host permissions and avoid assuming identical authorization from shared identity names.
B:Recording network reachability without attempting authentication against unapproved accounts would not validate per-host permissions and avoid assuming identical authorization from shared identity names.
D:Terminate the chain at the excluded boundary and document the untested potential would not validate per-host permissions and avoid assuming identical authorization from shared identity names.
Question 262
The test team is analyzing this evidence from a controlled environment: An account can list a public object-store container but receives access denied for sensitive files beneath an application-specific prefix. Which recommendation MOST directly fits this evidence?
- Map the principal's effective read and write permissions separately before describing impact.
- Review token audience, granted scopes and the approved service permission boundary without using unapproved grants.
- Enumerate object-level grants within scope and distinguish listing from data-read permission.
- Evaluate the effective cloud policy, explicit denies and resource scope before rating the permission.
Explanation
Correct Answer
C:Effective data-plane authorization can vary by object and cannot be inferred from container visibility. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Cloud resource visibility does not imply authority to change objects, IAM rules or network restrictions; effective data-plane authorization can vary by object and cannot be inferred from container visibility.
B:The privileges present in a token must be distinguished from the rights authorized by the engagement; effective data-plane authorization can vary by object and cannot be inferred from container visibility.
D:Role names alone can overstate authority when provider-specific policy conditions change the outcome; effective data-plane authorization can vary by object and cannot be inferred from container visibility.
Question 263
In a formally authorized penetration test, the team observes: A security training note describes staff following a uniformed visitor into a restricted facility without a confirmed visitor badge. Which response is MOST appropriate for this finding?
- Restrict the technique discussion to defensive detection and approved isolated training simulations.
- Explain watering-hole risk and prioritize secure browsing, patching and threat monitoring.
- Categorize the behavior as tailgating or physical impersonation and reinforce entry controls.
- Stop further collection and report the exposure using secure minimum-necessary evidence.
Explanation
Correct Answer
C:Physical pretexts can circumvent building authorization even without network credentials. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Restricting the technique discussion to defensive detection and approved isolated training simulations would not categorize the behavior as tailgating or physical impersonation and reinforce entry controls.
B:Explaining watering-hole risk and prioritizing secure browsing, patching and threat monitoring would not categorize the behavior as tailgating or physical impersonation and reinforce entry controls.
D:Stopping further collection and reporting the exposure using secure minimum-necessary evidence would not categorize the behavior as tailgating or physical impersonation and reinforce entry controls.
Question 264
During a customer-approved security assessment, the tester finds: A share path appears reachable, but the application presents a separate access-denied response when requesting individual documents. Which action BEST addresses this specific requirement?
- Refresh and validate the privilege graph before treating the proposed path as effective.
- Resolve direct and transitive group membership to identify the actual authorization path.
- Verify account existence using only the approved low-impact enumeration method.
- Distinguish share-level access from file- or object-level authorization.
Explanation
Correct Answer
D:The existence of a resource listing does not mean the principal may read every underlying item. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Refresh and validate the privilege graph would not distinguish share-level access from file- or object-level authorization.
B:Resolving direct and transitive group membership to identify the actual authorization path would not distinguish share-level access from file- or object-level authorization.
C:Verifying account existence using only the approved low-impact enumeration method would not distinguish share-level access from file- or object-level authorization.
Question 265
A penetration-test report includes the following synthetic observation: A server renders user-submitted template syntax with access to server-side objects during the lab exercise. What is the MOST defensible next step?
- Classify reflected cross-site scripting and recommend context-appropriate output encoding.
- Identify stored cross-site scripting and require safe rendering for persisted user content.
- Classify server-side template injection and restrict untrusted template evaluation.
- Match output encoding and safe APIs to the actual HTML, JavaScript or URL context.
Explanation
Correct Answer
C:Evaluating user-controlled template expressions on the server can access capabilities beyond normal text substitution. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Classifying reflected cross-site scripting and recommending context-appropriate output encoding would not classify server-side template injection and restrict untrusted template evaluation.
B:Identifying stored cross-site scripting and requiring safe rendering for persisted user content would not classify server-side template injection and restrict untrusted template evaluation.
D:Matching output encoding and safe APIs to the actual HTML, JavaScript or URL context would not classify server-side template injection and restrict untrusted template evaluation.
Question 266
Within an isolated training lab, the analyst identifies: A tester needs historical content from a page that was removed before the current assessment began. Which recommendation MOST directly fits this evidence?
- Consult the Wayback Machine and mark recovered material as historical evidence.
- Cross-check passive asset intelligence against the signed scope before any direct probing.
- Use Shodan or Censys search results as an initial passive inventory lead.
- Use Maltego-style relationship mapping with explicit provenance for each entity.
Explanation
Correct Answer
A:Web archives preserve past content but cannot establish a vulnerability remains present today. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Cross-checking passive asset intelligence against the signed scope would not consult the Wayback Machine and mark recovered material as historical evidence.
C:Using Shodan or Censys search results as an initial passive inventory lead would not consult the Wayback Machine and mark recovered material as historical evidence.
D:Using Maltego-style relationship mapping with explicit provenance for each entity would not consult the Wayback Machine and mark recovered material as historical evidence.
Question 267
A penetration testing lead reviewing the approved scope learns that: A third-party cloud platform hosts the application's data, but the customer assumes testers can attack the provider's shared control plane. Which response is MOST appropriate for this finding?
- Put a nondisclosure agreement in place before sharing protected assessment materials.
- Map hosting-provider, customer and tester responsibilities and obtain required platform permission.
- Define the mandatory reporting triggers and notification ownership in the legal engagement plan.
- Execute a statement of work covering the test targets, timeline and agreed outputs.
Explanation
Correct Answer
B:Shared responsibility and provider terms can limit activities even when the customer controls its own application. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Putting a nondisclosure agreement in place would not map hosting-provider, customer and tester responsibilities and obtain required platform permission.
C:Defining the mandatory reporting triggers and notification ownership in the legal engagement plan would not map hosting-provider, customer and tester responsibilities and obtain required platform permission.
D:Execute a statement of work covering the test targets, timeline and agreed outputs would not map hosting-provider, customer and tester responsibilities and obtain required platform permission.
Question 268
During an approved security validation exercise, the following occurs: A web scan uses Gobuster on every discovered domain and accidentally enumerates an external vendor service. Which action BEST addresses this specific requirement?
- Use an intercepting proxy such as Burp Suite or ZAP for permitted non-destructive requests.
- Use a controlled API client such as Postman with approved environment variables and identities.
- Constrain content discovery tools to signed host, path and rate limits.
- Classify tools as capabilities and confirm vulnerability evidence independently from tool availability.
Explanation
Correct Answer
C:Automated discovery cannot treat every linked or related site as an authorized penetration-testing target. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:A proxy reveals HTTP traffic and supports repeatable analysis without automatically granting broader service access; automated discovery cannot treat every linked or related site as an authorized penetration-testing target.
B:API testing should exercise documented interfaces with safe data and keep test secrets out of shared collections; automated discovery cannot treat every linked or related site as an authorized penetration-testing target.
D:Tool installation is not proof of exploitable SQL behavior on a particular endpoint; automated discovery cannot treat every linked or related site as an authorized penetration-testing target.
Question 269
The customer asks the authorized assessor to evaluate this situation: A BAS exercise reports success because a simulated technique executed, but no one checked whether the detection system generated the expected alert. What is the MOST defensible next step?
- Define adversary-emulation objectives, permitted actions and safety stop conditions before automation.
- Measure observed sensor and response outcomes separately from successful simulation execution.
- Version the simulation and validate cleanup on the actual supported test platform.
- Select bounded approved tests and define expected telemetry and restoration checks first.
Explanation
Correct Answer
B:Execution of a test technique does not prove the defensive control noticed or contained it. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Defining adversary-emulation objectives, permitted actions and safety stop conditions would not measure observed sensor and response outcomes separately from successful simulation execution.
C:Version the simulation and validate cleanup on the actual supported test platform would not measure observed sensor and response outcomes separately from successful simulation execution.
D:Selecting bounded approved tests and defining expected telemetry and restoration checks first would not measure observed sensor and response outcomes separately from successful simulation execution.
Question 270
The test team is analyzing this evidence from a controlled environment: A client permits proof of an access boundary but not enduring changes to operating-system startup configuration. Which recommendation MOST directly fits this evidence?
- Correlate network destination, process signature and change records before classifying command-and-control traffic.
- Remove and verify every related persistence dependency, not only the first executable.
- Avoid installing persistent components and select a non-persistent lab proof.
- Verify scheduled, service and registry triggers before declaring persistence eradicated.
Explanation
Correct Answer
C:Persistence introduces continuing attack surface and is unnecessary when short-lived evidence suffices. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Recurring network communication needs attribution and context instead of assuming all callbacks are malicious; persistence introduces continuing attack surface and is unnecessary when short-lived evidence suffices.
B:Durable access often combines multiple mechanisms whose removal must be coordinated; persistence introduces continuing attack surface and is unnecessary when short-lived evidence suffices.
D:An inactive payload can be launched again when its persistence trigger remains configured; persistence introduces continuing attack surface and is unnecessary when short-lived evidence suffices.
CompTIA PenTest+ (PT0-003) Practice Tests