CompTIA SY0-701 Practice Test 22
Question 210
A golden workstation image already contains approved security settings. New laptops join the domain and must receive those values reliably even when deployed from different installers. What mechanism helps?
- An unmanaged network hub operating on the access cable
- A public file-sharing link containing privileged passwords
- Manual guesses by each local user about which settings were approved
- A centralized configuration template or management policy applied at enrollment
Explanation
Correct Answer
D:Centrally applied configuration profiles replicate approved settings across enrollment paths and permit later compliance checks. An authenticated MDM or directory policy can assign versioned configuration profiles as a device enrolls, regardless of which installer handled the device. Monitor compliance to detect missed application and later configuration drift.
Incorrect Answers
A:An Ethernet hub forwards signals and cannot configure endpoint security policies. Policy configuration requires managed endpoint controls, not passive electrical forwarding. A hub repeats Ethernet frames and provides no authoritative endpoint configuration. It cannot verify that each laptop receives the approved security settings when enrolled.
B:Publishing sensitive credentials creates exposure and is not an acceptable device-management policy delivery mechanism. A public link containing privileged credentials would spread secrets and weaken device management. Secure enrollment should use authenticated policy channels rather than exposed shared files.
C:Independently chosen settings create inconsistent controls rather than applying the approved baseline. User recollection cannot guarantee consistent policy application, especially when different technicians perform installation. Baseline settings should be enforced by a trusted management system.
Question 211
Configuration management detects that an unapproved remote-access service has appeared on a managed workstation, contrary to yesterday’s version-controlled approved baseline. Incident responders have preserved the relevant change logs. What action best closes the security gap AND demonstrates effective remediation?
- Apply the approved baseline or an authorized corrective configuration, remove the unauthorized service, then rescan and document the resulting effective state
- Mark the drift alert as permanently resolved because the new service starts without a software error
- Disable the compliance monitoring agent so the workstation will no longer raise deviations from the expected configuration
- Revert random registry entries until network traffic appears to improve, without checking the authorized baseline or verifying the remote-access service was removed
Explanation
Correct Answer
A:A known-good approved configuration supplies a measurable desired state for remediation. Removing the unauthorized service under controlled change procedures and verifying effective compliance closes the actual exposure rather than merely hiding the alert. Preserved logs also support investigation of who introduced the drift and whether other workstations need the same correction. The unauthorized service represents a difference from the approved state; correcting the actual service and verifying the change closes the specific exposure. Reconciliation evidence should show the resulting running configuration matches the authorized baseline.
Incorrect Answers
B:Successful execution does not mean a new service is authorized. The deviation from the approved hardened baseline is the risk, and a service can operate perfectly while creating an unwanted remote-access path. Clearing the alert without removing or authorizing the service leaves the misconfiguration active. A service starting cleanly says only that it can run, not that it has been approved or secured. Treating technical startup success as compliance would leave the unexpected access path available.
C:Disabling monitoring removes visibility while doing nothing to restore the expected configuration. That approach may suppress the symptom in a dashboard but does not stop a dangerous service from accepting connections. The proper control is to correct the endpoint and confirm the policy is enforced again. Suppressing the monitoring agent would hide future unauthorized configuration changes without restoring the intended controls. It sacrifices evidence rather than addressing the risk.
D:Arbitrary edits may break legitimate functionality and cannot prove that the actual unauthorized service was disabled. Recovery should use a documented approved baseline, test required applications and verify the resulting settings. Unvalidated registry changes create additional drift rather than auditable remediation. Random registry changes can introduce instability and do not prove that the remote-access service was removed. Approved change control, a known-good state and targeted rescan are needed for defensible remediation.
Question 212
An employee-owned phone accesses restricted corporate mail, but unapproved configuration profiles must not grant device-wide management or install unknown VPN endpoints. What device-management approach should the company choose?
- Use an approved MDM/work-profile policy restricting unmanaged profiles and separating work controls
- Turn off mobile enrollment logs to avoid privacy questions
- Allow every user to install administrative profiles without review
- Distribute device administrator credentials to all mail users
Explanation
Correct Answer
A:A scoped MDM or enterprise work profile can enforce sanctioned profiles while applying appropriate personal-device privacy limits. Use supported separation between managed application data and personal settings, limiting profile installation and access to work resources. The design must document what device attributes the organization controls and the privacy implications for the employee-owned phone.
Incorrect Answers
B:Disabling logs removes evidence without protecting the employee's device or corporate messages. Enrollment and configuration logs are needed to establish which restrictions were applied and when access was granted. They can be privacy-scoped without suppressing all audit evidence.
C:Untrusted privileged profiles can redirect traffic or change protections and violate the stated enrollment requirement. Unvetted administrative profiles can gain broad device influence or redirect traffic through malicious VPN endpoints. Personal ownership does not justify granting corporate access from arbitrary security states.
D:Sharing device-admin credentials undermines attribution and allows unauthorized profile installation; separate scoped management identities are needed for BYOD governance. Shared device administrator credentials prevent individual attribution and invite configuration abuse. Managed work-profile access should rely on unique authorized identities and approved enrollment.
Question 213
A switch in a public meeting room has unused jacks, while its management interface must be reached only from the administrative network. Which TWO actions support the intended management security? Choose TWO.
- Configure all unused public jacks as permanent trunk ports with every VLAN allowed
- Permit management SSH from any Internet source because management uses encryption
- Share the switch's enable secret with visiting contractors to simplify troubleshooting
- Place switch management services into a restricted admin network reachable only by approved operators
- Disable or securely assign unused physical switchports to prevent casual unauthorized connectivity
Explanation
Correct Answers
D:Separate management reachability from public user ports to reduce unauthorized access opportunities. Management interfaces should be bound to a separate protected segment with access control lists allowing only named administrative sources. Authenticate operators and log configuration actions rather than placing the switch control plane on a public network.
E:Closing unused ports or using an isolated unused VLAN helps prevent convenient unauthorized attachment. Disabled switchports prevent casual devices from joining the corporate LAN through unattended wall jacks. Where a jack must remain active, apply 802.1X or suitable admission controls and restricted VLAN assignment.
Incorrect Answers
A:An open trunk increases the networks an unknown visitor could reach through public jacks. Unused public jacks configured as trunks can admit traffic from multiple VLANs and unnecessarily expand lateral access. Disable or tightly isolate unused ports instead of making them privileged trunk interfaces.
B:SSH encryption does not make unrestricted administrative reachability safe on a sensitive infrastructure device. SSH encryption protects the administrative session contents but does not authorize every Internet origin. Public reachability increases opportunities to probe passwords, keys and device vulnerabilities.
C:Shared management secrets destroy accountability and increase the chance of configuration compromise. Sharing an enable secret destroys individual accountability and gives guests network-configuration authority they did not require. Authorized technicians should use unique managed credentials.
Question 214
A management capture from an access switch shows SNMPv2c community strings travelling without cryptographic privacy, and operators still need authenticated and confidential read-only monitoring. Which replacement best protects network-management traffic?
- Configure SNMPv3 with authenticated, encrypted (authPriv) management sessions, restricted read-only views and authorized manager sources
- Change the SNMPv2c community string weekly but continue sending it in readable network packets to all monitoring stations
- Use SNMPv1 with a longer community string because increasing a shared string automatically encrypts the management payload
- Allow anonymous SNMP write access from the Internet to avoid hardcoding monitoring-server credentials
Explanation
Correct Answer
A:SNMPv3 authPriv combines message authentication and integrity with confidentiality for properly configured management sessions. Restricting manager sources, limiting the SNMP view and granting read-only access where sufficient reduce exposure further. This addresses observed cleartext shared-community traffic while preserving monitored device state and authenticated operator or management-server identity. SNMPv3 authPriv provides sender authentication and packet privacy instead of exposing a shared community secret. Scope views to necessary read-only objects, restrict management sources and verify cipher and key settings for the actual switch software.
Incorrect Answers
B:Rotating a community string may reduce exposure time after compromise, but SNMPv2c does not provide the same cryptographic privacy as correctly configured SNMPv3 authPriv. A passive adversary on the path can observe a reused shared string again. The requirement explicitly includes protecting management contents, not merely changing a readable secret. Rotating a cleartext v2c community can limit its lifetime, but packets still expose the current value on an observed management network. This does not provide authenticated encryption.
C:An SNMPv1 community functions as a shared cleartext access token; making it longer does not add modern packet integrity or encryption. The protocol version lacks the privacy mechanisms needed for protected credentials and management information. It is not an equivalent substitute for authenticated encrypted SNMPv3 messages. SNMPv1 also uses community-string semantics without modern cryptographic message privacy. A longer string is not equivalent to an encrypted management exchange.
D:Anonymous Internet-facing write access would permit untrusted parties to query or modify sensitive device management objects where the device supports writable MIBs. It breaks both source restriction and least-privilege monitoring requirements. Management should be authenticated, confidential and narrowly authorized instead of globally writable. Anonymous write access permits untrusted configuration operations and creates an obvious management attack surface. Monitoring credentials must not confer arbitrary administrative device changes.
Question 215
A cloud virtual machine is launched from a template with a security group that permits all inbound traffic from 0.0.0.0/0. No public inbound service is required. What should the security team apply?
- Grant every tenant user root access to the VM
- Permit all inbound access but disable the VM's local event logs
- Remove disk encryption because security groups protect everything
- Configure least-privilege inbound rules with default deny and only explicitly approved exceptions
Explanation
Correct Answer
D:Default-deny filtering closes unintended services and confines exposure to justified, monitored ingress paths. A default-deny ingress policy blocks unapproved unsolicited connections, with exceptions granted only for documented business services. Apply host and cloud security rules together and verify their effective state after deployment. Confirm no management service remains Internet accessible through a second interface or overlooked load balancer.
Incorrect Answers
A:Root privileges increase impact after compromise and are unrelated to limiting network reachability. Root access would grant unnecessary authority to unrelated tenant users. The finding is excessive inbound reachability, not a shortage of administrative permissions.
B:Logs do not compensate for unnecessary public reachability and should remain available for investigation. Permitting public connections while removing local logs increases both exploitation opportunity and blind spots. Monitoring does not substitute for reducing the actual reachable services.
C:Network filtering cannot replace protection of stored data when media or workloads are compromised. Disk encryption protects stored data on the VM but does not determine which external network clients may connect. Removing it weakens a different control without repairing the security-group exposure.
Question 216
A public production API returns complete internal exception traces and a database connection secret in HTTP 500 responses when requests fail. Engineers still need diagnostic data for incident handling. Which error-handling design should replace this behavior?
- Return a generic client error with a correlation identifier, while recording sanitized diagnostic details in access-controlled server-side logs
- Send complete exception traces and credentials to every caller so support staff can troubleshoot from browser screenshots
- Disable all incident logging and preserve rich client-facing error responses as the sole source of diagnostic evidence
- Turn off authorization checks on failing API routes so exception handlers no longer need to identify user sessions
Explanation
Correct Answer
A:Production clients need sufficient context to report a failure without receiving internal stack traces, connection strings or reusable secrets. A centralized handler can return an appropriate generic response and correlation ID, with sensitive fields redacted from controlled server-side logs. Restricted diagnostic access preserves troubleshooting value while reducing information disclosure and credential exposure. A stable correlation ID lets a caller report the failure without revealing stack traces, database credentials or internal paths. Store sanitized error context privately with controlled retention, access and alerts so engineers can diagnose the same incident.
Incorrect Answers
B:Unauthenticated users and attackers may intentionally trigger error paths to collect leaked implementation details and credentials. Putting full traces and connection secrets into public HTTP replies aids reconnaissance and may allow direct access to the database. Troubleshooting does not justify broadcasting those details to callers. Full traces may include secrets, backend addresses and implementation details that let an attacker pivot. Support staff should access those details through authorized internal logging, not customer screenshots.
C:Turning off all internal logs removes useful timelines and error context for incident investigation while preserving the actual disclosure through HTTP responses. Proper logging should be centralized, access-restricted and sanitized, with public error details minimized. The choice proposed makes both security monitoring and information exposure worse. Disabling server logs removes evidence needed to diagnose repeated failures and investigate a breach. Keeping detailed error output in public responses would preserve the original disclosure risk.
D:Disabling authorization is unrelated to sanitizing exception responses and could expose protected data or privileged operations. An API must retain default-deny security decisions even during unexpected failures. The safe repair is robust error handling and safe diagnostic logging, not a weaker access-control path. Removing authorization checks introduces a separate privilege flaw and does not repair unsafe exception handling. Errors must be handled securely for both authenticated and denied requests.
Question 217
A programmable logic controller supports only vendor-certified hardening methods; a generic antivirus agent can violate control timing. Which THREE responses reflect safe cyber maintenance? Choose THREE.
- Disable all safety interlocks until malware scanning is complete
- Install the workstation antivirus immediately regardless of control-loop deadlines
- Test changes against operational timing and production safety requirements before rollout
- Use network segmentation and narrowly permitted services as compensating protections
- Follow manufacturer and engineering safety guidance for supported security controls
- Assume fixed-purpose equipment can never have exploitable firmware defects
Explanation
Correct Answers
C:Security changes must be assessed for latency and predictable control behavior on safety-critical equipment. Validate changes on representative controller hardware under peak operational load and failure conditions before production deployment. Availability and physical safety constraints may outrank a standard workstation deployment procedure. Coordinate with the safety owner because delays in a PLC scan cycle can affect machinery independently of malware detection.
D:Restricted network pathways can reduce attacker reachability when the controller cannot support a standard security agent. Network isolation, controlled engineering stations and narrow allowed protocols can reduce exposure when an endpoint agent is unsupported. Monitor the segment and record the compensating design until equipment can be upgraded.
E:Vendor-supported configuration and safety engineering help avoid introducing unsafe behavior into critical control systems. The equipment vendor and operational engineers understand supported firmware, patch windows and timing constraints. Following approved maintenance guidance reduces the risk of destabilizing safety-sensitive control loops. Supported firmware and engineering-approved maintenance windows are often safer than attempting to force desktop controls onto controllers.
Incorrect Answers
A:Removing safety interlocks sacrifices the protection that exists independently of cybersecurity objectives. Safety interlocks are necessary protective mechanisms in an operational environment. Disabling them for a generic security scan can create a real-world hazard independent of malware risk.
B:Unsupported endpoint scanning could change timing or stability and endanger industrial process operation. Desktop antivirus could alter processor timing or interrupt controller operations if not approved by the manufacturer. Test supported alternatives with engineering and process-safety owners.
F:Dedicated firmware can contain vulnerabilities and still needs supported patching and exposure reduction. Fixed-purpose equipment still uses code, protocol implementations and firmware that can have exploitable defects. An inability to run ordinary EDR increases the need for layered controls, not an assumption of immunity.
Question 218
An industrial sensor cannot run a normal laptop security agent. It presents a unique manufacturer-provisioned device certificate when it connects. What security decision should occur before granting production access?
- Trust the source MAC alone because a hardware address cannot be imitated
- Replace the certificate with one shared username and password for all sensors
- Authenticate the device identity and bind network permissions to its approved inventory and role
- Allow all sensors because they are not traditional computers
Explanation
Correct Answer
C:Validating a unique identity against inventory and granting limited role access helps distinguish authorized sensors from impostors. Validate the device certificate, issuance chain, current authorization and binding to a known sensor record before granting permitted network services. Certificate authenticity is necessary but must still be paired with the device’s expected role.
Incorrect Answers
A:MAC addresses can be copied or altered and are not strong proof of an enrolled device identity. MAC identifiers can be spoofed or changed and do not prove control of a manufacturer-issued private credential. Network admission needs stronger evidence for a particular asset identity.
B:A fleet-wide shared password reduces accountability and can let one compromise affect every enrolled sensor. One shared password allows compromise of a single sensor to impersonate the entire fleet. Per-device certificates support revocation and accountability that a fleet-wide secret lacks.
D:Constrained devices still create attack paths and require authorization before reaching sensitive services. Industrial and IoT endpoints are still connected principals and can introduce risk if compromised. Production network privileges should not be based on the presence or absence of a full desktop operating system.
Question 219
A warehouse has tall metal shelving and intermittent Wi-Fi coverage. An engineer considers buying extra APs without measuring the signal through aisles. What should be done first?
- Move warehouse inventory to public Internet object storage
- Disable WPA authentication so stations associate faster
- Perform an RF site survey measuring coverage, attenuation and client requirements at the relevant shelves
- Force every AP to maximum power and hope interference disappears
Explanation
Correct Answer
C:A survey reveals dead zones and reflected or attenuated RF conditions before equipment-placement decisions. Measure received signal strength, noise, channel utilization and client performance at working heights and aisle locations. A site survey determines whether AP positions, directional antennas or channel plans should change before purchasing hardware.
Incorrect Answers
A:Changing data storage location has no causal effect on local radio coverage among shelving. Moving unrelated business data to public storage does not reveal RF interference, attenuation or roaming behavior in warehouse aisles. It changes data handling without diagnosing the wireless problem.
B:Removing authentication exposes warehouse wireless traffic without identifying the cause of signal gaps. Disabling WPA may simplify initial association but removes confidentiality and authenticated access protections. It cannot overcome physical signal obstruction from shelving.
D:Unconditional power increases can enlarge interference regions and do not fix poor physical coverage planning. Maximum transmit power can worsen co-channel interference, asymmetric links and roaming; client radios may still be too weak to reach the AP. RF design requires measurements rather than indiscriminate power increases.
Question 220
A hospital uses WPA3-Enterprise with 802.1X for clinical laptops. Its ONLY RADIUS server periodically becomes unreachable, and the wireless team proposes allowing unauthenticated association during outages so nurses can still connect. Which change better preserves secure authentication while improving service resilience?
- Provide redundant monitored RADIUS authentication servers and keep protected network access denied when no trusted authentication service can validate a user
- Automatically convert the clinical enterprise SSID to an open WLAN whenever the RADIUS server times out
- Use one shared plaintext password for all staff as a replacement for identity-based enterprise authentication and audit trails
- Ask all users to accept any unknown EAP server certificate because the authentication service is temporarily unavailable
Explanation
Correct Answer
A:Redundant RADIUS servers allow the WLAN controller or authenticators to try an alternative trusted authentication endpoint when a primary server fails. Health monitoring, tested failover and consistent EAP policy preserve availability without granting unauthenticated access. If all trusted authentication services are unavailable, restricted access is safer than changing a clinical network into an open security bypass. Redundant RADIUS services with tested failover preserve the ability to authenticate clients when a single server fails. An enterprise WLAN should not silently drop credential validation merely to meet availability goals; monitor both server health and access decisions.
Incorrect Answers
B:Failing open makes the protected clinical network reachable by devices that have not established an approved enterprise identity. A network outage should trigger resilient authentication failover or a controlled incident process, not abandonment of the WLAN admission requirement. Sensitive clinical traffic still needs an authenticated network boundary. Automatically opening the protected clinical SSID would let anyone near the hospital associate without the required identity proof. That contradicts the network’s security obligations during an outage.
C:A single shared secret weakens accountability, increases the impact of disclosure and does not preserve individually enforced 802.1X authorization decisions. Changing the authentication model during an outage may also strand clients whose managed profiles require EAP. Redundant approved RADIUS services are a better continuity approach. A shared password cannot attribute sessions to individuals and may be copied or reused by former staff. It is not an equivalent substitute for centrally validated per-user credentials.
D:Certificate acceptance is a separate trust check; indiscriminately trusting an unfamiliar server can expose EAP credentials to an impersonator. It does not repair the reachability of the organization’s actual RADIUS service. Reliable authenticated failover must still validate the server identity and issuer trusted by managed clients. Accepting an unknown EAP server certificate enables rogue infrastructure to impersonate the authentication server and potentially collect credential material. Availability incidents are not a justification to abandon trust checks.