FreeExam

Security engineer: Threat Models and Trust Boundaries

Original technical interview scenarios on adversary capabilities, delegated authority, identity and lifecycle binding, parser and execution boundaries, attack-path coverage, information flow, concurrency, and explicitly scoped security claims.

These prompts are original practice. They are not questions from a named employer or a live hiring loop.

  1. 1.A hostile plugin executes inside the host process and can read the same address space. The design limits its documented API methods and claims host-memory confidentiality. What enforcement boundary is missing?

    Show answer and explanation
    1. A caller-side convention that hostile plugin code is free to bypass
    2. Different module/package names inside the same unrestricted address space
    3. Isolation that actually restricts the plugin's access to host memory
    4. A documented rule asking plugin code not to inspect shared memory

    Answer: Isolation that actually restricts the plugin's access to host memory

    A method-level API convention does not confine arbitrary code that retains access to the same memory. Define and enforce an appropriate execution boundary, or explicitly narrow the threat model to trusted plugin code.

  2. 2.Two tenants have different workspace names but can both use a shared administrative socket that controls every workspace. What authority bypasses the claimed tenant boundary?

    Show answer and explanation
    1. The shared socket's cross-workspace control capability
    2. Only tenant name separation, assuming every shared control interface honors it automatically
    3. A rule treating a local socket as tenant-scoped without checking its authority
    4. An assumption that different workspace names constrain the administrative socket's actual capability

    Answer: The shared socket's cross-workspace control capability

    Namespace separation is insufficient when another interface grants broader authority. Include control sockets and their effective access in the model, and constrain the actual administrative capability.

  3. 3.A sandbox can read a secret but cannot modify local files. It can send arbitrary network requests. The security goal is preventing disclosure of the secret. What does the read-only filesystem fail to enforce?

    Show answer and explanation
    1. Restriction of the read-to-network information path
    2. A rule treating network egress as unrelated to confidentiality
    3. A guarantee that no filesystem modification means no information can leave
    4. Only prevention of local file writes

    Answer: Restriction of the read-to-network information path

    Write restrictions do not remove already available reads or outbound channels. Model the actual information paths and enforce the confidentiality boundary, rather than equate local immutability with no disclosure.

  4. 4.A document imported from a customer contains instructions to run a privileged maintenance action. An automation reads documents and can invoke that action. What distinction should its design preserve?

    Show answer and explanation
    1. Use document formatting as proof that its proposed maintenance action is permitted.
    2. Untrusted document content versus authority to choose privileged tool actions
    3. Treat every customer-owned document as an authorized runbook because its uploader has an account.
    4. Give imported instructions the automation's full authority whenever retrieval succeeds.

    Answer: Untrusted document content versus authority to choose privileged tool actions

    Retrieved content is an input, not automatically an instruction source with operational authority. Keep tool decisions within the authorized task/policy and treat document-proposed actions as untrusted data requiring the relevant validation.

  5. 5.A scan approves file object V1. Before consumption, a mutable locator points to different object V2. The consumer checks only that the locator string is unchanged. What binding must the design retain?

    Show answer and explanation
    1. The consumer can infer content identity from the file's extension.
    2. The locator text alone authenticates all future contents.
    3. A scan result applies to every object later stored at that location.
    4. The consumed object/version must be the approved object/version.

    Answer: The consumed object/version must be the approved object/version.

    Authorization or inspection of one version does not cover a substituted version. Bind the decision to stable identity/content and enforce that relationship at use under the actual storage/concurrency contract.

  6. 6.A fictional proxy authorizes raw paths beginning /public/. The backend then normalizes /public/../private to /private. Policy forbids that caller from /private. What interpretation must authorization match?

    Show answer and explanation
    1. A rule changing the log label to public after the private resource is read
    2. The effective resource selected after the defined normalization
    3. Only the original unnormalized prefix
    4. A guarantee that an allowed raw prefix constrains every later resolved path

    Answer: The effective resource selected after the defined normalization

    Access checks must cover the resource actually consumed. Use compatible canonicalization/interpretation across layers so a favorable spelling cannot be authorized as one object and resolved as another.

  7. 7.A request has two target fields. The authorizer uses the first value A; the handler uses the last value B. The caller may access A but not B. What input contract prevents this interpretation gap?

    Show answer and explanation
    1. A rule accepting the request if either target is allowed
    2. A guarantee that authentication makes duplicate fields harmless
    3. One unambiguous target interpretation shared by authorization and execution
    4. A rule checking A while continuing to execute B

    Answer: One unambiguous target interpretation shared by authorization and execution

    Different parsers can evaluate different operations from the same bytes. Reject ambiguous input or enforce one supported interpretation end to end, with the access decision bound to the handler's actual target.

  8. 8.A queue worker runs with service-wide data access. Jobs carry caller-selected tenant IDs, but no verified delegation or caller scope. What should determine each job's permitted tenant actions?

    Show answer and explanation
    1. Authenticated job origin and the authorized delegated scope
    2. Only the tenant label supplied by the caller, without verifying its authority
    3. A rule giving all submitted jobs the worker's full ambient service-wide access
    4. A guarantee that durable queue storage authenticates every job's claimed tenant and delegation

    Answer: Authenticated job origin and the authorized delegated scope

    A trusted worker can become a deputy for untrusted requests. Bind jobs to verified actor/delegation context and authorize their actual action/target rather than inherit service-wide authority from execution location alone.

  9. 9.An alias points to document A when access is checked, then changes to B before retrieval. The caller may read A but not B. What relationship should retrieval enforce?

    Show answer and explanation
    1. A rule applying A's permission result to any later alias target
    2. The authorized resolved object/version and the object actually retrieved
    3. Only the unchanged alias name
    4. A guarantee that alias lookup cannot change between two operations

    Answer: The authorized resolved object/version and the object actually retrieved

    A mutable reference is not a stable authorized object. Use an appropriate atomic/versioned resolution or equivalent enforcement so a later dereference does not escape the access decision's actual scope.

  10. 10.A storage broker may read every project, but users may request exports only for their own project. The broker checks user authentication and then honors any project argument. What authority is missing from its decision?

    Show answer and explanation
    1. A guarantee that authenticated users inherit every broker permission
    2. A rule using the broker's service identity as the requesting user's project scope
    3. The user's permission for the requested export target
    4. Only proof that the broker itself can read the data

    Answer: The user's permission for the requested export target

    Authentication and the broker's ambient capability do not establish the user's requested authority. Enforce the actor/action/resource relationship so the broker does not supply broader access as an unscoped deputy.

  11. 11.A supplied delegation rule allows only the intersection of parent and requested actions. Parent permits {read,write}; requested actions are {read,delete}. What effective action set follows?

    Show answer and explanation
    1. {read}
    2. {delete}
    3. {write}
    4. {read,write,delete}

    Answer: {read}

    Only read belongs to both sets. This applies the stated attenuation rule; authenticating a request for delete does not make that action part of the parent's delegated authority.

  12. 12.A parent capability is restricted to project A. The delegation contract forbids widening resource scope. Its child names all projects but keeps only the parent's read action. What condition fails?

    Show answer and explanation
    1. Only whether the child retains one action also present in the parent
    2. Resource-scope attenuation, despite a narrow action list
    3. A rule allowing unlimited target widening whenever the action list becomes shorter
    4. A rule letting any authenticated child statement supersede the parent's resource constraints

    Answer: Resource-scope attenuation, despite a narrow action list

    Authority has multiple dimensions. Narrowing actions does not compensate for broadening targets when the contract requires every child scope to remain within its parent.

  13. 13.A fictional policy uses explicit-deny override. A user has an allow-write role and is subject to a resource-specific deny-write rule. What is the decision for that write?

    Show answer and explanation
    1. Deny
    2. Allow because any role grant overrides deny
    3. Choose the rule with the shorter name
    4. Allow if the user has more than one role

    Answer: Deny

    The supplied evaluation rule gives the explicit denial precedence. This is a stated policy model, not a claim that all authorization engines use identical precedence semantics.

  14. 14.An action requires owner=true AND consent=true AND blocked=false. For a caller, owner=true, consent=false, blocked=false. Which missing precondition prevents a grant?

    Show answer and explanation
    1. Consent
    2. Absence of a block
    3. None; any two terms are sufficient.
    4. Ownership

    Answer: Consent

    All three required terms must hold. Ownership and absence of a block are present, but consent is false. Evaluate the complete rule rather than replace its conjunction with a majority vote.

  15. 15.Under a supplied deny-override policy, adding role suspended introduces an explicit denial of an action the user previously had. Can adding a role reduce that user's effective access?

    Show answer and explanation
    1. Yes; adding any role must remove all permissions.
    2. Yes, under this nonmonotone policy.
    3. No; explicit denial is ignored when a role is newly added.
    4. No; roles can only add effective access under every policy.

    Answer: Yes, under this nonmonotone policy.

    Permission composition depends on the declared evaluation semantics. This added role introduces a denial with precedence, so the effective permitted set can shrink; do not assume every role system is union-only.

  16. 16.A fictional role hierarchy gives Manager all Engineer permissions; Engineer includes Reader permissions. Reader allows view, Engineer adds edit, and Manager adds approve. With no other rules, what actions does Manager have?

    Show answer and explanation
    1. {approve}
    2. {view}
    3. {edit,approve}
    4. {view,edit,approve}

    Answer: {view,edit,approve}

    The supplied inheritance is transitive: Manager receives Engineer's edit and inherited view, plus approve. This result depends on the stated union/inheritance semantics and absence of additional constraints.

  17. 17.A rule requires two distinct people to review a change. One person controls two accounts and submits one approval from each. What identity constraint is not met?

    Show answer and explanation
    1. Two valid approval receipts without evaluating whether their principals satisfy the required independence
    2. Two distinct underlying reviewers
    3. Two authenticated sessions, even when they identify the same underlying reviewer
    4. Two distinct account strings, assuming they always denote independent people

    Answer: Two distinct underlying reviewers

    Count the identity domain the policy actually requires. Separate credentials or aliases do not establish independent people; define and enforce the appropriate reviewer identity and conflict rules.

  18. 18.A change author also has a reviewer role. The workflow forbids self-approval of that change. What must the decision evaluate beyond role membership?

    Show answer and explanation
    1. The actor's relationship to this specific change
    2. A guarantee that holding two roles removes all separation-of-duty constraints
    3. Only the presence of any reviewer grant
    4. A rule permitting self-approval whenever the actor uses another session

    Answer: The actor's relationship to this specific change

    Role membership can be necessary without being sufficient. Enforce the contextual author/reviewer relationship for the actual operation, including the relevant stable actor/delegation identity.

  19. 19.A supplied approval gate needs two distinct authorized principals from {A,B,C}. Valid approval receipts identify A,A. What required approval evidence is missing?

    Show answer and explanation
    1. A third duplicate receipt from A
    2. Proof that A's first receipt was invalid
    3. A second distinct authorized principal
    4. A guarantee that two valid signatures always imply two distinct principals

    Answer: A second distinct authorized principal

    Receipt count and distinct-principal count differ. Both receipts may authenticate A while failing the threshold's independence requirement; validate identity, scope, and distinctness under the gate's actual contract.

  20. 20.A queued deletion was allowed at submission. Before execution, its requester loses access. The stated policy requires current permission at the effect boundary. What should the worker check?

    Show answer and explanation
    1. A rule granting queued work indefinite authority regardless of the stated effect-time policy
    2. A rule using the worker's ambient privilege as the requester's current target permission
    3. Current authority for that exact action and target before the effect
    4. Only the earlier submission-time grant, assuming it lasts through any later policy change

    Answer: Current authority for that exact action and target before the effect

    The authorization time is part of the operation contract. Preserve origin/context and enforce the required current-state check rather than apply a historical decision outside its allowed lifetime.

  21. 21.A policy cache may reuse an allow decision for five minutes after refresh, and revocations do not invalidate it early. A report promises instantaneous revocation everywhere. What bound contradicts that claim?

    Show answer and explanation
    1. The cache guarantees no stale decisions.
    2. A previously cached allow may remain usable during its residual cache lifetime.
    3. Every revocation must take exactly five minutes.
    4. A guarantee that changing policy retroactively erases already delivered decisions.

    Answer: A previously cached allow may remain usable during its residual cache lifetime.

    The supplied cache contract permits a revocation-propagation delay. State and verify the actual freshness/invalidation guarantees; do not promise immediate effect from a policy write when consumers may reuse older grants.

  22. 22.A signed permission record is intact, but policy also requires the requester to remain the resource owner. Ownership changes after issuance. What current context can the signature alone not establish?

    Show answer and explanation
    1. That issuance and current policy evaluation can occur at different times
    2. That the signed bytes remain intact under the verification model
    3. That the requester is still the required owner
    4. That ownership is an additional stated condition

    Answer: That the requester is still the required owner

    A valid historical statement does not automatically observe later mutable facts. Enforce the required current ownership relationship or use an explicitly justified version/lifetime contract.

  23. 23.A supplied access protocol requires both a valid token and proof of the token-bound private key. An adversary obtains only the token, with no key or usable proof. What requirement blocks this token-only use?

    Show answer and explanation
    1. Only possession of the token string
    2. A guarantee that every valid token is usable by anyone who can copy it under this protocol
    3. The bound-key possession proof
    4. A rule ignoring the key binding after token validation

    Answer: The bound-key possession proof

    Under the stated protocol and uncompromised-key assumptions, the token alone is insufficient. This is a scoped possession binding, not proof that an authorized client or its device cannot be compromised.

  24. 24.A download link grants access solely by possession. The intended design requires access only by one named recipient. Forwarding the link preserves its usability. What extra binding is absent?

    Show answer and explanation
    1. Only making the reusable link unpredictable while retaining pure possession-based access
    2. A required verified recipient/possession constraint beyond the reusable link
    3. A rule classifying every later presenter as the originally intended recipient
    4. An assumption that a hard-to-guess link cannot be intentionally forwarded

    Answer: A required verified recipient/possession constraint beyond the reusable link

    Unpredictability can limit guessing while leaving forwarding possible. Model who can present the capability and enforce the intended recipient/use constraints rather than assume a secret locator is automatically nontransferable.

  25. 25.A service permits five actions per minute per credential. One account can obtain three independent credentials, all counted separately. What maximum do those three local limits allow that account in one minute?

    Show answer and explanation
    1. 3 actions
    2. 8 actions
    3. 5 actions
    4. 15 actions

    Answer: 15 actions

    Three credential buckets each allow five, giving fifteen. If the intended limit is per account or another actor domain, credential-local counters do not enforce it without appropriate shared identity/accounting.

  26. 26.A confidentiality policy allows at most ten MiB of export per project in a window. Three workers each independently permit seven MiB for that project. What combined amount can pass their local limits?

    Show answer and explanation
    1. 7 MiB, because local limits automatically share state
    2. 10 MiB exactly
    3. 3 MiB
    4. 21 MiB, exceeding the project limit

    Answer: 21 MiB, exceeding the project limit

    The independent allowances add to 3×7=21 MiB. Enforce the actual shared project budget under concurrency; three locally valid decisions do not establish the global ten-MiB invariant.

  27. 27.A caller may access folder A and file B independently, but B is not a child of A. An operation must act only on files within its selected folder. What additional relationship must it validate?

    Show answer and explanation
    1. Only separate object visibility, treating any visible folder/file pair as a valid operation
    2. A rule deriving the relationship from display-name prefixes without checking the actual object relationship
    3. A rule inferring parenthood whenever both objects belong to some accessible area
    4. That the selected file belongs to the authorized operation's folder

    Answer: That the selected file belongs to the authorized operation's folder

    Object-level grants do not establish every relation between objects. Enforce the operation's actual parent/child, tenant, or other scope constraints for the selected tuple.

  28. 28.A supplied authorization contract permits an operation only after a definitive grant. Its policy service times out and returns unknown. What result satisfies that contract?

    Show answer and explanation
    1. Assume the caller's previous unrelated grant covers this target.
    2. Allow because no explicit denial arrived.
    3. Do not treat unknown as a grant.
    4. Replace the policy result with the handler's desired outcome.

    Answer: Do not treat unknown as a grant.

    Follow the stated decision contract and supported failure procedure. Unknown is not an affirmative grant; this does not prescribe one universal availability policy for all systems.

  29. 29.A payload is signed but not encrypted. The threat model includes an observer who can read the payload bytes. Which confidentiality claim is unsupported?

    Show answer and explanation
    1. That the signature hides the payload's contents
    2. That the observer can read the supplied plaintext representation
    3. That a signature can authenticate its covered message under suitable assumptions
    4. That integrity and secrecy are different properties

    Answer: That the signature hides the payload's contents

    Signing and encryption have different purposes and assumptions. Do not assign secrecy to an integrity/authenticity mechanism that leaves the message in plaintext.

  30. 30.A storage service encrypts disks, but an authorized application returns plaintext records to a caller outside the permitted tenant scope. Which boundary has disk encryption not enforced?

    Show answer and explanation
    1. Only offline ciphertext protection, without checking which records the application returns
    2. A guarantee that storage encryption prevents every tenant-crossing plaintext API response
    3. A rule giving every authenticated application caller access to all records the application can decrypt
    4. The application's data-access authorization

    Answer: The application's data-access authorization

    Encryption at rest does not replace application authorization. Model the actual decryption/use path and enforce the intended actor/tenant/resource relationship when data is returned.

  31. 31.A production dataset is copied to a support environment whose staff can read every restored record. The model excludes those staff from production-record access. What flow crosses the intended boundary?

    Show answer and explanation
    1. An assumption that copying records into an environment named support removes their sensitivity
    2. Only whether the original production API still enforces its old permissions
    3. The restored copy grants an excluded group access to the protected data.
    4. A rule excluding restored copies from the protected data-flow inventory

    Answer: The restored copy grants an excluded group access to the protected data.

    Data retains relevant protection needs across copies and transformations. Model the destination's actual access and purpose rather than assume a new environment label preserves production confidentiality.

  32. 32.A supplied data-removal contract covers the primary record and all retained readable replicas. Only the primary row is removed; a readable replica remains. What claim fails?

    Show answer and explanation
    1. That deletion scope includes more than one store
    2. That the primary deletion occurred
    3. That the replica can still contain a copy
    4. Completion of the stated removal scope

    Answer: Completion of the stated removal scope

    A local deletion can succeed without satisfying a broader lifecycle requirement. Inventory and verify the actual retained-copy scope defined by the contract rather than report one successful operation as complete removal.

  33. 33.A key is destroyed, but an earlier export still contains readable plaintext. The goal is making every retained copy unreadable. What does key destruction alone not accomplish?

    Show answer and explanation
    1. The loss of access that actually depended only on the destroyed key
    2. That a readable copy remains in the supplied scenario
    3. Removal or unreadability of that plaintext export
    4. That plaintext and ciphertext copies have different recovery dependencies

    Answer: Removal or unreadability of that plaintext export

    Cryptographic key lifecycle affects material that depends on that key. It does not retroactively protect independent plaintext copies; assess the actual data lifecycle and remaining access paths.

  34. 34.A search index stores a document's old access list. The source revokes a user, but search results return indexed full text without a current check. What decision dependency must be reconciled?

    Show answer and explanation
    1. A guarantee that an access grant copied into an index remains valid forever
    2. Only source-document existence, ignoring the index's copied permission state
    3. A rule treating an indexed hit as authority to return every stored field to any requester
    4. Current source authority versus the index's stale permission snapshot

    Answer: Current source authority versus the index's stale permission snapshot

    Derived stores can carry stale authorization context. Enforce the required freshness/version policy for the returned data, rather than assume source revocation instantly changes every independently stored copy.

  35. 35.An analytics artifact was trained from sensitive source records. The source rows are deleted, but no assessment was made of what information the retained artifact may encode. What broader deletion claim is unproven?

    Show answer and explanation
    1. That an artifact can outlive its training input rows
    2. That source deletion and derived-artifact analysis have different scopes
    3. That the source rows were removed
    4. That all information derived into the artifact has disappeared

    Answer: That all information derived into the artifact has disappeared

    Deleting source records does not by itself characterize a retained model or other derived object. Evaluate the actual information/lifecycle requirement and evidence instead of assuming source removal proves every derived representation is clear.

  36. 36.A workspace checker validates a link while it points inside the workspace. Another actor can retarget it outside before file use. What filesystem boundary must access enforce?

    Show answer and explanation
    1. A rule allowing every dereference because the link name begins with the workspace path
    2. Only the link's original text
    3. The actual resolved object under a suitable safe resolution/use contract
    4. A guarantee that one successful path check freezes all later link targets

    Answer: The actual resolved object under a suitable safe resolution/use contract

    Mutable filesystem references can change the consumed object. Use appropriate constrained resolution and stable handles/versions under the platform contract rather than apply a prior path decision to a different referent.

  37. 37.A gateway authenticates network peers, but every authenticated peer can invoke administrative operations on every resource. The policy restricts most peers to ordinary reads. What layer is missing?

    Show answer and explanation
    1. A guarantee that authenticated peer identity implies every administrative permission
    2. Only another peer-authentication check without evaluating permitted actions
    3. A rule granting all internal peers administrator authority regardless of the stated read-only policy
    4. Action/resource authorization after peer authentication

    Answer: Action/resource authorization after peer authentication

    Knowing the peer identity does not establish permission for every action. Evaluate effective authority at the relevant operation boundary under the resource policy.

  38. 38.A model has paths U→P→S and U→L→S. A control blocks only U→P. No other edges change. Is S unreachable from U in this model?

    Show answer and explanation
    1. Yes; blocking any one edge disconnects all graphs.
    2. Yes; every path goes through P.
    3. No; blocking an edge creates a new direct U→S edge.
    4. No; U→L→S remains.

    Answer: No; U→L→S remains.

    The alternate path through L survives. Analyze the complete modeled reachability relevant to the asset; controlling one gateway does not establish that every path crosses it.

  39. 39.Paths are U→A→S and U→B→C→S. Only intermediate nodes may be disabled. Which listed set disconnects every modeled path?

    Show answer and explanation
    1. {A,C}
    2. {B,C}
    3. {C}
    4. {A}

    Answer: {A,C}

    A cuts the first path and C cuts the second. B and C together affect only the second path; A alone or C alone leaves the other route. This is a graph-model conclusion, not proof the real system has no unmodeled path.

  40. 40.A supplied threat tree reaches the target by (credential AND network path) OR readable backup. A control removes only the readable-backup branch. Both other prerequisites remain. What result follows?

    Show answer and explanation
    1. The credential-plus-network branch still reaches the target.
    2. The control automatically removes every credential.
    3. The target becomes impossible because one OR branch was removed.
    4. Only the credential is now sufficient without the network prerequisite.

    Answer: The credential-plus-network branch still reaches the target.

    Required and alternative conditions have different composition. Removing one alternative does not remove another complete branch; reassess the actual remaining prerequisites and paths.

  41. 41.Two prerequisites each have probability 0.2 and 0.3 in a supplied model. Their dependence is unspecified. What are the tight possible bounds for both occurring together?

    Show answer and explanation
    1. 0.2 to 0.3
    2. Exactly 0.06
    3. 0 to 0.2
    4. Exactly 0.5

    Answer: 0 to 0.2

    The intersection cannot exceed the smaller marginal 0.2, and its lower bound is max(0,0.2+0.3−1)=0. Multiplying to 0.06 would require an appropriate independence assumption not supplied here.

  42. 42.Two independent modeled attack routes succeed with probabilities 0.1 and 0.2. Either suffices for the target. What is the modeled probability at least one succeeds?

    Show answer and explanation
    1. 0.20
    2. 0.28
    3. 0.30
    4. 0.02

    Answer: 0.28

    Both fail with probability 0.9×0.8=0.72. The complement is 0.28. The model explicitly assumes independence; this calculation does not establish that real routes are independent or have measured probabilities.

  43. 43.A team labels likelihood low=1,medium=2,high=3 as ordinal categories, then calls high exactly three times as probable as low. What calibration is missing?

    Show answer and explanation
    1. Only replacing category labels with larger integer codes
    2. A rule interpreting every convenience category number as a measured event frequency
    3. A justified numeric probability relationship beyond category order
    4. A guarantee that ordinal ordering supplies calibrated probability ratios

    Answer: A justified numeric probability relationship beyond category order

    An ordering does not define equal intervals or ratios. Use an appropriate calibrated model/evidence for quantitative probability claims rather than infer them from convenient category numbers.

  44. 44.Three attack paths p,q,r must all be blocked. Control X blocks {p,q}, Y blocks {q,r}; each costs two units. Budget is two, and no other control exists. What is feasible?

    Show answer and explanation
    1. X alone blocks all three.
    2. Choosing both costs two under the supplied prices.
    3. Neither available single-control choice blocks all three paths.
    4. Y alone blocks all three.

    Answer: Neither available single-control choice blocks all three paths.

    X leaves r and Y leaves p. Both would cover all three but cost four, beyond the budget. State the unresolved constraint rather than report one locally useful control as a complete feasible solution.

  45. 45.Two checks use different code but both accept identity assertions from one compromised issuer. A report assumes issuer compromise must defeat the checks independently. What shared dependency needs modeling?

    Show answer and explanation
    1. Only the use of different service names and implementations
    2. A guarantee that separate codebases imply independent trust roots
    3. A rule multiplying marginal gate-failure probabilities without evaluating their common issuer
    4. The common authority behind both checks

    Answer: The common authority behind both checks

    Implementation diversity does not remove a shared trust dependency. Evaluate common-mode authority and actual conditional assumptions before assigning independent risk reductions.

  46. 46.A model originally has no direct storage access from clients. A new feature issues client-usable storage credentials. What should the security review update?

    Show answer and explanation
    1. The new authority/data path and its enforced scope/lifetime
    2. An assumption that all earlier access paths remain the only paths after direct credentials are issued
    3. A rule excluding the new client capability because its target already existed
    4. Only keeping the old gateway diagram unchanged because no new storage component was added

    Answer: The new authority/data path and its enforced scope/lifetime

    New capabilities can alter the effective graph even when components are unchanged. Model who can now reach or act on what, under which credentials and constraints, then validate the intended protections.

  47. 47.A principal cannot read secret S directly but can launch job J, which reads S and returns it to that principal without another check. What effective capability does the composition provide?

    Show answer and explanation
    1. A guarantee that job invocation cannot disclose data
    2. An indirect read path to S through J
    3. Only permission to observe J's existence, regardless of its output
    4. Proof that S is protected because direct reads are denied

    Answer: An indirect read path to S through J

    Effective authority includes composed actions and data flow. Analyze what a permitted job can return under the caller's context instead of evaluating only the direct secret-read endpoint.

  48. 48.A service fetches authorization policy from a caller-selected URL and treats any returned allow as authoritative. What source-of-authority condition must be enforced?

    Show answer and explanation
    1. A guarantee that every policy-shaped response is authoritative.
    2. A rule that the caller may choose which server grants its own permission.
    3. Policy comes from the intended trusted authority under the required integrity/context binding.
    4. Only that the URL returns HTTP 200.

    Answer: Policy comes from the intended trusted authority under the required integrity/context binding.

    A decision's authority depends on where and how policy is established, not merely its format. Keep policy source selection and trust rooted in the intended control plane rather than in the request being authorized.

  49. 49.A host resolves to an allowed address during validation but to a forbidden address when the actual connection is made. The caller can influence that resolution. What boundary must egress enforcement cover?

    Show answer and explanation
    1. Only the host string seen before resolution
    2. A rule treating any once-allowed lookup as permission for all future destinations
    3. A guarantee that two resolutions always produce the same address
    4. The actual connected destination and relevant resolution/redirect behavior

    Answer: The actual connected destination and relevant resolution/redirect behavior

    Validate/enforce the actual network target under an appropriate connection contract. A name-level precheck can become stale or disagree with later resolution; the policy must apply to the destination actually reached.

  50. 50.Two containers have separate names, but both mount the same writable directory used to load the privileged service's executable configuration. What cross-boundary authority needs assessment?

    Show answer and explanation
    1. A rule classifying any configuration consumed by a privileged process as trusted regardless of its writers
    2. The ability to change executable configuration through the shared mount
    3. Only separate container hostnames, ignoring a shared writable configuration path
    4. An assumption that namespace labels make every mounted object private

    Answer: The ability to change executable configuration through the shared mount

    Include shared storage and configuration ingestion in the authority graph. A write into trusted executable configuration can be a stronger capability than the writer's ordinary API permissions suggest.

  51. 51.A service encrypts stored files, but the decryption key and plaintext reside in a process an included hostile host administrator can inspect. What assumption must its confidentiality claim address?

    Show answer and explanation
    1. Only the offline ciphertext guarantee, without considering live key/plaintext access
    2. The administrator's actual access to the live decryption boundary
    3. A rule silently removing the included administrator from the adversary model
    4. A guarantee that disk encryption excludes all host administrators from process memory

    Answer: The administrator's actual access to the live decryption boundary

    Protection depends on the actual adversary capabilities and trusted computing boundary. Do not extend an offline-storage guarantee to a principal that can inspect live plaintext/key state under the supplied model.

  52. 52.Tenant ciphertexts A and B use key K1; tenant C uses independent K2. An adversary obtains K1 but no other authority or key. Under the supplied encryption model, which tenant ciphertexts fall within that key's decryption scope?

    Show answer and explanation
    1. A,B,C
    2. Only C
    3. A and B
    4. Only A

    Answer: A and B

    The key partition determines this modeled blast radius. K1 covers A and B but not C's independently keyed ciphertext. This assumes the stated encryption/key separation and says nothing about unmodeled plaintext copies or other access paths.

  53. 53.Tenants cannot read each other's data, but one tenant can exhaust the shared worker pool indefinitely. The claim is that confidentiality isolation proves availability isolation. What property is missing?

    Show answer and explanation
    1. A rule treating all isolation properties as equivalent to inability to read another tenant's records
    2. Resource availability/fairness constraints for the shared pool
    3. A guarantee that data confidentiality implies independently reserved execution capacity
    4. Only duplicating the existing read-permission check without constraining pool consumption

    Answer: Resource availability/fairness constraints for the shared pool

    Different isolation goals require different evidence. Access restrictions may protect data while shared resource consumption still affects another tenant's service availability.

  54. 54.A protocol description says the processing server is excluded from learning message plaintext, yet that server receives the message's decryption key and decrypts it for processing. What inconsistency should the model resolve?

    Show answer and explanation
    1. An assumption that an end-to-end label removes the processing server's actual key access
    2. A rule excluding a decrypting server from plaintext readers without an enforcement argument
    3. Only the encryption feature's marketing label, regardless of who receives the key
    4. Whether the server is actually inside the plaintext trust boundary

    Answer: Whether the server is actually inside the plaintext trust boundary

    Identify actual key/plaintext holders and required computation. A confidentiality claim excluding a server conflicts with a design that grants that server the needed decryption material under the supplied execution model.

  55. 55.Message contents are encrypted, but a passive observer sees source, destination, and timing. The protected goal includes hiding which two parties communicate. What information remains outside content encryption's stated protection?

    Show answer and explanation
    1. The visible communication metadata
    2. A guarantee that encrypted contents hide every network endpoint
    3. Only the already encrypted message body
    4. A rule equating payload secrecy with relationship secrecy

    Answer: The visible communication metadata

    Model the actual observable channels and goal. Content encryption can leave routing/timing metadata visible; protecting communication relationships needs an appropriate additional design and assumptions.

  56. 56.A webhook has a valid producer signature but names a test environment. The consumer policy accepts only production events for the mutation. What context must it enforce?

    Show answer and explanation
    1. A guarantee that all signed environments are interchangeable
    2. The expected environment/purpose binding
    3. A rule rewriting the test label to production after verification
    4. Only that some producer signature verifies

    Answer: The expected environment/purpose binding

    An authentic event can still describe an unauthorized context. Verify the required environment, purpose, target, and relevant freshness/replay conditions rather than infer them from signature validity alone.

  57. 57.A callback broker attaches its privileged internal credential to every customer-selected destination. The customer is not authorized to receive that credential. What authority flow needs redesign?

    Show answer and explanation
    1. Only successful callback delivery, without checking the recipient of attached authority
    2. A rule treating every destination selected through an internal broker as an internal authorized recipient
    3. Credential forwarding to an untrusted recipient
    4. A guarantee that outbound headers cannot disclose the credential they carry

    Answer: Credential forwarding to an untrusted recipient

    A deputy can leak ambient authority through its request construction. Bind credentials to their intended destinations/purposes and prevent caller-selected recipients from receiving unrelated privileged material.

  58. 58.An offline download capability is valid for one hour and checks no current policy. The design promises revocation immediately after a source access-list change. What missing enforcement assumption must be addressed?

    Show answer and explanation
    1. Only unpredictability of the unexpired capability, ignoring its offline acceptance rules
    2. How current revocation reaches a verifier that otherwise accepts the unexpired offline capability
    3. A guarantee that a source access-list write changes every already-issued capability
    4. A rule describing a one-hour unchecked validity interval as immediate revocation

    Answer: How current revocation reaches a verifier that otherwise accepts the unexpired offline capability

    Offline validity and immediate revocation are different contracts. Provide a justified online/invalidation or other enforcement mechanism, or state the actual bounded lifetime instead of promising an unavailable freshness guarantee.

  59. 59.A toy encrypted response has observable length ten bytes when secret bit b=0 and eleven when b=1. No noise or other cases exist. What can an observer infer from length eleven?

    Show answer and explanation
    1. b=0
    2. Nothing about b
    3. The secret's entire arbitrary message content
    4. b=1

    Answer: b=1

    The supplied deterministic mapping exposes this one bit through length even though content bytes are encrypted. Model relevant observations; the result does not claim that length reveals every field of a real encrypted message.

  60. 60.A supplied deterministic, reversible encryption mapping uses one fixed key. An observer sees two equal ciphertexts produced by this mapping. What relationship is exposed under this model?

    Show answer and explanation
    1. A guarantee that all other encrypted records are equal too
    2. Their complete plaintext value without other information
    3. The decryption key itself
    4. Equality of the corresponding plaintexts under an injective encryption mapping

    Answer: Equality of the corresponding plaintexts under an injective encryption mapping

    Correct reversible encryption is injective for the relevant fixed-key mapping. Deterministic equality can reveal a relationship without revealing the actual value; randomized schemes and their assumptions need a different analysis.

  61. 61.In a toy service, public responses are identical, but processing takes exactly two units for secret bit zero and five for bit one. The observer measures noiseless elapsed time. What confidentiality channel remains?

    Show answer and explanation
    1. Secret-dependent timing
    2. A rule that transport encryption hides all processing duration
    3. Only plaintext response text
    4. A guarantee that identical response bodies imply identical observations

    Answer: Secret-dependent timing

    Confidentiality concerns the relevant observable behavior, not just response content. The supplied noiseless timing mapping distinguishes the secret bit; real timing claims need their own noise and measurement assumptions.

  62. 62.A private aggregate interface returns total score eleven for three records, then subtotal nine for two of those records. The caller knows those sets differ only by one protected record. What score can the caller infer for that record?

    Show answer and explanation
    1. 11
    2. No value is inferable from the supplied exact outputs.
    3. 9
    4. 2

    Answer: 2

    Subtracting the two exact aggregates yields 11−9=2. Hiding row-level responses does not by itself eliminate inference through related aggregate queries; define the intended privacy and query-composition model.

  63. 63.An importer limits compressed input bytes, but accepted inputs can expand far beyond the worker's memory budget. What resource boundary needs an additional limit?

    Show answer and explanation
    1. Actual decompressed/intermediate work and storage
    2. An assumption that a small accepted compressed file always needs little decoding memory
    3. Only the compressed byte count, assuming it bounds every expanded representation
    4. A rule limiting wire bytes while leaving decoded output and intermediate work unlimited

    Answer: Actual decompressed/intermediate work and storage

    Resource use can grow across transformations. Enforce appropriate output, depth, work, and intermediate-resource limits under the actual decoder/processor contract rather than infer them solely from wire size.

  64. 64.A supplied recursive task at depth d visits one node, then two child tasks at depth d−1; depth zero visits one node. How many nodes does depth four visit?

    Show answer and explanation
    1. 31
    2. 15
    3. 8
    4. 16

    Answer: 31

    The recurrence is T(0)=1 and T(d)=1+2T(d−1). Counts are 1,3,7,15,31. This illustrates why a depth parameter and total work are different resource quantities under the stated model.

  65. 65.A worker's peak holds eight MiB input, forty MiB decoded output, and twenty MiB temporary data simultaneously. Its memory budget is sixty-four MiB. What requirement follows from this supplied model?

    Show answer and explanation
    1. The peak is twenty-eight MiB after subtracting temporary storage.
    2. Every buffer is below the budget, so the combined peak fits.
    3. Only the forty-MiB final output counts.
    4. The 68 MiB peak exceeds the budget by four MiB.

    Answer: The 68 MiB peak exceeds the budget by four MiB.

    Simultaneously live allocations add: 8+40+20=68. Bound actual peak use or change the processing design; independent per-buffer checks do not establish a total-memory invariant.

  66. 66.A limiter allows ten actions in each fixed minute bucket. Ten occur at second 59.5 and ten at 60.5, in different buckets. What count is permitted within the two-second interval [59,61]?

    Show answer and explanation
    1. 10
    2. 20
    3. 0
    4. 1

    Answer: 20

    Each bucket permits its ten, so the short interval across the boundary contains twenty. A fixed-window contract does not automatically enforce the same maximum over every rolling interval.

  67. 67.A supplied token bucket starts full at ten tokens, refills two tokens/second up to capacity ten, and charges one token per action. With immediate consumption allowed, what is the maximum actions over seconds zero through five inclusive?

    Show answer and explanation
    1. 20
    2. 12
    3. 10
    4. 30

    Answer: 20

    The initial ten plus ten replenished tokens permit twenty actions if consumed as tokens become available. Capacity limits stored tokens, while refill adds future allowance; the result uses this exact supplied time/count model.

  68. 68.A one-use action checks unused=true, performs its effect, then marks used. Two requests both pass the check before either marks used. What invariant must enforcement make atomic or equivalently protect?

    Show answer and explanation
    1. The one-use authorization/effect relationship under concurrency
    2. A rule treating one final used marker as evidence that exactly one effect occurred
    3. Only setting a used flag after both concurrent effects finish
    4. A guarantee that independently checking the same unused permit prevents both requests from passing

    Answer: The one-use authorization/effect relationship under concurrency

    A check-then-act sequence can admit multiple effects. Use the resource's supported atomic/idempotent protocol or equivalent coordination for the actual one-use invariant, not only a final marker.

  69. 69.A worker permanently consumes a one-use permit, then crashes before its privileged action occurs. Retry is refused because the permit is consumed. What property is not established by that order alone?

    Show answer and explanation
    1. That preventing repeated admission and ensuring completion are different goals
    2. That the permit became unusable for retry
    3. Completion of the intended action exactly once
    4. That the crash occurred before the supplied action

    Answer: Completion of the intended action exactly once

    One-use admission and reliable effect completion need a coherent protocol. An early marker can prevent duplicates while losing the action; do not claim exactly-once completion from marker order alone.

  70. 70.A batch contract requires every target authorized or no effects. Nine of ten selected targets are allowed; one is forbidden. What result follows under this contract?

    Show answer and explanation
    1. Reject the batch without applying its effects.
    2. Apply all ten because most targets are allowed.
    3. Apply nine but report the original all-or-none contract satisfied.
    4. Check only the first target and ignore the rest.

    Answer: Reject the batch without applying its effects.

    The stated rule is a conjunction over the full target set with an all-or-none effect condition. A partial-success policy would be different and must not be substituted silently.

  71. 71.A project may consume at most five units. Its usage is four. Two concurrent one-unit requests each separately check four<five before either updates usage. What invalid final count can result?

    Show answer and explanation
    1. 2
    2. 5
    3. 6
    4. 4

    Answer: 6

    Both may pass the stale check and add one, yielding six. Enforce the shared quota with an appropriate atomic reservation/update or supported coordination; individually valid reads do not establish a concurrent invariant.

  72. 72.A query returns only the caller's authorized rows, but its totalCount metadata counts all tenants' rows. The policy also hides other tenants' record counts. What response boundary remains to enforce?

    Show answer and explanation
    1. A guarantee that counts and pagination metadata cannot disclose another tenant's state
    2. Authorization/privacy scope of the metadata as well as row contents
    3. A rule treating a filtered record list as proof that all response metadata shares the same scope
    4. Only filtering row bodies, assuming every surrounding response field is information-free

    Answer: Authorization/privacy scope of the metadata as well as row contents

    Response metadata can carry information beyond the visible records. Apply the intended scope to counts, pagination, and other observable fields instead of reviewing only row filtering.

  73. 73.The system must conceal whether another tenant's object exists. Forbidden existing IDs return one distinct error; absent IDs return another. What observation can violate that goal?

    Show answer and explanation
    1. Only successful document bodies
    2. The distinguishable existence-dependent error response
    3. A guarantee that all errors are information-free
    4. A rule hiding response text while leaving every other distinguishing channel unexamined

    Answer: The distinguishable existence-dependent error response

    Errors, status, timing, and other observable behavior can reveal protected state. Evaluate the actual goal and response contract rather than assume refusal alone eliminates an existence channel.

  74. 74.Ordinary clients cannot call a protected data action, but can modify the policy that authorizes it. The threat model covers only the data endpoint. What authority path is omitted?

    Show answer and explanation
    1. The policy-management control plane
    2. Only the protected action's network transport, ignoring mutation of its authorization policy
    3. An assumption that a denied direct action means no ability to grant that action indirectly
    4. A rule excluding policy-management endpoints from the authority graph

    Answer: The policy-management control plane

    Authority over enforcement configuration can change later effective access. Include policy, identity, and other control-plane mutation paths in the model rather than examine only protected data operations.

  75. 75.A resource is readable when its trusted classification says public. An untrusted caller can edit that same classification field without restriction. What input-authority problem arises?

    Show answer and explanation
    1. The caller can change a fact that the access decision treats as authoritative.
    2. The field's boolean type guarantees that its truth was established by a trusted authority.
    3. Read decisions and classification-writing authority can be assessed as unrelated capabilities.
    4. The field's name establishes its integrity regardless of who may write it.

    Answer: The caller can change a fact that the access decision treats as authoritative.

    A policy depends on the integrity of its decision inputs. Protect or validate who can set those facts; separate read-access evaluation from authority to change the attributes that govern it.

  76. 76.Normal login requires two independent factors, but recovery can replace both using one weaker mailbox proof. The assurance claim includes recovery. What path must the model evaluate?

    Show answer and explanation
    1. A rule excluding account-reset authority while still claiming protection against every account-takeover path
    2. An assumption that a strong primary login forces all recovery paths to have equal assurance
    3. Only the stronger normal-login path, ignoring credential replacement through recovery
    4. The recovery route's effective identity-reset authority

    Answer: The recovery route's effective identity-reset authority

    An authentication assurance claim must cover the routes that establish or replace credentials. Evaluate the actual recovery prerequisites and resulting authority rather than infer whole-account security from one stronger path.

  77. 77.A reviewer approves reading resource R. The execution request has the same friendly title but changes the action to delete and the target to S. What must approval be bound to?

    Show answer and explanation
    1. The actual approved action, target, and relevant context
    2. Only the friendly request title
    3. A rule letting the executor reinterpret approval for any later request
    4. A guarantee that matching labels identify identical operations

    Answer: The actual approved action, target, and relevant context

    Approval scope is an operation/context relationship. Preserve it through execution and verify the actual selected tuple rather than let a mutable description stand in for reviewed intent.

  78. 78.A publication state machine allows Draft→Reviewed→Published only, and requires a review before publication. A second endpoint permits Draft→Published directly. What lifecycle property is missing?

    Show answer and explanation
    1. Enforcement of the required transition on every publication path
    2. Only a Reviewed label in the user interface
    3. A rule treating publication as reviewed merely because it succeeded
    4. A guarantee that one correct endpoint constrains every other handler

    Answer: Enforcement of the required transition on every publication path

    State invariants must hold across all effects that can change the state. Model alternate endpoints and enforce the required transition at the relevant shared boundary instead of trusting one interface's path.

  79. 79.A recipient was authorized to download plaintext yesterday. Access is revoked today, but the recipient retained that plaintext. What can source-side revocation alone not prove?

    Show answer and explanation
    1. That a retained readable copy exists in this scenario
    2. That delivery and future access have different lifecycle boundaries
    3. That new source requests can be denied under the policy
    4. That the recipient's previously delivered plaintext is now unreadable

    Answer: That the recipient's previously delivered plaintext is now unreadable

    Restricting future source access does not undo knowledge or independently retained plaintext. State the actual revocation/lifecycle guarantee and required handling of recipient copies rather than promise retroactive secrecy.

  80. 80.Two previously separated datasets are exported with the same stable person identifier, enabling recipients to join them. The model protects against that cross-dataset linkage. What new flow must review consider?

    Show answer and explanation
    1. A rule treating individually permitted exports as proof that every composition preserves privacy
    2. Only whether each file separately uses transport encryption
    3. The association enabled by the shared identifier across the exports
    4. A guarantee that encryption in transit prevents authorized recipients from joining their plaintext data

    Answer: The association enabled by the shared identifier across the exports

    Information composition can change what recipients learn. Model the actual joinable identifiers and permitted combined use, not only each export considered in isolation.

  81. 81.A finite access-test model has two roles, three tenant relationships, and four actions. Every combination is in scope. How many role/relation/action combinations require consideration?

    Show answer and explanation
    1. 9
    2. 12
    3. 24
    4. 8

    Answer: 24

    The Cartesian product contains 2×3×4=24 combinations. Exercising these model cases is not by itself proof of all possible implementation behavior, but it identifies this declared finite coverage scope.

  82. 82.A permission record is authenticated, but an unsupported extension can alter its effective target scope. The verifier ignores it while the executor honors it. What compatibility condition is needed?

    Show answer and explanation
    1. One supported complete interpretation of authority-affecting fields
    2. Only valid outer syntax, ignoring fields the executor uses to change target authority
    3. A rule letting the verifier approve a narrower target than the handler actually selects
    4. A guarantee that every field ignored by the verifier is also inert in execution

    Answer: One supported complete interpretation of authority-affecting fields

    Verifier and executor must evaluate the same relevant authority. Reject or explicitly support ambiguous/unknown behavior-changing fields rather than approve a narrower interpretation than the action actually performed.

  83. 83.A principal cannot read protected data, but can delete its only decryption key. The goal includes continued usable access by legitimate owners. What capability threatens that goal?

    Show answer and explanation
    1. A guarantee that denial of reads protects every availability property
    2. A rule treating key deletion as unrelated to data access
    3. Destruction of a required availability dependency
    4. Only direct plaintext read permission

    Answer: Destruction of a required availability dependency

    Confidentiality and availability have different authority paths. Include destructive access to required keys and other dependencies when modeling whether legitimate users retain usable data.

  84. 84.A supplied abuse model processes twenty unauthorized records per second until a detector contains it exactly five seconds later. No earlier prevention exists. What exposure occurs before containment?

    Show answer and explanation
    1. 20 records
    2. 100 records
    3. 0 records
    4. 5 records

    Answer: 100 records

    The model permits 20×5=100 records before containment. Detection/response can bound duration under stated assumptions without proving zero initial effect; distinguish prevention from later observation and mitigation.

  85. 85.A role may read only fields {id,title} of a record. The serializer also returns internalNotes. Object-level access is otherwise valid. What scope needs enforcement?

    Show answer and explanation
    1. The permitted output-field set
    2. A rule hiding the restricted field visually while still delivering its value in the response
    3. Only record-level visibility, treating it as permission to return every attribute
    4. A guarantee that a read grant to an object includes all fields despite the explicit field policy

    Answer: The permitted output-field set

    Access can be finer than an object. Apply the intended field policy to actual returned bytes rather than assume a valid object-level grant covers every stored attribute.

  86. 86.An authorization cache is keyed only by document ID. User A's allow is cached, then reused for user B, who lacks access. What decision context must the key or equivalent enforcement include?

    Show answer and explanation
    1. A rule making cache presence a new permission independent of the policy context that produced it
    2. A guarantee that a cached allow from one requester authorizes all later requesters
    3. Only document identity, treating all users' grants as interchangeable for that document
    4. The relevant requester and policy context for that resource/action

    Answer: The relevant requester and policy context for that resource/action

    Reuse must preserve the conditions that make the cached decision valid. Bind the relevant actor/action/resource/version context or reauthorize appropriately rather than apply a grant across incompatible requesters.

  87. 87.Several authenticated users share one NAT address. An investigation policy needs the actual user identity for a privileged action. What does the address alone not establish?

    Show answer and explanation
    1. That an IP address and an actor identity have different scopes
    2. That the requests can share a network egress point
    3. Which authenticated user performed that action
    4. That additional verified operation context can be necessary

    Answer: Which authenticated user performed that action

    Network location can be useful context without uniquely identifying a principal. Preserve authenticated action/delegation evidence instead of assigning user identity solely from a shared address.

  88. 88.A caller authenticates successfully but submits an invalid state-changing command. The handler skips semantic validation because identity is known. What property is still required?

    Show answer and explanation
    1. A guarantee that recognized users cannot send malformed or forbidden operations
    2. A rule accepting all payloads from authenticated callers without evaluating state or authority
    3. Only a valid account/session, regardless of the requested action or command semantics
    4. Validation and authorization of the actual requested operation

    Answer: Validation and authorization of the actual requested operation

    Authentication identifies a caller under its model; it does not validate arbitrary input or grant every action. Enforce the relevant schema, state, and authority constraints at the actual effect boundary.

  89. 89.A pooled database connection retains tenant A's session scope. It is reused for tenant B without resetting/reestablishing that scope. What isolation state must the design control?

    Show answer and explanation
    1. Only which pool object returned the connection, without checking its retained session state
    2. The effective per-request tenant context on the reused connection
    3. A guarantee that each new HTTP request automatically clears every database session attribute
    4. A rule assuming peer authentication selects the correct tenant scope on a reused connection

    Answer: The effective per-request tenant context on the reused connection

    Connection reuse can carry state across requests. Establish and clear the required context under the database/pool contract, and verify the actual queries run in the current authorized scope.

  90. 90.Logout ends future authenticated requests, but a shared device still stores a readable downloaded report. The claimed goal is no readable retained report for the next device user. What boundary remains?

    Show answer and explanation
    1. Only server-session termination, ignoring the already retained client-side data
    2. An assumption that server logout remotely erases every independent readable download
    3. A rule extending transport encryption to plaintext already stored on the shared device
    4. The client-side retained copy and local access lifecycle

    Answer: The client-side retained copy and local access lifecycle

    Session revocation and local data lifecycle are distinct. Address the actual shared-device storage/access model instead of extending a server-side action into an unverified guarantee about independent readable copies.

  91. 91.Control A covers modeled paths {p,q}; control B covers {q,r}. A report adds their coverage counts and claims four distinct paths are covered. What is the union's distinct size?

    Show answer and explanation
    1. 2
    2. 3
    3. 1
    4. 4

    Answer: 3

    The union is {p,q,r}; q appears in both sets but counts once. Count actual distinct coverage and relevant remaining paths rather than sum overlapping control tallies as independent protections.

  92. 92.Service A trusts B for document conversion. B trusts C for spelling checks. No rule delegates A's trust to C. What is not established from those two relationships alone?

    Show answer and explanation
    1. That B has a stated spelling relationship with C
    2. That purposes are part of the supplied trust relationships
    3. That A has a stated conversion relationship with B
    4. That A authorizes C to perform document conversion

    Answer: That A authorizes C to perform document conversion

    Trust is scoped by purpose, authority, and delegation semantics. Two different trust edges do not automatically create an unrestricted transitive grant; evaluate an explicitly supported chain for the requested action.

  93. 93.Worker X holds lock A and waits for B. Worker Y holds B and waits for A. Neither releases while waiting, and no timeout or other actor intervenes. What liveness state follows?

    Show answer and explanation
    1. A circular wait preventing either worker from progressing
    2. Only a confidentiality failure with no progress effect
    3. Both workers immediately finish
    4. A guarantee that acquiring any lock always prevents deadlock

    Answer: A circular wait preventing either worker from progressing

    Under the supplied waiting contract, each worker needs the other's held resource. Enforce an appropriate ordering or another justified progress strategy; separate resource acquisition alone does not establish liveness.

  94. 94.A data-flow model shows client request arrows into an export service but omits responses carrying protected records back to clients. What model coverage is missing?

    Show answer and explanation
    1. Only the incoming request arrows, assuming they identify every returned data field and recipient
    2. A rule excluding sensitive response data because it crosses out of the service
    3. The returned data path and its confidentiality/authorization boundary
    4. A guarantee that a request diagram automatically covers all response confidentiality paths

    Answer: The returned data path and its confidentiality/authorization boundary

    Model the relevant data directions, destinations, and authority. Omitting returned sensitive data can hide the very disclosure path the review is meant to evaluate.

  95. 95.Two nominally separate gates both fail whenever one shared rule source is corrupted. A report squares that source's failure probability as though the gates were independent. What assumption is contradicted?

    Show answer and explanation
    1. A guarantee that any two checks multiply risk reduction independently
    2. Independence of those gate failures under the supplied common-cause model
    3. Only that two gate names exist
    4. A rule treating a common rule source as two unrelated authorities

    Answer: Independence of those gate failures under the supplied common-cause model

    A shared cause can defeat both checks together. Model their dependence and actual authority boundaries instead of deriving joint risk solely from the number of separately deployed gates.

  96. 96.A test requests forbidden data and gets HTTP 200 with body access denied, with no protected content. The tester calls the status alone proof of successful data disclosure. What evidence is missing?

    Show answer and explanation
    1. The observed HTTP status
    2. Actual unauthorized protected-data access or another demonstrated effect
    3. That transport status and application outcome can differ
    4. The response body's stated denial

    Answer: Actual unauthorized protected-data access or another demonstrated effect

    Investigate the actual payload and effect under the test's scope. A status code can be misleading, but by itself does not demonstrate that protected data was disclosed in this supplied observation.

  97. 97.A capability authorizes immutable object generation G1 under numeric ID seven. After deletion, ID seven is reused for unrelated G2. The verifier checks only the number. What identity binding must it preserve?

    Show answer and explanation
    1. Only the unchanged digit seven
    2. The authorized object generation, not only a recyclable ID
    3. A guarantee that every reused ID denotes the original authorized object
    4. A rule transferring old capabilities automatically to future objects with matching numbers

    Answer: The authorized object generation, not only a recyclable ID

    Identity lifetimes matter. Bind authority to the intended immutable object/generation or an equivalent safe lifecycle contract so a recycled locator does not extend access to a different resource.

  98. 98.A policy model is verified to deny a forbidden action, but its deployment translator drops that denial. What must connect the proof to the running system?

    Show answer and explanation
    1. Preservation of the relevant policy semantics through translation and enforcement
    2. A guarantee that every implementation of a verified model automatically satisfies it
    3. A rule substituting the desired model result for the deployed behavior
    4. Only the fact that a model proof exists

    Answer: Preservation of the relevant policy semantics through translation and enforcement

    A proof concerns its actual model and assumptions. Establish the implementation/refinement relationship and active enforcement before transferring the result to a system whose translation changed the relevant rule.

  99. 99.An access control exists in source code but is disabled in the running configuration. A design report counts it as an active barrier. What evidence should the report require?

    Show answer and explanation
    1. A guarantee that every checked-in security function executes in every deployed configuration
    2. The actual effective configuration and enforcement on the relevant path
    3. Only the control's existence in source, without evidence that the active path invokes it
    4. A rule counting a disabled feature as an effective barrier because it could be enabled later

    Answer: The actual effective configuration and enforcement on the relevant path

    Available implementation and active protection are different states. Verify the deployed invocation/configuration and path rather than infer enforcement solely from code presence.

  100. 100.Creation of a protected record validates its owner field. A later update endpoint lets the caller replace owner without the required authority. What lifecycle coverage is absent?

    Show answer and explanation
    1. A guarantee that a once-valid owner field remains valid after arbitrary writes
    2. Only validation at the first creation event
    3. Enforcement of the owner-change rule on subsequent mutations too
    4. A rule treating all updates as harmless because the object already exists

    Answer: Enforcement of the owner-change rule on subsequent mutations too

    An invariant must survive every relevant transition. Include mutation, import, repair, and other applicable paths in the enforcement model instead of checking only the initial state.

  101. 101.A supplied model has paths p,q,r,s with impact weights 5,4,3,2. Controls A covers {p,q}, B {q,r}, C {r,s}; each costs one, budget is two. Coverage removes each path's weight once. Which pair maximizes removed weight?

    Show answer and explanation
    1. B and C, removing 9
    2. A and B, removing 12
    3. No pair is feasible within the two-unit budget.
    4. A and C, removing 14

    Answer: A and C, removing 14

    A+C covers all four paths, totaling 5+4+3+2=14. A+B covers p,q,r for twelve; B+C covers q,r,s for nine. This optimizes the supplied finite model, not a calibrated real-world risk estimate.