Cloud engineer: Identity and Network Boundaries
Original technical interview scenarios on effective authority, token validation, delegation, tenant scope, routing and filtering, trusted channels, credential lifecycle, and end-to-end boundary checks.
These prompts are original practice. They are not questions from a named employer or a live hiring loop.
1.A supplied policy model allows only (role grants ∩ boundary ∩ session scope) minus explicit denies. Grants={read,write,list}; boundary={read,list}; session={read,write}; denies={list}. What action remains allowed?
Show answer and explanation
- read
- write
- list
- read and write
Answer: read
The intersection of the three allow sets is {read}; subtracting {list} leaves {read}. This uses the explicitly supplied policy model, not an unstated universal rule for every cloud authorization system.
2.In this policy model, a boundary only limits grants and never creates them. A role has no grant for export, but its boundary includes export. What follows?
Show answer and explanation
- The boundary alone does not permit export.
- The boundary replaces the role grant.
- Naming export grants it.
- Every action in a limiting set becomes a positive allow.
Answer: The boundary alone does not permit export.
A limiting permission set and a positive grant serve different purposes. Apply the given evaluation model rather than infer authority from an action appearing in a boundary.
3.A storage operation requires an identity grant, an allowed resource policy, and a reachable permitted network path. Identity and network checks pass, but the resource policy denies this operation. What is the result under this contract?
Show answer and explanation
- Allow by majority vote.
- Deny the operation.
- Authentication bypasses the independent resource-policy gate.
- Private routing overrides the denial.
Answer: Deny the operation.
All stated conditions are required. Authentication or network reachability does not waive an independent resource authorization gate.
4.A token has a valid signature from an accepted issuer but names service A as its audience. Service B's contract accepts only tokens intended for B. What must B do?
Show answer and explanation
- Accept a trusted issuer for any service.
- Use the subject display name instead of checking the intended recipient.
- Reject this token for B.
- Rewrite the audience after decoding.
Answer: Reject this token for B.
A trusted signature does not make a token appropriate for every recipient. Validate intended audience under the service's contract as well as issuer and other required conditions.
5.Two accepted issuers can each assign subject identifier 17 to different users. A shared authorization cache keys users only by subject=17. What identity scope is missing?
Show answer and explanation
- An assumption that all issuers share one globally unique subject namespace
- Only the token's display label
- The issuer/subject relationship
- The local subject value alone
Answer: The issuer/subject relationship
Subject uniqueness can be scoped to an issuer. Preserve the appropriate identity namespace rather than let equal local identifiers merge unrelated principals.
6.A verifier chooses whatever signature algorithm an untrusted token header requests, even if that algorithm is outside the application's approved set. What control is missing?
Show answer and explanation
- A nonempty algorithm name
- Trusted algorithm policy and compatible key validation
- Header decoding alone
- The untrusted token header treated as authority to select every verification method
Answer: Trusted algorithm policy and compatible key validation
The token can identify a claimed algorithm without being allowed to redefine verification policy. Enforce the intended algorithms and key usage through trusted configuration and validation.
7.A token's key-location header can make a verifier fetch keys from any caller-supplied URL. The application intends to trust only a configured issuer's key source. What boundary should be enforced?
Show answer and explanation
- Any key that verifies the supplied token treated as a trusted authority
- Fetched JSON validity
- Only the key URL's successful HTTP status
- Trusted key-source selection and constrained retrieval
Answer: Trusted key-source selection and constrained retrieval
An untrusted token must not choose its own trust anchor. Constrain key lookup to the intended issuer and safe retrieval policy rather than accept arbitrary caller-selected key material.
8.A key cache uses only key ID as its lookup key. Two trusted issuers both publish key ID k7 for different keys. What cache identity is needed?
Show answer and explanation
- A key-cache entry chosen without binding it to the intended issuer
- The relevant issuer and key identity
- The string k7 alone
- Only the token's subject claim
Answer: The relevant issuer and key identity
A key identifier need not be globally unique across issuers. Bind cached material to the intended trust context and validated usage, rather than let one issuer's key collide with another's entry.
9.A service's explicit rule requires now < exp with no allowed clock leeway. Both now and token exp are 12:00:00. Does this token pass that expiry rule?
Show answer and explanation
- Expiry depends only on the subject value.
- Yes; equality adds a second.
- Yes; signature validity waives expiry.
- No; equality does not satisfy now < exp.
Answer: No; equality does not satisfy now < exp.
The supplied inequality is strict. At equality, now < exp is false; any tolerance would need to be part of an explicit justified policy rather than silently added.
10.A token's not-before time is 15:10, while the verifier's accepted current time is 15:05 with no leeway. Other checks pass. What does this time condition require?
Show answer and explanation
- Interpret not-before as an already-passed expiry.
- Rewrite the not-before time.
- Reject use before 15:10.
- Accept any valid signature.
Answer: Reject use before 15:10.
A token can be authentic but not yet valid for use. Apply the stated time-window rule independently of signature validity and avoid altering signed claims to make them fit.
11.A service accepts an issued token offline until its five-minute expiry and has no intervening revocation check. The account is disabled one minute after issue. What immediate-revocation claim is unsupported?
Show answer and explanation
- That account status can change after token issuance
- That the service can validate a signature offline
- That disabling the account instantly invalidates that token at this service
- That the token has a finite expiry
Answer: That disabling the account instantly invalidates that token at this service
Expiry bounds one aspect of credential lifetime. Immediate account revocation needs an appropriate mechanism beyond the stated offline acceptance rule; disabling an account does not retroactively change already-issued token bytes.
12.A policy requires membership removals to take effect within one minute. A decision cache retains positive group membership for ten minutes without invalidation. What must be reconciled?
Show answer and explanation
- Cache freshness with the revocation requirement
- The central directory's current state treated as automatic cache invalidation
- Only the group label
- Only the cached-member count
Answer: Cache freshness with the revocation requirement
Cached authorization can outlive a change at the authority. Use a compatible invalidation, validation, or bounded-cache design rather than assume the required revocation latency follows automatically.
13.A public client can submit a header naming its user ID. The backend treats that unverified header as authenticated identity. What trust step is missing?
Show answer and explanation
- A trusted-looking header name
- An assumption that private backends may trust every caller-supplied identity field
- Numeric ID formatting
- Binding identity to a trusted authenticated source
Answer: Binding identity to a trusted authenticated source
A syntactically valid identifier is still a caller claim. Derive identity from a trusted authenticated context and validate how it is propagated to the backend.
14.A gateway authenticates users and sets an identity header, but the backend is also directly reachable and accepts the same header from arbitrary clients. What path must be controlled?
Show answer and explanation
- Gateway login success
- The gateway's authentication assumed to cover direct bypass requests
- Direct backend access and trusted identity propagation
- Only gateway header formatting
Answer: Direct backend access and trusted identity propagation
The backend must distinguish trusted gateway assertions from untrusted direct input. Restrict or authenticate the relevant path and avoid letting a bypass supply its own authority-bearing identity.
15.A caller authorized for tenant A requests an export and supplies tenant B in the job body. The privileged worker checks only whether it can read B. What additional authorization is needed?
Show answer and explanation
- Only the existence of tenant B
- The submitted tenant parameter treated as the caller's authority to export it
- Worker storage permission only
- The caller's authority for the requested tenant and action
Answer: The caller's authority for the requested tenant and action
A privileged service must not substitute its own broad capability for the requesting principal's authority. Bind the job to the authenticated caller and the permitted resource/action scope.
16.A report service can read every customer folder. It accepts an arbitrary object location from a caller and returns that object's content without checking caller access. What failure pattern is present?
Show answer and explanation
- A privileged deputy acting outside the caller's authority
- A necessary failure of the encrypted transport rather than the authorization rule
- A guarantee of isolation from shared credentials
- Insufficient storage capacity
Answer: A privileged deputy acting outside the caller's authority
The service's technical access is broader than a caller's permission. Authorize the requested object/action for the actual caller instead of treating the service credential as permission to disclose anything it can read.
17.Access is limited to path segment tenant/1. A string-prefix check also accepts tenant/10 because it starts with the same characters. What comparison must reflect the contract?
Show answer and explanation
- Canonical resource boundaries and segment identity
- Raw character-prefix matching
- Every lexical prefix treated as an exact resource ownership scope
- Only the number of path separators
Answer: Canonical resource boundaries and segment identity
Character prefixes do not necessarily coincide with resource scope. Parse and compare the intended canonical identity/segments so similarly named resources do not inherit another resource's authorization.
18.An authorization check compares an encoded path, while the storage layer decodes and normalizes it differently before selecting the object. What must be aligned?
Show answer and explanation
- Only the display capitalization of error messages
- Only the storage object's creation timestamp
- The canonical resource interpretation used for checking and access
- A rule that any successful path parse establishes authorization
Answer: The canonical resource interpretation used for checking and access
Authorization must apply to the same resource ultimately accessed. Resolve and validate canonical interpretation consistently instead of allowing different parsing/normalization layers to change the target after the check.
19.Object IDs are difficult to guess, but a service returns any named object to any authenticated user. What does ID unpredictability fail to establish?
Show answer and explanation
- That authentication can identify a user
- Object-level authorization
- That a caller may learn an ID through another channel
- That an identifier can have many possible values
Answer: Object-level authorization
An opaque identifier is not a permission grant. Check the caller's authority for the object/action even when names are not easily enumerable.
20.A user may view an object but may not change it. The API checks only view permission before accepting an update. What part of authorization is missing?
Show answer and explanation
- The requested operation's required permission
- Read permission treated as authorization to modify the same object
- Object-ID format alone
- Only successful user authentication
Answer: The requested operation's required permission
Authorization can vary by action on the same resource. Validate the actual requested operation rather than use an unrelated lower-privilege permission as an all-purpose gate.
21.A developer may create roles and attach any policy to them. They may also assume the roles they create. A review inspects only the developer's direct data permissions. What effective authority is being missed?
Show answer and explanation
- Only preexisting attached policies
- Direct grants only
- A rule excluding reachable role/delegation transitions from effective authority
- Privilege reachable through role creation and assumption
Answer: Privilege reachable through role creation and assumption
Authority includes permitted delegation and configuration transitions. Analyze reachable privilege paths, not just the current direct grant list, when a principal can create and use more powerful roles.
22.A deployer cannot read a protected dataset directly but can choose an unrestricted service role for arbitrary code it deploys. What permission relationship needs review?
Show answer and explanation
- Only a production label on the role
- Deployment capability treated as unrelated to the runtime identity it can select
- Authority to select and execute under the delegated role
- Direct read permission only
Answer: Authority to select and execute under the delegated role
The deployed code can exercise its runtime identity. Constrain role assignment and deployment capability appropriately instead of treating the deployer's missing direct read grant as proof the dataset is unreachable.
23.A workload identity is tightly scoped, but anyone can modify the workload's executable image. That identity can perform sensitive writes. What is part of the write-authority boundary?
Show answer and explanation
- Executable replacement treated as unable to affect use of the granted identity
- The current role grants alone
- Only the image's mutable display tag
- Control over code/configuration that runs as the workload
Answer: Control over code/configuration that runs as the workload
Permissions apply to running code. Protect the relevant deployment and configuration paths as part of the authority boundary, since replacing the code can change how the granted identity is exercised.
24.A delegation contract allows a child session to narrow a parent's actions but never add them. Parent={read,list}; requested child={read,delete}. What set is a valid narrowing of that request?
Show answer and explanation
- {read,list,delete}
- {read,delete}
- {read}
- {delete}
Answer: {read}
Intersect the requested child actions with the parent's permitted actions under the supplied narrowing rule: only read remains. Delegation cannot manufacture delete authority in this model.
25.Audit records keep only a caller-chosen session display name shared by many people. The investigation needs to attribute actions to the authenticated originating principal. What identity evidence is missing?
Show answer and explanation
- A descriptive session label
- Trusted principal and delegation/session linkage
- Only a session request count
- Identical display labels treated as one unique authenticated originating principal
Answer: Trusted principal and delegation/session linkage
Display labels can collide or be chosen by callers. Preserve trusted subject, issuer, session, delegation, and relevant request linkage needed for attribution rather than infer identity from a friendly label.
26.A process requires independent author and approver principals. One person can assume both roles and approve their own change under different session names. What has the role-name check failed to enforce?
Show answer and explanation
- Two role labels treated as sufficient proof of independent accountable actors
- Only the two session names
- Independence of the accountable principals
- Configured role count
Answer: Independence of the accountable principals
Separation is about the relevant actors and authority, not merely two session labels. Enforce the actual independence requirement through suitable identity and workflow controls.
27.A supplied access model requires both an identity allow and a resource allow. The identity grants read; the resource has no matching allow. No other grant path exists. What follows?
Show answer and explanation
- Identity allow overrides everything.
- Absent positive permission treated as an allow because no explicit deny is listed
- Private routing supplies the missing grant.
- Read is not permitted under this model.
Answer: Read is not permitted under this model.
Use the stated conjunctive model. An absent required positive grant is not supplied by authentication, a separate permission, or a reachable route.
28.Reading encrypted data requires permission to retrieve the object and permission to use the required decrypt operation. Only decrypt permission is granted. What is still missing?
Show answer and explanation
- A bypass of the required object policy
- Key-use permission treated as permission to retrieve every encrypted object
- Authority to retrieve the object
- Another decrypt grant
Answer: Authority to retrieve the object
Encryption and object access can be separate gates. Permission to use a key does not automatically authorize retrieval of every ciphertext encrypted with it under the stated contract.
29.A download link is a bearer capability valid for fifteen minutes, with no one-use or recipient-binding check. A recipient forwards it. What does this contract allow the verifier to establish?
Show answer and explanation
- Possession of a currently valid link, not the original recipient's identity
- The link's expiry makes it cryptographically nontransferable
- The first use destroys every forwarded copy automatically
- Only the original recipient can ever use it
Answer: Possession of a currently valid link, not the original recipient's identity
A bearer capability can be exercised by a possessor under its stated validity rules. Expiry alone does not implement one-use behavior or prove which human originally received the link.
30.A request token is accepted only when the client also proves possession of a specific bound private key. An attacker copies the token but lacks that key. Which required condition is absent?
Show answer and explanation
- Copying token bytes treated as copying its separately held bound private key
- The bound key-possession proof
- The copied token text
- Only the audience claim
Answer: The bound key-possession proof
The supplied protocol requires both the token and its bound possession proof. This differs from a pure bearer contract; evaluate the actual binding and validation rather than infer success from copied token bytes alone.
31.A supplied router uses longest-prefix match. Routes are 0.0.0.0/0→internet, 10.0.0.0/8→internal, and 10.20.0.0/16→inspection. Which route matches destination 10.20.7.4?
Show answer and explanation
- internal
- inspection
- internet
- An equal split among every matching route
Answer: inspection
The destination matches all three prefixes, but /16 is the most specific. Apply the stated longest-prefix rule; address matching does not itself establish that every later firewall or application check permits the traffic.
32.Network A uses 10.44.0.0/16 and network B uses 10.44.128.0/17. What address relationship must an interconnection design handle?
Show answer and explanation
- B's range is contained within A's range.
- A is contained in B.
- The two address ranges are identical.
- Different lengths prove disjointness.
Answer: B's range is contained within A's range.
The /16 covers 10.44.0.0 through 10.44.255.255; the /17 covers its upper half. Different prefix lengths do not imply nonoverlap or unambiguous destination ownership after connecting the networks.
33.Two allow rules cover 198.51.100.0/25 and 198.51.100.128/25. Ignoring other rules, what combined address set do they cover?
Show answer and explanation
- 198.51.0.0/16
- 198.51.100.0/24
- Two disjoint /24 ranges
- Only 198.51.100.0/25
Answer: 198.51.100.0/24
The two /25 ranges are the lower and upper halves of the same /24. Their union contains all 256 addresses in that documentation prefix; this is address-set arithmetic, not a claim about usable host reservations.
34.A rule matches 10.32.4.0/23. Which listed destination is inside that prefix?
Show answer and explanation
- 10.32.3.255
- 10.32.5.200
- 10.33.4.1
- 10.32.6.1
Answer: 10.32.5.200
The /23 spans 10.32.4.0 through 10.32.5.255. The other listed addresses lie outside that range; prefix matching concerns address bits rather than textual similarity.
35.A firewall allow rule matches destination 0.0.0.0/0. A reviewer describes it as permitting only private IPv4 destinations. What is wrong?
Show answer and explanation
- A principal-identity constraint instead of an IPv4 destination prefix
- Only 10.0.0.0/8
- The prefix covers every IPv4 address.
- No destination addresses
Answer: The prefix covers every IPv4 address.
A zero-length IPv4 prefix imposes no destination-address restriction. Do not confuse a default/all-address match with a private-range or authenticated-identity policy.
36.A service is reachable over IPv4 and IPv6. An isolation change blocks only its IPv4 path, and no equivalent IPv6 control exists. What exposure remains to be assessed?
Show answer and explanation
- The IPv6 serving path
- Only IPv4 reachability
- Only the intended DNS name
- An assumption that an IPv4 policy automatically covers the separate IPv6 path
Answer: The IPv6 serving path
Controls and reachability can differ by address family. Verify every relevant serving path rather than infer dual-stack isolation from a check of one family alone.
37.A workload may connect only to an approved external service. Its configuration accepts a hostname, but callers can replace that hostname with any destination. What binding should be enforced?
Show answer and explanation
- Only the destination response time
- The approved destination and its trusted identity
- Hostname parseability
- Any encrypted external endpoint treated as the specifically approved service
Answer: The approved destination and its trusted identity
Encryption to some endpoint is weaker than connection to the intended authorized endpoint. Constrain effective destinations and validate their expected identity rather than trust arbitrary caller-selected locations.
38.Private DNS now points a service name to a private endpoint. The old public endpoint remains reachable and accepts the same requests. What has the DNS change alone not established?
Show answer and explanation
- The existence of a private endpoint
- Closure of the public access path
- The possibility of resolving the private address
- The configured private DNS answer
Answer: Closure of the public access path
DNS can guide some callers without removing another reachable endpoint. Verify actual public-path controls and all relevant routes rather than treat private name resolution as proof of exclusive private access.
39.A request path has a valid outbound route and its request packet reaches the server. The server has no return route to the caller's source network. What is still missing for a working exchange?
Show answer and explanation
- A permitted usable return path
- The outbound route again
- Forward delivery treated as removal of every return-routing requirement
- Only a larger response timeout
Answer: A permitted usable return path
A bidirectional exchange needs the relevant return behavior as well as forward delivery. Firewall permissions and an outbound route alone do not create a reverse route in this stated topology.
40.A source-NAT gateway rewrites private client addresses to one shared public address. A destination allowlists that translated address. What identity granularity does this IP allowlist alone distinguish?
Show answer and explanation
- Only the gateway creator's personal identity
- Every original workload principal
- A per-caller cryptographic identity inferred from the shared translated IP
- The shared egress address, not each original workload
Answer: The shared egress address, not each original workload
Address translation can collapse multiple callers into one observed source. Use appropriate application/workload identity when individual principals must be authorized; an egress IP is not a per-caller credential.
41.A packet filter is explicitly evaluated after destination translation. An incoming destination port 8443 is rewritten to 443 before the filter runs. Which destination port does this filter see?
Show answer and explanation
- 443
- The caller's ephemeral source port
- Both as an unordered port set
- 8443
Answer: 443
Use the stated processing order: translation changes the field before this filter inspects it. Other products or hook positions can differ, so diagnose the actual packet-processing boundary rather than assume a universal observation point.
42.A supplied stateful filter permits response packets for an established allowed flow. A separate stateless filter requires a rule for every direction. What must a design distinguish?
Show answer and explanation
- The shared firewall label
- Stateful return tracking treated as permission for unrelated new connections
- Each filter's actual return-traffic semantics
- Every response exempt from stateless rules
Answer: Each filter's actual return-traffic semantics
State tracking and stateless rule evaluation have different contracts. Evaluate the relevant request and return paths under the specific mechanisms rather than transfer one filter's behavior to another by name.
43.A policy requires an existing connection to lose access immediately after revocation. The firewall checks rules only when opening a flow and otherwise preserves it for an hour. What mismatch needs handling?
Show answer and explanation
- Rule name only
- Only the rule-update API response
- Every open connection assumed terminated by a new-flow rule change
- Established-flow lifetime versus revocation timing
Answer: Established-flow lifetime versus revocation timing
Control updates and existing-flow handling can have different semantics. Enforce the stated revocation requirement through a compatible connection/application mechanism instead of assuming new-flow rules instantly affect every open session.
44.A client sends TCP traffic from port 50000 to a server's port 443. In the ordinary reverse-direction response for that connection, what are source and destination ports?
Show answer and explanation
- Source 50000, destination 50000
- Source 50000, destination 443
- Source 443, destination 443
- Source 443, destination 50000
Answer: Source 443, destination 50000
The two endpoints exchange source/destination roles on the return traffic. Apply the actual tuple and any stated translation/filter semantics when checking rules rather than match only the request's destination port.
45.A TCP connection opens, but the required authenticated TLS handshake fails. What success claim is not established by the TCP connection alone?
Show answer and explanation
- A usable authenticated TLS application channel
- The existence of a connection-establishment path
- That higher-layer validation can still fail after TCP succeeds
- Reachability of that TCP endpoint for the attempted connection
Answer: A usable authenticated TLS application channel
Network reachability is one layer. A successful connection does not establish the intended peer identity, trust validation, application protocol, or authorization required above it.
46.A client presents a valid certificate for workload W. Policy allows W to read but not delete. A request asks to delete a protected object. What additional decision remains after client authentication?
Show answer and explanation
- Authorization for that delete operation
- Certificate validity treated as a universal resource/action permission
- Every authenticated workload as administrator
- Certificate field presence
Answer: Authorization for that delete operation
Authentication can establish the peer under the relevant trust contract. It does not grant every action; apply resource/action authorization for the authenticated workload.
47.A gateway terminates TLS from the caller, then forwards plaintext to a backend over a network the policy requires to be encrypted too. What encryption claim is unsupported?
Show answer and explanation
- That backend transport is a separate hop
- That the caller-to-gateway hop uses TLS
- That the full required path is encrypted
- That the gateway can inspect the decrypted request
Answer: That the full required path is encrypted
Transport protection is scoped to actual channels. Terminating one protected connection does not automatically protect a later plaintext hop or establish the stated end-to-end path requirement.
48.An egress proxy limits the initial proxy connection but lets clients request tunnels to any destination. The policy intends to restrict reachable external services. What must the proxy enforce?
Show answer and explanation
- Only valid tunnel-request syntax
- The effective tunnel destination policy
- The proxy listening port only
- An allowed proxy connection treated as authorization for every onward destination
Answer: The effective tunnel destination policy
An allowed first hop can still relay traffic to disallowed destinations. Enforce the relevant final destination and identity constraints where forwarding/tunnel requests are processed.
49.Two workloads share a private subnet. One is compromised. The application assumes every private-subnet caller is authorized to read all tenant records. What boundary is missing?
Show answer and explanation
- Resource authorization tied to the actual caller
- Another private IP alias
- Private address space treated as universal cross-tenant application trust
- Only subnet membership
Answer: Resource authorization tied to the actual caller
Network location can constrain paths without establishing a caller's entitlement to data. Preserve appropriate identity and resource checks even between workloads on private infrastructure.
50.A supplied firewall uses first matching rule, then stops. Rule 1 denies 10.2.0.0/16; rule 2 allows 10.0.0.0/8. What result applies to source 10.2.3.4?
Show answer and explanation
- Allow by rule 2
- Two simultaneous final results despite the stated first-match stopping rule
- Allow because the allow range is larger
- Deny by rule 1
Answer: Deny by rule 1
The source matches rule 1, so the given first-match evaluation stops with deny. This question supplies the precedence model explicitly; do not assume every cloud policy system uses it.
51.Two independent required filters both evaluate a request. F1 allows source 10.6.0.0/16; F2 allows only 10.6.8.0/24. Source is 10.6.9.7. What happens under a contract requiring both allows?
Show answer and explanation
- F1 overrides F2.
- Merge the rules into one /8.
- Ignore the second mandatory filter after the first filter allows.
- The request fails F2.
Answer: The request fails F2.
The source matches F1 but not F2. Independent mandatory gates compose by satisfying each required condition, not by allowing one permissive layer to erase another layer's restriction.
52.A request is blocked by an independently enforced gateway policy. An engineer adds a permissive backend rule but changes nothing at the gateway. What should be expected under that topology?
Show answer and explanation
- A backend allow creates a gateway route.
- The gateway block still prevents the request.
- The downstream policy treated as the only enforcement point on the path
- Backend overrides gateway.
Answer: The gateway block still prevents the request.
A downstream allow does not modify a separate upstream enforcement point. Diagnose the effective full path and required policy boundaries rather than repeatedly broadening unrelated rules.
53.A supplied peering contract connects A↔B and B↔C but does not provide transitive forwarding. No other route exists. What direct reachability claim is unsupported?
Show answer and explanation
- That A can reach C through B
- That A has a peering relation with B
- That B has a peering relation with C
- That the two peerings can be listed separately
Answer: That A can reach C through B
Graph adjacency does not imply forwarding transit when the stated mechanism forbids it. Provide an appropriate supported transit path or other design instead of inferring route behavior from connection names alone.
54.A stateful inspection instance sees the outbound packet, but the return packet goes through a different instance with no shared flow state. Its contract drops unrecognized return flows. What path property matters?
Show answer and explanation
- Every appliance in a named pool assumed to share all connection state
- Compatible symmetric/state-aware traversal
- Only the service destination port
- Appliance uptime alone
Answer: Compatible symmetric/state-aware traversal
Reachability through different appliances can violate a stateful flow contract. Ensure suitable symmetry or supported shared state rather than assume a common pool name makes connection tracking interchangeable.
55.An application authorizes access by a VM's private address. The VM is deleted, and the same address is later assigned to an unrelated workload. What identity risk must be handled?
Show answer and explanation
- VM deletion treated as deletion of all external allowlists
- The reused address treated as proof that the original workload code is running
- Address reuse can transfer an unintended allow.
- Permanent address/principal identity
Answer: Address reuse can transfer an unintended allow.
Addresses can have lifecycles separate from principals. Bind authorization to the intended trusted identity and resource scope or explicitly manage address-based policy reuse rather than assume an address is an immutable actor.
56.A DNS lookup returns a negative-name answer before any connection is attempted. An incident report calls it proof that the caller lacks application read permission. What layer has actually failed in this observation?
Show answer and explanation
- A committed and then revoked read
- Name resolution
- Application read permission denial
- Successful TCP establishment inferred from the negative DNS response
Answer: Name resolution
DNS lookup precedes the attempted application exchange here. Investigate resolution and cache/zone context without attributing a name-resolution result to an application permission decision that was never observed.
57.An administrator can query a database from a VPN-connected laptop, but a workload uses a different network path and a narrower identity. What does the admin test alone fail to prove?
Show answer and explanation
- That the workload's actual path and authority work
- That the workload has a different identity
- That network context can affect reachability
- That the administrator's observed query succeeded
Answer: That the workload's actual path and authority work
Test relevant source context and authority. A privileged request from another network can validate its own path while leaving the workload's routing, trust, and permission conditions unresolved.
58.One authenticated service hosts several tenants. A caller can set a tenant-routing header, and the service selects that tenant before checking access. What must authorization bind to?
Show answer and explanation
- Reaching one shared service treated as authorization for all its routed tenants
- Server certificate validity
- The authenticated caller and the effective routed resource
- Only tenant-header formatting
Answer: The authenticated caller and the effective routed resource
Routing chooses a target; it does not confer entitlement to that target. Validate the actual selected tenant/resource against trusted caller authority instead of treating a header as an access grant.
59.A design encrypts application payloads over TLS and claims this also hides all packet destinations and traffic timing from the network path. What property is not established by payload encryption alone?
Show answer and explanation
- The possibility of separate metadata observations
- Complete concealment of network metadata
- Protection of content under the negotiated channel's guarantees
- The existence of network packets carrying the encrypted content
Answer: Complete concealment of network metadata
Transport content protection does not automatically hide every address, size, timing, or path characteristic. Evaluate the required confidentiality property explicitly instead of expanding encryption's scope beyond its actual guarantees.
60.A dedicated private circuit carries traffic to a service. No authenticated encryption is configured, but the data contract requires it. What remains to be established?
Show answer and explanation
- A private circuit treated as an authenticated encrypted protocol by definition
- Only the private route label
- The required channel authentication and encryption
- Dedicated capacity alone
Answer: The required channel authentication and encryption
Network isolation, capacity, and cryptographic channel protection are different properties. Implement and verify the required trust and encryption contract rather than infer it from a private transport label.
61.A service accepts client certificates from a trusted authority, but only workload W is permitted on this endpoint. A valid certificate names workload V. What additional identity condition must be enforced?
Show answer and explanation
- Every subject issued by the same authority treated as the permitted workload
- Chain validity alone
- The permitted workload identity
- Only the certificate issuer name
Answer: The permitted workload identity
A trusted issuer can authenticate many different principals. Match the validated identity to the intended endpoint policy rather than conflate issuer trust with permission for every issued subject.
62.A client copies a public certificate but lacks its corresponding private key. A handshake requires a valid proof using that private key. What is missing?
Show answer and explanation
- The readable certificate subject
- Only the copied certificate file
- A renamed copy of the same public certificate used in place of key proof
- The required private-key possession proof
Answer: The required private-key possession proof
A public certificate identifies a key binding under its trust rules; possessing its bytes is not the same as proving control of the private key. Enforce the actual handshake's proof requirement.
63.An issuer rotates from K1 to K2 without a compromise. Tokens signed by K1 remain valid for a declared overlap period. The verifier immediately removes K1. What compatibility condition is broken?
Show answer and explanation
- Acceptance of every old key forever regardless of the declared overlap policy
- Only K2's newer creation time
- Only the key-list display order
- Validation support for still-accepted K1 tokens
Answer: Validation support for still-accepted K1 tokens
A planned rotation must coordinate issuance and validation under the actual acceptance window. Preserve appropriate trusted overlap or change the token contract deliberately; this does not imply retaining a compromised key against policy.
64.A signing key is cryptographically capable of verifying a token but has been removed from the service's trusted key set after compromise. Other checks pass. What should the stated trust policy require?
Show answer and explanation
- Trust a familiar key name.
- Accept any verifying signature.
- Restore key trust from the token's self-asserted safety claim.
- Reject tokens relying on that untrusted key.
Answer: Reject tokens relying on that untrusted key.
Cryptographic verification and current trust authorization are separate conditions. A token cannot reinstate a compromised key by describing itself; enforce the service's trusted key policy.
65.A verifier cannot retrieve required trusted key material. A fallback proposes skipping signature checks so requests keep working. The contract requires verified authenticity. What is the boundary failure?
Show answer and explanation
- The outage grants signing authority.
- Only token representation changed.
- A plausible JSON payload substitutes for the required authenticity proof.
- Authenticity is being bypassed on dependency failure.
Answer: Authenticity is being bypassed on dependency failure.
Unavailable verification evidence is not a successful verification. Use an appropriate permitted failure/recovery path rather than waive the required authenticity condition to turn missing evidence into access.
66.An unauthenticated caller can send endless random key IDs, each forcing an expensive issuer fetch. Valid key-source restrictions exist, but no request or cache bounds do. What additional protection should be assessed?
Show answer and explanation
- Authentication lookup work assumed unable to exhaust shared resources
- Only the issuer's display name
- Key-ID string validity
- Bounded lookup work and suitable caching/rate controls
Answer: Bounded lookup work and suitable caching/rate controls
A correctly constrained trust source can still be overloaded through unbounded lookup work. Limit relevant retries, fetches, concurrency, and negative lookup behavior without weakening verification.
67.A system stores confidential claims in a token using only an ordinary text-to-base64url encoding, with no encryption. What confidentiality claim is unsupported?
Show answer and explanation
- That encryption would be a separate design choice
- That the token's characters can be transported as text
- That the encoding hides the claims from a possessor
- That the encoding can be decoded
Answer: That the encoding hides the claims from a possessor
Encoding is a representation, not a confidentiality mechanism. Do not place a secret in an encoded payload on the assumption that reversible text encoding makes it unreadable to its possessor.
68.A token's payload is signed but not encrypted. A valid recipient can inspect the claims. What does the signature primarily establish under the intended trust checks?
Show answer and explanation
- Claim confidentiality from the recipient
- Every action named in arbitrary request data
- Integrity/authenticity of the signed claims
- A guarantee that signed tokens cannot be replayed under any circumstances
Answer: Integrity/authenticity of the signed claims
A signature can support authenticity and integrity while leaving payload contents readable. Confidentiality, authorization, validity conditions, and replay handling need their own appropriate mechanisms.
69.A debug log contains a currently valid bearer credential in full. The logging audience is broader than the credential's intended holders. What authority boundary has expanded?
Show answer and explanation
- Log-line count only
- Who can obtain and exercise the bearer credential
- Log retention treated as making a live bearer credential nontransferable
- Only the credential description
Answer: Who can obtain and exercise the bearer credential
A bearer credential can confer capability to its possessor. Avoid exposing it through broader diagnostic access and use appropriate containment/rotation under the actual credential policy.
70.A build embeds a long-lived service credential into a reusable machine image. Rotating the source configuration file leaves already built images unchanged. What credential inventory must include those copies?
Show answer and explanation
- Source-file rotation treated as automatic rewriting of old images and running copies
- Retained artifacts and deployed image instances
- Only newly built images
- Current source contents only
Answer: Retained artifacts and deployed image instances
Credential copies can persist through build and deployment artifacts. Track and replace or revoke affected copies appropriately rather than equate one configuration edit with complete credential turnover.
71.A policy trusts an issuer only for workforce identities, but also accepts that issuer's unverified request field as an arbitrary tenant grant. What must define the accepted authority of claims?
Show answer and explanation
- Only the number of signed claims
- A valid issuer treated as empowered to grant every resource permission
- A tenant-shaped string alone
- The issuer's trusted claim semantics and delegated scope
Answer: The issuer's trusted claim semantics and delegated scope
Trust is scoped: authenticate the issuer and validate which claims and authority it is allowed to assert. A valid signature does not turn arbitrary fields into unrestricted grants.
72.A signed download capability binds an exact object path and query parameters. A proxy strips signed parameters before verification to simplify URLs. What must the contract preserve?
Show answer and explanation
- The canonical signed request and verification semantics
- Only the proxy's shortened URL
- Removed signed fields assumed unable to affect the scope or validity of verification
- Only the object title
Answer: The canonical signed request and verification semantics
Signatures apply to a defined representation and scope. Preserve or correctly reconstruct that agreed canonical request; do not alter authority-bearing fields and assume the original signature still establishes the same request.
73.A capability explicitly authorizes read of object A, not writes or other objects. A client presents it for deleting object B. What must the verifier check?
Show answer and explanation
- The capability's bound action and resource
- One valid object-read capability treated as account-wide delete authority
- Any valid signature alone
- Only a shared file extension
Answer: The capability's bound action and resource
A capability has a scope, not merely a validity bit. Bind the request's effective action/resource to the authorized scope and reject mismatches rather than extend one permitted read to unrelated effects.
74.A service account is deleted, then a different account receives the same friendly name. The policy intends to authorize only the original principal. What identity choice needs review?
Show answer and explanation
- The friendly name alone
- Stable principal identity and account lifecycle semantics
- A reused display name treated as proof of the same stable principal
- Only the current account count
Answer: Stable principal identity and account lifecycle semantics
Human-readable names can be reused independently of principal identity. Apply the platform's actual stable identity/lifecycle semantics to the intended trust contract rather than silently transfer authority to a replacement name.
75.An authorization cache keys results only by principal, although rights differ by action and object. A permitted read result is reused for a delete on another object. What key scope is missing?
Show answer and explanation
- The relevant action, resource, and policy context
- One positive decision reused as permission for every later action/resource pair
- A longer decision-cache lifetime
- Only a display name
Answer: The relevant action, resource, and policy context
A permission decision answers a scoped question. Cache identity and freshness must preserve the relevant principal/action/resource/policy conditions rather than turn one allowed request into universal access.
76.An asynchronous export is approved at submission. The contract requires current access again before execution, because jobs may wait for hours. The caller loses access while queued. What should the worker check?
Show answer and explanation
- Only a well-formed job message
- The required current authorization at execution
- Submission approval alone
- Queue acceptance treated as preserving every former permission indefinitely
Answer: The required current authorization at execution
Use the contract's authorization time boundary. Submission approval may be relevant evidence, but it does not waive a separately required current check after authority can change.
77.An API authorizes reading resource A, then lets an untrusted request field replace the target with resource B before the fetch. What invariant is broken?
Show answer and explanation
- The authorized resource must be the one actually accessed.
- Any allowed read permits substitution.
- Authentication makes target checks unnecessary.
- The first logged target treated as the only relevant resource despite a later fetch
Answer: The authorized resource must be the one actually accessed.
Bind the authorization decision to the effective operation and resource. A successful check on one target cannot authorize an untrusted substitution before the actual effect.
78.A caller is permitted while an object's owner is tenant A. Before the write commits, another transaction transfers it to tenant B. The write must obey ownership at commit time. What mechanism is needed?
Show answer and explanation
- Any earlier valid authorization treated as surviving arbitrary later ownership changes
- A longer positive-cache lifetime
- An earlier owner read
- A suitable atomic/conditional authorization-and-write boundary
Answer: A suitable atomic/conditional authorization-and-write boundary
A check can become stale between observation and effect. Use appropriate transactional or version-conditional semantics for the required commit-time rule, rather than assume a prior ownership read remains true.
79.A data API allows the request to omit its tenant filter, in which case the query returns every tenant. The contract permits only the caller's authorized tenant set. What should determine query scope?
Show answer and explanation
- Authenticated clients assumed never to omit security-relevant query constraints
- Trusted caller authority enforced in the effective query
- An optional client filter
- Only the table display name
Answer: Trusted caller authority enforced in the effective query
Security scope must not depend on an optional cooperative client field. Enforce the authorized tenant/resource set in the trusted execution path and validate any requested narrowing against it.
80.A response correctly filters visible records to tenant A but returns a total-count field covering every tenant. Policy forbids cross-tenant metadata disclosure too. What must use the authorized scope?
Show answer and explanation
- Only the response label
- Aggregate metadata treated as incapable of crossing any information boundary
- Only row bodies
- The count and other relevant response metadata
Answer: The count and other relevant response metadata
Authorization can cover metadata as well as primary records. Compute counts and related fields from the permitted set or another explicitly allowed disclosure rule, rather than leak broader scope through auxiliary values.
81.An attribute policy allows writes when resource.owner equals the caller. The caller can freely edit resource.owner before the write. What authority path must be controlled?
Show answer and explanation
- Owner-field spelling
- Only attribute count
- Who may change the security-relevant owner attribute
- An attribute policy assumed safe independently of who can rewrite its trusted inputs
Answer: Who may change the security-relevant owner attribute
A policy depends on the integrity of its inputs. Protect security-relevant attributes and their updates so a caller cannot grant themselves rights simply by changing the facts the policy trusts.
82.A resource is labeled confidential by a trusted classifier. A storage admin can remove that label, causing the access policy to allow broader reads. What belongs in the confidentiality boundary?
Show answer and explanation
- Only current encryption at rest
- Security-label editing treated as unable to change effective data access
- Authority over label changes and policy-relevant metadata
- Current reader list only
Answer: Authority over label changes and policy-relevant metadata
Effective authority can pass through policy inputs. Review who can alter trusted classification and the resulting access scope instead of treating current grants as independent of editable security metadata.
83.A policy requires verified membership in group G. The membership service times out, and the caller has no other grant path. What result satisfies that requirement?
Show answer and explanation
- All authenticated users become members.
- Timeout proves membership.
- A missing membership response treated as a positive trusted group assertion
- Access is not established by the missing membership evidence.
Answer: Access is not established by the missing membership evidence.
Unavailable required evidence is neither a positive grant nor a successful validation. Use the specified permitted failure handling without manufacturing group membership from a dependency timeout.
84.An audit stream records only successful requests. A review needs to determine whether prohibited cross-tenant attempts were denied and why. What evidence is missing?
Show answer and explanation
- The relevant denied-attempt and enforcement evidence
- Only configured-role count
- An absent success record treated as proof that no request or denial occurred
- More successful reads only
Answer: The relevant denied-attempt and enforcement evidence
Successful-operation records do not enumerate every attempted or rejected request. Preserve appropriate permitted denial and policy-context evidence needed for the investigation without inferring nonexistence from a success-only stream.
85.A policy test sends a request with no valid authentication and gets rejected. It reports that an authenticated tenant A principal cannot access tenant B's record. What case remains untested?
Show answer and explanation
- The authenticated cross-tenant authorization case
- The ability to return any failure before the relevant authorization case is reached
- Only endpoint existence
- The already-tested anonymous denial
Answer: The authenticated cross-tenant authorization case
A denial before authentication does not exercise the target authorization boundary. Test the relevant authenticated principal/action/resource combination so one gate's rejection does not masquerade as another gate's verification.
86.A policy file parses correctly and contains valid field names. Its rule grants a broader resource set than intended. What does syntax validation fail to prove?
Show answer and explanation
- That policy semantics require separate analysis
- That the file is parseable
- That field names can be checked
- The intended effective authorization scope
Answer: The intended effective authorization scope
Structural validation is useful but narrower than security correctness. Evaluate the effective grants, conditions, precedence, and counterexamples against the intended scope rather than equate a valid format with a correct policy.
87.A service gets access denied even though its local role allows the action. A separate required resource policy and organization constraint also apply. What diagnostic evidence is most relevant?
Show answer and explanation
- The effective principal and all applicable decision gates
- Only an administrator's successful request
- One local allow treated as removing every other required policy condition
- The local role name
Answer: The effective principal and all applicable decision gates
Trace the actual request context and applicable evaluation layers. A direct local grant can be insufficient under the stated composed policy; broadening unrelated permissions is not a diagnosis.
88.A migration ends with a narrow policy, but an intermediate step temporarily grants all tenants public read. The invariant forbids that exposure at any time. What must the migration plan preserve?
Show answer and explanation
- The invariant through intermediate states
- Only final deployment success
- The final policy alone
- Later revocation treated as undoing unauthorized disclosure in an intermediate state
Answer: The invariant through intermediate states
A correct endpoint state does not excuse an invalid transition. Design and verify compatible intermediate steps or an appropriate atomic change so the required boundary holds throughout the migration.
89.A rarely used recovery permission has not appeared in normal-traffic logs. A plan removes it solely on that basis, although an approved recovery procedure requires it. What evidence is missing?
Show answer and explanation
- Only routine request count
- The relevant exceptional-workflow requirement and test
- Only more normal-traffic logs
- Absence in ordinary traffic treated as proof of no required exceptional use
Answer: The relevant exceptional-workflow requirement and test
Observed usage can guide least-privilege review without covering every required rare path. Reconcile the justified recovery workflow and its scoped authority instead of turning a normal-period absence into a universal conclusion.
90.An engineer cannot change the data policy but can edit routes to bypass the only network inspection boundary. The design relies on that boundary being mandatory. What effective authority needs review?
Show answer and explanation
- Only inspection-rule count
- Direct data grants only
- Route-edit authority treated as irrelevant to whether inspection can be bypassed
- Control of paths that can bypass enforcement
Answer: Control of paths that can bypass enforcement
Security controls depend on enforced topology as well as local rules. Review configuration authority and alternate paths so mandatory inspection is not merely one optional route.
91.A federated deploy role requires trusted claims for project P, environment production, and audience deploy. A signed token has P and deploy but environment test. What follows from the conjunctive rule?
Show answer and explanation
- Rename the failing claim after signature verification.
- Two of three claims pass by majority.
- It does not satisfy the production role's conditions.
- Trusted signatures waive environment.
Answer: It does not satisfy the production role's conditions.
Federation should bind all required trusted claim conditions to the intended workload/action. An issuer's authenticity does not waive a failed environment or scope condition.
92.A public service fetches a caller-selected URL using its privileged private-network reachability. No destination policy limits those requests. What boundary is being delegated to the caller?
Show answer and explanation
- Server-side outbound requests assumed not to exercise the server's network position
- Only the fetched page title
- Only the caller's own network access
- The service's onward network reachability
Answer: The service's onward network reachability
The service can become a network deputy for caller-selected targets. Constrain and validate the effective destination and request behavior according to the intended authority boundary.
93.An outbound policy checks a hostname's resolved address, but the actual connection later resolves it again and may use a different address outside the allowed set. What must the enforcement bind to?
Show answer and explanation
- Only the hostname string
- Repeated resolution assumed always to produce the same allowed address
- The effective destination used by the connection
- Only the first lookup result
Answer: The effective destination used by the connection
A check and its eventual effect must refer to the same permitted target. Account for resolution changes, redirects, proxies, and actual connection behavior instead of validating one address and using another unchecked one.
94.Every path from caller C to service S must pass inspector I. The graph includes C→I→S and also a direct C→S edge with no other control. What violates the requirement?
Show answer and explanation
- The already-inspected path alone
- Only graph node count without checking bypass reachability
- The direct bypass path C→S
- Inspector existence
Answer: The direct bypass path C→S
A mandatory inspection property is about all allowed paths, not the presence of one inspected path. Remove or appropriately control the bypass and verify effective routing/enforcement.
95.A permission change prevents new authorized calls but does not stop an already running remote operation. The runbook claims the change alone undoes that operation's completed writes. What is unsupported?
Show answer and explanation
- Retroactive reversal of completed effects
- The distinction between revocation and compensation
- The possibility that a remote task is still running
- The ability to change future permission decisions
Answer: Retroactive reversal of completed effects
Revoking future authority is different from terminating current work or reversing past effects. Define and verify the relevant cancellation, fencing, and remediation semantics instead of treating one policy update as all three.
96.A workload is configured to use role R, but the supplied credential-resolution order chooses exported static credential S first. An observed request is denied under S. What should troubleshooting inspect?
Show answer and explanation
- Intended configuration treated as overriding the stated actual credential-selection order
- The actual selected principal and credential source
- Only workload naming
- Only intended role R
Answer: The actual selected principal and credential source
Effective runtime identity can differ from intended deployment identity. Verify the selected credential path and principal before changing a role that the request did not actually use.
97.Private endpoint configuration exists, but the workload's connection trace shows a hardcoded public address. What observation is needed before claiming private-path use?
Show answer and explanation
- Private endpoint existence
- Private endpoint creation treated as automatic rerouting of hardcoded public targets
- The effective runtime destination and route
- Only configuration-command success
Answer: The effective runtime destination and route
Configured options are not necessarily exercised paths. Verify actual resolution, connection target, and routing from the intended workload context rather than declare private use from resource creation alone.
98.A shared cache keys personalized responses only by URL path. Two authorized users have different permitted records at that path. What response boundary must the cache preserve?
Show answer and explanation
- The relevant output and authorization context
- Only URL path and response size
- Only successful authentication of either user
- One user's authorized cached response treated as valid for every authenticated caller
Answer: The relevant output and authorization context
Authentication of two callers does not imply equal response entitlement. Cache reuse must preserve the appropriate authorized/output equivalence and freshness conditions rather than leak one caller's data to another.
99.A key administrator lacks direct decrypt permission but can change the key policy to grant themselves decrypt access. What separation claim is too strong without further controls?
Show answer and explanation
- That direct decrypt is currently absent
- That current absence of decrypt prevents all reachable decrypt authority
- That policy administration can change grants
- That the key policy can have an auditable version
Answer: That current absence of decrypt prevents all reachable decrypt authority
Analyze authority over policy changes as well as present use permissions. Without a suitable boundary, policy administration can create a path to capability that a snapshot of current direct grants omits.
100.A metrics endpoint is reachable from a broad monitoring network and returns a live service credential in its debug fields. The main API enforces strict permissions. What exposure remains?
Show answer and explanation
- Only primary-API formatting
- No exposure because the main API is protected
- Diagnostic responses assumed unable to carry usable authority-bearing credentials
- Credential disclosure through the auxiliary endpoint
Answer: Credential disclosure through the auxiliary endpoint
Auxiliary paths can bypass the intended information boundary. Review actual returned data and permitted viewers across diagnostics as well as the primary application endpoint.
101.A test proves an allowed principal can perform a permitted read over the private path. The requirement also forbids cross-tenant reads and all writes from that principal. What verification is still needed?
Show answer and explanation
- One positive read treated as proof that all forbidden actions and paths are denied
- Relevant negative cases and alternate effective paths
- Only the role's display description
- More identical allowed reads
Answer: Relevant negative cases and alternate effective paths
A positive-path success verifies a narrower property than isolation. Exercise the intended denials and applicable paths under the actual policy/identity context rather than infer the whole boundary from one allowed operation.