Curated

Security Engineering 3 (3.5–3.6)

0 votes

Questions66

  1. Question 1

    Security Engineering

    A data center's HVAC controllers use BACnet, which has no built-in authentication, and a vendor needs remote monitoring. Policy forbids any vendor path to the corporate network or direct exposure of controllers. Which design BEST meets these constraints?

    Show the answer

    Correct answerD. Segment the BMS network and allow vendor access only through an MFA-protected, monitored jump host

    AWhy not this: Exposing the controllers to the internet breaks the no-direct-exposure rule.

    BWhy not this: A VPN into the corporate network violates the rule that the vendor have no corporate path.

    CWhy not this: Controllers on the corporate VLAN still share the network, and source IP limits are weak.

    DWhy this is right: It isolates the BMS, keeps the vendor off the corporate network and adds MFA and session monitoring.

    A segmented building management network reached only through a monitored, MFA-protected jump host gives the vendor access while meeting both prohibitions. A corporate VPN gives the vendor a corporate path, which is the pivot route attackers have used from HVAC vendors.

    Open this question
  2. Question 2

    Security Engineering

    A manufacturer must give business analysts access to production data from its ICS while keeping the control network safe. Which four measures fit these requirements? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersB. Place a demilitarized zone between the IT and control networksC. Allowlist applications on HMIs and engineering workstationsD. Replicate historian data outward through a unidirectional gatewayE. Monitor control traffic passively with a protocol-aware sensor

    AWhy not this: Active scanning can crash PLCs and interrupt the process, so it is not safe on live controllers.

    BWhy this is right: A DMZ brokers IT-to-OT exchanges so no direct path reaches the control network.

    CWhy this is right: Allowlisting stops unapproved code on HMIs and engineering stations, which are common attack entry points.

    DWhy this is right: A unidirectional gateway lets analysts see data while nothing can flow back into the control zone.

    EWhy this is right: Passive monitoring gives visibility into control protocols without sending traffic to fragile devices.

    FWhy not this: A two-way tunnel creates a direct IT-to-OT path that bypasses the DMZ and exposes controllers to the business network.

    A DMZ, a one-way historian gateway, application allowlisting and passive protocol-aware monitoring protect an ICS without disturbing real-time operation. Active scans can crash or destabilize PLCs, and a two-way VPN into the control network gives business users a direct path to the controllers.

    Open this question
  3. Question 3

    Security Engineering

    A water utility's SCADA master polls remote terminal units at distant pump stations over a cellular WAN using unauthenticated Modbus/TCP. The RTUs cannot run agents or be patched. Which control BEST protects the polling traffic?

    Show the answer

    Correct answerC. Terminate IPsec tunnels on gateways placed in front of each RTU and the master station

    AWhy not this: The RTUs cannot run agents, so this control cannot be deployed on them.

    BWhy not this: RTUs are embedded devices that cannot join a domain, and it would not protect traffic on the WAN.

    CWhy this is right: Gateways add encryption and peer authentication to the legacy protocol without altering the RTUs.

    DWhy not this: The RTUs cannot be patched, and patching would not secure the unauthenticated protocol in transit.

    SCADA links span wide-area networks to field devices that cannot be changed, so encrypted tunnels on gateways in front of them add authentication and integrity as a compensating control. Endpoint agents, domain join and patching all require changes the RTUs cannot support.

    Open this question
  4. Question 4

    Security Engineering

    A data center's cooling is driven by a building management system reading rack temperature sensors. A tester shows that spoofed sensor values could hide an overheating condition. Which control BEST detects this?

    Show the answer

    Correct answerA. Redundant sensors on a separate network with divergence alerts

    AWhy this is right: An independent measurement path exposes falsified readings when it disagrees with the BMS.

    BWhy not this: Encrypting stored data protects confidentiality, not the integrity of live readings.

    CWhy not this: Allowlisting limits what code runs on the workstation but does not validate sensor data.

    DWhy not this: Scans find known weaknesses but do not detect falsified readings during operation.

    Independent sensors reporting over a separate path let the readings be compared, so spoofed BMS values show up as a divergence. Allowlisting protects the workstation but cannot tell whether the sensor data itself is false.

    Open this question
  5. Question 5

    Security Engineering

    A vendor builds a device on a system-on-chip. Only vendor-signed firmware may boot, the verification code must not be rewritable in the field, and storage keys must stay out of reach of a compromised kernel. Which design meets all three requirements?

    Show the answer

    Correct answerC. An immutable boot ROM verifying each stage, with keys held in a trusted execution environment

    AWhy not this: Attestation reports state but does not enforce boot, and keys in main flash are exposed.

    BWhy not this: Keys readable by the kernel violate the isolation requirement, even if firmware is verified.

    CWhy this is right: Immutable ROM anchors verified boot, and the isolated environment keeps keys from a compromised kernel.

    DWhy not this: Checks run by the main OS are rewritable and trust the very kernel that may be compromised.

    A hardware root of trust in immutable on-chip ROM anchors a verified boot chain, and a trusted execution environment isolates keys from the main OS. OS-level signature checks fail because a compromised kernel or update can alter them and reach the keys.

    Open this question
  6. Question 6

    Security Engineering

    Employees' laptops in a shared lobby keep associating with a look-alike SSID broadcast from a stronger signal outside. Which control BEST ensures clients join only the genuine corporate network?

    Show the answer

    Correct answerA. 802.1X with EAP-TLS and clients validating the RADIUS server certificate

    AWhy this is right: Certificate-based mutual authentication lets clients reject an impostor that lacks the valid server certificate.

    BWhy not this: A stronger shared key does not prove the access point's identity, and anyone holding it can run a twin.

    CWhy not this: Hiding the SSID is obscurity, and an attacker can still copy the name once observed.

    DWhy not this: MAC filtering restricts clients at the access point and does not verify the access point to clients.

    An evil twin copies the SSID, so clients must authenticate the network itself; EAP-TLS with server certificate validation provides mutual authentication. MAC filtering only controls which clients the access point admits and does nothing to prove the access point is genuine.

    Open this question
  7. Question 7

    Security Engineering

    A production-line controller is an embedded system running a real-time OS with strict timing, and the vendor offers no scanner support. How should the team BEST assess it for vulnerabilities?

    Show the answer

    Correct answerC. Test an identical unit in a lab and monitor the live network passively

    AWhy not this: Aggressive scans can crash or stall a real-time controller, halting production.

    BWhy not this: Fuzzing is designed to crash targets, so running it live endangers production.

    CWhy this is right: Lab testing and passive observation reveal weaknesses without risking the live timing-sensitive process.

    DWhy not this: An RTOS controller usually cannot host a third-party agent, and an agent would add timing load.

    Real-time embedded controllers can fail or miss deadlines under active probing, so intrusive testing belongs on an identical lab unit while production is watched passively. A live aggressive scan risks crashing the process the controller runs.

    Open this question
  8. Question 8

    Security Engineering

    A hospital's building-automation IoT sensors use hard-coded credentials, and the vendor has ended firmware support. Which action BEST reduces the risk while keeping the sensors in service?

    Show the answer

    Correct answerD. Isolate them on a segment reachable only by their management server

    AWhy not this: Encrypting local storage does not stop network attacks that use the hard-coded credentials.

    BWhy not this: Constrained IoT firmware generally cannot host an agent, and it would not remove hard-coded credentials.

    CWhy not this: Sensors typically cannot join a domain, and directory authentication would not replace the built-in credentials.

    DWhy this is right: Segmentation and allow-listing contain an unpatchable device whose credentials cannot be changed.

    Unpatchable IoT devices with fixed credentials need a compensating control, and network segmentation with tight allow-listing limits what an attacker can reach. EDR agents cannot run on constrained sensors, and they would not fix the embedded credentials anyway.

    Open this question
  9. Question 9

    Security Engineering

    A legacy imaging system cannot run agents, produces no usable logs, and tolerates no added load. Which approach gives security visibility into its activity?

    Show the answer

    Correct answerC. A passive network sensor fed by a TAP on the segment carrying its traffic

    AWhy not this: Segmentation restricts flows but gives no visibility into what the system does.

    BWhy not this: Aggregation needs logs to collect, and this system produces none that are usable.

    CWhy this is right: A TAP-fed passive sensor observes traffic out-of-band with no agent, logs or load on the device.

    DWhy not this: Any agent still consumes resources on the host and may not be supported on the legacy system.

    Passive network monitoring through a TAP observes traffic without touching the device, so it needs no agent, logs or extra load. A log collector (aggregation) has nothing to collect from a system that produces no logs, and an agent still loads the host.

    Open this question
  10. Question 10

    Security Engineering

    A plant forwards logs from its PLC engineering workstations and HMIs into one central SIEM. What are two benefits of this aggregation? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Linking a workstation logon to a later PLC program download from that hostC. Keeping off-host copies that an intruder who clears an HMI's logs cannot erase

    AWhy this is right: Central records let analysts join a logon on one host to a program download it later performed.

    BWhy not this: Logs come from the workstations and HMIs, so the PLCs' scan cycle is unchanged.

    CWhy this is right: Copies held in the SIEM stay intact even if an attacker clears the logs on an HMI.

    DWhy not this: An inventory defines which assets exist and should report; the SIEM only holds what arrives.

    EWhy not this: Log collection records downloads after the fact; blocking them needs an access control.

    FWhy not this: Monitoring can spot exploitation but does not remove the vulnerabilities patches fix.

    Aggregation brings records from many OT hosts into one place, so events on different systems can be correlated and copies survive tampering on a compromised host. It detects and records; it does not block downloads, change controller load, replace an asset inventory or remove the need to patch.

    Open this question
  11. Question 11

    Security Engineering

    A hospital's infusion pumps run an unsupported operating system, and the vendor prohibits any configuration change. Which control BEST reduces their exposure?

    Show the answer

    Correct answerB. Isolate them on a dedicated VLAN with firewall rules that permit only the pump management server

    AWhy not this: Log forwarding is aggregation; it aids detection but leaves the pumps just as reachable.

    BWhy this is right: Segmentation limits reachable paths without changing the unpatchable, vendor-locked device.

    CWhy not this: Hardening needs configuration changes, which the vendor prohibits here.

    DWhy not this: An IDS is monitoring; it alerts on attacks but does not reduce what can reach the pumps.

    Segmentation is a compensating control for devices that cannot be patched or changed: it limits who can reach them. A baseline is hardening and needs configuration changes the vendor forbids, and monitoring or log forwarding detects problems but does not reduce exposure.

    Open this question
  12. Question 12

    Security Engineering

    Operators use a legacy HMI workstation only to run one vendor application. Which action is hardening of this system?

    Show the answer

    Correct answerD. Removing unneeded software and disabling unused services and ports

    AWhy not this: Forwarding logs for correlation is aggregation and does not change the host's configuration.

    BWhy not this: Restricting reachability to a VLAN is segmentation, which acts on the network, not the host.

    CWhy not this: Alerting on unusual traffic is monitoring; it detects activity but leaves the host as exposed.

    DWhy this is right: Removing what the single application does not need shrinks the workstation's own attack surface.

    Hardening reduces the attack surface of the system itself by removing software and disabling services and ports it does not need. Restricting the VLAN is segmentation, and log forwarding and traffic alerting are aggregation and monitoring, which leave the system's own attack surface unchanged.

    Open this question
  13. Question 13

    Security Engineering

    An assessment finds a plant's safety instrumented system (SIS) controllers on the same flat network as its legacy process control PLCs, so a compromised engineering workstation could reach both. Neither controller family can enforce access controls. Which segmentation design BEST addresses this?

    Show the answer

    Correct answerA. Put the SIS in its own zone, linked to the control zone by one conduit that allows only the required traffic

    AWhy this is right: A dedicated SIS zone with one filtered conduit limits what can reach the safety controllers, even from a compromised workstation.

    BWhy not this: Open routing between the VLANs still lets a compromised host reach the SIS, so nothing is enforced.

    CWhy not this: The DMZ is for data exchange with IT; placing the SIS there exposes it to more systems, not fewer.

    DWhy not this: A host firewall on the workstation does not stop a compromised workstation reaching the SIS on a flat network.

    ISA/IEC 62443 groups assets with the same security needs into zones and permits communication between zones only through defined conduits. Giving the SIS its own zone, with a single filtered conduit to the control zone, means a compromise of the process side cannot freely reach the safety controllers. Separate VLANs with open routing are still one reachable network.

    Open this question
  14. Question 14

    Security Engineering

    A rail operator's signalling controllers run vendor-certified firmware, and changing it would require lengthy safety recertification. A serious vulnerability is disclosed. What is the BEST action?

    Show the answer

    Correct answerA. Segment the controllers and add protocol-aware filtering and monitoring

    AWhy this is right: Compensating network controls limit exposure while leaving the certified firmware unchanged.

    BWhy not this: Untested changes risk breaking the safety certification and disrupting train operation.

    CWhy not this: Adding software to certified controllers alters the validated configuration and may be unsupported.

    DWhy not this: Leaving a known serious vulnerability unmitigated is not acceptable for safety-critical systems.

    Safety-certified transport systems cannot be changed casually, so compensating controls such as segmentation and protocol-aware filtering reduce exposure without touching the certified firmware. Immediate patching risks invalidating certification and disrupting safety-critical operation.

    Open this question
  15. Question 15

    Security Engineering

    An electric utility lets an equipment vendor connect remotely to engineering workstations at its substations to troubleshoot protection relays. The relays and workstations run legacy software that cannot be updated. Which design BEST secures this remote access?

    Show the answer

    Correct answerD. An intermediate jump host with MFA, encryption and recording, enabled on request

    AWhy not this: A permanent tunnel joins the vendor's network to the substation and leaves an always-open path for an attacker there.

    BWhy not this: Direct RDP from an address range exposes the legacy workstations and trusts any host in that range.

    CWhy not this: A shared account removes individual accountability, and a password alone is not MFA.

    DWhy this is right: Sessions pass through one controlled point with MFA, encryption and recording, and exist only when approved.

    Utilities route interactive remote access through an intermediate system that enforces MFA, encrypts the session and records it, so no outside device connects directly to substation assets; NERC CIP-005 requires an intermediate system, encryption and MFA for such access to covered systems. Enabling it only on request removes standing access. A permanent VPN or direct RDP gives the vendor's network a constant path in.

    Open this question
  16. Question 16

    Security Engineering

    Which protocol do electronic control units inside a vehicle use to communicate with each other?

    Show the answer

    Correct answerC. CAN bus

    AWhy not this: It is a serial industrial control protocol for PLCs in utilities and manufacturing, not vehicles.

    BWhy not this: It is the imaging format used for medical images in healthcare, unrelated to vehicles.

    CWhy this is right: It is the standard in-vehicle network for ECUs and has no built-in authentication.

    DWhy not this: It is a message standard for financial card transactions, not for vehicle networks.

    Controller Area Network (CAN) bus is the in-vehicle network linking electronic control units. Modbus is an industrial control protocol used in utilities and manufacturing, not the standard vehicle network.

    Open this question
  17. Question 17

    Security Engineering

    Which tasks suit a Bash script on a Linux host? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Scheduling a recurring permissions check through cronB. Changing file modes across directories with chmod in a loopC. Parsing authentication logs with grep and awk to flag failed logins

    AWhy this is right: Bash scripts are routinely run on a schedule by cron for recurring checks.

    BWhy this is right: chmod in a Bash loop is a standard way to correct permissions in bulk.

    CWhy this is right: Bash scripts commonly filter log text with grep and awk to find failed logins.

    DWhy not this: Cmdlets and object pipelines are PowerShell features, not part of Bash.

    EWhy not this: A .bat file running reg.exe is a Windows batch script; Linux hosts have no registry.

    Bash is the native Linux shell, well suited to text processing with grep and awk, cron-scheduled jobs, and file-permission changes with chmod. Cmdlets and object pipelines for Active Directory belong to PowerShell, and reg.exe in a .bat file is Windows batch scripting.

    Open this question
  18. Question 18

    Security Engineering

    A Python automation script builds a ping command by concatenating a hostname from a ticket field and runs it with shell=True. Which change best prevents command injection?

    Show the answer

    Correct answerA. Pass the command as an argument list to subprocess without a shell

    AWhy this is right: An argument list with no shell passes the hostname as a single argument, so metacharacters are not interpreted.

    BWhy not this: Running with more privilege makes an injected command more damaging, not safer.

    CWhy not this: os.system also invokes a shell and does not escape metacharacters.

    DWhy not this: try/except handles exceptions but does not stop the injected command from executing.

    Passing arguments as a list to subprocess without a shell means the hostname is treated as data, not parsed as shell syntax, so injected metacharacters have no effect. try/except only handles errors after the command has already run and does not stop injection.

    Open this question
  19. Question 19

    Security Engineering

    A security engineer must find Windows servers whose services run as a local administrator and remediate each one, passing the discovered service objects directly to the fix without parsing text. Which tool is the best fit?

    Show the answer

    Correct answerA. PowerShell using cmdlets and the object pipeline

    AWhy this is right: PowerShell cmdlets emit objects that pass through the pipeline directly into a remediation cmdlet.

    BWhy not this: Batch files only offer text matching with findstr and have no object pipeline.

    CWhy not this: Bash is a Linux shell and would need text scraping of Windows output, which the scenario rules out.

    DWhy not this: Python could parse output, but the regex approach is still text parsing rather than passing objects.

    PowerShell cmdlets return .NET objects that flow through the pipeline, so discovered services can be passed straight to a remediation cmdlet with no text parsing. The other options all work by scraping text output, which is the approach the scenario rules out.

    Open this question
  20. Question 20

    Security Engineering

    A Bash cleanup script deletes the contents of a directory whose path is held in a variable that might never be set. Which change best stops the script from running with that variable unset?

    Show the answer

    Correct answerB. Enable nounset so unset variables raise an error

    AWhy not this: chmod 700 limits who can execute the script but not how it handles variables.

    BWhy this is right: nounset (set -u) makes Bash abort when an unset variable is expanded.

    CWhy not this: try/except is Python syntax and does not exist in Bash.

    DWhy not this: Execution policy is a PowerShell setting and does not apply to Bash.

    Enabling nounset (set -u) makes Bash treat an unset variable as an error and stop, so the cleanup cannot run against an empty path. Restricting file mode only controls who can run the script and does nothing about its variable handling.

    Open this question
  21. Question 21

    Security Engineering

    A vendor still sells patches for a 15-year-old PLC platform, but newer controller models have replaced it and spare parts are scarce. Which characteristic BEST describes the platform?

    Show the answer

    Correct answerC. Obsolete

    AWhy not this: Nothing in the stem describes limited memory, power or bandwidth.

    BWhy not this: The stem does not say controls cannot be applied, only that the platform is dated.

    CWhy this is right: Replacement by newer models and scarce parts show the technology is superseded.

    DWhy not this: The vendor still sells patches, so support has not ended.

    Obsolete means the technology has been superseded by newer products, with scarce parts, even if the vendor still provides patches. Unsupported would require the vendor to have ended patches and support.

    Open this question
  22. Question 22

    Security Engineering

    Battery-powered field sensors have 32 KB of RAM and a low-bandwidth link, and must protect telemetry confidentiality and integrity for years without hardware replacement. Which approach BEST fits these limits?

    Show the answer

    Correct answerD. Use lightweight authenticated encryption with pre-provisioned symmetric keys

    AWhy not this: A TPM and full-disk encryption add hardware and resource needs and do not protect telemetry in transit.

    BWhy not this: An EDR agent is too heavy for 32 KB of RAM and a battery.

    CWhy not this: Chain validation and revocation checks need more memory, power and bandwidth than the sensors have.

    DWhy this is right: Lightweight authenticated encryption protects data in transit within tight memory and power limits.

    Highly constrained devices need lightweight cryptography that fits small memory, low power and little bandwidth while giving confidentiality and integrity. Full TLS with chain and revocation checks demands more memory and traffic than the sensors can spare.

    Open this question
  23. Question 23

    Security Engineering

    A vendor-supported CNC controller has hardcoded credentials, and its firmware is sealed; any modification or added software voids the safety certification. The controller must stay in production on a flat network. Which action BEST reduces risk?

    Show the answer

    Correct answerD. Isolate it in a restricted segment with allow-listed flows and monitoring

    AWhy not this: The vendor already supports it, and no patch is offered for the hardcoded credentials.

    BWhy not this: Added software voids the certification, so no agent can be installed on the controller.

    CWhy not this: Altering sealed firmware voids the safety certification, so it is not permitted.

    DWhy this is right: Segmentation limits who can reach the controller and needs no change to the device itself.

    A system that cannot be hardened itself needs compensating controls around it, such as segmentation, allow-listed flows and monitoring. An agent or firmware change is tempting but is exactly what the certification forbids.

    Open this question
  24. Question 24

    Security Engineering

    A newly released infusion pump is vendor-supported, but its fixed credentials and locked operating system cannot be changed or accept security agents. Which characteristic BEST describes the pump?

    Show the answer

    Correct answerA. Unable to secure

    AWhy this is right: Controls cannot be applied to the device itself, which is the defining trait here.

    BWhy not this: The vendor still supports it, so lack of vendor support is not the issue.

    CWhy not this: It is newly released, so the technology has not been superseded.

    DWhy not this: No limit on memory, power or processing is stated; the barrier is the locked design.

    The pump cannot take hardening, credential changes or agents, which defines a system that is unable to secure. It is new and vendor-supported, so it is neither obsolete nor unsupported, and no resource limit is described.

    Open this question
  25. Question 25

    Security Engineering

    A vendor announces end of support for the operating system on a plant historian server that still runs reliably. What is the most significant security consequence for the organization?

    Show the answer

    Correct answerA. Newly found vulnerabilities will go without vendor fixes

    AWhy this is right: Ending support means no more security fixes, leaving new flaws exposed.

    BWhy not this: Compatibility loss comes from obsolescence, not from the end of vendor patches.

    CWhy not this: End of support does not remove the OS's ability to enforce password rules.

    DWhy not this: Capacity limits are a resource constraint, unrelated to support status.

    Once support ends, the vendor stops issuing security patches, so new vulnerabilities stay open. Protocol incompatibility is an obsolescence concern, and the other options describe unrelated limits.

    Open this question
  26. Question 26

    Security Engineering

    Files uploaded to a cloud storage bucket must be scanned for malware before any user can retrieve them, and the scan should run only when a file arrives. Which automation mechanism BEST meets this need?

    Show the answer

    Correct answerC. An event-based trigger on object creation that invokes the scanning function

    AWhy not this: Polling on a fixed interval leaves a gap in which an unscanned file can be retrieved and runs with no new files.

    BWhy not this: IaC defines infrastructure; redeploying it does not scan file content or react to an upload.

    CWhy this is right: Fires on the upload event itself, so the scan starts immediately and only when a file arrives.

    DWhy not this: A weekly vulnerability scan assesses the service's weaknesses, not uploaded file content, and is far too infrequent.

    An event-based trigger runs the scan the moment an object is created, so nothing is retrievable unscanned and nothing runs when no file arrives. A five-minute cron job still leaves a window and runs when nothing has changed.

    Open this question
  27. Question 27

    Security Engineering

    A nightly cron job runs a compliance-check script as root because it must read protected files. The script sits in a directory writable by the whole operations group. What should the architect do to remove the risk while keeping the job's schedule and function?

    Show the answer

    Correct answerB. Make the script and its directory writable only by root, and keep the nightly root schedule

    AWhy not this: More frequent runs do not stop tampering; a modified script would still run as root in between.

    BWhy this is right: Removes the escalation path by letting only root change what root executes, and keeps the schedule and access needs.

    CWhy not this: The job needs protected files, so it would fail; a writable script is still a problem for whoever runs it.

    DWhy not this: A login event changes when the job runs, but the script stays writable by the group, so the risk remains.

    Any group member could edit a script that root runs on a schedule, which gives privilege escalation. Restricting write access to root closes that path and keeps the job intact. An unprivileged account would break the job's need to read protected files and would not address the writable script.

    Open this question
  28. Question 28

    Security Engineering

    A scanner flags a vulnerable library in the base image of 40 running containers that use immutable, read-only filesystems. Which remediation BEST fixes the flaw while keeping the deployment consistent?

    Show the answer

    Correct answerA. Rebuild the image from a patched base and redeploy replacement containers

    AWhy this is right: Fixes the image once and replaces instances, preserving immutability and identical deployments.

    BWhy not this: Containers carry their own libraries in the image; host patches do not change them.

    CWhy not this: Startup hotfixes break immutability, vary between instances, and depend on writes the read-only filesystem blocks.

    DWhy not this: Read-only filesystems block in-place changes, and any change would be lost on restart and cause drift.

    Containers are meant to be replaced, not modified: rebuilding from a patched base and redeploying keeps every instance identical and immutable. Patching the host does not change libraries packaged in the image, which is the tempting but wrong choice.

    Open this question
  29. Question 29

    Security Engineering

    A security team finds that production and staging cloud networks have diverged because engineers changed security group rules by hand. Which approach BEST ensures each environment is built identically and every change is reviewable?

    Show the answer

    Correct answerD. Define the network in declarative templates kept in version control and deploy them through a pipeline

    AWhy not this: Scans find vulnerabilities, not whether two environments are built the same way.

    BWhy not this: Manual runbooks still rely on people to apply steps, so inconsistency and untracked changes persist.

    CWhy not this: Exports only record configuration after manual changes occur; they neither prevent nor correct drift.

    DWhy this is right: Templates in version control give repeatable builds and an auditable review trail for every change.

    Infrastructure as code makes the templates the single source of truth, so environments are repeatable and each change goes through version-controlled review. Nightly exports only report drift after it happens and do not build anything.

    Open this question
  30. Question 30

    Security Engineering

    A SOAR platform exposes an HTTPS endpoint that receives webhook calls from a code repository to start secret-revocation playbooks. The team fears forged events could trigger playbooks. Which control best proves each call came from the repository?

    Show the answer

    Correct answerA. Validate the payload's HMAC signature against a shared secret

    AWhy this is right: Recomputing the HMAC with the shared secret proves the sender holds the secret and the payload is unaltered.

    BWhy not this: Logging supports detection after the fact but does not stop a forged event from triggering a playbook.

    CWhy not this: Rate limiting reduces flooding but does not authenticate the sender of any single event.

    DWhy not this: TLS protects data in transit but any attacker can still connect and post a forged event.

    Webhook senders sign each payload with a shared secret. The receiver recomputes the HMAC and rejects mismatches, which authenticates the sender and protects integrity. TLS encrypts the channel but does not show who sent the request, since anyone can open a TLS connection.

    Open this question
  31. Question 31

    Security Engineering

    A developer accepts an AI code assistant's suggested function that parses user input. What should the pipeline require before this code is merged?

    Show the answer

    Correct answerB. Apply the same peer review and static analysis as human-written code

    AWhy not this: Notifying the vendor gives no security assurance about the code itself.

    BWhy this is right: Generated code is untrusted, so review and static analysis catch insecure suggestions before merge.

    CWhy not this: Generated documentation does not verify security, and skipping testing leaves flaws undetected.

    DWhy not this: Public training data includes vulnerable code, so suggestions can reproduce insecure patterns.

    AI-generated code is untrusted output and can contain injection flaws, insecure defaults or outdated patterns. It must pass the same peer review and static analysis as any other code. Training on public code does not make suggestions secure, because public code includes vulnerable examples.

    Open this question
  32. Question 32

    Security Engineering

    A SOAR team uses a generative AI tool to write runbooks for its playbooks, which change weekly. Analysts have followed AI-written runbooks that describe steps the current playbooks no longer perform. Which approach BEST keeps this documentation accurate?

    Show the answer

    Correct answerD. Regenerate each runbook from the current playbook code on every merge, with owner review

    AWhy not this: Quarterly regeneration from old drafts repeats stale content and lags weekly playbook changes.

    BWhy not this: Training on last year's runbooks teaches the model outdated steps rather than the current playbooks.

    CWhy not this: Temperature affects how much output varies, not whether it matches the current playbooks.

    DWhy this is right: The model works from the playbook as it now stands each time it changes, and the owner catches errors before publication.

    AI-generated documentation is only as current as the source it is given. Regenerating each runbook from the playbook's current definition whenever it changes, with the owner reviewing the result, keeps the text in step with the automation. Older drafts, old runbooks or a lower temperature give the model nothing new to work from.

    Open this question
  33. Question 33

    Security Engineering

    A regulated firm's developers paste proprietary source into a public AI code assistant that keeps prompts to train its models. Which change best preserves code assist while protecting confidentiality?

    Show the answer

    Correct answerD. Move to an enterprise assistant with no prompt retention and prompt DLP

    AWhy not this: Review before merge governs generated output and does nothing about code already sent in prompts.

    BWhy not this: Renaming variables leaves the logic and structure of proprietary code exposed to the vendor.

    CWhy not this: A ban removes the leak but also removes the capability, so it does not meet the stated goal.

    DWhy this is right: Contractual no-retention terms and prompt DLP stop proprietary code reaching training data while keeping the tool.

    An enterprise or self-hosted assistant with contractual no-retention and no-training terms, plus DLP on prompts, removes the leakage path and keeps the productivity benefit. Code review before merge checks output quality, not what leaves the company in prompts.

    Open this question
  34. Question 34

    Security Engineering

    An automation platform parses XML configuration files uploaded by partners. A test shows a crafted file made the parser return the contents of a local server file. Which parser change best mitigates this?

    Show the answer

    Correct answerC. Disable DTD and external entity resolution

    AWhy not this: Encoding controls character interpretation, not whether external entities are fetched from local files.

    BWhy not this: Moving attributes into elements changes document shape but leaves entity resolution enabled.

    CWhy this is right: Turning off DTD and external entity processing stops the parser from resolving entities that reference local files.

    DWhy not this: Comments are ignored data; removing them does not stop the parser from resolving external entities.

    This is an XML external entity (XXE) weakness: entities declared in a DTD can point to local files, so the parser should not resolve DTDs or external entities. Stripping comments or fixing encoding does not stop entity expansion.

    Open this question
  35. Question 35

    Security Engineering

    A downstream tool accepts only JSON, and it rejects a policy file with a parse error on a line reading "// approved exception". Engineers want to keep the rationale with each setting and reject files missing required fields. What should the team do?

    Show the answer

    Correct answerB. Store the note in a string field and enforce a JSON Schema

    AWhy not this: # comments are TOML and YAML syntax, not valid JSON, so the file would still fail to parse despite the schema.

    BWhy this is right: A string field is valid JSON data that keeps the note with the setting, and JSON Schema enforces required fields and types.

    CWhy not this: <!-- --> comments and XSD belong to XML; a JSON parser rejects the markers and an XSD cannot validate JSON.

    DWhy not this: Strict mode enforces JSON syntax, which has no comments, so the note still fails and required fields are not checked.

    JSON has no comment syntax, so the rationale must live in the data, such as a string field, and a JSON Schema can require fields and types. Strict parsing makes comments fail rather than be accepted.

    Open this question
  36. Question 36

    Security Engineering

    A team is choosing a format for hand-edited tool configurations. It must allow # comments, use explicit key = value pairs grouped in named tables, and not depend on indentation for meaning. Which format fits?

    Show the answer

    Correct answerC. TOML

    AWhy not this: XML allows comments but uses tags and attributes, not key = value pairs grouped in named tables.

    BWhy not this: JSON has no comment syntax and uses braces and colons rather than key = value tables.

    CWhy this is right: TOML combines # comments, key = value assignment and [table] headers, with structure independent of indentation.

    DWhy not this: YAML supports # comments but expresses structure through indentation, which the team wants to avoid.

    TOML uses key = value pairs under [table] headers, supports # comments, and ignores indentation. YAML allows comments but its structure depends on indentation, while JSON has no comments.

    Open this question
  37. Question 37

    Security Engineering

    A team maintains pipeline definitions for dozens of services in one file. Reviewers need inline comments explaining exceptions, and one edit to the shared hardening block must apply to every job that references it. Which format and feature fit?

    Show the answer

    Correct answerB. YAML using anchors and aliases

    AWhy not this: JSON has no comment syntax and no native way to reference a shared block, so nesting alone does not propagate one edit.

    BWhy this is right: YAML supports # comments and anchors with aliases, so one shared block is edited once and reused by every job that references it.

    CWhy not this: TOML supports comments, but its tables only group keys; they cannot be referenced from other tables to reuse a block.

    DWhy not this: XML attributes carry values on individual elements and do not create a reusable shared block that other jobs reference.

    YAML anchors (&) and aliases (*) let a block be defined once and referenced by many jobs, and YAML supports # comments. JSON has neither comments nor reference syntax, and TOML tables group keys but cannot be reused by reference.

    Open this question
  38. Question 38

    Security Engineering

    An engineer indents a nested key in a pipeline YAML file with a tab, and the automated linter rejects the file as invalid. What is the cause?

    Show the answer

    Correct answerD. YAML indentation must use spaces, not tab characters

    AWhy not this: Bracketed table headers are TOML syntax; YAML nesting does not use them.

    BWhy not this: Closing tags are an XML feature; YAML has no end tags, so a missing tag is not why the file fails.

    CWhy not this: Curly braces delimit objects in JSON; YAML nests keys by indentation and does not require braces.

    DWhy this is right: YAML structure depends on indentation and tabs are not permitted for it, so spaces are required and the tab triggers the error.

    YAML expresses hierarchy through indentation, and the specification forbids tabs for indentation, so only spaces are valid. Braces, closing tags and bracketed headers belong to JSON, XML and TOML respectively, not YAML.

    Open this question
  39. Question 39

    Security Engineering

    A team must publish a server hardening baseline as one machine-readable document. It groups rules, defines high-impact and low-impact profiles that select which rules apply, and records a weighted compliance score after a scan. Which SCAP component is this?

    Show the answer

    Correct answerA. XCCDF benchmark

    AWhy this is right: XCCDF structures benchmarks with grouped rules, selectable profiles and weighted scoring of scan results.

    BWhy not this: The CVE list catalogs known vulnerabilities by identifier; it is not a configuration checklist.

    CWhy not this: OVAL defines the system-state tests that rules call, but does not provide profiles or a scored checklist.

    DWhy not this: A CPE dictionary lists standardized product names; it does not hold configuration rules.

    An XCCDF benchmark organizes rules into groups, applies profiles to select them, and records scored results. OVAL only supplies the low-level checks a rule may reference; it has no profiles or scoring of its own.

    Open this question
  40. Question 40

    Security Engineering

    An XCCDF hardening rule must be evaluated on each Windows host by inspecting a registry value and a file permission. Any SCAP-validated scanner has to reach the same pass/fail result. Which component should the rule's check reference?

    Show the answer

    Correct answerC. OVAL definition

    AWhy not this: A CPE name identifies a product and version; it does not describe how to test a system's state.

    BWhy not this: A CVSS vector encodes severity metrics for a flaw; it cannot inspect a registry value or file permission.

    CWhy this is right: OVAL definitions express the state tests that scanners run, giving consistent, vendor-neutral pass/fail results.

    DWhy not this: A CVE identifier labels a publicly known vulnerability; it contains no test logic for a scanner.

    An OVAL definition holds the machine-readable logic for testing system state, such as registry values and file permissions, so every compliant scanner evaluates it the same way. A CPE name only identifies a product and version; it cannot express a test.

    Open this question
  41. Question 41

    Security Engineering

    A vulnerability management tool must match each asset's installed operating system and application versions against affected-product lists in advisories. Which SCAP component supplies the standard names for that matching?

    Show the answer

    Correct answerD. CPE

    AWhy not this: CVSS rates the severity of a vulnerability; it does not name products or versions.

    BWhy not this: OVAL defines tests of system state; it is not a naming scheme for products.

    CWhy not this: CVE assigns identifiers to vulnerabilities, not a standard name for each product and version.

    DWhy this is right: CPE gives vendors, products and versions standard names, enabling reliable asset-to-advisory matching.

    CPE provides a structured, standard naming scheme for vendors, products and versions, so inventory entries can be matched to affected-product lists. CVE identifies the vulnerabilities themselves and does not name platforms.

    Open this question
  42. Question 42

    Security Engineering

    A SOC wants one documented workflow for phishing incidents. It branches on whether the user entered credentials, escalates to legal if data was exposed, and invokes separate procedures for mailbox purge and password reset. What is this workflow?

    Show the answer

    Correct answerC. A playbook

    AWhy not this: A threat model identifies threats and attack paths before incidents and does not direct a response.

    BWhy not this: A runbook is the ordered steps of one task, such as the mailbox purge, not the workflow that calls them.

    CWhy this is right: It handles a whole incident type with branches, escalation and calls to task procedures, which defines a playbook.

    DWhy not this: A policy states high-level requirements and does not branch on incident facts or invoke procedures.

    A playbook covers a whole incident type with decision branches, escalation and calls to individual procedures. A runbook is only a single task's steps, such as the mailbox purge, and has no such branching across the incident.

    Open this question
  43. Question 43

    Security Engineering

    A SOC is turning its host quarantine process into a SOAR runbook. Which content belongs in the runbook rather than in the broader incident playbook?

    Show the answer

    Correct answerD. The ordered technical steps to quarantine the host in the EDR

    A runbook holds the exact, ordered steps of one task, such as quarantining a host through the EDR. Declaration criteria, roles and review scheduling are broader response decisions that a playbook covers.

    Open this question
  44. Question 44

    Security Engineering

    Which four statements describe a runbook in a SOAR platform? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. It gives consistent results whoever or whatever runs itB. It covers a repeatable task, such as disabling an accountD. It can be run manually or executed by automationE. It lists the ordered steps for one specific task

    AWhy this is right: Fixed, ordered steps give the same outcome whoever or whatever executes them.

    BWhy this is right: Runbooks are typically scoped to repeatable tasks like disabling an account.

    CWhy not this: Overall strategy, decision points and escalation for an incident type describe a playbook, not a runbook.

    DWhy this is right: Runbooks can be followed by an analyst or executed by SOAR automation.

    EWhy this is right: A runbook is a step-by-step procedure for a single task, which is its defining trait.

    FWhy not this: An incident response plan sets roles, authority and communication; a runbook is one task procedure that works within it.

    A runbook is a documented, step-by-step procedure for a specific, repeatable task, and SOAR can execute it automatically. Strategy and escalation across an incident type belong in a playbook, which may call runbooks.

    Open this question
  45. Question 45

    Security Engineering

    A payment processor must use stored card numbers for recurring billing while removing them from most of its systems to shrink PCI DSS scope. Which approach BEST meets this?

    Show the answer

    Correct answerA. Tokenization with the real PANs kept in an isolated vault

    AWhy this is right: Tokens replace PANs in most systems, and only the vault can recover them for billing.

    BWhy not this: A hash cannot be reversed, so the PAN could not be used for later billing.

    CWhy not this: Systems that can decrypt the PAN stay in PCI DSS scope, so scope is not reduced.

    DWhy not this: Masking is for display and discards digits, so the full PAN cannot be used for billing.

    Tokenization swaps the PAN for a surrogate value, and only the isolated vault can map it back, so most systems fall out of scope while billing still works. Encryption keeps those systems in scope because the application can decrypt the PANs.

    Open this question
  46. Question 46

    Security Engineering

    A defense contractor must transfer files between networks of different classification levels, with automatic content inspection and enforced release rules. What should it deploy?

    Show the answer

    Correct answerB. A cross-domain solution

    AWhy not this: A VPN encrypts traffic between endpoints but does not inspect content or enforce release policy.

    BWhy this is right: It is designed to pass data across classification boundaries with inspection and enforced release rules.

    CWhy not this: Posture checks decide which devices may join a network and do not move data between domains.

    DWhy not this: A firewall filters by address, port and application and is not accredited to bridge classification levels.

    A cross-domain solution is built to move data between security domains while inspecting content and enforcing release policy. A FIPS-validated VPN only protects data in transit between two points and does not inspect content or enforce classification rules.

    Open this question
  47. Question 47

    Security Engineering

    A hospital must protect infusion pumps and imaging systems that handle ePHI but cannot be patched, because the vendor has validated their software. Which controls BEST meet HIPAA Security Rule expectations? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Encrypt ePHI in transit between the devices and the records systemB. Log and review access to systems that store or transmit ePHID. Perform a documented risk analysis covering each device that touches ePHIE. Isolate the devices on a clinical network behind restrictive firewall rules

    AWhy this is right: Transmission security is a HIPAA technical safeguard for ePHI.

    BWhy this is right: Audit controls are a HIPAA technical safeguard for systems handling ePHI.

    CWhy not this: Vendor-validated medical devices generally cannot take added software without breaking validation or support.

    DWhy this is right: Risk analysis is a core HIPAA Security Rule requirement and drives device-specific controls.

    EWhy this is right: Isolation limits exposure of devices that cannot be patched or hardened.

    FWhy not this: NERC CIP applies to the bulk electric system, not to hospital networks.

    HIPAA safeguards for ePHI on unpatchable devices rely on isolating them, protecting data in transit, auditing access and documenting risk analysis. Agents usually cannot be added to vendor-validated devices, and NERC CIP governs electric utilities, not healthcare.

    Open this question
  48. Question 48

    Security Engineering

    A plant's unpatchable PLCs run a continuous process that cannot be halted, and the corporate ERP needs near-real-time production data. Which design BEST delivers the data while keeping IT and OT traffic from crossing directly?

    Show the answer

    Correct answerB. A historian replica in an industrial DMZ that corporate systems query instead of the controllers

    AWhy not this: Direct polling still lets enterprise-side systems reach the PLCs, which cannot be hardened.

    BWhy this is right: The DMZ replica serves the data while corporate and control networks never connect directly.

    CWhy not this: A dual-homed host bridges both networks, so compromising it gives a path into the control network.

    DWhy not this: A VPN into the control network gives corporate hosts direct access to the PLCs, merely encrypted.

    An industrial DMZ between the enterprise and control levels of the Purdue model lets a historian replica serve corporate consumers, so no session crosses between IT and OT. A dual-homed server looks similar but bridges both networks, so a compromise of it exposes the control side.

    Open this question
  49. Question 49

    Security Engineering

    A utility already forwards all RTU and historian logs to a central SIEM, yet an attacker's small setpoint changes, each within normal limits, go unnoticed. Which capability would BEST expose them?

    Show the answer

    Correct answerA. Anomaly detection on process telemetry

    AWhy this is right: Baselining telemetry and flagging statistical deviations finds small in-range changes that rules miss.

    BWhy not this: Signatures match known attack patterns; in-range setpoint changes match none.

    CWhy not this: Aggregation is already in place; more logs do not reveal changes that look normal in each record.

    DWhy not this: Segmentation limits reach but does not detect changes made by an attacker already inside.

    Anomaly detection compares process values with a learned baseline, so it flags subtle drift that no fixed threshold or signature catches. More aggregation only adds data that is already collected without analysing it for deviations.

    Open this question
  50. Question 50

    Security Engineering

    A US hospital's legacy imaging server cannot be patched but stores electronic patient records. Which regulation sets the safeguards the auditor expects it to meet?

    Show the answer

    Correct answerB. HIPAA Security Rule

    AWhy not this: SOX concerns financial reporting controls, not patient data.

    BWhy this is right: It mandates safeguards for electronic protected health information held by healthcare organizations.

    CWhy not this: NERC CIP covers the bulk electric system, not healthcare systems.

    DWhy not this: PCI DSS governs cardholder data, not patient records.

    The HIPAA Security Rule requires administrative, physical and technical safeguards for electronic protected health information, whether or not the system can be patched. PCI DSS covers payment card data, which is not what this server holds.

    Open this question