Blog4 min read
Security+ Hardening Questions: Name the Device First
SY0-701 objective 4.1 hardening answers are all real controls. Name the device first, ask what it can run, and the one that fits is usually obvious.
Hardening questions on Security+ can seem straightforward until you see the answer choices. Each option is a legitimate control. You've learned about encryption and MDM and EDR agents, all of which seem like viable options. The issue arises because only one of these choices applies to the specific device in the question, and the others were written for some other kind of system.
That's basically all there is to objective 4.1. The exam provides a system and a problem, then asks for the appropriate technique. So I shifted from memorizing a long list of controls to first asking: what kind of device is this, and what can it actually run?
The baseline comes before any of it
A secure baseline is the known-good configuration for one class of system. CompTIA breaks it down into three main actions. You create the baseline by jotting down the necessary settings from a trusted source, such as the CIS Benchmarks or the DISA STIGs. You then apply this with a config management tool like Group Policy or Ansible, ensuring every host matches the standard. You keep it up by catching any straying from the baseline and fixing it, plus updating the standard when new guidance comes out.
Take care with the wording here. If a description says an engineer downloaded the CIS Benchmark for Windows Server and documented the settings, that's establishing the baseline. Pushing the settings out to the systems is deploying. Noting a server that's deviated from the standard is maintenance. Hardening itself means bringing a device into line with that standard, and the exam looks at these as separate concepts.
Baselines also differ by system type. A Linux web server has a different set of vulnerabilities than a switch, so the benchmark must suit the specific asset.
Workstations and servers
These are the targets people know best. On a workstation, you disable unused accounts and services, set a screen-lock timeout, turn on disk encryption with BitLocker or FileVault, and ask for MFA when someone gets elevated to admin. On Linux, SELinux or AppArmor confines what a process can touch.
Servers add a few of their own. Remove the default services and accounts that come turned on, and patch quickly. Services should run as unprivileged users so a compromised process doesn't own the whole host. On a web server, the 4.1 lesson on the site says to hide version banners and limit HTTP methods. It also wants TLS 1.3.
Switches and routers
Network gear gets toughened up at the ports and at the management plane. Block unused switch ports to prevent unauthorized access in a conference room. Use SSHv2 for management and avoid Telnet, as Telnet transmits credentials in plain text. Isolate management on a separate VLAN, send logins through TACACS+ or RADIUS, and record every configuration change.
A common trap in this area is encryption at rest. While encryption is a good control, it's not what the question is aiming for on a switch.
Mobile devices and the cloud
Phones get passcodes or biometrics, full-device encryption turned on by default on modern iOS and Android, app installs restricted to approved stores, and features like USB debugging disabled. I wrote a separate piece on BYOD, COPE and CYOD because ownership shifts which of these the company can enforce.
Cloud hardening is distinct since the infrastructure is an account. Secure the root or owner account with MFA, update settings using infrastructure as code for review, maintain security groups and IAM policies with least privilege, and activate audit logs, such as AWS CloudTrail or the Azure Activity Log.
The systems you can't patch
This is where most of the trap answers live. ICS and SCADA controllers, embedded systems, RTOS boxes and IoT devices often can't receive a patch on a normal schedule and can't run a security agent. So hardening leans on isolation and turning things off.
For ICS and SCADA, that means a segmented OT network, tight limits on remote access, and disabling services that aren't used. Availability and safety come before patch speed. Embedded systems follow the vendor's hardening guide, and you assume nothing third party will install. An RTOS gets memory protection and signed firmware where the platform supports them, plus audit features, as long as timing still holds. IoT devices need their default credentials changed, UPnP disabled, firmware updated when the vendor ships one, and a VLAN of their own.
So when a stem describes a water-treatment controller on a legacy OS the vendor won't let you patch on a normal schedule, the answer is to isolate it on a segmented network and restrict remote access. Installing EDR, enrolling it in MDM, or turning on WPA3 are all real controls aimed at a different kind of device.
How I'd practice this
Cover the answer choices and name the system type before you read them. Then ask what that system can run and who is allowed to change it. Usually that narrows it down to one option. The objectives list shows where 4.1 is in Domain 4, and the free practice questions mix these device scenarios in with everything else, which is closer to how the real exam presents them.