CompTIA SY0-701 Practice Test 20
Question 190
An analytics partner receives random-looking surrogate payment tokens but must never retrieve the original card numbers. A protected internal token vault retains the mapping. Which control is most important?
- Assume possession of any surrogate token establishes permission to see its original value
- Enforce that only authorized internal identities may perform detokenization lookups
- Send a plaintext copy of the token mapping table with every report
- Provide the partner with a privileged detokenization API key to aid troubleshooting
Explanation
Correct Answer
B:Separation of token use from protected detokenization access preserves the vault's security boundary. A detokenization endpoint must verify an internal service identity, business purpose and permitted scope before retrieving the mapped payment value. A reporting partner can use surrogate identifiers without receiving the privilege to reverse them.
Incorrect Answers
A:A token is not proof of business entitlement to retrieve the sensitive value from which it was derived. Possession of a surrogate token identifies a record but is not authorization to recover the underlying account number. Treating every token holder as a vault reader would defeat tokenization’s data minimization.
C:Distributing the mapping table would expose the underlying sensitive values to the third party. Sharing the mapping table exposes precisely the sensitive primary account numbers and token relationships that the vault is intended to isolate. A delivered report should contain only the minimum required surrogate values.
D:A privileged lookup credential would violate the stated prohibition on partner access to original account numbers. A privileged API key given to the partner crosses the intended trust boundary and could reveal all mapped card numbers. Troubleshooting should use separate restricted interfaces or anonymized evidence instead.
Question 191
A dashboard should display ***-**-4821 instead of a staff member's complete personal identifier while the secured backend retains the canonical value. Which data-protection technique is being applied to the display?
- Irreversible cryptographic destruction of the original data
- A fully exposed plaintext export to every dashboard user
- Masking/redaction of portions of the sensitive value in a user interface
- Unsigned digital signing of the employee's identifier
Explanation
Correct Answer
C:Masking hides part of the displayed value while allowing authorized systems to retain the full record when needed. Replacing selected characters with asterisks limits the information visible to ordinary dashboard readers while preserving the canonical value under stronger access controls. This is masking, not encryption or permanent deletion; authorized workflows may still retrieve the original.
Incorrect Answers
A:The backend still holds the original, so the value has not been irreversibly destroyed. The original value remains present in the authorized backend, so the operation is not an irreversible cryptographic destruction. It is a presentation-layer disclosure reduction for viewers with limited need.
B:Only a partial identifier is visible; a full plaintext export would contradict the described limited display. Displaying the entire identifier would contradict the requirement to conceal all but the last four digits. Plaintext export widens exposure rather than reducing it.
D:Digital signatures support authenticity/integrity rather than selectively concealing digits in an interface. A digital signature attests to a signed message under a cryptographic key; it does not conceal a personal identifier in a graphical display. The proposed unsigned phrase is not even a normal signature scheme.
Question 192
A software audit compares the hash of a downloaded firmware image with an authentically signed manifest's expected digest. No original code or plaintext source is available. What does a matching digest primarily demonstrate?
- That the image will certainly contain no defects or malware
- That the inspected bytes match the expected content under the digest's security assumptions
- That the administrator can recover the original source from the hash
- That all future copies will be encrypted automatically
Explanation
Correct Answer
B:Hash comparison provides evidence of unchanged bytes, assuming a trustworthy reference and suitable collision resistance. A trusted signed manifest binds the expected hash to a publisher statement, and the fresh digest binds the downloaded bytes to that reference. Matching supports integrity for the inspected file, not functional safety or future behavior.
Incorrect Answers
A:An authentic matching package can still contain programming flaws or malicious source from the publisher. Hash equality does not establish that the expected firmware is free of vulnerabilities or malicious design. If the publisher approved a flawed release, an exact byte match would reproduce that flaw.
C:A cryptographic hash is not a reversible encoding from which arbitrary original source can be reconstructed. Cryptographic hash functions are intentionally one-way and lose information about their inputs. Recovering full source code from a fixed-size digest would contradict their expected security and information properties.
D:Digest comparison does not encrypt later backups or communications by itself. The hash comparison tests integrity against the authenticated reference. A digest check has no effect on how later copies are stored or transported. Confidentiality requires separate encryption and key-management controls for each relevant storage or communication path.
Question 193
Several consulting partners share a data platform. Each partner should read only its authorized rows, and compromised workloads must not freely contact another partner's service. Which TWO protections address the separate needs? Choose TWO.
- Use one shared root administrator account for every partner workload
- Apply row-level security based on partner identity or ownership attributes
- Allow every partner unrestricted table scans because the database is internally hosted
- Disable authorization audit logs to reduce query latency
- Enforce network microsegmentation between partner service environments
Explanation
Correct Answers
B:Row-level authorization restricts which records a user or service identity may query within a shared datastore. Row-level predicates enforce data ownership at the query boundary, so authenticated partner identities see only approved records. Test policies with each tenant role, including indirect queries and privileged execution contexts.
E:Microsegmentation constrains inter-service connectivity and reduces lateral movement between partner execution environments. Network microsegmentation controls east-west service connections, limiting which workloads may communicate across partner environments. This complements row-level database authorization because a compromised service can otherwise probe neighboring tenants. Segmentation prevents one partner’s compromised runtime from probing another tenant’s otherwise protected application services.
Incorrect Answers
A:Sharing a highly privileged identity removes attribution and weakens the separation between customers. A single root identity would let one compromise affect multiple partners and obscure attribution. Separate principal permissions are required to keep tenants from reading or modifying each other’s data.
C:Internal hosting does not authorize tenants to view each other's protected data. The fact that a database is internal does not make every partner entitled to all its rows. Cross-tenant access requires explicit authorization, not simply network reachability.
D:Removing authorization telemetry makes access violations harder to detect without improving the required isolation. Suppressing authorization logs removes the evidence needed to investigate suspicious cross-tenant access. Proper indexes and query design address performance without discarding the audit trail.
Question 194
A shopping website sends new sessions to any of six healthy application servers, all of which serve requests simultaneously. What availability method is being used?
- A cold recovery site without provisioned application servers
- An offline key escrow ceremony requiring two custodians
- Load balancing and horizontal scale-out across multiple active service instances
- An active-passive database failover that keeps every standby idle
Explanation
Correct Answer
C:Distributing requests among multiple serving nodes increases capacity and may allow graceful loss of one node. A load balancer spreads sessions across multiple concurrently active instances, providing scalability and redundancy when health checks and session design are correct. Failure of one instance should permit new requests to use surviving instances rather than leaving all capacity idle.
Incorrect Answers
A:A cold site needs equipment and restoration before it can service production sessions. A cold recovery site is generally not running six active service instances for current users. It describes capacity that would be restored after a disruption rather than continuous traffic distribution.
B:Key recovery does not distribute normal live web requests among active application hosts. Key escrow is a cryptographic recovery arrangement and does not distribute web requests among healthy application servers. Custodian approval cannot provide the described horizontal serving capacity.
D:A passive standby normally waits to take over rather than processing the same active workload concurrently. An active-passive model keeps standby service capacity inactive until failover. The stem specifies six nodes accepting requests simultaneously, which is active horizontal scaling.
Question 195
A financial database has a single active writer and a synchronized standby. When the active instance fails, the standby is promoted to assume the writer role. What resilience model does this describe?
- Six load-balanced active database writers with no coordination
- An active-passive failover cluster for a stateful service
- A daily offsite archive whose restoration needs several days
- A flat unmanaged network without redundancy
Explanation
Correct Answer
B:The service normally has one active writer and a prepared passive node that takes over on failure. The standby is prepared to take over but does not accept the primary write role while the active node is healthy. Fencing, replication consistency and tested promotion procedures are needed to avoid split-brain behavior.
Incorrect Answers
A:The scenario explicitly describes one writer at a time, not an uncontrolled cluster of simultaneous independent writers. Six simultaneous active writers would require coordinated multi-writer consistency and is not the arrangement described. The scenario explicitly has just one writer until a failure triggers promotion.
C:A synchronized standby is already provisioned and can promote much faster than rebuilding from remote archival media. A daily offline archive is a backup and may involve substantial restoration time. A synchronized ready standby is a different recovery mechanism capable of shorter failover when properly operated.
D:There is a standby capable of promotion, so a nonredundant single node is not the design. A flat network provides no automatic database promotion or preconfigured recovery relationship. The observed functionality comes from a managed stateful replication and failover arrangement.
Question 196
A trading service has fully provisioned disaster-recovery infrastructure and asynchronous replication. Business policy requires an RPO of five minutes, but monitoring shows replica lag peaks at twenty minutes under high load. What must change before the recovery plan can meet the stated requirement?
- Treat a hot standby location as automatic evidence that every data-loss target has already been achieved
- Measure only the time until the alternate servers boot, because replication lag has no relationship to RPO
- Improve and validate replication or protection frequency so recoverable committed data stays within the five-minute loss target
- Increase the declared RPO to twenty minutes without obtaining business authorization or accepting the residual loss
Explanation
Correct Answer
C:The replication design must demonstrate recoverable data age no greater than the approved RPO, including degraded and peak-throughput conditions. Replicate or protect committed transactions often enough that the worst supported lag stays within the approved RPO, then load-test and verify recovery consistency. Monitoring that shows twenty-minute lag demonstrates a measurable failure against the five-minute target.
Incorrect Answers
A:Installed backup infrastructure improves readiness but cannot override observed data loss or determine actual recovery point during high load. A hot deployment describes preparedness and failover capability but says nothing about how recently committed data was replicated. A fully running alternate may still be twenty minutes behind.
B:Server startup and failover duration concern recovery time, whereas recovery point measures acceptable loss of recent data. Startup time concerns recovery time, whereas replica lag determines the potentially unrecoverable transaction window. Measuring only boot duration ignores the stated five-minute data-loss objective.
D:Changing the official loss tolerance requires authorized business risk acceptance and cannot silently substitute for meeting a previously approved five-minute objective. Changing a business-approved loss threshold without authorization is a governance violation, not a technical remediation. A realistic RPO may be renegotiated, but the stated requirement remains unmet until the owner approves the change.
Question 197
An organization can tolerate several hours of outage after a regional disruption. An alternate location has some network and server infrastructure but requires restoration and configuration before business service resumes. Which THREE statements are correct? Choose THREE.
- Standby hardware and partial preparation can reduce recovery time relative to an entirely cold site
- Recovery testing should measure configuration and data-restore work against the RTO
- An RTO measured in hours guarantees there can be no data loss
- The setup resembles a warm disaster-recovery site
- The facility must be completely empty of equipment to qualify as warm
- The location is a fully operational hot site requiring no restoration or activation
Explanation
Correct Answers
A:Partially prepared equipment may shorten restoration compared with obtaining all resources after a disaster. Prepositioned servers, network connectivity or storage reduce the provisioning work needed after an outage. The organization must still restore or activate workloads, making it faster than an empty cold facility but less immediate than an operational hot site.
B:Testing validates that the remaining setup and restore tasks fit the required outage duration. A drill should time the complete recovery sequence, including restoring application state, changing routes and validating user transactions. Those measurements show whether the plan actually meets the agreed outage tolerance. Time every manual step, not only server startup, because network cutover and validation consume the allowed recovery interval.
D:Warm sites typically provide partly provisioned systems but need some restoration or activation before serving production. A warm site has some hardware and infrastructure prepared but requires additional restoration or configuration before it can provide the business service. This is the exact intermediate-readiness condition in the stem.
Incorrect Answers
C:RTO measures acceptable outage duration, while RPO separately governs the amount of recoverable data loss. RTO measures allowable service interruption; potential loss of recent data is captured separately by RPO. A service can recover within hours and still lose unsynchronized transactions.
E:A warm site can have prepositioned networking, hardware and some configuration, unlike a basic empty location. An empty building without ready equipment would instead resemble a cold site. The scenario’s preinstalled network and servers contradict that description.
F:A hot site has a more immediately usable environment; the described site still requires significant startup work. A hot site is normally provisioned for rapid activation with current or near-current service capability. The stated manual restoration and configuration work means this alternate is not already fully operational.
Question 198
A primary data center and its recovery center are 300 kilometers apart, but both sites reach the company WAN through the SAME carrier exchange and a common physical fiber conduit. A conduit failure would isolate both. Which resilience design directly reduces this shared network dependency?
- Provision physically diverse carrier paths that avoid the common exchange/conduit, use independent upstream dependencies where practical, and test failover connectivity from both facilities
- Increase backup retention by thirty days while continuing to use the same single carrier exchange and conduit
- Move the recovery center two kilometers from the primary site while retaining the same carrier and fiber route
- Place the second WAN virtual interface in a different VLAN carried on the SAME fiber pair and treat the tags as physical route diversity
Explanation
Correct Answer
A:Separate carrier paths and routing dependencies reduce the chance that one conduit cut or exchange fault disconnects both primary and recovery sites. The paths must actually be physically diverse; two service contracts or VLANs are insufficient if they share underground infrastructure. Failover testing should verify reachability under loss of the named shared component. The common fiber conduit and exchange are shared physical failure points despite site separation. Independent transport routes and upstream diversity must be verified geographically, not merely ordered from separate account numbers or tagged interfaces.
Incorrect Answers
B:Longer backup retention can improve recoverability from historical data loss, but it does nothing to eliminate a common WAN exchange failure. Both sites can remain unreachable regardless of how many recovery points are stored. The question is about reducing common-mode transport loss, not extending the historical backup window. A longer backup history helps with data restoration but does not provide network connectivity when both locations depend on the same cut fiber. It fails the precise network-isolation threat.
C:Reducing geographic separation can actually increase exposure to common local disasters and does not remove the explicit shared carrier route. The new site would still depend on the same exchange and conduit described in the scenario. Geographic distance by itself is not proof of WAN route diversity. Reducing site separation may increase geographic common-mode exposure while retaining the same conduit vulnerability. Distance alone does not change the carrier’s actual physical route.
D:Two logical VLANs over the same physical link remain unavailable when the shared fiber is cut. Layer 2 or Layer 3 logical separation does not create a second conduit, peering provider or independent exchange. The topology needs tested physical and provider diversity to address the named failure point. Two VLANs on the same fiber pair share the same cut and therefore cannot provide physical path diversity. Logical segmentation does not replace separate trenches, exchanges or carrier dependencies.
Question 199
A company's primary and DR facilities are two kilometers apart on the same river floodplain. A severe storm threatens both. What weakness should its disaster plan address?
- A geographic common-mode hazard affecting primary and alternate sites
- Unnecessarily frequent access reviews on privileged accounts
- Too much encryption used on replicated disk volumes
- An application-layer SQL injection in the customer portal
Explanation
Correct Answer
A:Nearby locations sharing environmental hazards may fail together, defeating the geographic resilience goal. Because both facilities occupy the same floodplain, one weather event could disable production and recovery simultaneously. Select an alternate with sufficiently independent hazard exposure and validate power and connectivity dependencies. Assess flood maps, drainage, regional utilities and emergency routes as correlated dependencies when selecting a secondary site.
Incorrect Answers
B:Account governance practices are unrelated to whether two recovery facilities occupy the same flood zone. Review frequency for administrator accounts is an access-governance question, not the physical disaster correlation caused by co-located flood exposure.
C:Disk encryption protects confidentiality and does not cause both buildings to share storm exposure. Encryption protects confidentiality of replicated volumes but does not stop a flood from damaging both sites. Strong cryptography cannot create geographic hazard separation.
D:A database input defect does not explain correlated river flooding risks for facilities. A web application SQL injection would be a software security weakness, not the shared geographic risk created by placing both facilities inside one river flood zone.
Question 200
Both production and standby clusters use the same vulnerable third-party parser. A remotely exploitable flaw can compromise both locations. Which resilience improvement addresses the correlated software risk?
- Reduce identical failure modes through tested technology diversity or independent compensating controls
- Relocate the standby one floor higher but retain all the same vulnerable components
- Disable all software bills of materials because they reveal too much
- Use one global administrator password on both sites
Explanation
Correct Answer
A:Avoiding a single vulnerable dependency across both environments can reduce simultaneous compromise risk, while adding complexity requiring testing. Using independently tested components or controls can reduce the chance that one software flaw compromises both production and standby simultaneously. Apply patches, isolate vulnerable parsers and rehearse recovery paths that do not rely on identical exposed code.
Incorrect Answers
B:Changing physical elevation does not eliminate a shared software flaw in both clusters. A small floor elevation change does not eliminate a common exploitable parser present in both systems. The correlated threat is software design, not only building flooding.
C:Dependency inventories help identify repeated vulnerabilities; removing them weakens visibility into the common issue. An SBOM can reveal common vulnerable dependencies across sites, making correlated software exposures easier to identify. Discarding it would remove useful supply-chain visibility.
D:Shared privileged secrets increase correlated compromise paths rather than improve resilience. Individually managed secrets reduce cross-site administrative dependency. One shared global credential creates an additional correlated failure and reduces attribution. It would not fix the vulnerability in the parser and could make both locations easier to compromise.