CompTIA SY0-701 Practice Test 2
Question 10
A company publishes a rule that employees must not connect unknown USB drives to company laptops. The rule contains no endpoint blocking configuration. What is its primary security control FUNCTION?
- Corrective, because unplugging a drive repairs operating systems
- Preventive technical enforcement, because the document disables USB ports
- Directive, because it tells users what conduct is required
- Detective, because the policy logs every device automatically
Explanation
Correct Answer
C:A directive control tells employees what conduct is required or prohibited. The organization has issued a rule forbidding unknown USB media, but has not installed technical blocking. Its security effect therefore comes from informing and setting expectations for human behavior. Training, exception processes and endpoint controls might reinforce that requirement, but the described artifact is a policy directive.
Incorrect Answers
A:A corrective action repairs damage or restores service, for instance recovering a compromised laptop or removing malware. The question concerns a written rule published before an incident. Unplugging a USB device is not the function that this document performs, and no endpoint cleanup or restoration is described.
B:A technical preventive USB control would require an enforcement mechanism such as device-control software, operating-system policy or physical port restriction. The question expressly states that the policy has no such configuration. A document by itself cannot disable a port, prevent enumeration or reject an attached device even when users are expected to comply.
D:Detective controls collect or analyze evidence of events, such as an endpoint device-insertion log or alert. The written acceptable-use rule does not automatically create such telemetry. Monitoring could be configured separately, but the scenario explicitly describes only a published instruction, not an event-collection system.
Question 11
A payroll database is still online and its records are unaltered, but an unauthorized contractor downloaded readable salary files. Which CIA property has been violated most directly?
- Authenticity, because the system was booted normally
- Integrity, because the files were copied without modification
- Confidentiality, because restricted data became accessible to an unauthorized party
- Availability, because the server is processing normal payroll
Explanation
Correct Answer
C:Confidentiality ensures information is accessible only to authorized subjects. The contractor downloaded readable salary records despite lacking approval, so a restriction on disclosure failed. Neither online service availability nor unchanged record values negates the leak. Access controls, encryption and appropriate data permissions help preserve confidentiality, but the observed outcome is unauthorized exposure of sensitive data.
Incorrect Answers
A:Authenticity concerns whether an identity, communication or data source is genuine and can be trusted as represented. Normal boot operation does not establish authenticity of a payroll export and does not explain the security loss. The important fact is that salary information became readable to a contractor who lacked permission, regardless of whether the server remained functional.
B:Integrity protects against unauthorized or accidental alteration of information. The prompt states that payroll records were not changed, so a loss of integrity is not the most direct conclusion. Copying a readable file without modification can still be a severe breach, but it affects control over who can learn the contents rather than their correctness.
D:Availability concerns whether authorized users can access the service or data when needed. The payroll database remains online and functioning, which suggests availability is not the primary harm described. A data leak can occur while an application appears perfectly healthy to legitimate users.
Question 12
An investigator compares a signed, approved firewall rule export with a current export and discovers that a deny rule was silently changed to permit. Network uptime is unaffected. Which security property is at issue?
- Availability of the enterprise WAN
- Confidentiality of encrypted backups
- Integrity of the firewall configuration
- Non-repudiation of payroll transfers
Explanation
Correct Answer
C:Integrity means that security-relevant data and configurations remain accurate and are not modified without authorization. Comparing a signed approved rule export with the current export reveals that a deny rule became a permit without approved change control. This is a configuration-integrity failure that could also create future confidentiality or access risks; the decisive observed defect is unauthorized alteration.
Incorrect Answers
A:Availability addresses whether a network or service is operational for authorized use. The case explicitly says that uptime is unaffected. A silent permit-rule modification changes security behavior even if users experience no outage, so the central issue is not whether the WAN remains reachable.
B:Confidentiality of backups would involve protection against unauthorized reading of archived information. No backup content or decryption exposure is described here. The evidence shows a current firewall policy no longer matches the signed, approved policy baseline, which indicates a different property was compromised.
D:Non-repudiation can help establish evidence linking an actor to an action, often through authenticated records or signatures. The scenario concerns a firewall rule being changed, not an attempt to prove the origin of a payroll transfer. Attribution of the editor would be useful investigative evidence but is not the property directly tested by the changed rule.
Question 13
An online service is overwhelmed by a packet flood, but its stored records are unchanged and no credentials are leaked. Which TWO observations correctly describe the main impact? Choose TWO.
- The service's availability has been degraded
- A packet flood automatically verifies that all users were authorized
- The service may be unreachable even when its stored-data integrity is intact
- Confidentiality must have been lost because bandwidth was consumed
- The flood by itself proves that the database contents were modified
Explanation
Correct Answers
A:Availability is the ability of authorized users to receive the required service when needed. Flooding the application with packets can exhaust bandwidth, connection tables or processing capacity, leaving legitimate requests delayed or dropped. That direct disruption is an availability impact even when no attacker changes stored records or learns private data.
C:Denial-of-service activity can make an application unreachable without modifying its persistent data. The statement that records remain unchanged is compatible with an availability failure: integrity of stored data may remain intact while the service cannot respond. The two CIA properties describe different security outcomes, so a loss of one does not necessarily imply a loss of the other.
Incorrect Answers
B:An overwhelming stream of packets is not an authentication or authorization mechanism. Requests can be malicious or spoofed, and volume alone cannot prove which principals were permitted to use the application. Identity validation and access policy are separate from whether the network is under a denial-of-service flood.
D:Heavy traffic does not by itself reveal the contents of restricted data. Confidentiality would be affected if unauthorized parties could read sensitive information, but that fact is not present in the scenario. The observed consequence is that legitimate clients cannot obtain service, not that private records were exposed.
E:A packet flood does not establish that database values have changed. An integrity compromise requires evidence of unauthorized or erroneous modification, such as altered records or corrupted transactions. Here the stored information is expressly unchanged, so inferring an integrity failure would contradict the stated facts.
Question 14
A disputed payment request carries a mathematically valid digital signature, but incident logs show that the customer’s signing key was stolen before the request was created. What conclusion is defensible about non-repudiation?
- A valid signature proves the customer physically approved the transaction even when the private key was stolen earlier
- The signature must be invalid because no stolen private key can generate a cryptographically valid signed message
- The cryptographic signature may verify, but authorization attribution is undermined until key custody, timing and compromise evidence are examined
- Only the destination bank’s DNS cache can determine whether the signature establishes human approval
Explanation
Correct Answer
C:Cryptographic verification can establish that the payment request matches a signature generated with the corresponding private key, but key theft breaks the inference that the rightful customer intentionally authorized it. Non-repudiation depends on trustworthy key custody, timestamps, revocation status and supporting process evidence. Investigators should examine compromise timing and transaction authorization records before attributing human approval.
Incorrect Answers
A:A mathematically valid signature proves that the relevant private key could produce the signature for the signed bytes; it does not by itself identify the physical human who used the key. Once the key was stolen, a thief could sign transactions that verify successfully. Treating validity as irrefutable human approval ignores the documented custody breach.
B:An attacker who possesses the stolen signing key can compute signatures that satisfy the same verification equations as the legitimate owner. Signature validity tests the key relationship and message integrity, not whether possession was authorized. Therefore the assertion that stolen keys cannot produce valid signatures is technically false.
D:DNS caches resolve network names and may influence a service’s connectivity, but do not determine the signer’s intent or validate who controlled a cryptographic private key. Disputed signature attribution requires certificate/key lifecycle evidence and transaction controls, not a lookup of the destination bank’s DNS cache.
Question 15
An employee enters the correct password and completes MFA but cannot open the compensation application because the HR role is absent. What security check is now failing?
- Availability: the entire application must be offline
- Accounting: the system cannot store audit events
- Authorization: the authenticated account lacks the permission for this resource
- Authentication: the employee's identity has not been established
Explanation
Correct Answer
C:Authorization determines what an already authenticated subject is allowed to do. The employee has supplied the password and MFA proof, so the identity checks succeeded. The system then evaluates application roles and finds no HR entitlement, correctly refusing the resource request under least privilege. Authentication success must not be interpreted as blanket permission across services.
Incorrect Answers
A:An availability failure would mean the HR service or necessary resource is unable to provide service to authorized users. The application can be online and healthy while an individual account is denied for lack of the HR permission. The key clue is the missing role, not a service outage.
B:Accounting creates evidence of actions through logging, timestamps and identity attribution. There is no stated failure to generate or preserve audit events. The access request is refused because the identity has insufficient assigned privilege; accounting is important for the denial record but does not grant access.
D:Authentication verifies identity using credentials or factors. The question explicitly states that password verification and MFA succeeded, so the problem arises later in the access-control sequence. Failing to assign the compensation-application role is an authorization defect, not evidence that the user identity remains unverified.
Question 16
A service-to-service API request presents a valid workload certificate, but the service principal is not permitted to modify the requested database table. Which response follows least privilege?
- Change the service principal's identity to a global administrator automatically
- Skip the permission check because no human is involved
- Deny the write while retaining the valid identity for logging
- Grant database-owner rights because machine certificates are inherently trusted
Explanation
Correct Answer
C:The server should preserve the authenticated service identity for logging and enforce the database permission check independently. Because the principal lacks permission to modify this table, the write is denied. This respects least privilege and retains useful audit data for troubleshooting or investigating attempted overreach. Identity proof and authorization to a particular resource are separate security decisions.
Incorrect Answers
A:Automatically elevating a workload to global administrator would grant privileges far beyond the requested table modification and increase the impact of certificate compromise. A valid certificate confirms possession of a recognized workload identity; it does not justify changing that identity’s authorization scope. A least-privilege design denies or seeks approved narrow rights instead.
B:Machine workloads still need resource-specific authorization even when no human operator is present. The certificate validates or identifies the service principal, while database policy separately determines the allowed operations. Skipping that decision would allow any recognized workload to perform actions outside its assigned role.
D:Database-owner rights can modify broad schema and content and should not be granted merely because a principal presents an apparently trusted certificate. Certificates establish an authentication relationship, not unlimited resource access. A compromised service key would make this elevation especially dangerous, so scoped permission checks remain necessary.
Question 17
A security engineer discovers several privileged changes cannot be attributed to individual administrators because the team shares one generic login. Which THREE changes would improve ACCOUNTING and attribution? Choose THREE.
- Assign individually identifiable administrator accounts and prohibit shared interactive credentials
- Allow anyone to edit archived logs without leaving evidence
- Correlate configuration changes with authenticated user/session identifiers
- Use the same permanent secret on every emergency administrator account
- Disable centralized audit logging to prevent duplicate events
- Forward privileged configuration-change records to a protected log system with reliable timestamps
Explanation
Correct Answers
A:Individual administrator identities make configuration changes attributable to people rather than to an anonymous shared login. Each administrator should authenticate using unique credentials, with elevated access granted as needed and recorded. Shared emergency accounts, if unavoidable, require strong custody and controls because their activity otherwise cannot be reliably attributed to one person.
C:Linking change events to authenticated sessions, user identifiers and target devices allows investigators to reconstruct the origin of a configuration revision. Accurate session correlation is especially useful when several administrators operate during the same maintenance window. Such records turn technical change history into accountable activity rather than merely showing that a configuration differs.
F:Forwarding privileged changes to a protected logging service with trustworthy timestamps reduces the risk that an administrator can silently rewrite local evidence. Combined with unique identities and change records, those logs support accountability and incident reconstruction. Time synchronization matters because correlated actions on different devices must be sequenced reliably.
Incorrect Answers
B:Allowing unrestricted edits to archived logs lets a malicious or careless administrator erase or falsify the evidence needed to establish who made privileged changes. Protected audit trails should use access controls, controlled retention and tamper resistance, not open modification rights. Weakening the log repository directly undermines accounting.
D:Reusing one permanent emergency credential across accounts obscures attribution and creates a shared secret whose compromise can affect many systems. It does not solve the original inability to identify the person behind a change. Emergency privileged access should be narrowly scoped, time-limited and independently logged.
E:Centralized audit collection helps preserve administrative activity records even if a managed device is later compromised. Disabling it reduces visibility and leaves investigators dependent on local records that may be incomplete or erased. Duplicate entries can be deduplicated in log analysis; they are not a reason to discard audit telemetry.
Question 18
A security team wants to observe how an intruder explores a realistic isolated group of decoy servers, internal services and simulated inter-host links. A single fake credential or one standalone decoy host would not provide the planned network-level interaction. Which deception environment fits?
- A honeynet containing multiple coordinated decoy systems and services
- A lone honeytoken string embedded in an unrelated document
- An ordinary vulnerability scan of real payment production servers
- A mandatory access-control rule denying all production Internet egress
Explanation
Correct Answer
A:A honeynet combines multiple decoy hosts, services or network segments to provide a realistic environment in which an intruder may explore and interact. It satisfies the explicit requirement to observe inter-host movement, service discovery and network-level behavior. It must be isolated and instrumented so that attacker activity is captured without exposing real production resources or becoming a launch point.
Incorrect Answers
B:A honeytoken is a planted decoy value such as a fake credential, account or document marker that triggers a signal when accessed or used. One token cannot supply the multi-host and network-topology interactions requested. Tokens may be placed inside a honeynet, but are not a substitute for the complete decoy environment.
C:A vulnerability scan assesses known weaknesses in real or test systems and produces findings for remediation. It is not a simulated intruder-facing network designed for observation, and running intrusive scans against live payment services could introduce operational risk. The scenario asks for controlled deception and interaction monitoring.
D:Mandatory access-control rules can constrain a system’s privileges or limit allowed communication, which may help contain a deception environment. A blanket production egress deny alone does not create realistic decoy servers, fictitious services or inter-host links. Isolation is a supporting safety measure, not the requested honeynet itself.
Question 19
A Zero Trust system evaluates a user's identity, device health and requested application before selecting allow or deny. Which control-plane component computes that ACCESS DECISION?
- Policy enforcement point, which passes or blocks actual application traffic
- Policy engine, which evaluates attributes and makes a policy decision
- Application database, which persists customer order records
- Security guard, which performs building entrance checks
Explanation
Correct Answer
B:The policy engine evaluates the identity, device health, target application, enterprise rules and additional risk signals to determine whether an access request should be granted, denied or revoked. That is the decision-making component, not the gateway that transmits packets or the administrator that establishes the session. Policy decisions can be reevaluated as device or subject risk changes.
Incorrect Answers
A:A policy enforcement point sits on the communication path and implements allow, deny or terminate actions for the protected resource. It can enforce an updated decision, but the question asks which control-plane component COMPUTES that decision from identity and posture signals. Separating computation from enforcement is central to the described Zero Trust reference architecture.
C:An application database stores and retrieves service records, such as customer orders. It may provide attributes consumed by an access-control policy, but storing business data is not equivalent to evaluating the trust algorithm that decides user access. The decision belongs to the policy engine in the specified architecture.
D:Physical security guards can verify identity at a facility entrance, but they do not operate the digital Zero Trust policy-decision component for individual application requests. Network/application authorization draws on electronic identities, device posture and resource policy rather than a guard checking people at the building door.
Question 20
A Zero Trust policy engine issues an allow decision for a temporary session. A separate component must configure and later tear down the connection using the enforcement point. Which component fills that management role?
- A firewall packet buffer that queues undelivered frames
- A policy administrator that establishes and revokes policy-authorized communication paths
- A security awareness platform that tests employee behavior
- A user password manager that stores long-lived secrets
Explanation
Correct Answer
B:The policy administrator acts on the policy engine’s allow or deny decision. It establishes, manages and terminates the permitted communication path by sending instructions to one or more policy enforcement points and may provide session-specific credentials or tokens. This matches the stated need to create a temporary path and later tear it down without confusing decision calculation with the mechanics of enforcement.
Incorrect Answers
A:A packet buffer temporarily holds data frames or packets to absorb bursts or handle congestion, depending on the device design. Buffering has no authority to create or revoke a policy-authorized access session. The scenario concerns translating a policy-engine decision into gateway/session configuration.
C:A security awareness platform delivers training, simulations and behavioral exercises for staff. It may help reduce risky user actions, but does not orchestrate live policy-authorized sessions between a subject and an application. Its workflow operates outside the connection management described in the Zero Trust design.
D:A password manager securely stores or supplies credentials to authorized subjects, sometimes with sharing and rotation controls. It does not automatically configure the policy enforcement point to set up or revoke a communication path based on an allow or deny decision. Credential management is a supporting security function, not policy administration.