Curated

Security Architecture and Engineering 1 (3.1–3.9)

0 votes

Questions59

  1. Question 1

    Security Architecture and Engineering

    A system must stop a low-integrity process from writing into a high-integrity database. A subject may still read data at any integrity level. Which model's rule is being applied?

    Show the answer

    Correct answerB. Biba's star (*) integrity property

    AWhy not this: This is "no write down" for confidentiality, which stops leaks of secrets, not integrity corruption.

    BWhy this is right: This is "no write up", which blocks low-integrity subjects from altering high-integrity objects.

    CWhy not this: This is "no read down", which restricts reading lower-integrity data; the stem allows reads at any level.

    DWhy not this: This enforces well-formed transactions and duty separation, not a level-based write restriction.

    Biba's star (*) integrity property is "no write up": a subject cannot write to a higher integrity level, which protects high-integrity data from contamination. Biba's simple integrity property is "no read down", which restricts reading, so it does not fit a rule that allows reads at any level.

    Open this question
  2. Question 2

    Security Architecture and Engineering

    A laptop must detect boot-level tampering and release its disk encryption key only if the firmware and boot loader match known-good measurements. Which capability provides this?

    Show the answer

    Correct answerB. A Trusted Platform Module with measured boot and sealed keys

    AWhy not this: Paging access bits control process memory access, not boot integrity or disk key release.

    BWhy this is right: The TPM stores boot measurements in PCRs and seals keys to them, releasing the key only for an unmodified boot chain.

    CWhy not this: A remote HSM protects and uses keys centrally but does not measure the local laptop's boot state.

    DWhy not this: ASLR randomizes memory layout to hinder exploits; it neither measures boot components nor controls key release.

    A TPM records boot component measurements in its platform configuration registers and can seal keys so they are released only when those measurements match the expected state. ASLR only makes memory addresses harder to predict and does not verify boot integrity or gate key release.

    Open this question
  3. Question 3

    Security Architecture and Engineering

    What should drive an architect's choice of security controls for a new system?

    Show the answer

    Correct answerA. The security requirements derived from risk and business needs

    AWhy this is right: Requirements from risk, business needs and compliance define what controls must achieve, so they guide selection.

    BWhy not this: Newness does not show that a control meets the system's requirements or addresses its risks.

    CWhy not this: Past controls may not fit the new system's risks, data, or requirements.

    DWhy not this: Cost is a constraint to weigh, but cheapest controls may leave required protections unmet.

    Controls are selected to satisfy the system's security requirements, which come from risk assessment, business needs, and compliance obligations. Choosing by cost alone ignores whether the controls actually address the identified risks.

    Open this question
  4. Question 4

    Security Architecture and Engineering

    A payroll analyst needs to run month-end reports but also holds rights to edit pay rates, which the role never requires. Which principle is the main concern, and what is the fix?

    Show the answer

    Correct answerC. Least privilege; remove the edit rights so only report access remains

    AWhy not this: Another network layer does nothing about excessive permissions held by an authorized user.

    BWhy not this: Fail securely governs behavior during failures, not permissions assigned in normal operation.

    CWhy this is right: The role has more access than its function needs, so excess rights must be removed.

    DWhy not this: Approval of reports does not address the surplus edit rights; SoD splits tasks, not trims permissions.

    The analyst holds rights beyond what the job needs, which violates least privilege; removing the excess edit rights fixes it. Segregation of duties splits a sensitive process among people, but here the problem is excess permissions held by one role.

    Open this question
  5. Question 5

    Security Architecture and Engineering

    A company protects its web application with only a perimeter firewall. Which approach best applies defense in depth?

    Show the answer

    Correct answerC. Add independent controls at several layers, such as network, host, application and data

    AWhy not this: Verifying every request is zero trust, a different principle from layered controls.

    BWhy not this: Reducing features is keep it simple and small, not layering controls.

    CWhy this is right: Layered, independent controls mean one failure does not lead to compromise.

    DWhy not this: A better single firewall is still one control layer and one point of failure.

    Defense in depth uses multiple, independent layers of controls so that failure of one does not expose the asset. Replacing one firewall still leaves a single layer, and removing features reflects keeping it simple and small.

    Open this question
  6. Question 6

    Security Architecture and Engineering

    What is the primary purpose of threat modeling during system design?

    Show the answer

    Correct answerA. To identify potential threats and prioritize mitigations before the system is built

    AWhy this is right: Threat modeling finds and ranks threats early so design controls can address them.

    BWhy not this: This describes least privilege, which limits permissions rather than analyzing threats.

    CWhy not this: This describes shared responsibility, which allocates duties between provider and customer.

    DWhy not this: This describes segregation of duties, which controls fraud and error, not threat analysis.

    Threat modeling systematically identifies threats, attack paths and weaknesses early in design so mitigations can be prioritized. Least privilege limits permissions but does not discover or rank threats.

    Open this question
  7. Question 7

    Security Architecture and Engineering

    A company is selecting a site for a new data center. The preferred building sits in a busy business park, and the design team wants to keep the facility from attracting attention. Which design decision BEST supports this goal while still protecting critical assets?

    Show the answer

    Correct answerB. Place the computer room in the building's interior core, with no signage identifying its purpose

    AWhy not this: Basements are prone to flooding and do not address attention; fire protection comes from suppression and compartmentation.

    BWhy this is right: Interior placement and no signage hide the room's purpose and add layers of protection between it and the perimeter.

    CWhy not this: Signage advertises the target, which works against keeping a low profile.

    DWhy not this: A ground-floor room by the dock exposes critical assets to outside access and vehicle threats.

    Facility design applies low-profile siting and layered protection, so critical rooms go in the interior core without identifying signage. A basement does not reduce attention and is exposed to flooding and water damage, which makes it a weaker choice.

    Open this question
  8. Question 8

    Security Architecture and Engineering

    A firm keeps backup tapes at an offsite media vault and must retain them seven years. Tapes written in the first year are becoming unreadable even though the vault is physically secure. Which additional control BEST addresses this while meeting the retention requirement?

    Show the answer

    Correct answerB. Control temperature and humidity within the media manufacturer's specifications, and periodically test and refresh the tapes

    AWhy not this: Fire suppression protects against fire, but the tapes are degrading without any fire.

    BWhy this is right: Environmental control and periodic readability testing with refresh address media degradation over a long retention.

    CWhy not this: Two-person integrity limits insider access, which is not the cause of the unreadable tapes.

    DWhy not this: Chain of custody serves legal evidence handling and does not slow tape degradation.

    Media storage facilities must protect the integrity and readability of data over its retention period, which requires environmental control and periodic testing and refresh of media. Chain of custody and two-person access protect against tampering or unauthorized access, which are not the problem here, and sprinklers address fire only.

    Open this question
  9. Question 9

    Security Architecture and Engineering

    An audit finds that a floor's wiring closet shares a door with a janitorial supply room, and the closet door lock uses a key held by facilities staff. Network engineers are the only people who need access to the closet's patch panels. What is the BEST corrective action?

    Show the answer

    Correct answerC. Install an electronic access-controlled door dedicated to the closet, limited to network staff and with logged entries

    AWhy not this: A corridor camera may deter but does not prevent access and does not cover entries to the closet.

    BWhy not this: Fire protection is worthwhile but does nothing about unauthorized people reaching the patch panels.

    CWhy this is right: Restricts the closet to authorized network staff and records each entry, which fixes the shared-access gap.

    DWhy not this: Backup power supports availability and does not restrict who can touch the cabling.

    A wiring closet holds the physical connection points of the network, so access must be limited to authorized staff and be auditable. A dedicated, logged, electronic lock does this. Fire suppression and power address environmental availability, not the uncontrolled physical access that the finding describes.

    Open this question
  10. Question 10

    Security Architecture and Engineering

    A security team seizes laptops during an internal investigation that may lead to prosecution. Which storage approach is MOST appropriate for them?

    Show the answer

    Correct answerD. A locked, access-restricted evidence room with a chain of custody log recording each person who handles the items

    AWhy not this: A backup media vault is for retention of backups, and sending evidence there breaks custody control.

    BWhy not this: A server room protects operating systems and is not an evidence-handling environment; it has no custody records.

    CWhy not this: A shared key gives no record of individual access, so custody cannot be shown.

    DWhy this is right: Restricted access plus a chain of custody log preserves evidence integrity and admissibility.

    Evidence must be kept in a dedicated, access-restricted location with a documented chain of custody so its integrity is provable in court. The server room and media vault are built for other purposes and lack evidence-handling records, and a shared key gives no accountability for who handled the items.

    Open this question
  11. Question 11

    Security Architecture and Engineering

    A company is designing a new data center and wants to reduce the risk of intruders reaching the servers if the building's outer door is bypassed. Which design choice BEST addresses this?

    Show the answer

    Correct answerD. Place the server room in the building's interior, away from exterior walls, with layered access controls

    AWhy not this: Top-floor placement is aimed at flood risk and adds roof exposure; it does not stop intruders.

    BWhy not this: Pre-action sprinklers limit fire damage and do not stop unauthorized entry.

    CWhy not this: A raised floor aids cabling and airflow and has no bearing on intrusion.

    DWhy this is right: An interior location plus layered controls forces an intruder through multiple barriers beyond the outer door.

    Placing the data center in the building core with layered (defense in depth) access controls means an intruder who gets past the perimeter still faces further barriers. A raised floor and sprinklers serve cabling, cooling and fire protection, and a top-floor location is exposed to roof and weather risks rather than intrusion.

    Open this question
  12. Question 12

    Security Architecture and Engineering

    A team is deploying a new internet-facing Linux web server that will host a customer portal. Which four actions best reduce the server's attack surface and limit the impact of a compromise? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Remove unneeded services and software packagesD. Apply vendor patches after testing them in stagingE. Restrict administrative access to a management network with MFAF. Run the web service under a dedicated unprivileged account

    AWhy this is right: Fewer installed services and packages means fewer listening ports and vulnerabilities for an attacker to exploit.

    BWhy not this: A shared account removes accountability and widens exposure of one credential; it does not reduce risk.

    CWhy not this: Default accounts have publicly known credentials, so leaving them enabled increases the attack surface.

    DWhy this is right: Patching closes known vulnerabilities; staging first avoids outages from untested updates.

    EWhy this is right: Limiting admin interfaces to a management network with MFA makes remote administration harder to abuse.

    FWhy this is right: If the service is compromised, an unprivileged account limits what the attacker can read, change or execute.

    Hardening removes unneeded components, applies least privilege to the service account, restricts and strengthens administrative access, and patches known flaws. Default accounts and shared administrator accounts add known credentials and remove individual accountability.

    Open this question
  13. Question 13

    Security Architecture and Engineering

    Which property ensures that recorded TLS sessions stay confidential even if the server's long-term private key is later stolen?

    Show the answer

    Correct answerA. Perfect forward secrecy

    AWhy this is right: Ephemeral key exchange makes session keys independent of the long-term key, so stolen keys cannot decrypt past sessions.

    BWhy not this: Non-repudiation proves origin of a message through digital signatures; it does not protect past session confidentiality.

    CWhy not this: Escrow stores a recoverable copy of keys, which can increase exposure rather than protect past sessions.

    DWhy not this: Pinning makes clients accept only expected certificates, which defends against rogue CAs, not later key theft.

    Perfect forward secrecy uses ephemeral key exchange, so each session key is independent of the long-term private key and past traffic cannot be decrypted. Key escrow does the opposite, since it keeps a recoverable copy of keys.

    Open this question
  14. Question 14

    Security Architecture and Engineering

    A plant's PLCs run unpatchable vendor firmware, and any downtime halts production. The vendor needs remote support access. Which approach BEST reduces risk under these constraints?

    Show the answer

    Correct answerA. Segment the controllers into their own zone and allow vendor access only through a hardened, MFA-protected jump host

    AWhy this is right: Isolation plus a controlled, authenticated access path compensates for unpatchable devices without affecting availability.

    BWhy not this: Moving real-time control to IaaS adds latency and new risks, and the provider does not patch the customer's control software.

    CWhy not this: Active scans can disrupt fragile controllers and only identify exposure; they do not mitigate it.

    DWhy not this: PLC firmware generally cannot host third-party agents, and installing one risks timing and stability.

    When devices cannot be patched and availability is critical, compensating controls such as segmentation and a controlled, authenticated access path reduce exposure without touching the controllers. Active scanning can crash fragile PLCs and fixes nothing.

    Open this question
  15. Question 15

    Security Architecture and Engineering

    In a multilevel secure database, a low-clearance user's insert is rejected because a classified row with the same primary key exists, revealing that the record exists. Which technique resolves this without disclosing it?

    Show the answer

    Correct answerB. Polyinstantiation

    AWhy not this: A view restricts visible columns and rows, but the primary key collision on insert would still reveal the hidden record.

    BWhy this is right: It permits the same key at different classification levels, so the insert works and the classified row stays hidden.

    CWhy not this: Encryption protects stored files from outside access and has no effect on the key conflict seen by an authorized session.

    DWhy not this: Cell suppression withholds small or sensitive values in query results; it does not resolve key conflicts on insert.

    Polyinstantiation allows rows with the same key at different classification levels, so the low user's insert succeeds and the classified row's existence stays hidden. A view hides the data but would not remove the key conflict.

    Open this question
  16. Question 16

    Security Architecture and Engineering

    A thick-client application distributed to clinic workstations connects directly to the central database using credentials embedded in the executable. An attacker decompiles the client and extracts them. Which change best removes this weakness?

    Show the answer

    Correct answerD. Move to a three-tier design in which the client authenticates to an application server that alone holds database access

    AWhy not this: Encryption at rest protects storage files; a session using stolen valid credentials still receives decrypted data.

    BWhy not this: Segmentation limits where connections come from, but any compromised workstation still has the credentials and can connect.

    CWhy not this: Obfuscation only slows decompiling, and rotation still leaves a secret embedded in the client that attackers can extract.

    DWhy this is right: The client holds no database secret, so extracting the client's contents gives the attacker no direct database access.

    A multi-tier design keeps database credentials off the client, so decompiling the client exposes nothing usable. Transparent data encryption protects data files at rest, not queries made with valid credentials, so it does not address the exposed secret.

    Open this question
  17. Question 17

    Security Architecture and Engineering

    An attacker cannot submit data to the encryption system but knows every intercepted archive starts with the same standard file header. The attacker uses that header and its ciphertext to derive the keystream. Which attack is this?

    Show the answer

    Correct answerD. Known-plaintext attack

    AWhy not this: A ciphertext-only attacker has no plaintext, but this attacker knows the fixed header.

    BWhy not this: Brute force tries keys one by one, whereas this attack derives the keystream directly from the known header.

    CWhy not this: A chosen-ciphertext attack needs the attacker to submit ciphertexts for decryption, which is not possible here.

    DWhy this is right: Knowing part of the plaintext alongside its ciphertext is the defining condition, and here it reveals the keystream.

    The attacker has matching plaintext and ciphertext for the header, which is a known-plaintext attack and exposes the keystream. A ciphertext-only attack has no plaintext at all, and a chosen-ciphertext attack would need the attacker to submit ciphertexts for decryption.

    Open this question
  18. Question 18

    Security Architecture and Engineering

    A cryptanalyst matches the most common letter in a long ciphertext to "E" in an English message. Which cipher is the analyst most likely attacking?

    Show the answer

    Correct answerC. Simple substitution cipher

    AWhy not this: A properly used one-time pad produces uniformly random ciphertext, leaving no frequency pattern to exploit.

    BWhy not this: RSA with OAEP padding is randomised and encrypts blocks of data, so letter frequencies are not preserved.

    CWhy this is right: Each plaintext letter always maps to the same ciphertext letter, so letter frequencies survive and can be matched.

    DWhy not this: AES in CBC mode produces output that looks random, so letter statistics reveal nothing.

    A simple substitution cipher maps each plaintext letter to one fixed ciphertext letter, so language letter frequencies carry through to the ciphertext. Modern ciphers such as AES in CBC mode produce output with no usable letter statistics.

    Open this question
  19. Question 19

    Security Architecture and Engineering

    An attacker captured traffic encrypted with a modern block cipher that uses a 64-bit key, and is testing every possible key on a GPU cluster. Which change most directly defeats this attack?

    Show the answer

    Correct answerB. Increase the key length to 256 bits

    AWhy not this: A MAC detects tampering but leaves the 64-bit keyspace unchanged, so every key can still be tried.

    BWhy this is right: Each added bit doubles the keyspace, so a 256-bit key puts exhaustive search beyond any realistic computing power.

    CWhy not this: Padding hides message length, which is a traffic-analysis concern, and does not change the number of possible keys.

    DWhy not this: A fresh IV prevents repeated ciphertext patterns, but the attacker can still test every possible key.

    Exhaustive key search must cover the whole keyspace, which doubles with every added key bit, so moving from 64 to 256 bits makes it infeasible. A MAC protects integrity but does not enlarge the keyspace, so the attacker can still try every key.

    Open this question
  20. Question 20

    Security Architecture and Engineering

    An analyst holds only intercepted ciphertext from a legacy system and has no plaintext pairs or access to its encryption or decryption functions. Which three techniques remain available? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Matching symbol frequencies in the ciphertext to those of the expected plaintext languageC. Testing candidate keys and checking whether the output resembles valid plaintextE. Spotting repeated ciphertext patterns that reveal structure in the plaintext

    AWhy not this: Submitting chosen ciphertexts requires access to a decryption oracle, which defines a chosen-ciphertext attack.

    BWhy this is right: Letter and symbol statistics come from the ciphertext itself and expose weak ciphers such as simple substitution.

    CWhy this is right: Trying keys and recognising readable output needs only the ciphertext, so it works without any plaintext or system access.

    DWhy not this: Working from plaintext and its ciphertext is a known-plaintext attack, and the analyst has no plaintext pairs.

    EWhy this is right: Repeated blocks or sequences can be seen in captured ciphertext alone and leak plaintext structure.

    A ciphertext-only attacker works from captured ciphertext alone, so key search, frequency counts and pattern detection all apply. Feeding chosen ciphertexts to a decryption oracle is a chosen-ciphertext attack and needs access to the decryption function, which the analyst lacks. Comparing plaintext with its ciphertext is a known-plaintext attack, which needs pairs the analyst lacks.

    Open this question
  21. Question 21

    Security Architecture and Engineering

    Which key management practice replaces a key on a schedule so that a compromise exposes only a limited amount of data?

    Show the answer

    Correct answerB. Key rotation

    AWhy not this: Escrow keeps a copy with a trusted party for recovery and does not replace keys periodically.

    BWhy this is right: Rotation periodically replaces keys, so a compromised key exposes only the data it protected.

    CWhy not this: Wrapping encrypts one key under another for protection in storage or transit, without replacing it.

    DWhy not this: Stretching strengthens a weak password or passphrase into a key and does not replace keys on a schedule.

    Key rotation retires a key and puts a new one in use at set intervals, limiting the data protected by any single key. Key escrow stores a copy of a key for recovery and does not limit exposure.

    Open this question
  22. Question 22

    Security Architecture and Engineering

    A firm must keep encrypted patient records confidential for 30 years. Which factor should drive its algorithm and key length selection?

    Show the answer

    Correct answerD. Data lifetime versus projected cryptanalysis

    AWhy not this: Access needs affect key management and authorization, not which algorithm or key length is strong enough.

    BWhy not this: Performance is a secondary selection factor and does not show the algorithm will resist attack for 30 years.

    CWhy not this: A certificate's validity period governs authentication for the portal, not how long stored records stay secure.

    DWhy this is right: Long-term confidentiality requires an algorithm and key length expected to resist attack for the data's whole lifetime.

    Algorithm selection is the first life cycle decision. The algorithm and key length must stay strong for as long as the data needs protection, so projected cryptanalytic advances matter most. Speed matters, but a fast algorithm that weakens within 30 years fails the requirement.

    Open this question
  23. Question 23

    Security Architecture and Engineering

    A relying party must confirm that a single certificate has not been revoked, in near real time, without downloading a full list. What should it use?

    Show the answer

    Correct answerA. Online Certificate Status Protocol

    AWhy this is right: OCSP queries a responder for one certificate's current status, avoiding a full list download.

    BWhy not this: Pinning ties a client to an expected certificate or key and does not check revocation status.

    CWhy not this: A registration authority verifies identity before issuance and does not report revocation status.

    DWhy not this: A CRL is a complete list published periodically, so it is large and may not reflect very recent revocations.

    OCSP lets a relying party query a responder for the status of one certificate and get a current answer. A CRL is a full list published at intervals, so it is larger and can be stale. Registration authorities only vet identities before issuance.

    Open this question
  24. Question 24

    Security Architecture and Engineering

    Battery-powered sensors with limited CPU and bandwidth need key agreement and digital signatures at about 128-bit security, and quantum resistance is not required. Which suite fits BEST?

    Show the answer

    Correct answerC. ECDH and ECDSA with 256-bit curves

    AWhy not this: A symmetric cipher gives no digital signatures, and a pre-shared key does not provide key agreement.

    BWhy not this: Finite-field DH at 3072 bits equals the strength but has large parameters and higher computation and bandwidth cost.

    CWhy this is right: Elliptic curves give about 128-bit strength with small keys and cheap operations, and cover both agreement and signatures.

    DWhy not this: RSA-3072 matches the strength but has large keys and heavy operations that suit constrained devices poorly.

    Elliptic curve cryptography reaches roughly 128-bit security with 256-bit keys, so it needs far less computation, storage and bandwidth. RSA-3072 and finite-field DH match the strength but cost much more. A symmetric cipher alone cannot provide signatures or scalable key agreement.

    Open this question
  25. Question 25

    Security Architecture and Engineering

    An auditor must be able to prove that an approval message came from a specific manager and was not altered. What should the manager apply to the message?

    Show the answer

    Correct answerC. A hash signed with the manager's private key

    AWhy not this: A shared key means the recipient could also have produced the HMAC, so it cannot prove origin to an auditor.

    BWhy not this: An unsigned digest can be recomputed by anyone who alters the message, so it gives no proof of origin.

    CWhy this is right: Signing the hash with a private key shows the message is unaltered and ties it to the manager, supporting non-repudiation.

    DWhy not this: Encrypting with the recipient's public key gives confidentiality, and anyone can do it, so it proves nothing about the sender.

    A digital signature gives integrity and origin authentication, and because only the manager holds the private key it supports non-repudiation to a third party. An HMAC proves origin only between parties sharing the key, so either could have created it.

    Open this question
  26. Question 26

    Security Architecture and Engineering

    A vendor's new network gateway will be installed by non-technical staff at small sites that have no security team. Which design decision BEST applies secure defaults?

    Show the answer

    Correct answerB. Ship with nonessential services disabled so administrators must enable each one deliberately

    AWhy not this: A well-known shared credential is insecure on delivery and relies on the customer to change it.

    BWhy this is right: The out-of-the-box state is already secure and the attack surface grows only through deliberate choices.

    CWhy not this: Security depends on customers completing hardening later, so the delivered state is insecure.

    DWhy not this: Monitoring is a detective layer that does not make the shipped configuration itself secure.

    Secure defaults means the product is secure in its out-of-the-box state, with no customer action needed, so extra features start off and are enabled deliberately. A hardening checklist or a changeable shared password makes security depend on customers acting, which these sites will not do.

    Open this question
  27. Question 27

    Security Architecture and Engineering

    A banking application cannot reach its authorization server during an outage. Which behavior BEST reflects failing securely?

    Show the answer

    Correct answerD. Deny all requests and log each failure until the authorization server is reachable again

    AWhy not this: Read-only access still discloses data to users whose entitlement cannot be verified.

    BWhy not this: A local administrator fallback creates a privileged bypass of the failed control.

    CWhy not this: Failing open lets unauthorized access occur and relies on after-the-fact review to catch it.

    DWhy this is right: Access is denied when no authorization decision is possible, which keeps data protected, and the failure is recorded.

    Failing securely means that when a control fails, the system defaults to a state that protects data, here denying access, and records the failure. Granting even read-only access without an authorization decision exposes sensitive data to users who may not be entitled to it.

    Open this question
  28. Question 28

    Security Architecture and Engineering

    A company wants to reduce the risk of fraud and error by ensuring that no single person can complete a sensitive process alone. Which controls apply segregation of duties? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersB. The employee who requests a purchase cannot also approve that purchaseC. A developer who writes code cannot also release it to the production environmentE. A clerk who enters vendor invoices cannot approve payments to those vendorsF. The person who handles cash receipts does not reconcile the bank statements

    AWhy not this: This limits each person's access rights, which is least privilege, not the division of a process among people.

    BWhy this is right: Requesting and approving a purchase are split so no one can authorize their own request.

    CWhy this is right: Writing code and releasing it to production are split, so an unreviewed change cannot be pushed alone.

    DWhy not this: Mandatory vacation helps uncover fraud during the absence but does not divide the steps of a process among people.

    EWhy this is right: Entering invoices and approving payments are separate steps of one process, held by different people.

    FWhy this is right: Custody of cash and reconciliation are split so one person cannot hide a theft.

    Segregation of duties splits the steps of a sensitive process among different people so that fraud or serious error needs collusion. Granting only the permissions a job needs is least privilege, which limits access rights but does not divide a process between people. Mandatory vacation helps uncover fraud but does not split a process either.

    Open this question
  29. Question 29

    Security Architecture and Engineering

    A team must deliver a service that handles file uploads for a single department. Four designs meet the requirements; which BEST applies keeping it simple and small?

    Show the answer

    Correct answerA. Use one well-reviewed standard upload component with only the required features enabled

    AWhy this is right: A minimal, proven component with only needed features has the least code and attack surface to defend.

    BWhy not this: Building for hypothetical future needs adds unneeded functionality and attack surface now.

    CWhy not this: Redundant custom layers reflect defense in depth and add complexity and more code to get wrong.

    DWhy not this: Custom cryptography is complex, unreviewed code and replaces a proven component with a riskier one.

    Keeping it simple and small (economy of mechanism) favors minimal, well-understood components with only needed functions, which reduces code, attack surface and errors. Overlapping custom validators are defense in depth but add complexity, and a plug-in framework or custom crypto adds unneeded code.

    Open this question
  30. Question 30

    Security Architecture and Engineering

    A public mobile app calls a microservice's API, and attackers replay stolen requests and flood the endpoint. Which control BEST addresses both problems?

    Show the answer

    Correct answerB. An API gateway enforcing token authentication and rate limiting

    AWhy not this: Image scanning finds known flaws before deployment and does not control runtime request abuse.

    BWhy this is right: A gateway centralizes authentication, authorization and throttling for every API call.

    CWhy not this: Database encryption at rest protects stored data, not the API from replay or floods.

    DWhy not this: A VLAN limits network reach, but the API is public so abusive clients still reach it.

    An API gateway sits in front of the services and can validate tokens, reject unauthorized or replayed calls, and throttle request rates. Image scanning improves build hygiene but does nothing about abusive traffic reaching the API.

    Open this question
  31. Question 31

    Security Architecture and Engineering

    A shared host runs containers for several tenants. An attacker with code execution in one container must not reach the host kernel or other tenants. Which approach is BEST?

    Show the answer

    Correct answerD. Run as non-root with dropped capabilities and a restrictive seccomp profile

    AWhy not this: Signing and scanning improve supply-chain trust but do not restrict a running container's actions.

    BWhy not this: Namespaces separate views of resources but all containers still share one host kernel.

    CWhy not this: Exposing the runtime socket gives a container control over the host and every other container.

    DWhy this is right: These controls shrink the kernel surface and privileges a compromised container can use.

    Containers share the host kernel, so runtime restrictions such as non-root users, dropped capabilities and seccomp reduce what a compromised container can do. Image signing and scanning act before deployment and do not limit a running container's reach.

    Open this question
  32. Question 32

    Security Architecture and Engineering

    A company moves an application from IaaS virtual machines to PaaS. Which security task shifts from the company to the provider?

    Show the answer

    Correct answerC. Patching the guest operating system and runtime

    AWhy not this: Code the customer writes and deploys stays the customer's responsibility on a PaaS platform.

    BWhy not this: Deciding who may use the application is customer-side identity and access management in every model.

    CWhy this is right: In IaaS the customer patches the guest OS; in PaaS the provider manages the OS and runtime.

    DWhy not this: Data classification and ownership remain the customer's duty in IaaS, PaaS and SaaS.

    In PaaS the provider manages the operating system and runtime, so patching them moves to the provider. Data classification, user access and application code stay with the customer in every service model, however tempting it is to think a managed platform covers them.

    Open this question
  33. Question 33

    Security Architecture and Engineering

    A botnet compromised thousands of consumer IoT cameras by logging in over Telnet with the shared factory password. Which design-time measure would have best prevented this?

    Show the answer

    Correct answerA. Unique credentials per device and unused remote services disabled

    AWhy this is right: It removes both the guessable shared password and the exposed Telnet service the botnet used.

    BWhy not this: Where analysis runs does not affect whether the camera accepts default credentials.

    CWhy not this: Encrypting stored video protects stored data but does not block remote login to the device.

    DWhy not this: Constrained devices seldom run agents, and a login with a valid default password is not malware.

    The attack used a shared default password on an unneeded remote service, so unique per-device credentials and disabled services remove that path. Antivirus agents rarely fit constrained IoT devices and do not stop a valid login.

    Open this question
  34. Question 34

    Security Architecture and Engineering

    Which characteristic of a distributed system most increases its attack surface compared with a single-host system?

    Show the answer

    Correct answerA. Many nodes communicating over networks

    AWhy this is right: Every extra node and network link is another target for interception, spoofing or compromise.

    BWhy not this: Distributed nodes do not share one memory space; they exchange messages over a network.

    CWhy not this: A single point of failure is typical of centralized designs; distribution is often used to avoid it.

    DWhy not this: Physical co-location is not what defines distribution; nodes are usually spread across locations.

    A distributed system spreads work across many nodes that communicate over networks, so each node and each link adds a place to attack. A single point of failure describes a centralized design, which is the opposite of distribution.

    Open this question
  35. Question 35

    Security Architecture and Engineering

    Which attack infers secret keys by observing physical characteristics, such as power consumption or electromagnetic emissions, while a device performs cryptographic operations?

    Show the answer

    Correct answerB. Side-channel attack

    AWhy not this: Chosen ciphertext relies on submitting crafted ciphertexts to a decryption function, not on physical measurements.

    BWhy this is right: Passively measuring physical leakage during operations to infer keys is the definition of a side-channel attack.

    CWhy not this: Fault injection actively disturbs the device to cause errors; this describes passive observation instead.

    DWhy not this: Brute force tries every possible key and needs no physical measurements.

    A side-channel attack passively observes leakage such as power draw, emissions or timing to infer keys. Fault injection differs because it deliberately induces errors instead of only observing.

    Open this question
  36. Question 36

    Security Architecture and Engineering

    An attacker holds a captured RSA-encrypted session key and no private key. The server decrypts submitted ciphertexts and returns a distinct error for each padding failure. Which attack applies, and which control best stops it?

    Show the answer

    Correct answerB. Chosen ciphertext attack; use OAEP padding and return one uniform error for every failure

    AWhy not this: The leak is the content of the error messages, not response time, so delays would not stop the oracle.

    BWhy this is right: Submitting modified ciphertexts and learning from padding errors is chosen ciphertext; OAEP and uniform errors remove the oracle.

    CWhy not this: The attacker is querying the server, not intercepting a live exchange, so authenticating endpoints does not close the oracle.

    DWhy not this: No plaintext/ciphertext pairs are in play, and a longer key does not close an oracle that leaks through error responses.

    The attacker submits chosen ciphertexts to a decryption oracle and learns from the error responses. OAEP and uniform errors remove that oracle. Random delays address timing leakage, not distinct error messages.

    Open this question
  37. Question 37

    Security Architecture and Engineering

    An attacker with physical access glitches a smart card's supply voltage mid-signature, then compares the faulty output with a correct one to recover the key. Which attack is this?

    Show the answer

    Correct answerA. Fault injection

    AWhy this is right: Deliberately inducing an error and comparing faulty with correct output to recover the key is fault injection.

    BWhy not this: Power analysis passively measures consumption; here the attacker actively disturbs the supply voltage.

    CWhy not this: The attacker is not submitting crafted ciphertexts to a decryption function; the device is physically disturbed.

    DWhy not this: Timing attacks measure how long operations take; no timing measurement is described.

    The attacker deliberately induces a computation error and analyzes the faulty output against a correct one, which is fault injection. Power analysis only measures consumption passively and does not disturb the operation.

    Open this question
  38. Question 38

    Security Architecture and Engineering

    A server's RSA algorithm is mathematically sound, yet an attacker extracts the private key by exploiting a buffer over-read bug in its cryptographic library. Which attack type is this?

    Show the answer

    Correct answerA. Implementation attack

    AWhy this is right: A flaw in the library's code, not in the algorithm, leaks the key, which defines an implementation attack.

    BWhy not this: No ciphertexts are submitted to a decryption oracle; the attacker abuses a memory-handling bug.

    CWhy not this: Nothing is measured, such as power, timing or emissions; a software bug exposes the key directly.

    DWhy not this: The key is read out of memory, not found by trying every possible key.

    The algorithm is intact; the attacker exploits a coding flaw in how it was implemented, which is an implementation attack. Side-channel attacks infer secrets from measured physical or timing behavior, not from a software bug that exposes the key.

    Open this question
  39. Question 39

    Security Architecture and Engineering

    A company with 40 branches and a mostly remote workforce backhauls all traffic through a data-center VPN, causing latency. It wants one cloud-managed service that combines WAN connectivity with identity-based web, SaaS and private-app controls, with no appliances at each site. Which approach BEST meets this?

    Show the answer

    Correct answerD. SASE delivered from cloud points of presence

    AWhy not this: Bigger concentrators keep the backhaul design, and split tunneling removes security inspection of web traffic.

    BWhy not this: A secure web gateway alone covers only internet traffic, with no WAN connectivity or private-app access control.

    CWhy not this: This improves WAN routing but needs appliances at each branch and separate security management, which the requirement excludes.

    DWhy this is right: SASE merges WAN and cloud-delivered, identity-based security in one service, with no site appliances.

    SASE converges WAN networking with cloud-delivered security such as SWG, CASB, ZTNA and FWaaS, enforcing identity-based policy near users and sites. SD-WAN with branch firewalls meets the networking need but keeps appliances at every site.

    Open this question
  40. Question 40

    Security Architecture and Engineering

    An attacker who compromised one workstation reached file servers because the servers trusted all traffic from the corporate LAN. Which change BEST addresses the root cause?

    Show the answer

    Correct answerA. Authenticate and authorize every request, whatever its network location

    AWhy this is right: Zero trust removes location-based trust, so a compromised workstation gains no automatic access to the servers.

    BWhy not this: Disabling unneeded services is secure defaults. It shrinks the attack surface but leaves the implicit LAN trust in place.

    CWhy not this: Dual approval of changes is segregation of duties. It does not control how servers treat network traffic.

    DWhy not this: Another perimeter layer is defense in depth, but it does nothing about internal hosts trusting traffic from inside the LAN.

    The root cause is implicit trust based on network location. Zero trust removes it by verifying every request. A second perimeter firewall adds a layer, but internal hosts would still trust anything already inside the LAN.

    Open this question
  41. Question 41

    Security Architecture and Engineering

    A company moves its servers to virtual machines at an IaaS provider. Which task remains the customer's responsibility under the shared responsibility model?

    Show the answer

    Correct answerD. Patching the guest operating system

    AWhy not this: Network hardware belongs to the provider's infrastructure, which the customer does not manage.

    BWhy not this: The hypervisor is part of the provider-managed virtualization layer, not the customer's.

    CWhy not this: Physical security of the facility is always the provider's duty in IaaS.

    DWhy this is right: The customer controls the guest OS in IaaS, so patching it falls to the customer.

    In IaaS the provider secures the facility, hardware and hypervisor, while the customer manages everything it deploys on top, including guest operating system patching. Hypervisor patching is tempting but sits on the provider's side of the line.

    Open this question
  42. Question 42

    Security Architecture and Engineering

    A team is designing a fitness app, and marketing wants location history collected "in case it's useful later." Which design decision BEST reflects privacy by design?

    Show the answer

    Correct answerB. Collect location only for features the user enables, and keep it no longer than needed

    AWhy not this: An opt-out makes data collection the default, which is the reverse of privacy as the default setting.

    BWhy this is right: Limiting collection and retention to the enabled feature builds privacy into the design and makes it the default.

    CWhy not this: Encryption and a notice protect and disclose the data, but they do not limit collection to what is needed.

    DWhy not this: Assessing privacy after release is reactive. Privacy by design requires it to be addressed before and during design.

    Privacy by design builds privacy in from the start, proactively and by default, by limiting collection and retention to what a feature needs. Encrypting everything protects data security but still collects far more than necessary.

    Open this question
  43. Question 43

    Security Architecture and Engineering

    Staff report frequent static discharge shocks near the racks in a server room during dry winter months. Which adjustment BEST reduces the risk?

    Show the answer

    Correct answerD. Add humidification to bring relative humidity into the recommended range

    AWhy not this: Negative pressure draws in unfiltered outside air and does not address static from dry air.

    BWhy not this: A larger UPS addresses power continuity for the cooling units and has no effect on humidity.

    CWhy not this: A warmer room lowers relative humidity further, increasing static and stressing equipment.

    DWhy this is right: Raising humidity to the recommended range reduces static buildup, the HVAC fix for electrostatic discharge.

    Low relative humidity lets static charge build up and discharge into equipment. Humidification within the recommended range reduces electrostatic discharge without causing condensation. Raising the temperature would dry the air further.

    Open this question
  44. Question 44

    Security Architecture and Engineering

    A generator needs about 45 seconds to start and stabilize after a utility outage, but servers cannot tolerate any interruption. Which component BEST covers that gap?

    Show the answer

    Correct answerA. Uninterruptible power supply

    AWhy this is right: Battery power takes over instantly and carries the load until the generator is online.

    BWhy not this: It only switches the load to the generator once the generator is ready and stores no energy for the gap.

    CWhy not this: It only clamps voltage spikes and cannot supply power during an outage.

    DWhy not this: It supplies long-term power but cannot do so during its own start-up period.

    A UPS supplies battery power instantly, bridging the time the generator needs to start and take the load. The transfer switch only moves the load once the generator is ready, and the generator itself cannot supply power during its start-up.

    Open this question
  45. Question 45

    Security Architecture and Engineering

    Which control BEST prevents tailgating into a restricted work area?

    Show the answer

    Correct answerB. Access control vestibule

    AWhy not this: Lighting deters and aids observation but does not physically restrict entry.

    BWhy this is right: Only one person passes at a time and the inner door stays locked until authentication, which physically blocks tailgating.

    CWhy not this: A log records who signed in but does nothing to stop someone following an employee through a door.

    DWhy not this: Cameras are detective: they can record a tailgater but do not stop entry.

    An access control vestibule (mantrap) lets only one person through at a time and keeps the inner door locked until that person is authenticated, so it physically prevents tailgating. Cameras only record the event after it happens.

    Open this question
  46. Question 46

    Security Architecture and Engineering

    A staffed data center needs suppression with no water standing in overhead pipes and no ozone-depleting agent. Which controls meet both requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Clean agent total-flooding system using inert gasC. Pre-action sprinkler system with a detection-triggered valve

    AWhy not this: Halon 1301 is an ozone-depleting agent restricted under the Montreal Protocol, so it fails the second requirement.

    BWhy this is right: Inert gas uses no water and does not deplete ozone, and it is safe at design concentrations.

    CWhy this is right: Pipes stay dry until detection opens the valve, so no standing water, and the water is not ozone-depleting.

    DWhy not this: Pipes are always charged with water, so a leak or broken head can discharge over equipment.

    Pre-action pipes stay dry until detection opens the valve, and inert-gas clean agents use no water and do not deplete ozone. Wet-pipe systems keep charged pipes overhead, and Halon 1301 depletes ozone and is no longer produced.

    Open this question
  47. Question 47

    Security Architecture and Engineering

    A leased data center sits below grade in a 100-year floodplain, and the lease cannot be ended for five years. Which action BEST reduces the flood risk?

    Show the answer

    Correct answerA. Relocate critical equipment above the expected flood level

    AWhy this is right: Elevating equipment above the expected flood level removes the exposure and works within the lease constraint.

    BWhy not this: A generator addresses power loss, not water reaching the equipment.

    CWhy not this: Sensors are detective only: they signal water after it arrives and do not protect the equipment.

    DWhy not this: A clean agent system changes fire suppression and does nothing for flood water entering the room.

    The hazard is flood water reaching equipment, so raising critical systems above the expected flood level removes the exposure even though the site is fixed. Sensors only alert after water has arrived and do not prevent damage.

    Open this question
  48. Question 48

    Security Architecture and Engineering

    A security team learns that an attacker with code execution inside one guest VM may be able to run code on the hypervisor and reach other guests. Which action BEST reduces this risk?

    Show the answer

    Correct answerD. Patch the hypervisor and remove unused virtual devices

    AWhy not this: Disk encryption protects images at rest and does not stop a running guest from escaping.

    BWhy not this: Seccomp restricts system calls of container processes, not a hypervisor boundary.

    CWhy not this: Guest patches fix guest flaws but not hypervisor vulnerabilities that enable escape.

    DWhy this is right: Hypervisor flaws and unneeded emulated devices enable VM escape, so patching and removal reduce it.

    This is a VM escape risk, which arises from flaws in the hypervisor and its emulated devices. Patching the hypervisor and removing unneeded virtual devices shrinks that attack surface. Guest patching does not change the hypervisor's code.

    Open this question
  49. Question 49

    Security Architecture and Engineering

    A university HPC cluster runs jobs from several research groups, some with sensitive data. Latency-sensitive MPI jobs depend on a low-latency interconnect, and added overhead is unacceptable. Which approach BEST protects confidentiality between groups?

    Show the answer

    Correct answerB. Schedule jobs on exclusive nodes and wipe scratch storage afterward

    AWhy not this: Antivirus consumes compute resources and does not isolate one group's data from another.

    BWhy this is right: Node-level isolation and scratch wiping separate groups without slowing the interconnect.

    CWhy not this: Virtualization and interconnect encryption add overhead that the latency-sensitive jobs cannot tolerate.

    DWhy not this: Inline inspection adds latency to the interconnect and does not separate groups' data.

    Exclusive node allocation by the scheduler and cleansing of local scratch storage separate groups without adding runtime overhead. Virtualization with encrypted traffic and inline inspection add latency that defeats the cluster's purpose.

    Open this question
  50. Question 50

    Security Architecture and Engineering

    An embedded controller accepts firmware updates through a service port, and attackers could load modified firmware. Which controls best ensure that only authentic firmware runs on the device? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Use secure boot anchored in a hardware root of trustD. Verify a digital signature on firmware images before installing them

    AWhy this is right: Secure boot validates each stage from the hardware root of trust, blocking modified firmware.

    BWhy not this: Constrained embedded devices rarely support antivirus, and it does not validate firmware at boot.

    CWhy not this: Segmentation limits network reach but does not check whether firmware is authentic.

    DWhy this is right: Signature verification rejects tampered or unauthorized firmware images at install time.

    Signature checks on updates and secure boot from a hardware root of trust together ensure only vendor-authentic firmware is installed and executed. A separate VLAN limits who can reach the port but does not verify firmware integrity.

    Open this question