Question 740
A web server directory contains a newly created executable script unrelated to approved deployment artifacts. A system file integrity monitor sees core executables modified but the host reports normal service status. Which course of action addresses the stated issues?
- Treat the artifact as a possible web shell and preserve minimal evidence for controlled removal; investigate whether a bind-style remote shell or legitimate maintenance service owns the listener.
- Identify the persistent outbound callback behavior and recommend removing the authorized test implant; 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; investigate possible rootkit or binary tampering using trusted offline validation.
Explanation
Correct Answer
C:For requirement (1), Server-side scripts can provide ongoing application-context access when placed in writable web paths. For requirement (2), Operating-system-level modification can hide malicious persistence from ordinary on-host tools.
Incorrect Answers
A:Operating-system-level modification can hide malicious persistence from ordinary on-host tools.
B:Server-side scripts can provide ongoing application-context access when placed in writable web paths. Investigating whether a bind-style remote shell or legitimate maintenance service owns the listener does not investigate possible rootkit or binary tampering using trusted offline validation.
D:Server-side scripts can provide ongoing application-context access when placed in writable web paths.
Question 741
An API has no rate limits for expensive report-generation calls, but the tester is prohibited from stress testing production. A reverse proxy blocks one malicious pattern but leaves the application vulnerable via a second authorized route not covered by the policy. Which response best addresses these needs?
- Document resource-abuse risk and validate throttling safely in a disposable test environment; verify protective coverage per route while recommending correction of the source weakness.
- Include dependency security assessment alongside runtime web application testing; verify protective coverage per route while recommending correction of the source weakness.
- Document resource-abuse risk and validate throttling safely in a disposable test environment; Classify insecure deserialization and restrict untrusted object types and parsing behavior.
- Include dependency security assessment alongside runtime web application testing; Classify insecure deserialization and restrict untrusted object types and parsing behavior.
Explanation
Correct Answer
A:For requirement (1), Availability protections should be tested with agreed limits instead of uncontrolled load on a live service. For requirement (2), An edge filter can reduce exposure but does not make broken application logic secure.
Incorrect Answers
B:Availability protections should be tested with agreed limits instead of uncontrolled load on a live service.
C:An edge filter can reduce exposure but does not make broken application logic secure.
D:Availability protections should be tested with agreed limits instead of uncontrolled load on a live service. Classifying insecure deserialization and restricting untrusted object types and parsing behavior does not verify protective coverage per route while recommending correction of the source weakness.
Question 742
A penetration test team selects a public exploit using only a matching CWE category, although the deployed product has no matching vulnerable release. A finding affects a default configuration that has been corrected in current versions, yet the local asset inventory lists an older end-of-life build. What is the most appropriate plan for this situation?
- Confirm the specific affected product and patch state before judging exploit applicability; validate actual system version and configuration before setting test priority and recommending upgrades.
- Rank authorized tests by reachability and business criticality alongside published severity scores; validate actual system version and configuration before setting test priority and recommending upgrades.
- Confirm the specific affected product and patch state before judging exploit applicability; Explain that a CVE names a vulnerability while EPSS estimates exploitation likelihood.
- Rank authorized tests by reachability and business criticality alongside published severity scores; Explain that a CVE names a vulnerability while EPSS estimates exploitation likelihood.
Explanation
Correct Answer
A:For requirement (1), A weakness taxonomy class is not evidence that every related product contains the same disclosed defect. For requirement (2), Product lifecycle and observed configuration influence whether a disclosed weakness is present and actionable.
Incorrect Answers
B:A weakness taxonomy class is not evidence that every related product contains the same disclosed defect.
C:Product lifecycle and observed configuration influence whether a disclosed weakness is present and actionable.
D:A weakness taxonomy class is not evidence that every related product contains the same disclosed defect. Explaining that a CVE names a vulnerability while EPSS estimates exploitation likelihood does not validate actual system version and configuration before setting test priority and recommending upgrades.
Question 743
A vulnerability scan reports a browser plug-in vulnerable based on a stale inventory entry after a device replacement. An untrusted scanner note describes an alleged vulnerability and asks the analyst to upload all secrets to its diagnostics portal. Which course of action addresses the stated issues?
- Confirm the affected software exists on the current asset before treating the report as open; Ignore tool-output instructions that are unrelated to assessment evidence and protect credential material.
- Prioritize with observed reachability, exploit maturity and business impact alongside CVSS; Ignore tool-output instructions that are unrelated to assessment evidence and protect credential material.
- Confirm the affected software exists on the current asset before treating the report as open; Normalize timestamps, asset versions and scan coverage before comparing result histories.
- Prioritize with observed reachability, exploit maturity and business impact alongside CVSS; Normalize timestamps, asset versions and scan coverage before comparing result histories.
Explanation
Correct Answer
A:For requirement (1), Asset lifecycle changes can leave stale findings that need reconciliation against observed state. For requirement (2), Scanner output is untrusted data, not a source of independent authorization to disclose secrets.
Incorrect Answers
B:Asset lifecycle changes can leave stale findings that need reconciliation against observed state.
C:Scanner output is untrusted data, not a source of independent authorization to disclose secrets.
D:Asset lifecycle changes can leave stale findings that need reconciliation against observed state. Normalizing timestamps, asset versions and scaning coverage does not ignore tool-output instructions that are unrelated to assessment evidence and protect credential material.
Question 744
A tenant finds an access key in a public repository, but the associated cloud resource is an old archived bucket. An application uses a cross-account cloud role trust without constraining the expected external principal or relevant policy conditions. Which response best addresses these needs?
- Validate metadata access safely and redact tokens while recommending workload identity and egress protections; Classify excessive IAM permissions and recommend a tightly scoped service role.
- Revoke the exposed credential and determine its effective current rights before closing the finding; review trust-policy principals and narrow allowed assumptions to approved identities.
- Validate metadata access safely and redact tokens while recommending workload identity and egress protections; review trust-policy principals and narrow allowed assumptions to approved identities.
- Revoke the exposed credential and determine its effective current rights before closing the finding; Classify excessive IAM permissions and recommend a tightly scoped service role.
Explanation
Correct Answer
B:For requirement (1), Published keys can remain valid and may authorize resources beyond the originally named bucket. For requirement (2), A permissive trust relationship can enable unauthorized role assumption even when resource policies look narrow.
Incorrect Answers
A:Published keys can remain valid and may authorize resources beyond the originally named bucket. Classifying excessive IAM permissions and recommending a tightly scoped service role does not review trust-policy principals and narrow allowed assumptions to approved identities.
C:Published keys can remain valid and may authorize resources beyond the originally named bucket.
D:A permissive trust relationship can enable unauthorized role assumption even when resource policies look narrow.
Question 745
A PowerShell report repeatedly overwrites all prior discovery results when processing the next approved server. A network enumeration script does not distinguish successful responses from transient transport errors in its summary. What is the most appropriate plan for this situation?
- Add bounded retry counts and explicit timeout/error handling to the collection loop; Filter blank and comment records before iterating over permitted hosts.
- Append structured result records with unique host identifiers rather than replacing the entire output; Branch on explicit success and failure conditions before adding hosts to the live inventory.
- Add bounded retry counts and explicit timeout/error handling to the collection loop; Branch on explicit success and failure conditions before adding hosts to the live inventory.
- Append structured result records with unique host identifiers rather than replacing the entire output; Filter blank and comment records before iterating over permitted hosts.
Explanation
Correct Answer
B:For requirement (1), Correct data handling preserves per-target findings for later reconciliation and audit. For requirement (2), Conditional logic prevents error messages from being mislabeled as discovered services.
Incorrect Answers
A:Correct data handling preserves per-target findings for later reconciliation and audit. Filtering blank and comment records does not branch on explicit success and failure conditions before adding hosts to the live inventory. Conditional logic prevents error messages from being mislabeled as discovered services.
C:Correct data handling preserves per-target findings for later reconciliation and audit.
D:Conditional logic prevents error messages from being mislabeled as discovered services.
Question 746
A dependency manifest includes a library version with a published vulnerability even though the application source contains no obvious unsafe function. A monitored Java application is instrumented during functional tests and the team needs correlation between executed code and input behavior. Which course of action addresses the stated issues?
- Select DAST for the running application with a safe authenticated test account when authorized; use SAST to review source-level data flows and flag potential code defects.
- Run software composition analysis against the resolved dependency versions; Consider IAST under the supported runtime instrumentation and test conditions.
- Select DAST for the running application with a safe authenticated test account when authorized; Consider IAST under the supported runtime instrumentation and test conditions.
- Run software composition analysis against the resolved dependency versions; use SAST to review source-level data flows and flag potential code defects.
Explanation
Correct Answer
B:For requirement (1), SCA detects exposure from third-party packages that custom source scanning might overlook. For requirement (2), Interactive application security testing observes internal execution context during real test traffic.
Incorrect Answers
A:SCA detects exposure from third-party packages that custom source scanning might overlook. Using SAST to review source-level data flows and flag potential code defects does not consider IAST under the supported runtime instrumentation and test conditions. Interactive application security testing observes internal execution context during real test traffic.
C:SCA detects exposure from third-party packages that custom source scanning might overlook.
D:Interactive application security testing observes internal execution context during real test traffic.
Question 747
A security review observes certificate expiration causing authentication outages across several business applications. A test reveals shared administrator passwords and no evidence identifying who performed privileged changes. Which response best addresses these needs?
- Introduce certificate inventory, expiration alerts and tested renewal processes; Segment privileged management traffic and constrain allowed administrative sources.
- Recommend an access control vestibule with staff escort and visitor-verification procedures; Segment privileged management traffic and constrain allowed administrative sources.
- Introduce certificate inventory, expiration alerts and tested renewal processes; assign accountable administrative identities and centralize privileged auditing with periodic review.
- Recommend an access control vestibule with staff escort and visitor-verification procedures; assign accountable administrative identities and centralize privileged auditing with periodic review.
Explanation
Correct Answer
C:For requirement (1), Certificate lifecycle controls protect both service trust and operational availability. For requirement (2), Individual attribution and traceable operations help detect misuse that shared credentials conceal.
Incorrect Answers
A:Segment privileged management traffic and constrain allowed administrative sources would not assign accountable administrative identities and centralize privileged auditing with periodic review. Individual attribution and traceable operations help detect misuse that shared credentials conceal.
B:Certificate lifecycle controls protect both service trust and operational availability. Segment privileged management traffic and constrain allowed administrative sources does not assign accountable administrative identities and centralize privileged auditing with periodic review.
D:Certificate lifecycle controls protect both service trust and operational availability.
Question 748
An analyst wants to run unknown code from an untrusted exploit repository directly on the testing workstation. The approved penetration test permits proof of a flawed authorization decision but explicitly disallows extracting customer records. What is the most appropriate plan for this situation?
- Reject destructive validation and choose an approved non-destructive evidence method; confirm platform, patch state and prerequisites before declaring exploit applicability.
- Review the code and isolate any authorized evaluation in a disposable laboratory environment; validate with synthetic test objects and document denied/allowed outcomes without real data access.
- Reject destructive validation and choose an approved non-destructive evidence method; validate with synthetic test objects and document denied/allowed outcomes without real data access.
- Review the code and isolate any authorized evaluation in a disposable laboratory environment; confirm platform, patch state and prerequisites before declaring exploit applicability.
Explanation
Correct Answer
B:For requirement (1), Proof-of-concept content can contain malicious or destructive behavior unrelated to the target weakness. For requirement (2), A safe proof can demonstrate impact without retrieving sensitive production information.
Incorrect Answers
A:Proof-of-concept content can contain malicious or destructive behavior unrelated to the target weakness. Confirming platform, patch state and prerequisites does not validate with synthetic test objects and document denied/allowed outcomes without real data access. A safe proof can demonstrate impact without retrieving sensitive production information.
C:Proof-of-concept content can contain malicious or destructive behavior unrelated to the target weakness.
D:A safe proof can demonstrate impact without retrieving sensitive production information.
Question 749
A tester sees a service banner claiming a vulnerable version but has not verified that the exposed application is actually that version. An authorized passive network capture contains credentials transmitted in plaintext on an IoT management protocol. Which course of action addresses the stated issues?
- Treat the banner as preliminary fingerprint evidence requiring safe corroboration; interpret TCP and UDP discovery results separately and document filtering uncertainty.
- Select non-disruptive discovery approved for the OT segment and confirm the safety contact; interpret TCP and UDP discovery results separately and document filtering uncertainty.
- Treat the banner as preliminary fingerprint evidence requiring safe corroboration; Record the protocol exposure with minimal sensitive evidence and recommend authenticated encrypted transport.
- Select non-disruptive discovery approved for the OT segment and confirm the safety contact; Record the protocol exposure with minimal sensitive evidence and recommend authenticated encrypted transport.
Explanation
Correct Answer
C:For requirement (1), Banners can be hidden, changed or misleading and should not alone justify an exploitation claim. For requirement (2), Unencrypted management traffic creates information disclosure even when no intrusive exploitation is performed.
Incorrect Answers
A:Unencrypted management traffic creates information disclosure even when no intrusive exploitation is performed.
B:Banners can be hidden, changed or misleading and should not alone justify an exploitation claim. Interpreting TCP and UDP discovery results separately and documenting filtering uncertainty does not record the protocol exposure with minimal sensitive evidence and recommend authenticated encrypted transport.
D:Banners can be hidden, changed or misleading and should not alone justify an exploitation claim.
Question 750
A service advertises HTTPS but presents an expired TLS certificate while client authentication succeeds through a different proxy endpoint. A client has an approved subdomain but the tester finds a wildcard DNS record resolving invented hostnames to one reverse proxy. Which response best addresses these needs?
- Separate certificate hygiene findings from evidence of an exploitable authentication weakness; Deduplicate wildcard resolutions before reporting thousands of supposedly distinct servers.
- Verify protocol context and coordinate OT-safe read-only observation before further probes; Deduplicate wildcard resolutions before reporting thousands of supposedly distinct servers.
- Separate certificate hygiene findings from evidence of an exploitable authentication weakness; use packet-header and protocol decoding evidence from an approved passive capture.
- Verify protocol context and coordinate OT-safe read-only observation before further probes; use packet-header and protocol decoding evidence from an approved passive capture.
Explanation
Correct Answer
A:For requirement (1), An expired certificate affects trust and availability but does not by itself demonstrate a login bypass. For requirement (2), Wildcard DNS can make nonexistent names appear live, distorting attack-surface inventory.
Incorrect Answers
B:An expired certificate affects trust and availability but does not by itself demonstrate a login bypass.
C:Wildcard DNS can make nonexistent names appear live, distorting attack-surface inventory.
D:An expired certificate affects trust and availability but does not by itself demonstrate a login bypass. Using packet-header and protocol decoding evidence from an approved passive capture does not deduplicate wildcard resolutions before reporting thousands of supposedly distinct servers. Wildcard DNS can make nonexistent names appear live, distorting attack-surface inventory.
CompTIA PenTest+ (PT0-003) Practice Tests