CompTIA SY0-701 Practice Test 24
Question 230
A security team is sanitizing an SSD for internal reuse. A technician proposes overwriting every visible logical sector once, but the manufacturer warns that wear leveling leaves retired flash pages outside ordinary logical-sector access. What should the team require?
- Use a validated controller-supported flash-media sanitize or purge procedure that addresses remapped storage, and verify completion under the organization’s sanitization standard
- Use a powerful magnetic degausser as the only step because SSD cells are magnetic platters
- Overwrite only the currently visible logical sectors once and assume retired flash blocks cannot contain recoverable data
- Clear the partition table and immediately return the SSD to circulation without recording sanitization or checking its result
Explanation
Correct Answer
A:SSD controllers can remap physical pages so ordinary filesystem or logical-sector operations may not reach all retired flash locations. Select a supported sanitization method appropriate to the device, verify that the vendor implementation meets the organization’s assurance requirements and document the outcome before reuse. This tests hidden flash-page coverage rather than simply destroying an encryption key.
Incorrect Answers
B:Degaussing may be appropriate for some magnetic media, but NAND flash cells are not cleared merely by applying a magnetic field. Treating SSDs like traditional rotating disks can leave the confidential records physically intact despite an attempted disposal procedure.
C:Logical overwrites target addresses currently exposed by the controller and do not necessarily erase blocks that have been remapped because of wear leveling or faults. The controller must support a verified sanitization approach for the relevant media and the resulting assurance requirement.
D:The partition table is only metadata describing logical volumes, and clearing it is not evidence that contents in active or retired flash pages were eliminated. Proper device reuse includes choosing an approved method, recording which media were processed and verifying the outcome.
Question 231
A payment organization plans to decommission a hardware security module (HSM). Asset discovery shows two production services still depend on key operations performed by that module, and the replacement HSM is installed but not yet tested. What must happen BEFORE the old module is withdrawn from service?
- Destroy the old HSM immediately because the replacement has arrived, without checking whether active applications can still decrypt or sign required transactions
- Inventory and safely migrate or re-establish needed key operations on the replacement under approved key-management procedures, test dependent services and recovery, then authorize controlled retirement of the old module
- Move the legacy HSM private keys into a general-purpose publicly readable shared folder so developers can quickly patch any failed applications after removal
- Assume all cryptographic operations continue automatically after an HSM is unplugged, because protected keys are always reproduced in each payment client
Explanation
Correct Answer
B:Before retiring a cryptographic asset, operators should identify all key references, dependent services, restore paths and recovery obligations. Approved transfer, rewrapping or key rollover methods may be required depending on the HSM and non-exportability policy. Validate payment signing/decryption and rollback plans with the replacement, then follow authorized sanitization or destruction procedures after dependencies are cleared.
Incorrect Answers
A:A newly installed replacement does not prove that applications, key handles and backups have been migrated or tested. Premature destruction of an old HSM can cause transaction failures or permanent loss of access to encrypted data if it held a unique required secret. The correct decision is dependency validation before decommissioning.
C:Placing protected key material in an unprotected shared folder defeats the security boundary provided by the HSM and may violate non-exportability requirements. Software developers do not need access to raw private keys to troubleshoot an application dependency. Migration must use controlled key-management capabilities, authenticated service identities and logged authorization.
D:Hardware-protected keys are not necessarily present in client processes or automatically duplicated to a replacement appliance. Applications may rely on cryptographic operations performed inside the original module and on its particular identities and key handles. The retirement plan needs explicit migration and recovery validation to avoid an irrecoverable service outage.
Question 232
An auditor requests proof that storage media holding regulated records were destroyed after the legal retention period. What evidence should the organization produce?
- A normal filesystem directory listing with the drive filename no longer present
- A certificate and traceable custody record identifying the media, approved method, date and responsible personnel
- An unapproved inventory deletion that removes all references to the original assets
- A statement that someone remembers throwing the drives away
Explanation
Correct Answer
B:Documented identification, custody and verified destruction demonstrate an accountable disposition after retention and legal-hold checks. A destruction certificate linked to the exact asset and custody handoffs documents which storage object was treated, by whom, using what approved method and when. Evidence should align with legal retention and the organization’s sanitization standard.
Incorrect Answers
A:File listings can show that a reference disappeared without proving regulated information was irreversibly sanitized. A directory listing shows only what a filesystem presents, not whether recoverable blocks remain on media or whether the physical drive was destroyed. It is not adequate disposition evidence.
C:Erasing asset records undermines traceability and can conceal violations of hold or disposal procedures. Deleting the asset inventory prevents accountability and may conceal an incomplete destruction process. Records of disposal should remain auditable for their required period.
D:Uncorroborated memories do not establish which media were handled or whether approved methods were followed. An undocumented recollection cannot tie a particular drive to an approved destruction procedure. Audit evidence needs traceable identifiers, method and responsible personnel.
Question 233
An authenticated vulnerability scanner discovers zero missing patches on a critical payment server, but logs show the scan account was denied permission to inventory installed packages. Which TWO audit conclusions are appropriate? Choose TWO.
- The server is confirmed free of known software vulnerabilities because the scanner completed its network connection
- Scanners automatically gain administrator-level patch inventory access even when the operating system rejects authentication
- The apparent clean result is unreliable for package vulnerabilities until credential privileges and scan coverage are verified
- Rerun a properly authorized scan with validated permissions and correlate package details against trusted host inventory or vendor advisories
- Immediately waive all future patch reviews because a zero-finding scan proves the system is fully secured
Explanation
Correct Answers
C:Insufficient permissions can cause false negatives. A zero-finding report without expected package coverage is not reliable evidence of a healthy patch state. The zero-finding result is incomplete if the scanner lacked rights to inspect critical local software. Report the credential failure as a finding or audit limitation instead of a verified absence of vulnerabilities.
D:Correcting scope and access, then comparing observed package inventory with independent trusted data, makes the assurance conclusion defensible. Validate the intended scanner role, confirm that package inventory succeeds, then compare installed versions with vendor advisories or trustworthy host evidence. This produces a defensible result for the missing assessment area.
Incorrect Answers
A:A completed connection does not mean the scanner collected the host inventory necessary to test installed package versions against applicable advisories. A successful connection to the host does not mean all local package versions were inspected. The denied scan privilege creates a coverage gap that invalidates the proposed clean conclusion.
B:Network reachability and authentication do not imply that an account has the read privileges needed for reliable authenticated vulnerability assessment. Operating systems enforce privileges on package and patch inventories. A scanner cannot simply bypass authorization because it is a security product.
E:An incomplete scan cannot justify exempting a high-value server from ongoing remediation and exposure review. A single narrow scan result cannot justify permanently avoiding further patch reviews. New vulnerabilities and software changes require continuous assessment.
Question 234
Two companies run the same vulnerable library and receive the same published CVSS Base score. In Company A, the component protects a mission-critical availability service; in Company B, the component is isolated in a disposable test lab. What CVSS metric group can reflect the organizations’ DIFFERENT local criticality and deployment conditions?
- Only the shared Base metrics, because the numeric score must stay identical in every operational environment and cannot be tailored to local asset criticality
- The CVE identifier syntax, because changing its assigned number customizes the technical consequences at each organization
- Environmental metrics, including local security requirements and modified vulnerability characteristics, without changing the meaning of the publicly reported flaw
- The scanner vendor’s display language setting, because translating the severity label changes the actual technical impact of exploitation
Explanation
Correct Answer
C:CVSS Environmental metrics permit analysts to consider the particular deployment, local security requirements and modified vulnerability properties. A production availability-critical service and an isolated test lab can therefore have different context-adjusted severity even with the same publicly reported Base score. The calculation must use the chosen CVSS version consistently and document assumptions.
Incorrect Answers
A:CVSS Base metrics describe inherent vulnerability characteristics under a common scoring model. The organizations can share the same Base score while facing different consequences from their deployments. Reusing Base metrics alone fails to account for local asset importance, compensating protections or the impact of a failed mission-critical service.
B:A CVE identifier is a stable reference for the publicly disclosed flaw; organizations do not customize or reassign its number to express their own criticality. Local risk analysis may incorporate CVSS metrics and operational context, but changing the vulnerability identifier would break cross-tool correlation rather than describe the site-specific consequences.
D:A translated user-interface label does not change exploitable preconditions, the affected component’s importance or security requirements. Display preferences may help reporting but are not part of the CVSS technical scoring model. The correct concept adjusts relevant Environmental metrics and measured business context rather than merely translating severity text.
Question 235
Dynamic tests against a staging application show that attacker-controlled text appears unescaped in the HTTP response, but automated tooling cannot establish whether a browser would execute it in the particular HTML context. What is the appropriate next validation?
- Classify every reflected parameter as a fully exploited client-side compromise and delete production content immediately
- Use only source-scanning findings from an unrelated build as proof of runtime browser behavior
- Ignore browser context because successful server-side response generation always implies JavaScript execution
- Safely reproduce the response in an authorized browser context, determine whether script execution is possible, and verify context-appropriate output encoding
Explanation
Correct Answer
D:Controlled browser-based reproduction can establish the client-side impact and demonstrate whether appropriate encoding or safe rendering prevents the vulnerability. Use a controlled test payload in staging and inspect the parsed DOM and execution result. Validate context-appropriate encoding or safer rendering rather than assuming every reflection equals active XSS.
Incorrect Answers
A:Reflection alone does not prove exploitability in every output context. Unnecessary destructive response would not be justified by an unconfirmed staging observation. Reflected unescaped text can be harmless in some browser contexts, though it warrants investigation. Removing production content before validating exploitability would be disproportionate.
B:Static findings can support triage but do not independently establish what the observed reflected payload does in a running client-side rendering context. A source scanner on a different build may not reflect the deployed application’s actual response handling. The relevant evidence is in this authorized staging response and its browser interpretation.
C:HTML, attribute, JavaScript and text contexts have different interpretation rules; unescaped reflection is suspicious but is not always executable. Whether reflection executes depends on where the text appears, such as HTML text, attributes or JavaScript context. Server-side generation does not guarantee script execution.
Question 236
An application has unchanged first-party code, but a security advisory identifies a flaw in a library used by one of its dependency packages. What must the team inspect?
- The backup tape barcode without examining installed software
- Only the application's current public IP address
- The last physical access badge used at the office
- The supply-chain dependency tree and affected transitive library versions
Explanation
Correct Answer
D:Transitive dependency analysis traces the vulnerable library through packages even when direct application code is unchanged. A dependency tree or SBOM identifies nested packages brought in indirectly by direct dependencies. Match resolved versions and affected ranges, then plan a version update or compensating action even if first-party source code did not change.
Incorrect Answers
A:Media labels do not establish a software bill of materials or runtime library exposure. A tape barcode identifies physical backup media but does not reveal which transitive library versions were linked into the running application. The flaw follows software composition.
B:A network address does not reveal which versions of nested application packages are installed. A public IP address describes reachability, not component dependency relationships. Several different versions of the same application could occupy the identical address.
C:Facility badge activity cannot identify the installed software component and vulnerable version chain. A building badge record shows physical access history but cannot establish which application library and version was installed when the advisory was published.
Question 237
An analyst enriches a suspicious domain using publicly released threat advisories and also receives a restricted commercial feed. Which THREE statements accurately classify or use these sources? Choose THREE.
- Open-source intelligence can be used only if the publisher charges a subscription fee
- Source reliability, timeliness and context should be checked before automated blocking
- A licensed private indicator feed may contain proprietary correlation and sharing restrictions
- Threat intelligence cannot assist prioritization unless it includes a full malware sample
- A domain indicator alone proves every connection to that domain was malicious
- Published national CERT advisories are examples of publicly available threat intelligence
Explanation
Correct Answers
B:Context, source confidence and freshness determine whether an indicator supports safe automated enforcement. A domain can be shared, stale or misattributed, so quality and recency determine whether blocking is justified. Corroborate with local observations, indicator type and possible legitimate impact. A fresh domain indicator can still affect legitimate services when hosted on shared infrastructure.
C:Private providers may license derived indicators and restrict their redistribution or onward operational sharing. Commercial intelligence may include enrichment, confidence context and contractually limited redistribution rights. Teams must respect licensing and TLP or other handling constraints when sharing results. Sharing restrictions should travel with exported indicators, screenshots and reports, not only the original feed.
F:Open public advisories can supply threat indicators and defensive context without a private data agreement. Public CERT advisories are a first-party source of incident reports and mitigations for defenders. Published reports can be collected and analyzed as OSINT without disclosing confidential customer information. Analysts should record advisory publication dates because threat infrastructure may change before enforcement.
Incorrect Answers
A:Publicly available intelligence need not be commercial or purchased through a subscription. Open-source intelligence can be freely available from public advisories and research even without a paid subscription. Its reliability still needs evaluation.
D:Relevant indicator context can guide triage even when the underlying binary is not available. A credible incident indicator can inform triage without supplying a complete malware binary. Domains, hashes, behaviors and infrastructure relationships may each be useful evidence.
E:Indicators require corroboration because domains can be benign, compromised or shared across distinct services. An indicator is not an absolute verdict on every connection; shared hosting, false positives or later reuse can change meaning. Local telemetry helps validate context.
Question 238
Several banks detect the same emerging malicious domain during fraudulent transfers. They want to warn peers without publishing individual customer transactions. What arrangement is most useful?
- A public paste containing customer account numbers and raw transaction histories
- An industry information-sharing organization with defined indicator-handling and confidentiality rules
- A policy of withholding all indicators until every peer experiences a confirmed loss
- An unmoderated consumer forum for publishing privileged security incident attachments
Explanation
Correct Answer
B:A sector ISAC or similar trusted community can correlate indicators while following agreed handling restrictions. A sector ISAC or other trusted sharing group can distribute indicators, confidence and handling restrictions to verified members. This allows peer banks to recognize campaigns while avoiding uncontrolled disclosure of transaction details.
Incorrect Answers
A:Customer account disclosure violates the confidentiality requirement and is unnecessary to share threat patterns. Posting raw banking transactions publicly would leak protected personal and financial data beyond the participants who need the threat indicator. Defenders can share the domain and relevant context without identifying customers.
C:Delayed intelligence misses the opportunity for defensive action before repeated fraud occurs. Waiting for losses at every institution defeats the prevention value of timely threat intelligence. Share defensible early warnings with appropriate confidence limits.
D:An open forum offers no reliable restrictions on confidential incident evidence or participant identity. An unmoderated forum does not establish recipient identity, retention restrictions or lawful disclosure. A controlled agreement is essential when incident materials may contain sensitive financial context.
Question 239
A legitimate employee username and matching password appear in a newly verified credential-leak dataset. The company sees no known intrusion yet. What action is justified?
- Wait for a confirmed attacker login before changing any authentication controls
- Publish the password to other teams to confirm that the original leak is real
- Revoke or reset exposed credentials and review related sessions, authentication logs and reuse risk
- Delete identity audit logs to prevent alarm fatigue
Explanation
Correct Answer
C:Credential invalidation, session review and monitoring address both immediate exposure and potential prior misuse. Reset or revoke the exposed secret, invalidate associated sessions where supported and check for reuse on linked accounts. Review sign-in events so a prior takeover is not missed; absence of an alert is not proof of safety.
Incorrect Answers
A:Exposed credentials can be abused quickly, and delaying response leaves a preventable account-takeover opportunity. Once a working credential is disclosed, an attacker can attempt account takeover without a visible intrusion first. Promptly invalidating the credential is a proportionate preventive response.
B:Sharing the stolen secret increases exposure without providing a controlled validation method. Forwarding or publishing the leaked password creates additional copies of a sensitive secret. Use controlled forensic evidence and secret-management procedures instead.
D:Audit records help establish whether an exposure has already been exploited. Retain authentication events and investigate related anomalous sessions. Audit logs show whether unusual sessions or privilege changes occurred after exposure. Deleting them would undermine containment and attribution.
Question 240
During an authorized penetration test, an approved proof of concept demonstrates access to a staging database containing real customer records. The signed rules of engagement prohibit extracting those records. Which response best demonstrates impact while respecting the scope?
- Export the complete real customer table because a successful exploit automatically grants permission to copy all accessible data
- Extend the test to unrelated production database hosts without contacting the engagement owner because staging access was already approved
- Stop unauthorized data retrieval, retain minimal permitted proof of access, protect evidence, and report the finding within the agreed engagement rules
- Delete all test evidence immediately without reporting the reachable customer records because the database was considered a test system
Explanation
Correct Answer
C:Minimal evidence and prompt notification show the impact while avoiding additional exposure and respecting data-handling limits in the contract. Capture minimal permitted proof of the affected database, stop further collection and report the issue through the secure agreed channel. This establishes impact without turning authorized testing into a confidentiality breach.
Incorrect Answers
A:Demonstrated access establishes a security issue, but test authorization is bounded and does not give blanket permission to extract personal data. Finding the flaw does not expand the tester’s contractual authorization to copy real customer data. Mass extraction would magnify exposure and may violate law or engagement rules.
B:The signed target list and prohibited actions govern the engagement; access to one staging host does not authorize probing unrelated infrastructure. Access to one approved staging target does not authorize scanning unrelated production hosts. Expand scope only through the engagement owner’s written change approval.
D:Silent evidence destruction prevents remediation and does not address the documented customer-data exposure identified during the approved test. Deleting all evidence without reporting would prevent the client from validating and repairing the exposed data path. Protect and retain the evidence required by the agreement.