Question 440
A lab monitoring report shows a compromised test host initiating an outbound command channel after each reboot. An approved server has an unexplained inbound listener that accepts a command connection from the training subnet. 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 possible rootkit or binary tampering using trusted offline validation.
- 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 whether a bind-style remote shell or legitimate maintenance service owns the listener.
Explanation
Correct Answer
D:For requirement (1), A repeated outbound channel can sustain access after a session ends and requires explicit cleanup. For requirement (2), A listening port alone is ambiguous; process ownership and authorization determine its significance.
Incorrect Answers
A:Treat the artifact as a possible web shell and preserve minimal evidence for controlled removal would not identify the persistent outbound callback behavior and recommend removing the authorized test implant. A repeated outbound channel can sustain access after a session ends and requires explicit cleanup.
B: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. A listening port alone is ambiguous; process ownership and authorization determine its significance.
C:A repeated outbound channel can sustain access after a session ends and requires explicit cleanup. Investigating possible rootkit or binary tampering using trusted offline validation does not investigate whether a bind-style remote shell or legitimate maintenance service owns the listener.
Question 441
A vulnerable app depends on a third-party component whose source version has a known flaw, but a developer insists only custom input code matters. A web framework accepts user-controlled serialized objects that cause unintended state changes during deserialization in a synthetic test. Which response best addresses these needs?
- Include dependency security assessment alongside runtime web application testing; Classify insecure deserialization and restrict untrusted object types and parsing behavior.
- 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; 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; verify protective coverage per route while recommending correction of the source weakness.
Explanation
Correct Answer
A:For requirement (1), Web attack surface includes library code and supplier updates as well as custom controllers. For requirement (2), Unsafe object reconstruction can invoke behavior beyond the intended data format.
Incorrect Answers
B:Documenting resource-abuse risk and validating throttling safely in a disposable test environment would not include dependency security assessment alongside runtime web application testing. Web attack surface includes library code and supplier updates as well as custom controllers.
C:Verifying protective coverage per route while recommending correction of the source weakness would not classify insecure deserialization and restrict untrusted object types and parsing behavior. Unsafe object reconstruction can invoke behavior beyond the intended data format.
D:Web attack surface includes library code and supplier updates as well as custom controllers. Verifying protective coverage per route while recommending correction of the source weakness does not classify insecure deserialization and restrict untrusted object types and parsing behavior. Unsafe object reconstruction can invoke behavior beyond the intended data format.
Question 442
A CVSS 9.8 issue affects an isolated test lab, while a lower-scored defect exposes the client's public customer sign-in portal. An analyst treats a CVE identifier as the numeric likelihood that an exploit will be observed in the wild. What is the most appropriate plan for this situation?
- 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; 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; 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; Explain that a CVE names a vulnerability while EPSS estimates exploitation likelihood.
Explanation
Correct Answer
D:For requirement (1), Environment context can make a moderate but publicly reachable finding more urgent than an isolated high base score. For requirement (2), A tracking identifier and a probability estimate answer different questions and must not be conflated.
Incorrect Answers
A:Confirming the specific affected product and patch state would not rank authorized tests by reachability and business criticality alongside published severity scores. Environment context can make a moderate but publicly reachable finding more urgent than an isolated high base score.
B:Validating actual system version and configuration would not explain that a CVE names a vulnerability while EPSS estimates exploitation likelihood. A tracking identifier and a probability estimate answer different questions and must not be conflated.
C:Environment context can make a moderate but publicly reachable finding more urgent than an isolated high base score. Validating actual system version and configuration does not explain that a CVE names a vulnerability while EPSS estimates exploitation likelihood. A tracking identifier and a probability estimate answer different questions and must not be conflated.
Question 443
A scan export lists CVSS 9.8 but no externally reachable path, while another moderate issue is actively exposed to customers. An analyst combines tool outputs from two dates and mistakes a fixed finding for a newly introduced weakness. Which course of action addresses the stated issues?
- Prioritize with observed reachability, exploit maturity and business impact alongside CVSS; Normalize timestamps, asset versions and scan coverage before comparing result histories.
- 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; 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; Ignore tool-output instructions that are unrelated to assessment evidence and protect credential material.
Explanation
Correct Answer
A:For requirement (1), Base scores are context-free and do not replace environment-specific risk assessment. For requirement (2), Historical differences can reflect a change in collection rather than new exploitation risk.
Incorrect Answers
B:Confirming the affected software exists on the current asset would not prioritize with observed reachability, exploit maturity and business impact alongside CVSS. Base scores are context-free and do not replace environment-specific risk assessment.
C:Credential management would not normalize timestamps, asset versions and scan coverage before comparing result histories. Historical differences can reflect a change in collection rather than new exploitation risk.
D:Base scores are context-free and do not replace environment-specific risk assessment. Credential management does not normalize timestamps, asset versions and scan coverage before comparing result histories. Historical differences can reflect a change in collection rather than new exploitation risk.
Question 444
A synthetic cloud app can reach an instance metadata endpoint, and the team proposes exposing its credentials in the final report. An IAM policy permits an application to create administrator-role assignments even though the service only reads objects. Which response best addresses these needs?
- 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.
- 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; 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; Classify excessive IAM permissions and recommend a tightly scoped service role.
Explanation
Correct Answer
D:For requirement (1), Metadata credentials can expand access, but their raw value is not necessary to prove risky reachability. For requirement (2), Broad role management capability creates privilege escalation paths beyond the workload's approved operation.
Incorrect Answers
A:Revoking the exposed credential and determining its effective current rights would not validate metadata access safely and redact tokens while recommending workload identity and egress protections. Metadata credentials can expand access, but their raw value is not necessary to prove risky reachability.
B:Reviewing trust-policy principals and narrow allowed assumptions to approved identities would not classify excessive IAM permissions and recommend a tightly scoped service role. Broad role management capability creates privilege escalation paths beyond the workload's approved operation.
C:Metadata credentials can expand access, but their raw value is not necessary to prove risky reachability. Reviewing trust-policy principals and narrow allowed assumptions to approved identities does not classify excessive IAM permissions and recommend a tightly scoped service role.
Question 445
A Python reconnaissance script retries the same host indefinitely when DNS does not resolve, exhausting the lab time window. A Bash script reads IPs from an approved scope file but also includes blank lines and comment lines as scan targets. What is the most appropriate plan for this situation?
- Append structured result records with unique host identifiers rather than replacing the entire output; Filter blank and comment records before iterating over permitted hosts.
- 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; 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; Filter blank and comment records before iterating over permitted hosts.
Explanation
Correct Answer
D:For requirement (1), Reliable scripting should terminate safely on unreachable targets rather than continue unbounded probing. For requirement (2), Input validation prevents malformed records from becoming unintended test commands.
Incorrect Answers
A:Append structured result records with unique host identifiers rather than replacing the entire output would not add bounded retry counts and explicit timeout/error handling to the collection loop. Reliable scripting should terminate safely on unreachable targets rather than continue unbounded probing.
B:Branch on explicit success and failure conditions would not filter blank and comment records before iterating over permitted hosts. Input validation prevents malformed records from becoming unintended test commands.
C:Reliable scripting should terminate safely on unreachable targets rather than continue unbounded probing. Branch on explicit success and failure conditions does not filter blank and comment records before iterating over permitted hosts. Input validation prevents malformed records from becoming unintended test commands.
Question 446
A dynamic test must exercise a deployed web application from outside without access to its source code. A code repository contains a vulnerable input-handling function that cannot be reached in the current staging deployment. Which course of action addresses the stated issues?
- 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; use SAST to review source-level data flows and flag potential code defects.
- Run software composition analysis against the resolved dependency versions; use SAST to review source-level data flows and flag potential code defects.
- Select DAST for the running application with a safe authenticated test account when authorized; Consider IAST under the supported runtime instrumentation and test conditions.
Explanation
Correct Answer
B:For requirement (1), Dynamic testing evaluates externally observable web behavior against a live configured service. For requirement (2), Static analysis can identify risky source paths regardless of whether current runtime tests execute them.
Incorrect Answers
A:Dynamic testing evaluates externally observable web behavior against a live configured service. Consider IAST under the supported runtime instrumentation and test conditions does not use SAST to review source-level data flows and flag potential code defects. Static analysis can identify risky source paths regardless of whether current runtime tests execute them.
C:Running software composition analysis against the resolved dependency versions would not select DAST for the running application with a safe authenticated test account when authorized. Dynamic testing evaluates externally observable web behavior against a live configured service.
D:Consider IAST under the supported runtime instrumentation and test conditions would not use SAST to review source-level data flows and flag potential code defects. Static analysis can identify risky source paths regardless of whether current runtime tests execute them.
Question 447
An authorized physical assessment shows visitors can follow employees through a secure entry door without badge checks. A network penetration test demonstrates that user workstations can directly reach domain controller management ports without a business need. Which response best addresses these needs?
- 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; Segment privileged management traffic and constrain allowed administrative sources.
- Recommend an access control vestibule with staff escort and visitor-verification procedures; assign accountable administrative identities and centralize privileged auditing with periodic review.
- Introduce certificate inventory, expiration alerts and tested renewal processes; assign accountable administrative identities and centralize privileged auditing with periodic review.
Explanation
Correct Answer
A:For requirement (1), Physical separation and identity checks reduce unauthorized entry by tailgating. For requirement (2), Management-plane isolation reduces the ability to pivot from an ordinary compromised client.
Incorrect Answers
B:Alerting would not recommend an access control vestibule with staff escort and visitor-verification procedures. Physical separation and identity checks reduce unauthorized entry by tailgating.
C:Assigning accountable administrative identities and centralize privileged auditing with periodic review would not segment privileged management traffic and constrain allowed administrative sources. Management-plane isolation reduces the ability to pivot from an ordinary compromised client.
D:Alerting would not recommend an access control vestibule with staff escort and visitor-verification procedures. Physical separation and identity checks reduce unauthorized entry by tailgating. Assigning accountable administrative identities and centralize privileged auditing with periodic review does not segment privileged management traffic and constrain allowed administrative sources. Management-plane isolation reduces the ability to pivot from an ordinary compromised client.
Question 448
A vulnerability database provides a public exploit that would erase a database table as its proof condition. A public exploit names a software release, but the installed service has vendor fixes and different runtime configuration. 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; confirm platform, patch state and prerequisites before declaring exploit applicability.
- 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; validate with synthetic test objects and document denied/allowed outcomes without real data access.
Explanation
Correct Answer
A:For requirement (1), Availability and data-integrity constraints still apply to published proof-of-concept code. For requirement (2), Similar version labels are not proof that the exact exploit conditions exist on the assessed host.
Incorrect Answers
B:Reviewing the code and isolate any authorized evaluation in a disposable laboratory environment would not reject destructive validation and choose an approved non-destructive evidence method. Availability and data-integrity constraints still apply to published proof-of-concept code.
C:Validating with synthetic test objects and documenting denied/allowed outcomes without real data access would not confirm platform, patch state and prerequisites before declaring exploit applicability. Similar version labels are not proof that the exact exploit conditions exist on the assessed host.
D:Availability and data-integrity constraints still apply to published proof-of-concept code. Validating with synthetic test objects and documenting denied/allowed outcomes without real data access does not confirm platform, patch state and prerequisites before declaring exploit applicability.
Question 449
The rules of engagement permit a narrow host discovery sweep, but a tester proposes intrusive full-port scans against a fragile industrial controller. A network test captures traffic to a service using TCP, and an analyst mistakenly assumes a missing UDP response proves the entire host is offline. 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; Record the protocol exposure with minimal sensitive evidence and recommend authenticated encrypted transport.
- 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; interpret TCP and UDP discovery results separately and document filtering uncertainty.
Explanation
Correct Answer
D:For requirement (1), Industrial devices may not tolerate ordinary enterprise scanning intensity and require constrained methods. For requirement (2), Stateful behavior and lack of UDP responses do not establish absence of the target host.
Incorrect Answers
A:Treat the banner as preliminary fingerprint evidence requiring safe corroboration would not select non-disruptive discovery approved for the OT segment and confirm the safety contact. Industrial devices may not tolerate ordinary enterprise scanning intensity and require constrained methods.
B:Recording the protocol exposure with minimal sensitive evidence and recommending authenticated encrypted transport would not interpret TCP and UDP discovery results separately and document filtering uncertainty. Stateful behavior and lack of UDP responses do not establish absence of the target host.
C:Industrial devices may not tolerate ordinary enterprise scanning intensity and require constrained methods. Recording the protocol exposure with minimal sensitive evidence and recommending authenticated encrypted transport does not interpret TCP and UDP discovery results separately and document filtering uncertainty.
Question 450
An authorized industrial segment produces Modbus-like traffic, but an analyst applies conventional web scanning based solely on a port number. A network team needs to tell whether suspicious UDP data is an industrial telemetry protocol or general corporate DNS traffic. Which response best addresses these needs?
- 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.
- 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; Deduplicate wildcard resolutions before reporting thousands of supposedly distinct servers.
- Separate certificate hygiene findings from evidence of an exploitable authentication weakness; Deduplicate wildcard resolutions before reporting thousands of supposedly distinct servers.
Explanation
Correct Answer
A:For requirement (1), Protocol identification is necessary because industrial control equipment has different failure and safety constraints. For requirement (2), Packet context, ports and parsers can distinguish traffic families without injecting additional traffic.
Incorrect Answers
B:Separating certificate hygiene findings from evidence of an exploitable authentication weakness would not verify protocol context and coordinate OT-safe read-only observation before further probes. Protocol identification is necessary because industrial control equipment has different failure and safety constraints.
C:Deduplicate wildcard resolutions would not use packet-header and protocol decoding evidence from an approved passive capture. Packet context, ports and parsers can distinguish traffic families without injecting additional traffic.
D:Protocol identification is necessary because industrial control equipment has different failure and safety constraints. Deduplicate wildcard resolutions does not use packet-header and protocol decoding evidence from an approved passive capture. Packet context, ports and parsers can distinguish traffic families without injecting additional traffic.
CompTIA PenTest+ (PT0-003) Practice Tests