Curated

Security Engineering 2 (3.3–3.4)

0 votes

Questions64

  1. Question 1

    Security Engineering

    After a change window, users reach every host in 10.20.0.0/16 except those in 10.20.5.0/24. The router holds a /16 route to the core and a leftover static /24 route to a retired next hop. What is the most likely cause?

    Show the answer

    Correct answerD. A stale static /24 route winning by longest-prefix match

    AWhy not this: A tunnel mismatch affects VPN traffic, not one subnet on a router with a stale static route.

    BWhy not this: A Layer 2 loop would disrupt many segments and would not leave a single subnet unreachable.

    CWhy not this: The stem shows a local leftover static route, not a false route learned from a neighbor.

    DWhy this is right: The more specific /24 beats the /16 and points at a dead next hop, so only that subnet fails.

    Routers choose the most specific matching prefix, so the leftover /24 overrides the /16 and sends traffic to a dead next hop. Route injection is an insecure-routing issue, but the stem identifies a local leftover route, not a false advertisement.

    Open this question
  2. Question 2

    Security Engineering

    Branch firewalls built from one approved template now carry different rule sets after emergency fixes were made directly on each device. Which approach BEST detects the deviations, restores the baseline, and keeps changes traceable?

    Show the answer

    Correct answerC. Baseline enforcement from a version-controlled source with automated compliance scans

    AWhy not this: Strengthens tunnel cryptography; it does nothing about firewall rule sets differing from the template.

    BWhy not this: Protects routing updates from false routes; it does not detect or fix diverging firewall rules.

    CWhy this is right: Compares live configs to an approved baseline, reverts deviations, and logs every change.

    DWhy not this: Guards Layer 2 access ports against loops and rogue devices; it does not track firewall rule changes.

    Configuration drift is fixed by defining the approved state in version control, scanning devices against it automatically, and pushing changes only through change management. Routing hardening addresses route injection, not rule-set divergence between devices.

    Open this question
  3. Question 3

    Security Engineering

    Minutes after someone connects a small unmanaged switch to two wall ports, users in several VLANs lose connectivity and switch logs show MAC addresses flapping between ports. What is the most likely cause and fix?

    Show the answer

    Correct answerB. Layer 2 loop; enable BPDU guard and storm control on access ports

    AWhy not this: A native VLAN mismatch misdelivers untagged frames on one trunk; it does not cause MAC flapping.

    BWhy this is right: Dual-homing an unmanaged switch loops frames; BPDU guard and storm control stop the loop and storm.

    CWhy not this: Routing loops involve Layer 3 TTL expiry, not MAC addresses moving between switch ports.

    DWhy not this: Drift could explain odd settings, but the loop was triggered by the new device, so restoring a baseline would not stop it.

    Cabling an unmanaged switch to two ports creates a Layer 2 loop and broadcast storm, shown by MAC flapping. BPDU guard and storm control on access ports contain it. A native VLAN mismatch does not cause MAC flapping across many VLANs.

    Open this question
  4. Question 4

    Security Engineering

    A team must block exploit attempts against DMZ web servers whose HTTPS terminates at a load balancer. The sensor must see plaintext and inspect only traffic the perimeter firewall permits. Where should it go?

    Show the answer

    Correct answerB. Inline between the load balancer and the web servers

    AWhy not this: An internal core switch SPAN port is passive and never sees the DMZ web traffic it must protect.

    BWhy this is right: it is inline so it can block, it sees decrypted traffic, and it sits behind the firewall.

    CWhy not this: Ahead of the firewall it sees encrypted and unfiltered traffic, which adds noise and cannot inspect content.

    DWhy not this: Out-of-band cannot block, and in front of the load balancer the traffic is still encrypted.

    Blocking requires an inline IPS. Between the load balancer and the web servers, traffic is already decrypted and already filtered by the firewall. A sensor ahead of the load balancer sees only ciphertext, and an out-of-band sensor cannot block.

    Open this question
  5. Question 5

    Security Engineering

    An IDS raises no alerts, yet web server logs show exploitation of a vulnerability disclosed last week. The sensor sees the traffic and all its rules are enabled. What is the BEST action?

    Show the answer

    Correct answerB. Deploy a vendor or custom signature for the new vulnerability

    AWhy not this: Thresholds tune existing signatures; with no signature matching this exploit, lowering them changes nothing.

    BWhy this is right: no existing rule matches the new exploit, so adding a signature for it closes the coverage gap.

    CWhy not this: Suppressing alerts would hide detections further and does nothing to add coverage.

    DWhy not this: Placement is not the problem because the sensor already sees the traffic.

    The sensor sees the traffic and its rules are enabled, so no existing signature matches the new exploit. The gap is in rule coverage, and only a new vendor or custom signature closes it. Lowering thresholds only changes how sensitive existing signatures are, and none match.

    Open this question
  6. Question 6

    Security Engineering

    After analysts raised an IDS alert threshold to cut alert volume, a port scan went unreported, though firewall logs confirm it crossed the monitored link. What does the missed scan represent?

    Show the answer

    Correct answerD. False negative caused by over-aggressive threshold tuning

    AWhy not this: The scan crossed the monitored link, so visibility is not the issue; the threshold change is.

    BWhy not this: A true negative means no alert on benign traffic, but this was a genuine scan.

    CWhy not this: A false positive is an alert on benign traffic; here a real scan produced no alert at all.

    DWhy this is right: real malicious activity went undetected, and the raised threshold is the change that suppressed the alert.

    Malicious activity occurred and no alert fired, which is a false negative. The threshold was raised just before it and the scan crossed the monitored link, so over-tuning is the cause. Placement would apply only if the sensor could not see the traffic.

    Open this question
  7. Question 7

    Security Engineering

    Which four are rule misconfigurations on an IPS? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Detection threshold set so low that normal traffic triggers itB. Broad suppression rule placed above the specific signatures it masksC. Critical signature left in alert-only mode on an inline sensorD. Network variable such as HOME_NET defined with the wrong address range

    AWhy this is right: An over-sensitive threshold floods analysts with alerts on benign traffic, so this is a misconfiguration.

    BWhy this is right: A broad suppression rule ordered above specific signatures hides their matches, so this is a misconfiguration.

    CWhy this is right: An alert-only action on a critical signature lets the attack through, so this is a misconfiguration.

    DWhy this is right: Wrong address variables make rules match the wrong traffic or direction, so this is a misconfiguration.

    EWhy not this: This is a coverage gap, meaning lack of rules, because the existing rules are not set up incorrectly.

    FWhy not this: A passive SPAN deployment is a sensor placement decision; no rule is set up incorrectly.

    Wrong variables, the wrong action, rule ordering that masks signatures and badly set thresholds are all errors in how existing rules are configured. A missing signature for a new vulnerability is a gap in rule coverage, and a sensor on a SPAN port is a deployment-mode choice, not a rule setting.

    Open this question
  8. Question 8

    Security Engineering

    After hardening, a server allows only TLS 1.2 ECDHE-AES-GCM suites. A legacy client that supports only RSA key exchange with CBC suites receives a handshake_failure alert right after its ClientHello, before any certificate is sent. What is the MOST likely cause?

    Show the answer

    Correct answerB. The two sides share no common cipher suite

    AWhy not this: Expiry is detected during certificate validation, which has not started since no certificate was sent.

    BWhy this is right: The client's suites do not overlap the server's list, so negotiation fails immediately after the ClientHello.

    CWhy not this: Chain problems surface when the certificate is validated, and none was sent in this failure.

    DWhy not this: Clock skew affects validity checks on certificates, which are not yet exchanged here.

    The alert follows the ClientHello and precedes any certificate exchange, so the server found no suite it shares with the client, which is a cipher mismatch. Expiry, missing intermediates, and clock skew are certificate validation problems that appear only after certificates are sent.

    Open this question
  9. Question 9

    Security Engineering

    A microservices application has intermittent 8-second checkout delays, yet CPU, memory, and error-rate metrics look normal for every service. Which observability capability BEST identifies the service adding the latency?

    Show the answer

    Correct answerC. Distributed tracing with correlation IDs

    AWhy not this: Host CPU averages already look normal here and say nothing about per-request latency across service hops.

    BWhy not this: NetFlow shows volume between endpoints, not how long each service takes to handle a request.

    CWhy this is right: Tracing follows a single request across services and shows time spent in each hop, pinpointing the slow one.

    DWhy not this: ACL hit counters show permitted or denied traffic counts, not timing inside the application call path.

    Distributed tracing follows one request across every service using a correlation ID and shows the time spent in each hop, so it isolates the slow service. Host metrics and flow data show aggregate load or volume, not per-request latency inside the call path.

    Open this question
  10. Question 10

    Security Engineering

    After an internal CA rotated its issuing intermediate, embedded clients fail with "unable to get local issuer certificate" while desktop browsers connect normally. The root is trusted everywhere, the leaf is unexpired with a matching SAN, and a capture shows the server sends only the leaf. What is the BEST fix?

    Show the answer

    Correct answerD. Configure the server to send the intermediate with the leaf

    AWhy not this: Validity length is irrelevant because the leaf is unexpired and the problem is the missing issuer.

    BWhy not this: Stapling delivers revocation status, not the missing intermediate that breaks chain building.

    CWhy not this: Cipher suites govern encryption negotiation, and the failure here occurs during chain validation.

    DWhy this is right: Sending the intermediate lets clients build a path from the leaf to the trusted root without fetching anything.

    Embedded clients cannot fetch missing intermediates, whereas browsers can, so the server must present the full chain. Stapling supplies revocation status only and does not supply the missing issuer certificate.

    Open this question
  11. Question 11

    Security Engineering

    An analyst cannot reconstruct an intrusion timeline because events from the firewall, proxy, and application server appear minutes out of order when merged in the SIEM. What should the team fix FIRST?

    Show the answer

    Correct answerC. Synchronize all source clocks with NTP

    AWhy not this: Debug logging adds volume and detail but leaves the clock differences in place.

    BWhy not this: Retention keeps logs longer but does not fix timestamps that disagree between sources.

    CWhy this is right: Consistent time across sources lets the SIEM order events correctly, making correlation reliable.

    DWhy not this: TLS protects logs in transit and has no effect on event timestamps.

    Cross-source correlation depends on consistent timestamps, so synchronizing clocks with NTP puts events in true order. Longer retention, more verbose logging, or encrypted transport do not correct timestamps that already disagree.

    Open this question
  12. Question 12

    Security Engineering

    A company rolled over the key-signing key for its signed zone. Validating resolvers now return SERVFAIL for the domain, while non-validating resolvers still resolve it. What is the most likely cause?

    Show the answer

    Correct answerC. The parent zone still holds a DS record for the old key

    AWhy not this: Poisoning returns forged answers that look valid to non-validating resolvers; it does not produce SERVFAIL from key mismatch.

    BWhy not this: Sinkholing returns a substitute address, and it would affect all resolvers using the policy, not only validating ones.

    CWhy this is right: A stale DS record breaks the chain of trust, so only validating resolvers reject the zone's signed data.

    DWhy not this: Blocked transfers cause stale or missing data on secondaries, not validation failures that only affect validating resolvers.

    DNSSEC validation follows a chain of trust from the parent's DS record to the zone's key-signing key. If the DS record still matches the old key, validation fails and validating resolvers return SERVFAIL. Cache poisoning would return wrong answers, not validation errors.

    Open this question
  13. Question 13

    Security Engineering

    After the primary DNS server began requiring TSIG for zone transfers, one secondary's AXFR requests fail with a TSIG BADTIME error. Another secondary that uses the same key transfers normally. What should the administrator fix?

    Show the answer

    Correct answerA. The failing secondary's clock, by synchronizing it with NTP

    AWhy this is right: BADTIME means the signed time is outside the allowed window, so correcting the skewed clock fixes the check.

    BWhy not this: The same key works for the other secondary, and a wrong key gives BADKEY or BADSIG, not BADTIME.

    CWhy not this: A server missing from the allow-transfer list is refused; a time error shows its request reached the TSIG check.

    DWhy not this: DNSSEC signs zone records for resolvers and plays no part in authenticating a transfer request.

    Each TSIG-signed message carries its signing time, and the receiver rejects any whose time falls outside the allowed fudge window, commonly 300 seconds, with BADTIME. The key is evidently correct because another secondary uses it successfully, so the failing server's clock is skewed. Synchronizing it with NTP restores transfers.

    Open this question
  14. Question 14

    Security Engineering

    An internal resolver's logs show bursts of unmatched responses for random subdomains of a bank's domain, a sign of attempted off-path cache poisoning. The resolver already randomizes source ports and transaction IDs, and the bank's zone is unsigned, so DNSSEC validation cannot protect it. Which resolver change adds more entropy an attacker must guess?

    Show the answer

    Correct answerA. Randomize the letter case of each query name and require answers to match

    AWhy this is right: Each letter's case adds a bit the attacker must match, and forged answers with the wrong pattern are dropped.

    BWhy not this: Rate limiting curbs floods and reflection abuse; it adds nothing an off-path forger must guess.

    CWhy not this: A shorter TTL limits how long a forged entry lasts but does not make forging one harder.

    DWhy not this: Signing the company's zone protects its own records, not the resolver's cached answers for the bank.

    DNS 0x20 encoding randomizes the upper and lower case of letters in each query name. Authoritative servers copy the name back exactly, so the resolver rejects any answer whose case pattern differs. An off-path attacker must now guess that pattern as well as the port and transaction ID.

    Open this question
  15. Question 15

    Security Engineering

    Unknown internal hosts beacon to a malware C2 domain whose IP addresses change daily. The team must stop the beaconing and identify the infected hosts. Which action BEST meets both goals?

    Show the answer

    Correct answerB. Have the internal resolver answer for the domain with a monitored internal host's address

    AWhy not this: DNSSEC validates the authenticity of signed answers; a malicious domain can have valid records, so it does not stop beaconing.

    BWhy this is right: A sinkhole redirects the name to a monitored server, cutting off C2 and logging each infected host that connects.

    CWhy not this: Daily IP changes make a static IP block stale quickly, and it does not reliably reveal which hosts are infected.

    DWhy not this: Zone transfer limits protect authoritative zone data and have no effect on hosts resolving an external C2 domain.

    A DNS sinkhole returns a controlled address for the malicious domain, so beacons never reach the attacker and the sinkhole's logs show which hosts connect. It works regardless of the C2's changing IPs. IP blocking is outdated by the next rotation and gives no host visibility.

    Open this question
  16. Question 16

    Security Engineering

    DMARC aggregate reports for example.com show a newsletter vendor's mail failing DMARC, though SPF passes for the vendor's bounce domain and DKIM passes with d=vendor.com. The team wants p=reject without blocking this mail. What should it do?

    Show the answer

    Correct answerA. Have the vendor DKIM-sign with a selector under example.com, published by CNAME

    AWhy this is right: A DKIM signature with d=example.com aligns with the From domain, so DMARC passes for this stream.

    BWhy not this: The rua tag only sets where aggregate reports go; it does not authorize senders.

    CWhy not this: SPF is checked against the bounce domain, so changing example.com's record does not create alignment.

    DWhy not this: Relaxed alignment allows subdomains of the same organizational domain, but vendor.com is a different domain.

    DMARC passes only when SPF or DKIM passes with a domain aligned to the From domain. A DKIM signature with d=example.com aligns. Relaxed alignment still requires the same organizational domain, so it cannot make vendor.com align.

    Open this question
  17. Question 17

    Security Engineering

    Staff can sign S/MIME messages without problems, but encrypting a message to a new external client fails. What does the sender's mail client most likely lack?

    Show the answer

    Correct answerA. The client's S/MIME public certificate

    AWhy this is right: Encryption uses the recipient's public key, which comes from their certificate, often received in a signed message.

    BWhy not this: A private key is never shared; the sender must not need the recipient's private key.

    CWhy not this: Signing already works, so the sender's own certificate is installed and valid.

    DWhy not this: DKIM keys belong to domain signing and play no part in S/MIME encryption.

    S/MIME encryption uses the recipient's public key, obtained from their certificate, so only the recipient's private key can decrypt. Signing works, so the sender's own certificate is not the problem.

    Open this question
  18. Question 18

    Security Engineering

    After the team added another include: mechanism for a SaaS vendor, receivers report SPF permerror for all example.com mail, although every sending IP is covered. What is the most likely cause?

    Show the answer

    Correct answerC. The record now exceeds the limit of ten DNS lookups

    AWhy not this: A DMARC policy of none only affects what receivers do on failure; it does not change SPF evaluation.

    BWhy not this: A missing DKIM record affects DKIM results, not SPF evaluation.

    CWhy this is right: Each include and similar mechanism counts toward the ten-lookup limit, and exceeding it yields permerror.

    DWhy not this: ~all gives a softfail result for unlisted senders; it does not cause permerror.

    SPF evaluation allows at most ten DNS-lookup mechanisms; exceeding it returns permerror even if the IPs are listed. A ~all qualifier only produces softfail for unlisted senders, not an error.

    Open this question
  19. Question 19

    Security Engineering

    Mail from example.com passes SPF but fails DKIM at receivers since the outbound gateway began appending a legal disclaimer to message bodies. What should the engineer do?

    Show the answer

    Correct answerB. Configure the gateway to sign messages after it appends the disclaimer

    AWhy not this: SPF already passes, so the sending IP is authorized; this does not repair the broken signature.

    BWhy this is right: The body hash must be computed after the last modification, so the gateway should sign after adding the disclaimer.

    CWhy not this: S/MIME signatures would also break when the body is altered, and it does not fix domain DKIM.

    DWhy not this: A stricter DMARC policy would cause more mail to be rejected, not fix the signature.

    A DKIM signature covers a hash of the body, so any change made after signing invalidates it. Signing at the final outbound hop, after the disclaimer is added, fixes this. SPF is already passing, so editing it does not help.

    Open this question
  20. Question 20

    Security Engineering

    Which two elements are part of how DKIM authenticates a message? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. A DNS TXT record publishing the public key receivers use to verify signaturesE. A signature header created with the sending domain's private key

    AWhy this is right: Receivers look up the selector's TXT record to get the public key and validate the signature.

    BWhy not this: This describes SPF, which authorizes sending IPs rather than signing messages.

    CWhy not this: This describes S/MIME encryption; DKIM does not encrypt content.

    DWhy not this: This is a DMARC policy; DKIM only provides a signature to verify.

    EWhy this is right: DKIM signs selected headers and the body with the domain's private key and adds the result as a header.

    FWhy not this: Aggregate reporting is a DMARC feature, not part of DKIM.

    DKIM adds a signature header made with the domain's private key, and receivers verify it with the public key published in a DNS TXT record. A list of authorized sending IPs is SPF, not DKIM.

    Open this question
  21. Question 21

    Security Engineering

    A team will process sensitive records on hosts whose administrators and hypervisor are not trusted, and plans to use a secure enclave. Which four properties of a secure enclave apply? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Its code and data are isolated from the OS, hypervisor and privileged usersB. Its memory contents stay encrypted outside the CPU packageC. Data can be sealed so only the same enclave identity can decrypt itD. Remote attestation can prove to a relying party which code is running inside

    AWhy this is right: Isolation is enforced by the CPU, so even privileged software cannot read enclave memory.

    BWhy this is right: Enclave memory is encrypted and decrypted only inside the processor, which defeats memory snooping.

    CWhy this is right: Sealing ties stored data to the enclave's identity, so other code cannot unseal it.

    DWhy this is right: Attestation lets a remote party verify the enclave's measured code before sending it secrets.

    EWhy not this: Side-channel attacks such as timing and cache leaks are still a concern, so the risk is not removed.

    FWhy not this: The point of an enclave is that the OS stays outside its trust boundary. The CPU enforces isolation.

    A secure enclave is a CPU-enforced isolated execution environment that keeps its memory encrypted, can attest its code identity remotely, and can seal data to that identity. It does not need the OS to be trusted, and side-channel attacks remain a known residual risk.

    Open this question
  22. Question 22

    Security Engineering

    A legacy server runs a network service with a known buffer overflow that lets attackers place shellcode in a data buffer. The team cannot change the application's source code. Which hardware-level control best stops that injected code from executing?

    Show the answer

    Correct answerD. Execute Disable (NX) bit

    AWhy not this: Measured boot attests the boot chain at startup. It does nothing about code injected into a running process.

    BWhy not this: An HSM protects and uses cryptographic keys. It does not control which memory pages the CPU may execute.

    CWhy not this: An enclave isolates only what is loaded into it. The vulnerable service's own data buffers stay executable if they are outside it.

    DWhy this is right: The CPU enforces non-executable data pages, so shellcode in a buffer faults instead of running, with no application change.

    The NX (Execute Disable) CPU extension marks data pages non-executable, so the processor refuses to run shellcode from a buffer without any code change. A secure enclave only protects code and data placed inside it, so it would not stop injection into the rest of the service.

    Open this question
  23. Question 23

    Security Engineering

    A Windows VM needs a TPM for BitLocker and measured boot, and it must live-migrate between hypervisor hosts. Which approach fits best?

    Show the answer

    Correct answerC. A vTPM presented by the hypervisor

    AWhy not this: A host's physical TPM does not move with the VM, so passthrough ties the VM to one host.

    BWhy not this: An HSM stores and uses keys but is not the TPM interface that guest operating systems use for measured boot.

    CWhy this is right: The hypervisor gives each VM its own emulated TPM, and its state can travel with the VM during migration.

    DWhy not this: A stored password offers no measurement or sealing and does not provide a TPM.

    A vTPM is a TPM emulated by the hypervisor for each VM, and its state moves with the VM, so TPM-dependent features keep working after migration. A passed-through physical TPM stays on one host and breaks migration.

    Open this question
  24. Question 24

    Security Engineering

    Which description best fits a virtual TPM (vTPM)?

    Show the answer

    Correct answerD. A software-emulated TPM that the hypervisor presents to a guest VM

    AWhy not this: That describes a trusted execution environment or enclave, which isolates code and is not a TPM.

    BWhy not this: That describes a network-attached HSM, which serves many clients and is not a TPM interface.

    CWhy not this: That describes a discrete physical TPM, not an emulated one.

    DWhy this is right: The hypervisor emulates TPM functions per VM, so the guest can use measured boot and key sealing.

    A vTPM provides TPM functions to a guest VM through emulation by the hypervisor, so the guest operating system sees a TPM without dedicated hardware. A chip on the motherboard describes a discrete physical TPM instead.

    Open this question
  25. Question 25

    Security Engineering

    A laptop's disk encryption key must be released only when the firmware and bootloader match known-good measurements. Which approach meets this requirement?

    Show the answer

    Correct answerD. Sealing the key to PCR values recorded during boot

    AWhy not this: A vTPM on another VM is not the laptop's own hardware root of trust and cannot measure its boot.

    BWhy not this: A network HSM protects keys but cannot attest the local boot state of one laptop.

    CWhy not this: A passphrase checks knowledge of a secret, not whether boot components were altered.

    DWhy this is right: Sealing binds key release to PCR measurements, so a changed boot component blocks unsealing.

    A TPM can seal a key to platform configuration register (PCR) values, so it unseals only if the measured boot chain is unchanged. A UEFI passphrase does not check boot integrity: anyone who knows it, or a modified boot chain, can still get the key.

    Open this question
  26. Question 26

    Security Engineering

    A certificate authority's issuing servers must request high-volume signatures from a root key that is never exported in plaintext. The key must stay usable if any one server is replaced, and the device must be FIPS 140 validated. What should the architect deploy?

    Show the answer

    Correct answerA. A clustered, network-attached HSM

    AWhy this is right: An HSM keeps the key inside tamper-resistant hardware, signs on request for many servers, and survives server replacement.

    BWhy not this: A vTPM is tied to one VM and relies on the hypervisor, so it offers no shared, validated signing service.

    CWhy not this: A TPM is bound to its own platform, so a replaced server cannot use the key, and it is not built for shared high-volume signing.

    DWhy not this: A software-encrypted file is decrypted into server memory, so the key is exposed and no tamper-resistant boundary exists.

    A clustered network-attached HSM is a tamper-resistant, validated device that performs signing for many clients without exposing the key, and it is independent of any one server. A per-server TPM binds keys to a single platform, so replacing the server loses the key.

    Open this question
  27. Question 27

    Security Engineering

    A laptop fleet mixes SSD models, and several lack hardware encryption support. The team needs one data-at-rest control that works on every model, with keys managed by the operating system. What should be deployed?

    Show the answer

    Correct answerB. Host-based encryption

    AWhy not this: Secure Boot verifies boot software signatures and does not encrypt stored data.

    BWhy this is right: Software encryption at the OS level works regardless of drive hardware, with OS-managed keys.

    CWhy not this: Measured boot records boot measurements for attestation and does not encrypt data.

    DWhy not this: SEDs need encryption hardware in each drive, which several models in the fleet lack.

    Host-based encryption is software encryption run by the OS, so it works on any drive and the OS manages the keys. Self-encrypting drives depend on hardware support in the drive controller, which several models lack.

    Open this question
  28. Question 28

    Security Engineering

    Before redeploying 500 SEDs that held sensitive data, a team needs sanitization that finishes in seconds per drive, avoids SSD wear, and leaves the drives reusable. Which action meets all three needs?

    Show the answer

    Correct answerC. Issue a cryptographic erase to each drive

    AWhy not this: Multi-pass overwrites take hours per drive and add wear to SSDs.

    BWhy not this: Quick-format and partition deletion leave the data on the drive and recoverable.

    CWhy this is right: Destroying the media encryption key renders the data unreadable in seconds, with no wear.

    DWhy not this: This changes only the unlock credential; the media encryption key and its data stay intact.

    A cryptographic erase destroys the drive's media encryption key, so the remaining ciphertext is unreadable, which is instant, causes no wear and keeps the drive usable. Changing the authentication credential only changes what unlocks the drive; the media key and data remain.

    Open this question
  29. Question 29

    Security Engineering

    Database servers show high CPU load after software disk encryption was enabled. The team wants data-at-rest encryption done without using host CPU cycles. Which technology should replace it?

    Show the answer

    Correct answerA. Self-encrypting drives

    AWhy this is right: The drive controller does the encryption in hardware, so host CPU cycles are not consumed.

    BWhy not this: The OS performs this cryptography on the host CPU, which is the source of the load.

    CWhy not this: Self-healing hardware recovers firmware or components after faults and does not encrypt data.

    DWhy not this: Secure Boot checks boot software signatures and provides no data-at-rest encryption.

    A self-encrypting drive encrypts and decrypts in its own controller using a media encryption key, so the host CPU is not used. Host-based encryption is what causes the load, since the OS performs the cryptography.

    Open this question
  30. Question 30

    Security Engineering

    A regulated workload runs in VMs on a private hypervisor cluster. Each VM must seal its BitLocker key to its own TPM state, and the VMs must live-migrate between hosts without losing that key. What should the architect implement?

    Show the answer

    Correct answerC. A virtual TPM provisioned to each VM

    AWhy not this: SEDs encrypt the datastore drives but give no per-VM TPM or key sealing for the guests.

    BWhy not this: Host Secure Boot protects the host's boot chain but gives guests no TPM to seal keys to.

    CWhy this is right: Each guest gets its own hypervisor-managed TPM, so keys are sealed per VM and can survive migration.

    DWhy not this: A physical TPM is bound to one host and cannot be shared per VM or follow a live migration.

    A virtual TPM gives each VM its own TPM instance, so its keys are sealed per guest, and the hypervisor can carry that state through migration. Passing through the physical TPM ties it to one host and one VM, so it breaks both isolation and migration.

    Open this question
  31. Question 31

    Security Engineering

    Which two controls help prevent or detect firmware tampering? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Verifying digital signatures on firmware images before flashingE. Measured boot with TPM-based attestation of firmware

    AWhy this is right: Signature checks reject firmware images that are unsigned or modified, blocking malicious flashing.

    BWhy not this: ASLR is a memory exploit mitigation and does not protect firmware images.

    CWhy not this: Disk encryption protects data at rest but does not verify or protect firmware.

    DWhy not this: Shim allow-listing controls OS-level call interception, not firmware integrity.

    EWhy this is right: The TPM records firmware measurements at boot, so remote attestation can reveal altered firmware.

    FWhy not this: Pulse shielding addresses EMP damage, not malicious modification of firmware code.

    Signature verification stops unsigned or altered firmware from being flashed, and measured boot with TPM attestation records firmware hashes so changes are detected. Full-disk encryption protects stored data, not the firmware under the OS.

    Open this question
  32. Question 32

    Security Engineering

    An attacker registered a malicious compatibility shim so a trusted legacy application loads attacker code whenever it launches. Which control most directly reduces this risk?

    Show the answer

    Correct answerD. Allow-listing and auditing registered application compatibility shims

    AWhy not this: A firmware password guards boot configuration and does not control OS-level shims.

    BWhy not this: Blocking USB storage addresses removable-media threats, not a shim registered on the host.

    CWhy not this: ECC memory corrects bit errors and has no effect on code intercepting application calls.

    DWhy this is right: Restricting and auditing shim registrations stops unapproved code from intercepting an application's calls.

    A shim is a small code layer between an application and the OS that intercepts calls, so controlling and auditing which shims can be registered addresses it directly. A firmware setup password protects boot settings, not OS-level call interception.

    Open this question
  33. Question 33

    Security Engineering

    Laptops must refuse bootloaders not signed by trusted keys, and an attacker with brief physical access must not be able to disable that check or boot from USB. Which configuration meets this?

    Show the answer

    Correct answerB. Enable Secure Boot, set a firmware administrator password, and disable removable-media boot

    AWhy not this: Disk encryption protects data but does not stop unsigned bootloaders, and open setup allows USB boot.

    BWhy this is right: Secure Boot enforces signed bootloaders, and the password and boot restriction stop a physical attacker undoing it.

    CWhy not this: Legacy BIOS mode has no Secure Boot, so unsigned bootloaders are not rejected.

    DWhy not this: Unprotected setup lets a physical attacker simply disable Secure Boot and boot other media.

    UEFI Secure Boot rejects unsigned bootloaders, a firmware administrator password prevents the setting from being turned off, and disabling removable-media boot blocks USB booting. Legacy BIOS mode does not support Secure Boot.

    Open this question
  34. Question 34

    Security Engineering

    A server reimaged after a malware incident still beacons to an external host, and its measured-boot firmware PCR values differ from the golden baseline. What is the most likely cause?

    Show the answer

    Correct answerC. Tampered firmware persisting below the operating system

    AWhy not this: Memory contents are cleared on power cycle and do not change measured firmware values.

    BWhy not this: A shim is an OS-level software layer, so reimaging removes it and it would not alter firmware measurements.

    CWhy this is right: Firmware survives reimaging, and changed firmware PCR measurements show the firmware itself was altered.

    DWhy not this: A USB device could reinfect a host, but it would not change the firmware PCR values.

    Malicious behavior that survives a reimage and shows altered firmware measurements points to firmware tampering, since firmware sits below the OS and disk. Memory-resident malware is lost at power-off and would not change firmware PCR values.

    Open this question
  35. Question 35

    Security Engineering

    A found USB device runs commands within seconds on a workstation where autorun is off and mass storage is blocked; it enumerated as a keyboard. Which control would best have prevented this?

    Show the answer

    Correct answerC. Allow-listing approved USB device IDs and classes

    AWhy not this: Antimalware scans files on storage, but a keyboard device presents no files to scan.

    BWhy not this: Mass storage was already blocked, and a keyboard-class device bypasses storage controls.

    CWhy this is right: Only approved devices and classes may enumerate, so an unknown keyboard-emulating device is rejected.

    DWhy not this: Autorun was already off, and this attack uses keystroke injection rather than autorun.

    The device posed as a keyboard (a human interface device) and typed commands, so only controlling which USB device IDs and classes may enumerate stops it. Autorun and mass-storage controls were already in place and apply only to storage devices.

    Open this question
  36. Question 36

    Security Engineering

    An IPsec tunnel between two sites is up and pings across it succeed, but large HTTPS transfers stall. ICMP "fragmentation needed" messages are filtered along the path. What should the engineer do?

    Show the answer

    Correct answerB. Lower the tunnel MTU and clamp the TCP MSS

    AWhy not this: Pings already cross the tunnel, so routing works and a static route would change nothing.

    BWhy this is right: Reducing packet size to fit the tunnel overhead avoids oversized packets that path MTU discovery cannot correct.

    CWhy not this: Authentication method is irrelevant once the tunnel is established and passing small packets.

    DWhy not this: Lifetime affects rekey timing, not packet size, and the tunnel is already stable.

    Encapsulation overhead makes full-size packets exceed the path MTU. With ICMP filtered, path MTU discovery fails, so large transfers stall while small pings pass. Lowering the tunnel MTU and clamping MSS fixes this. A routing change is unnecessary because traffic already crosses the tunnel.

    Open this question
  37. Question 37

    Security Engineering

    Two firewalls run a site-to-site IKEv2 tunnel. After 10.1.2.0/24 was added to the protected networks on the local side only, its hosts cannot reach the remote site, while 10.1.1.0/24 still works. Logs show TS_UNACCEPTABLE on the new child SA. What is the cause?

    Show the answer

    Correct answerA. Traffic selectors that do not match on both peers

    AWhy this is right: The remote peer's selectors do not include the new subnet, so it refuses that child SA while the existing one stays up.

    BWhy not this: Lifetime differences are tolerated and would not affect only one subnet or return TS_UNACCEPTABLE.

    CWhy not this: A routing gap would not generate an IKE selector rejection, and the log points to negotiation.

    DWhy not this: A NAT traversal problem would affect the whole tunnel, including the subnet that works.

    TS_UNACCEPTABLE means the responder rejected the proposed traffic selectors, so the child SA for the new subnet cannot form until the remote side lists it too. Mismatched lifetimes are renegotiated and would not break one subnet while the tunnel stays up.

    Open this question
  38. Question 38

    Security Engineering

    A review of a branch router shows OSPF enabled on user-facing VLAN interfaces with no neighbor authentication, so any host can send routing updates. Which change BEST stops a rogue device from injecting routes?

    Show the answer

    Correct answerB. Authenticate neighbors and make user ports passive

    AWhy not this: BPDU guard blocks rogue switches and spanning-tree changes, not forged routing protocol messages.

    BWhy this is right: Authentication rejects unauthenticated updates, and passive interfaces stop adjacencies forming on user ports.

    CWhy not this: Timers change convergence speed and have no effect on who may send updates.

    DWhy not this: Static routes would be fragile and still leave the dynamic protocol open to forged updates on user ports.

    Neighbor authentication makes the router accept updates only from peers holding the shared key, and passive interfaces stop it from forming adjacencies on user ports. BPDU guard protects spanning tree at Layer 2 and does nothing against forged routing updates.

    Open this question
  39. Question 39

    Security Engineering

    Which condition produces a cipher mismatch error between a TLS client and server?

    Show the answer

    Correct answerC. No cipher suite supported by both peers

    AWhy not this: An expired certificate is a PKI validity problem, not a failure to agree on a cipher suite.

    BWhy not this: A SAN mismatch is a hostname validation failure, separate from cipher suite agreement.

    CWhy this is right: with no shared suite, the server cannot select one and the handshake fails.

    DWhy not this: A missing intermediate breaks chain building, which is a PKI issue rather than negotiation.

    A cipher mismatch occurs when the client's offered cipher suites and the server's allowed suites have nothing in common, so negotiation fails. Certificate expiry, missing intermediates and SAN errors are PKI validation problems that appear after the certificate is presented.

    Open this question
  40. Question 40

    Security Engineering

    A scan finds thousands of IoT devices of one model presenting identical TLS public keys, although each device generated its key on first boot. What is the MOST likely cause?

    Show the answer

    Correct answerA. Predictable random number generator seeding at first boot

    AWhy this is right: low entropy at boot gives identical RNG seeds, so each device derives the same key pair.

    BWhy not this: Revocation marks a certificate untrusted; it does not make different devices share a key.

    CWhy not this: The negotiated cipher suite affects session protection, not which key pair a device generated.

    DWhy not this: The stem says keys were generated on each device, which rules out a key shipped in the firmware.

    Devices that generate keys at first boot with too little entropy seed the random number generator identically, so they derive the same keys. A hard-coded key is excluded because the keys were generated on the device, and revocation or cipher choice does not change a key pair.

    Open this question
  41. Question 41

    Security Engineering

    Managed clients abort the TLS handshake with certificate validation errors after receiving the server's certificate. Which four findings could explain this? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. The issuing CA's certificate has expiredB. The server certificate's serial number appears on the CRLC. The server certificate's SAN omits the requested hostnameE. The root CA is missing from the clients' trust store

    AWhy this is right: An expired CA certificate breaks the chain, so the leaf cannot validate.

    BWhy this is right: A revoked serial on the CRL makes the leaf untrusted even if it is otherwise valid.

    CWhy this is right: A SAN lacking the requested name fails hostname validation of the certificate.

    DWhy not this: A cipher mismatch ends the handshake before the certificate is sent, so it is not a PKI issue.

    EWhy this is right: Without the root in the trust store, no chain can anchor to a trusted authority.

    FWhy not this: A wildcard matches one label, so *.corp.example.com is valid for app.corp.example.com and causes no error.

    An expired issuing CA, a revoked leaf, an untrusted root and a SAN mismatch each make certification path validation fail once the certificate has been received. A lack of common cipher suite is rejected during negotiation, before any certificate is sent, and a wildcard covering one label matches the requested name.

    Open this question
  42. Question 42

    Security Engineering

    In an authorized test, testers recover plaintext tokens from an API that decrypts AES-CBC, verifies a MAC afterward, and returns different errors for bad padding and bad MAC. What is the BEST remediation?

    Show the answer

    Correct answerB. Adopt authenticated encryption (AES-GCM) with uniform errors

    AWhy not this: A longer key does not matter; the leak comes from error behavior, not key strength.

    BWhy this is right: AEAD checks integrity before decryption and uniform errors leave no oracle to query.

    CWhy not this: Rate limiting only slows queries; the oracle still leaks plaintext information.

    DWhy not this: Frequent rotation limits how long a key is exposed, but each key still allows oracle attacks.

    The distinct padding and MAC errors form a padding oracle, a flaw in the implementation rather than in AES. Authenticated encryption verifies integrity before any decryption output is used, and uniform errors remove the oracle. A longer key, rate limiting or rotation leave the oracle in place.

    Open this question
  43. Question 43

    Security Engineering

    A failed firmware flash corrupts a server's primary BIOS image. The server must recover to a trusted image on its own, with no technician visit. Which capability provides this?

    Show the answer

    Correct answerC. Self-healing hardware with automatic firmware recovery

    AWhy not this: Measured boot only records and reports boot state; it neither blocks nor repairs.

    BWhy not this: Secure Boot refuses to run untrusted boot code but has no mechanism to restore firmware.

    CWhy this is right: A protected backup firmware image is restored automatically when the primary image is corrupt or untrusted.

    DWhy not this: Drive encryption protects stored data and has no role in restoring firmware.

    Self-healing hardware keeps a protected known-good firmware copy, such as a dual or golden image, and restores it automatically when the active image is corrupt or fails verification. Secure Boot can reject bad code but does not repair the firmware.

    Open this question
  44. Question 44

    Security Engineering

    A legacy appliance must keep running its unsigned custom bootloader. A network access service must admit it only if its boot components match known-good values. What should be implemented?

    Show the answer

    Correct answerA. Measured boot with remote attestation of TPM quotes

    AWhy this is right: Measurements do not block the unsigned loader, and a signed quote lets a remote verifier decide whether to admit the host.

    BWhy not this: Drive-level locking protects stored data and provides no evidence of boot integrity to a verifier.

    CWhy not this: Secure Boot enforces signatures locally and would stop the unsigned bootloader; it gives the service no report.

    DWhy not this: This protects data at rest but says nothing about which boot components ran.

    Measured boot records each component in TPM PCRs without blocking it, and remote attestation lets the access service compare a signed quote with known-good values. Secure Boot would refuse the unsigned bootloader and report nothing to the service.

    Open this question
  45. Question 45

    Security Engineering

    Cryptographic appliances at unattended branches must detect enclosure intrusion and destroy stored keys at once, even if mains power is cut. Leaving evidence of the attempt is also required. Which design meets this?

    Show the answer

    Correct answerD. Tamper-responsive sensors with battery-backed key zeroization

    AWhy not this: Attestation checks software state at boot and cannot sense a physical intrusion or erase keys.

    BWhy not this: Seals give evidence after the fact only; they cannot detect in real time or destroy keys.

    CWhy not this: Drive locking guards stored data but does not detect enclosure opening or zeroize the appliance's keys.

    DWhy this is right: Sensors on battery power detect opening without mains and erase keys at once, which meets all three constraints.

    Tamper-responsive sensors on battery power detect intrusion without mains and zeroize the keys immediately, which also leaves evidence of the attempt. Seals only show tampering afterward and cannot destroy keys, and attestation reports only at boot.

    Open this question
  46. Question 46

    Security Engineering

    A bootloader signed by a still-trusted vendor certificate is found to have an exploitable flaw. Which action stops this specific binary from loading on UEFI systems that have Secure Boot enabled?

    Show the answer

    Correct answerB. Add the bootloader's hash to the dbx revocation list

    AWhy not this: Disk encryption protects data at rest and does nothing to prevent a signed bootloader from executing.

    BWhy this is right: The dbx holds forbidden signatures and overrides trust in the signing certificate, so this exact binary is rejected.

    CWhy not this: Extending a PCR only records the measurement for later attestation; it does not stop the code from running.

    DWhy not this: The certificate is still trusted in db, so the binary still validates; removing one hash does not block it.

    Secure Boot checks each image against the db and dbx databases, and dbx blocks specific hashes or certificates even when the signer is trusted. Removing a hash from db does nothing, because the still-trusted certificate continues to validate the binary.

    Open this question
  47. Question 47

    Security Engineering

    Which control is designed to protect critical electronic equipment from damage by an electromagnetic pulse?

    Show the answer

    Correct answerD. Faraday cage

    AWhy not this: Secure Boot verifies boot components and has no effect on electromagnetic energy.

    BWhy not this: A UPS supplies battery power during outages and does not block a pulse from damaging circuits.

    CWhy not this: Conduit organizes and physically protects cables, but it does not shield equipment from a pulse.

    DWhy this is right: A conductive enclosure diverts external electromagnetic energy around the equipment inside it.

    A Faraday cage is a conductive enclosure that blocks external electromagnetic fields, shielding equipment from an EMP burst. A UPS handles power loss and cannot stop a pulse from damaging circuits.

    Open this question
  48. Question 48

    Security Engineering

    A copper Ethernet run beside elevator motor controllers shows intermittent CRC errors, but no device is damaged. Which fix addresses the cause?

    Show the answer

    Correct answerD. Replace the run with fiber-optic cable

    AWhy not this: A UPS conditions and backs up power, but the errors come from interference picked up by the cable.

    BWhy not this: Surge protectors clamp voltage spikes on power lines and do nothing for noise induced in data cabling.

    CWhy not this: Caging the switches leaves the exposed copper run beside the motors, where the noise is induced.

    DWhy this is right: Fiber carries light, so electrical noise from motors cannot corrupt the signal on the run.

    Intermittent corruption without damage points to EMI induced in the copper cable by the motors. Fiber carries light and is immune to it. Surge protection and a UPS address power events, not interference on a cable.

    Open this question
  49. Question 49

    Security Engineering

    A vendor service cannot be recompiled. Attackers bypass its enforced NX bit by chaining existing code fragments at fixed library addresses. Which control best disrupts this?

    Show the answer

    Correct answerA. Address space layout randomization

    AWhy this is right: ASLR randomizes library and stack locations at load time without recompiling, so the attacker cannot predict fragment addresses.

    BWhy not this: Canaries must be compiled into the binary, and the service cannot be rebuilt.

    CWhy not this: NX is already enforced, and code-reuse attacks run only existing executable code, so tightening it changes nothing.

    DWhy not this: Memory encryption guards against physical reads of RAM and does not stop an in-process code-reuse exploit.

    ROP reuses code already in memory, so NX does not stop it. ASLR is applied by the OS without recompiling and makes the fragment addresses unpredictable. Stack canaries need a rebuild, so they are ruled out.

    Open this question
  50. Question 50

    Security Engineering

    An attacker chills the RAM modules of a stolen, powered-on laptop and reads them in another machine to recover disk keys. Which technology best makes that data unreadable?

    Show the answer

    Correct answerC. Total memory encryption

    AWhy not this: Secure Boot verifies the boot chain and does nothing to protect data held in RAM after boot.

    BWhy not this: ASLR randomizes where code loads to hinder exploits and does not protect RAM contents from physical reading.

    CWhy this is right: The CPU encrypts everything written to DRAM, so removed modules yield ciphertext that cannot reveal disk keys.

    DWhy not this: A self-encrypting drive protects the storage device, while keys sitting in RAM remain readable.

    Total memory encryption encrypts DRAM contents with a key held in the CPU, so modules read elsewhere yield only ciphertext. Self-encrypting drives protect data on storage, not the contents of RAM.

    Open this question