CompTIA SY0-701 Practice Test 10
Question 90
A malicious program running inside a tenant virtual machine obtains execution in the underlying host hypervisor's control process. What vulnerability has been demonstrated?
- A benign live migration that preserves virtual disk state
- Lateral movement over approved virtual networks into a different guest VM
- VM escape across the guest-to-host isolation boundary
- Ordinary guest-to-guest communication on an approved VLAN
Explanation
Correct Answer
C:Execution outside the guest boundary into the host or hypervisor is characteristic of a virtual-machine escape. The decisive evidence is code execution moving from a restricted tenant guest into the privileged virtualization host, giving control beyond the VM's assigned virtual hardware. Patching the hypervisor, limiting guest interfaces and isolating administration are relevant defenses; an ordinary network policy cannot by itself restore a broken hypervisor boundary.
Incorrect Answers
A:Live migration uses hypervisor features to move authorized workloads, not unauthorized access to the host control plane. Live migration is a planned workload-management operation initiated through a hypervisor's authorized control interfaces. It does not grant a guest user execution inside privileged host processes, which is the unauthorized boundary crossing explicitly observed in the scenario.
B:East-west network pivoting can let an attacker compromise other guest systems through allowed virtual networks while staying within guest operating systems. Execution inside the underlying hypervisor control process is a different, stronger break of the guest-to-host isolation boundary.
D:Traffic between VMs through their network interfaces does not prove compromise of the virtualization host itself. Legitimate communication between VMs uses virtual switches and guest network stacks, and it does not permit one tenant's process to alter host virtualization code. Even successful network access to another guest remains categorically different from execution in a hypervisor control service.
Question 91
A cloud tenant receives a previously allocated virtual disk whose unzeroed blocks still contain fragments of another customer's files. Which type of isolation failure is illustrated?
- A properly verified data-erasure process before reassignment
- A cross-account IAM trust policy that grants new access to an existing disk
- A proxy segmentation error allowing unauthorized network sessions to a live disk service
- Resource-reuse data remanence exposing another tenant's content
Explanation
Correct Answer
D:Improper sanitization during reuse can disclose bytes from the previous owner to the new tenant. Multi-tenant storage isolation must account for residual blocks and snapshots when allocating media to a new tenant. If stale blocks are visible, the new tenant can read content that belongs to another customer without exploiting its account. Verified zeroing or cryptographic media erasure is a relevant preventive control.
Incorrect Answers
A:Proper sanitization should prevent residual information from appearing when storage is reallocated to another tenant. A verified storage sanitization step should overwrite, discard or cryptographically revoke prior tenant content before a volume is presented again. Seeing another customer's residual data is direct evidence that the expected reassignment boundary failed or was not completed; an asserted policy does not prove effective implementation.
B:Switch lifecycle issues do not explain residual data inside reassigned virtual storage blocks. Misconfigured cross-account IAM policies can grant unauthorized logical access to an existing cloud resource. This scenario instead reports old bytes physically or logically persisting in reallocated block storage, which can expose data even without access to the previous tenant's current identity or account.
C:Network filtering configuration does not clear residual block contents at volume-provisioning time. Network segmentation or a controlled proxy can restrict which machines exchange packets, but it cannot remove fragments left in virtual disk blocks that have already been reassigned. The remediation requires provider-side media lifecycle controls and evidence of sanitization before reuse, not only traffic filtering.
Question 92
A cloud role allows outside accounts to assume it because its trust policy names every external account as a valid principal. Once assumed, the role can read confidential audit logs. No software exploit or stolen user password is needed. What is the primary vulnerability?
- An overly broad cross-account identity trust policy granting sensitive permissions to unintended principals
- Physical disk corruption in the cloud provider’s managed storage hardware
- A local browser’s cookie expiration policy unrelated to identity federation
- Mandatory data encryption that prevents the account from reading audit logs
Explanation
Correct Answer
A:Trusting arbitrary external identities expands the set of callers who can obtain the role’s rights. Restrict trusted principals and conditions to approved accounts. A trust policy that accepts every external account allows unintended principals to obtain the role's grants if other assume-role conditions permit it. Restrict principal identifiers, external IDs and contextual conditions to approved partner identities, and review the permissions attached to the role as well as who may assume it.
Incorrect Answers
B:The flaw is authorization granted by a customer-configured trust policy, not evidence of storage corruption or hardware failure. Storage corruption would produce missing or altered data blocks and is not necessary for a caller to access logs through a valid, but overly permissive, identity trust path. The described role works according to its configured authorization rules; the flaw is who those rules admit.
C:Browser cookies do not govern which external cloud accounts may assume a role under the stated cross-account trust configuration. An ordinary browser session timeout affects one login's duration or token reuse and does not define cloud-role trust relationships. The relevant enforcement happens at an identity and access policy service when another account attempts to assume the privileged role.
D:The observation is unwanted account-level read permission. Encryption does not replace appropriately scoped authorization for authenticated service principals. Encryption at rest protects stored bytes against certain media-access risks but does not automatically reject a principal who received valid log-reading permissions. Cloud role authorization and trusted principals must be scoped separately; otherwise the platform can legitimately decrypt or serve data to the wrong account.
Question 93
A production service contains hundreds of third-party components. A published vulnerability affects a transitive library, but engineers do not know whether the vulnerable version reached the deployed build or whether its risky code is used. Which TWO checks best support a defensible remediation decision? Choose TWO.
- Suppress application security logs to avoid finding indirect dependency risks
- Determine whether the affected functionality is used, then upgrade the package or apply supported compensating controls
- Correlate the deployed component inventory, lockfile or software bill of materials with the affected package versions
- Inspect only directly named top-level dependencies because transitive packages cannot execute in production
- Assume a signed release guarantees that none of its included libraries contains exploitable code
Explanation
Correct Answers
B:Reachability, exposure and supported fixes determine realistic urgency; upgrading or mitigating the affected component addresses the identified dependency risk. If the vulnerable function is actually callable along a deployed path, a supported update or containment reduces practical exposure. If the function is unreachable in the deployed build, document the dependency, affected version and tested reasoning rather than assuming that mere absence of observed attacks means safety.
C:A production dependency inventory or resolved dependency graph establishes whether the vulnerable version is actually present in the service being assessed. Transitive libraries can be bundled indirectly by a top-level dependency, so a direct dependency list may omit the affected version. Compare the deployed artifact's actual resolved packages or SBOM to the advisory's affected versions; a development-only inventory may differ from the running image.
Incorrect Answers
A:Disabling telemetry reduces the ability to see exploitation or confirm mitigations and does not remove vulnerable packaged code. Hiding security logs makes exploitation harder to detect and leaves no credible evidence that the component is not vulnerable. Security teams instead need observed component provenance and reachability analysis, followed by a fix or justified temporary mitigation while evidence is retained.
D:Transitive dependencies are included in the runtime graph and can execute through their callers, so a top-level-only inspection can miss the affected library. Dependency graphs include nested packages that a service can invoke without listing them directly in its own manifest. Ignoring that transitive code can leave a vulnerable version in production, and the correct inventory must follow resolved versions through the deployed dependency graph.
E:Code signing confirms provenance and integrity relative to a signer; it does not prove that every nested dependency is free of known vulnerabilities. A signed package indicates that its content was bound to a signer, not that the content was free of known vulnerabilities or uncompromised before signing. Organizations must still check dependency provenance, version advisories and the security of the build pipeline.
Question 94
A web service negotiates a deprecated weak cipher suite, despite both peers advertising modern strong algorithms. Which security concern should the operator investigate?
- Potential downgrade or unsafe cryptographic configuration allowing weak session protection
- An approved server-side data-minimization policy
- A user passing MFA with hardware-backed authentication
- A failed RAID parity rebuild requiring cold spare disks
Explanation
Correct Answer
A:Negotiating legacy algorithms can expose sessions to known weaknesses, especially if a downgrade is induced or allowed. If a client and server both support a modern suite but negotiate a weak one, check server preference lists, fallback behavior and possible on-path interference. TLS protects the channel only to the extent of its successfully negotiated algorithms, so maintaining strong allowed suites and disabling obsolete fallbacks matters.
Incorrect Answers
B:Data minimization reduces unnecessary information collection but does not select TLS cipher suites. A data-minimization rule limits which personal or business records the application gathers and retains. It offers no mechanism for removing weak cipher suites from TLS negotiation, although both controls may be part of the organization's broader security policy.
C:User MFA is a separate identity safeguard and cannot by itself make weak negotiated encryption safe. Hardware-backed MFA provides stronger evidence for the user's identity at authentication time, but it does not decide the symmetric cipher that protects the transport connection. A valid MFA event can occur over an insecure or downgraded channel if TLS configuration is weak.
D:Storage RAID parity protects against certain disk failures and has no direct relationship to selecting a TLS transport cipher. Disk redundancy or parity rebuilds affect storage availability and integrity during hardware failure. They cannot account for a server and client selecting a deprecated transport encryption suite from their supported negotiation lists.
Question 95
An employee installs an Android package from an unknown mirror after enabling permission to install apps outside the managed store. Which mobile security exposure increased?
- Trusted app-store vetting of the newly installed package
- Certificate transparency auditing of public domain names
- Unauthorized side loading outside approved application distribution safeguards
- A privilege-escalation condition requiring the phone to have been rooted
Explanation
Correct Answer
C:Side loading can install untrusted software without the management controls normally applied to approved apps. Allowing installation from unapproved sources increases the chance of installing tampered applications or packages that have not passed enterprise vetting. Device management should restrict unknown-source installs, maintain approved app inventories and verify publisher signatures where supported before treating a mobile application as trusted.
Incorrect Answers
A:Installing outside a managed distribution path bypasses rather than guarantees prescribed application vetting. A managed app store may apply developer verification, policy controls and application scanning before installation. Installing from an unknown mirror bypasses the approved distribution path, so it cannot itself demonstrate that the new package received comparable vetting.
B:Certificate transparency tracks certificate issuance, not the provenance of an installed mobile application package. Certificate transparency records publicly trusted TLS certificate issuance for domain names; it does not authenticate the provenance of an Android installation package distributed by an arbitrary site. Application signing and enterprise distribution controls are separate checks from website certificate logging.
D:Fire suppression concerns a facility environmental hazard, unrelated to mobile software sources. Rooting a phone would change the device's privilege and sandbox model, potentially exposing system-level data. The scenario only states permission was enabled for an outside application package, so the direct risk is untrusted distribution rather than proof that OS privileges were elevated.
Question 96
A user roots a managed smartphone, disabling OS protections that normally isolate applications and limit privileged system changes. Which risk is most direct?
- A strengthened trusted execution boundary for all third-party applications
- A guaranteed reduction in account permissions across the enterprise
- Mandatory automatic encryption of every external backup
- Weakened mobile application sandboxing and privilege enforcement
Explanation
Correct Answer
D:Root access removes security assumptions made by managed mobile controls, enabling deeper interference with application data. A rooted operating system can bypass manufacturer or MDM restrictions that isolate application data and limit privileged modifications. This creates a larger privilege and tampering surface, even when an application was installed from a reputable store and originally ran with ordinary user rights.
Incorrect Answers
A:Bypassing vendor OS security restrictions generally weakens, rather than strengthens, application isolation. Gaining root privileges does not automatically add protections to third-party application sandboxes. Instead it removes assumptions that managed-device policies make about privilege boundaries, making sensitive application storage easier for privileged or malicious code to access.
B:Local device rooting does not automatically narrow identities or privileges in remote services. Rooting changes local operating-system control, not the IAM role assignments of an employee's cloud accounts or corporate directories. Account provisioning and revocation still require separate enterprise identity controls and cannot be inferred from the device's local privilege state.
C:Rooting is not a backup-encryption policy and offers no guarantee that external copies are protected. Encryption of backups is governed by the backup tool, its storage destination and key-management policy. Root access on the originating smartphone does not guarantee that cloud or removable backup copies use protected encryption or that their keys remain secure.
Question 97
A web service is actively attacked through an unknown flaw. At first detection, the vendor has no advisory and no patch exists. Which THREE statements fit a zero-day situation? Choose THREE.
- The organization should monitor new vendor guidance and validate the eventual remediation
- A zero-day label guarantees that the exploit cannot affect confidentiality
- The flaw is automatically considered patched once defenders learn about the attack
- Every zero-day necessarily comes from a phishing email rather than software behavior
- The vulnerability may be exploited before the vendor becomes aware of it
- Compensating containment and exposure reduction may be required before a patch is available
Explanation
Correct Answers
A:Because the situation evolves, defenders must follow tested vendor updates and confirm that exposure is closed. Vendor guidance can evolve from temporary mitigations to a tested patched build once the flaw is analyzed. Defenders should track affected versions, monitor exploitation evidence and confirm the final fix really closes the vulnerable attack path, instead of assuming the first advisory resolves all exposure.
E:Zero-day attacks can target vulnerabilities not yet known to the supplier or publicly disclosed. An attacker may discover and exercise a vulnerability before the vendor, defenders or public researchers understand it. That is why absence of a published advisory or patch at the first incident report does not prove the targeted software is uncompromised.
F:Temporary isolation, feature controls or blocking rules may reduce exposure during the period without a fix. Temporary controls may include restricting vulnerable services, disabling affected features, segmentation, filtering and intensified monitoring. These reduce reachable exposure while the software remains unpatched, but need testing to avoid breaking dependent services and cannot always replace a permanent fix.
Incorrect Answers
B:The label describes disclosure/patch timing, not limits on possible data disclosure or code execution. A zero-day classification says nothing about which security objective is affected. The flaw could allow data disclosure, code execution or denial of service, and the precise impact must be established from the exploited component and observed behavior.
C:Discovery and notification do not change vulnerable code until an effective mitigation or patch is applied. Knowing of an exploit does not automatically change deployed code or configuration. Unless a patch, feature restriction or effective compensating control is applied and validated, a system can remain exposed after the discovery announcement.
D:Zero-days can arise in diverse software and hardware interfaces and do not require phishing for delivery. The label refers to the vulnerability's state of awareness and availability of fixes, not to a mandatory delivery technique. Exploitation can happen through a network service, document parser, driver or exposed API without any malicious email.
Question 98
Workstations display ransom notes and thousands of documents have been renamed with a new extension. File restores are demanded in exchange for payment, while unaffected offline backups remain available. What activity is most likely?
- A destructive wiper attack with no extortion or promised recovery
- A successful antivirus signature database update
- A ransomware attack encrypting local files for extortion
- Routine file classification performed by a DLP policy
Explanation
Correct Answer
C:Mass encryption and ransom demands are central indicators of ransomware; segregated backups may aid recovery. Ransomware commonly encrypts accessible data and presents instructions seeking payment for possible recovery, often attempting to impair available backups. Offline backups can improve recovery prospects, but the response should first contain spread, preserve evidence and verify clean restoration without assuming payment guarantees decryption.
Incorrect Answers
A:A destructive wiper may permanently corrupt or delete files, but the specific combination of widespread inaccessible documents and payment instructions points to ransomware extortion. Investigators should still verify whether the data was truly encrypted, rather than relying only on filenames or an attacker note.
B:Signature updates do not ordinarily encrypt organizational documents and demand money for keys. Security software definition updates may scan or quarantine suspicious files, but a legitimate update does not demand payment to restore access to company documents. If the antivirus was itself compromised that would be a separate event requiring evidence beyond a scheduled signature download.
D:DLP labels or access rules do not normally make thousands of business documents inaccessible with payment demands. Data loss prevention rules can classify documents, block transmission or restrict access under an authorized policy. Such routine classification would not explain widespread unexpected extensions and an extortion note asking for money to regain use of the affected files.
Question 99
An employee installs a free document converter. It works normally, but telemetry reveals a concealed remote-control service accepting attacker commands. Which malware category best fits the deception?
- A kernel-level rootkit proven to hide privileged device drivers
- A trusted signed installer whose visible converter behavior guarantees all internal services are safe
- An autonomous worm spreading through a vulnerable port
- A Trojan that presents benign functionality while hiding malicious code
Explanation
Correct Answer
D:A Trojan masquerades as legitimate software and contains an undisclosed malicious function such as a backdoor. The converter supplies expected benign functionality to persuade the employee to install it, while an undisclosed service gives an attacker remote access. This malicious code is a Trojan because of the deceptive packaging, regardless of whether later attacker commands install more payloads or attempt lateral movement.
Incorrect Answers
A:A kernel rootkit would require evidence of privileged driver manipulation, hidden kernel modules, or tampered operating-system inspection interfaces. The observed converter conceals a command-accepting backdoor, but the prompt does not establish kernel-level privilege or driver hiding. A Trojan classification accounts for the deceptive legitimate functionality without assuming unobserved rootkit capabilities.
B:An installer that secretly opens remote access is not harmless merely because its visible conversion feature works. A signed installer can still carry unauthorized functionality if its build or publisher was compromised. The presence of a working conversion feature is not evidence of safety when monitoring reveals a concealed remote-control channel that the user did not request or approve.
C:Worm behavior involves autonomous replication; the described compromise is hidden in a seemingly useful installer. Worms replicate autonomously to additional targets, often exploiting a network weakness. The described application was voluntarily installed under a useful disguise, with no sign of automatic replication. Its hidden command channel is a backdoor delivered through Trojan behavior.
Question 100
After one exposed service is compromised, hundreds of similarly vulnerable machines begin probing additional hosts without anyone opening another attachment. Which malware behavior is most consistent?
- A phishing campaign that requires every new victim to open a separate attachment
- A worm exploiting reachable systems and propagating automatically
- A Trojan delivered solely by manually launching an installer on one host
- A sanctioned vulnerability scanner running from the official scan subnet
Explanation
Correct Answer
B:Self-propagating malware can exploit the same vulnerability repeatedly and spread without new user interaction. The same exposed service permits automatic compromise of further hosts, enabling a worm to spread without a new attachment being opened. Network telemetry should show outbound scanning and exploit attempts following infection; patching the shared flaw and segmenting affected hosts help interrupt that propagation chain.
Incorrect Answers
A:A phishing campaign depends on separate social-engineering deliveries or victim actions, such as opening new attachments or visiting deceptive links. The case instead describes already-compromised machines autonomously probing and infecting additional hosts through the same reachable software vulnerability. That self-propagating mechanism is characteristic of a worm, not necessarily independent phishing for each new victim.
C:The observed autonomous host-to-host probing is broader than a single isolated manual document launch. A Trojan may originate in a deceptive installer and can carry other malware, but an infection confined to a manually launched application does not by itself explain many machines autonomously attacking additional hosts. The critical distinguishing feature is network self-propagation after the initial compromise.
D:An authorized vulnerability scanner may probe hosts, but it operates under a documented scope from identifiable managed scanning infrastructure. Here many newly compromised hosts independently begin scanning or exploiting additional systems after infection. That coordinated propagation is not explained by one sanctioned scanner, and responders should corroborate the probing process and host compromise evidence.