Product manager: Technical Product Tradeoffs
Original technical product interviews on latency and capacity budgets, API evolution, consistency, offline behavior, tenant boundaries, migrations, and interaction contracts. Compare concrete designs using stated requirements, quantitative models, and recovery guarantees.
These prompts are original practice. They are not questions from a named employer or a live hiring loop.
1.A dashboard waits for three required stages in sequence: 40 ms of authorization, 90 ms of data retrieval and 30 ms of rendering. Ignore all other time. What is the minimum latency in this model?
Show answer and explanation
- 120 ms
- 160 ms
- 90 ms
- 40 ms
Answer: 160 ms
All three stages lie on the sequential completion path, so their times add: 40+90+30=160 ms. The slowest-stage time alone would apply to a different parallel model.
2.After 20 ms of setup, an editor requests two independent required resources concurrently. They take 70 ms and 110 ms, then rendering takes 15 ms. Ignore contention. When can rendering finish?
Show answer and explanation
- 125 ms after setup begins
- 110 ms after setup begins
- 215 ms after setup begins
- 145 ms after setup begins
Answer: 145 ms after setup begins
Both resources are required, so the parallel portion takes max(70,110)=110 ms. Adding setup and rendering gives 20+110+15=145 ms.
3.A request needs three sequential remote round trips, each with a fixed 60 ms network delay and 10 ms processing. A proposed endpoint combines the work into one round trip with 30 ms processing. Ignore other costs. How much latency is saved?
Show answer and explanation
- 180 ms
- 30 ms
- 60 ms
- 120 ms
Answer: 120 ms
The original path takes 3(60+10)=210 ms; the combined path takes 60+30=90 ms. The saving is 120 ms, from eliminating two network round trips under the model.
4.A page has a 300 ms end-to-end deadline. Fixed network and rendering costs total 140 ms; backend execution can take up to 120 ms. What queue-wait budget remains at that execution bound?
Show answer and explanation
- 40 ms
- 20 ms
- 180 ms
- 160 ms
Answer: 40 ms
The deadline covers every stage: queue wait+140+120≤300. Queue wait therefore must not exceed 40 ms at the stated execution bound.
5.A stable request system is modeled by L=λW. It completes 80 requests per second with mean time in the system 0.25 seconds. What mean number of in-flight requests follows?
Show answer and explanation
- 80.25
- 20
- 0.003125
- 320
Answer: 20
Using the declared steady-state relation gives L=80×0.25=20. The time unit is seconds, consistent with the arrival/completion rate; this is a mean, not a hard concurrency bound.
6.A queue receives 120 jobs per second and workers complete 100 per second continuously for 30 seconds. It starts empty, with no dropped jobs or other changes. How many unfinished queued jobs accumulate?
Show answer and explanation
- 600
- 3000
- 3600
- 20
Answer: 600
The net accumulation is 120−100=20 jobs per second. Over 30 seconds that adds 600 jobs; adding workers later does not erase the waiting already accumulated.
7.A service has four workers, each processing exactly one 50 ms job at a time. There is no overhead or contention. What sustained completion-rate ceiling follows?
Show answer and explanation
- 200 jobs per second
- 80 jobs per second
- 8 jobs per second
- 20 jobs per second
Answer: 80 jobs per second
One worker can finish 1/0.05=20 jobs per second. Four independent workers supply 4×20=80 in this idealized capacity model.
8.A proposed API accepts unlimited concurrent requests while downstream capacity remains fixed. Arrivals can exceed service capacity indefinitely, with no dropping or other bound. What conclusion follows?
Show answer and explanation
- Unlimited admission eliminates queuing because no request is rejected
- Admitting more requests necessarily increases the downstream service capacity by the same factor
- Increasing admission capacity alone does not establish bounded waiting time
- A longer admission queue alone guarantees that every accepted request meets a fixed deadline
Answer: Increasing admission capacity alone does not establish bounded waiting time
Admission capacity is not completion capacity. With sustained arrival above service capacity and no other bound, queued work can grow without bound; more accepted requests alone do not establish a latency guarantee.
9.A batcher flushes exactly every 100 ms. Arrivals are uniform within each interval and processing adds no delay. What are the mean and maximum batching waits, ignoring boundary coincidences?
Show answer and explanation
- 0 ms mean; supremum 50 ms
- 50 ms mean; supremum 100 ms
- 50 ms mean; supremum 50 ms
- 100 ms mean; supremum 100 ms
Answer: 50 ms mean; supremum 100 ms
A request waits for the remainder of its interval, uniformly between zero and 100 ms. The mean is 50 ms and waits can approach 100 ms; batching throughput benefits do not remove this latency cost.
10.A network transfer is 4 MB over a link carrying 2 MB/s. Compression reduces it to 1 MB but adds 0.4 seconds of nonoverlapping CPU time. Ignore all other costs. What time saving follows?
Show answer and explanation
- 2.4 seconds
- 0.4 seconds
- 1.5 seconds
- 1.1 seconds
Answer: 1.1 seconds
Uncompressed transfer takes 4/2=2 seconds. Compressed work takes 0.4+1/2=0.9 seconds. The net saving is 1.1 seconds under the stated sequential cost model.
11.A search result's median latency improves, but its 99th-percentile latency worsens. The product promises an upper bound specifically at the 99th percentile. What evidence determines whether this latency promise improved?
Show answer and explanation
- The arithmetic mean of median and p99, treated as a replacement for the promised percentile
- The fastest observed request, treated as evidence that the tail requirement is satisfied
- The improved median alone, because a lower middle observation forces every upper percentile lower
- The 99th-percentile result against the promised bound
Answer: The 99th-percentile result against the promised bound
A percentile-specific promise must be assessed at that percentile and scope. The median does not determine the tail, and averaging two percentiles does not create the promised endpoint.
12.An interactive operation has a 500 ms absolute deadline. At t=350 ms the next attempt requires at least 100 ms of execution and a mandatory 80 ms backoff first. Can that attempt finish by the deadline?
Show answer and explanation
- No; every retry necessarily takes more than 500 ms
- Yes; the backoff resets the absolute deadline
- No; its earliest finish is t=530 ms
- Yes; execution alone ends at t=450 ms
Answer: No; its earliest finish is t=530 ms
The remaining path is 80+100=180 ms, so earliest completion is 350+180=530 ms. A retry policy must account for the remaining total deadline, including its own waiting.
13.A client makes up to three attempts per logical request. In a steady regime, every first and second attempt times out and every third succeeds. For 200 logical requests per second, what average downstream attempt rate follows?
Show answer and explanation
- 1200 per second
- 200 per second
- 600 per second
- 400 per second
Answer: 600 per second
Each logical request produces three downstream attempts in this stated case: 200×3=600 per second. Capacity planning must include retries rather than count only successful logical operations.
14.Two simultaneous copies of one read are sent to different replicas to reduce latency. Which condition is required before treating the first returned value as an acceptable product result?
Show answer and explanation
- Accept whichever replica responds first even if it violates the declared freshness bound
- Ignore the requested consistency level whenever a second replica is queried
- Treat the first response as authoritative solely because its latency is lower
- Either winning replica must satisfy the read's freshness and correctness contract
Answer: Either winning replica must satisfy the read's freshness and correctness contract
Racing reads changes which replica supplies the answer. Latency is useful only if every possible winning response meets the requested data semantics; the first arrival alone does not establish freshness.
15.An export endpoint times out at the client, but the server may continue producing a file. The UI offers Retry. Which contract is needed to avoid unintentionally creating a second logical export?
Show answer and explanation
- A guarantee that a client timeout proves the server rolled back
- A way to identify and reconcile or deduplicate the original operation across retries
- A fresh unrelated operation ID on every retry with no reconciliation
- Treating every second click as a different export regardless of user intent
Answer: A way to identify and reconcile or deduplicate the original operation across retries
A timeout leaves the remote outcome uncertain. Stable operation identity and a defined reconciliation/deduplication policy let the product distinguish a retry from a new requested export.
16.A fast preview uses an approximate document count with a declared ±5% error bound. A later destructive operation must act on an exact validated document set. Which design respects both contracts?
Show answer and explanation
- Reuse the approximate count as proof of the exact document membership
- Remove the error label once the user confirms the preview
- Round the approximate count to an integer and call the target set exact
- Use the preview for exploration and validate the exact target set before the destructive operation
Answer: Use the preview for exploration and validate the exact target set before the destructive operation
An approximate count can be useful for a preview but cannot identify exact membership. The action needs its own validated target set and confirmation semantics under the stricter contract.
17.A service has 1 GB of memory available for concurrent jobs. Each job reserves 80 MB plus a fixed shared 200 MB overhead. Using decimal MB and ignoring other memory, what is the largest safe integer concurrency?
Show answer and explanation
- 8 jobs
- 12 jobs
- 10 jobs
- 15 jobs
Answer: 10 jobs
The jobs can use 1000−200=800 MB. With 80 MB per job, floor(800/80)=10; fixed and per-job allocations must both fit at the same time.
18.A stream produces 6 MB/s, but a client can consume only 4 MB/s. An initially empty buffer has capacity 10 MB. With no compression or dropping, after how long does it first fill?
Show answer and explanation
- 10 seconds
- 15 seconds
- 5 seconds
- 2.5 seconds
Answer: 5 seconds
The buffer accumulates at the difference 6−4=2 MB/s. Its 10 MB capacity fills after 10/2=5 seconds. Buffering delays overload rather than resolving a persistent rate mismatch.
19.A design caches a result that costs 200 ms to compute. A cache hit costs 20 ms and the hit rate is 75%. Ignoring miss overhead and other time, what expected response time follows?
Show answer and explanation
- 110 ms
- 155 ms
- 50 ms
- 65 ms
Answer: 65 ms
The weighted mean is 0.75(20)+0.25(200)=15+50=65 ms. This expectation does not establish a tail guarantee or the result's freshness.
20.A team proposes replacing an exact operation with a faster approximation. The requirement forbids any false acceptance but permits false rejection. What evidence addresses the required tradeoff?
Show answer and explanation
- A justified bound or proof of no false acceptances over the declared supported domain
- A smaller approximation error on average while leaving forbidden false acceptances unbounded
- A lower mean latency over a test sample without a decision-correctness argument
- A low combined error rate that permits some false acceptances on supported inputs
Answer: A justified bound or proof of no false acceptances over the declared supported domain
The asymmetric contract constrains false acceptance specifically. Average speed or aggregate error cannot replace a justified guarantee for the forbidden error over the supported domain.
21.A public API changes a field from an integer byte count to a string such as '2 KB' while keeping the same field name. Existing clients perform integer arithmetic. What compatibility issue is introduced?
Show answer and explanation
- The change is necessarily compatible because the field name is unchanged
- Only server memory usage can be affected by the representation change
- The existing representation and type contract changes for those clients
- The string automatically preserves every client's arithmetic behavior
Answer: The existing representation and type contract changes for those clients
A stable name does not preserve a changed value type or unit representation. Compatible evolution needs an explicit migration or versioning strategy for clients relying on the old contract.
22.An API adds a new optional response field. One deployed client rejects all unknown fields. What evidence is needed before declaring this rollout compatible with supported clients?
Show answer and explanation
- The behavior of supported decoders, including that strict client
- A guarantee that all additive changes are accepted by every deployed decoder
- Only that the server's JSON is syntactically valid
- Only that the added field is marked optional in the new server documentation
Answer: The behavior of supported decoders, including that strict client
Additive server changes can still break strict consumers. Compatibility is a property of actual producer/consumer contracts and supported versions, not just the direction of a schema edit.
23.A client handles exactly two enum values, queued and done, and throws on any other value. A server adds paused for supported clients without negotiation. What risk follows?
Show answer and explanation
- The old clients automatically display paused because it is valid on the server
- The server's additional enum value cannot affect parsing behavior
- Those clients can fail when the new valid value appears
- The error is impossible as long as the HTTP status remains 200
Answer: Those clients can fail when the new valid value appears
A closed-world enum decoder can reject a server's expanded value set. The rollout needs a compatible consumer strategy, version boundary, or other explicit handling of the new state.
24.A field can be absent or explicitly null. The contract says absent means 'leave unchanged' and null means 'clear it'. What does an update containing explicit null request?
Show answer and explanation
- Delete the enclosing resource because a null field requests removal of all record identity
- Clear the field
- Replace the field with its default even though the contract explicitly assigns null a different meaning
- Leave the field unchanged because null and an absent field always mean the same update
Answer: Clear the field
The update semantics distinguish omission from an explicit null. A client or serializer that collapses them can silently turn a clear action into no action or vice versa.
25.An update operation accepts If-Match with the strong tag for the revision a client edited. The resource changed after that revision, and the condition is false. What behavior protects against an accidental stale overwrite?
Show answer and explanation
- Merge by whichever request happens to arrive last without examining the condition
- Treat the supplied tag as permission to overwrite every later revision
- Apply the stale update because the client supplied any tag at all
- Do not apply the stale update; surface the precondition failure for reconciliation
Answer: Do not apply the stale update; surface the precondition failure for reconciliation
A conditional update must evaluate the actual revision precondition before modifying the resource. Rejecting a stale condition preserves the opportunity to reconcile concurrent changes rather than silently losing them.
26.A service deduplicates creation requests by tenant ID plus client-supplied operation key. Two different tenants both use key K. What should this declared scope permit?
Show answer and explanation
- A collision that merges both tenants' created resources
- Only one creation globally because the key text matches
- One independent logical creation for each tenant
- Two creations for the first tenant and none for the second
Answer: One independent logical creation for each tenant
The deduplication identity is the pair (tenant,key), not the key alone. Reusing K across different tenants therefore identifies different operations under this contract.
27.A create API deduplicates identical requests by a retry key retained for one hour. A client retries the same operation after two days. What guarantee cannot be inferred from that one-hour retention policy alone?
Show answer and explanation
- That the two-day retry occurred outside the documented one-hour retention interval
- Deduplication of that late retry against the original creation
- That the retained reservation covers a valid identical retry inside its stated one-hour window
- That a separate reconciliation protocol could identify the original operation after key expiry
Answer: Deduplication of that late retry against the original creation
A deduplication window bounds retained operation identity. Once it has expired, the old key may no longer identify the original operation; late retries need a separate reconciliation or product policy.
28.A client first uses operation key P to create an export of folder A, then sends the same key with folder B. The contract binds one key to one canonical request. What behavior preserves that contract?
Show answer and explanation
- Replace the request bound to P with folder B and report that no operation identity changed
- Execute both folder exports while treating their distinct inputs as the same canonical request
- Reject the conflicting reuse rather than reinterpret the original operation
- Return the folder A artifact as a successful answer to the folder B request without surfacing conflict
Answer: Reject the conflicting reuse rather than reinterpret the original operation
Reusing the key with different request content is a conflict, not an identical retry. Binding the key to request identity prevents the product from reporting an outcome for a different requested operation.
29.An HTTP endpoint returns 202 Accepted for a long-running import. Which additional product interface makes eventual completion or failure observable?
Show answer and explanation
- A rule that 202 means all records have already been imported
- Repeating the acceptance message without an operation identity
- A permanent success badge shown immediately for every 202 response
- A durable operation-status resource with defined terminal states
Answer: A durable operation-status resource with defined terminal states
Acceptance is not completion. A stable status resource and terminal-state contract let clients follow the operation and distinguish success, failure, cancellation, and unresolved work as appropriate.
30.An API lists sorted records [A,B,C,D] with offset pagination, two per page. After the first page [A,B], A is deleted. Using offset 2 on the current list, what second page is returned?
Show answer and explanation
- [B,C], repeating B
- [A,B], because deletion resets every offset to zero
- [D], skipping C
- [C,D], because offsets retain snapshot positions automatically
Answer: [D], skipping C
After deletion the current list is [B,C,D]. Skipping its first two records returns [D]. Stable traversal requires a suitable snapshot/cursor contract rather than assuming offsets refer to the original list.
31.A cursor paginates by
updated_atonly. Two records share the same timestamp, and the next page uses strictly later timestamps. What contract change avoids losing an equal-timestamp record at the boundary?Show answer and explanation
- Increase page size while leaving all equal-timestamp boundary behavior undefined
- Use a stable total ordering, such as (updated_at,unique_ID), with matching cursor semantics
- Use the timestamp as a cursor and discard every record tied with the last returned timestamp
- Sort by the same nonunique timestamp and assume the strict filter retains equal-key peers
Answer: Use a stable total ordering, such as (updated_at,unique_ID), with matching cursor semantics
A nonunique ordering key leaves ambiguous page boundaries. A deterministic tie-breaker and matching cursor comparison let traversal resume after a specific record instead of discarding its equal-key peers.
32.A webhook receiver applies a side effect, then crashes before acknowledging the event. The sender retries because no acknowledgement arrived. What receiving contract prevents duplicate logical application?
Show answer and explanation
- Persistently deduplicate by event identity with side-effect coordination
- Use the delivery attempt's new network connection as a unique business event
- Deduplicate only in process memory that disappears on the crash
- Assume a retry proves the first side effect never happened
Answer: Persistently deduplicate by event identity with side-effect coordination
A crash can separate application from acknowledgement. Durable event identity coordinated with applying the effect is needed; a new delivery is not necessarily a new business action.
33.A receiver obtains state updates for one object in order: revision 8, then revision 7. Updates carry a monotonic object revision and represent full replacement state. Which rule preserves the newer state?
Show answer and explanation
- Replace with revision 7 because it arrived more recently
- Reject or ignore a stale revision instead of replacing revision 8 with 7
- Apply both in arrival order and guarantee the final state is revision 8
- Add the two revision numbers and treat their state as revision 15
Answer: Reject or ignore a stale revision instead of replacing revision 8 with 7
Arrival time need not match logical update order. A declared monotonic revision permits the receiver to recognize that the later-delivered replacement is stale.
34.A machine client chooses recovery by parsing an English sentence in an error response. Product copy is about to be localized. Which interface is more robust for recovery decisions?
Show answer and explanation
- A documented stable machine-readable error type or code
- Infer recovery from message length while allowing unrestricted translation and copy edits
- Use a substring of the localized detail without any documented stable parsing contract
- Parse the first translated sentence as a stable machine interface despite unspecified wording
Answer: A documented stable machine-readable error type or code
Human messages can change with translation and editing. A stable documented machine field separates programmatic recovery from presentation wording without freezing the user-facing language.
35.A resumable upload stores verified byte ranges and an upload identity. A client reconnects after sending 30 MB of a 100 MB file, but the server confirms only 24 MB persisted. From what point should the client resume under a contiguous-prefix contract?
Show answer and explanation
- A random boundary chosen from the unconfirmed range
- The confirmed 24 MB boundary
- The final 100 MB boundary
- The client's unconfirmed 30 MB send boundary
Answer: The confirmed 24 MB boundary
Sent bytes are not necessarily persisted bytes. A contiguous-prefix resume contract uses the server's verified boundary so missing data is retransmitted without assuming unconfirmed transfer succeeded.
36.A browser reports that an asynchronous task's cancellation request was sent. The worker may already have committed the result. What product promise requires more than sending that request?
Show answer and explanation
- That a status lookup could distinguish committed work from an acknowledged cancellation
- That the browser can represent a cancellation-requested state while the result remains unresolved
- That the worker may have finished before receiving a message the browser already sent
- A guarantee that no result was committed and all effects were undone
Answer: A guarantee that no result was committed and all effects were undone
Cancellation can race with completion. The product must define terminal-state and compensation semantics; sending a signal alone does not prove rollback or the absence of completed effects.
37.A new SDK retries every failed POST automatically. The API does not declare those operations idempotent or provide retry deduplication. What is the unresolved product risk?
Show answer and explanation
- A guarantee that every failure means no server-side work occurred
- A guarantee that every POST becomes a safe read
- Repeated side effects after an ambiguous failure
- A requirement that all repeated responses have identical bytes
Answer: Repeated side effects after an ambiguous failure
A failed response can leave the server outcome uncertain. Retrying a non-idempotent operation without a suitable protocol can repeat its effect; HTTP method spelling alone does not supply deduplication.
38.An endpoint supports a maximum of 500 IDs per request. A new client sends 1200 IDs, and the documented contract rejects oversized requests without processing any IDs. How many IDs are processed from that request?
Show answer and explanation
- 0
- 1200
- 700
- 500
Answer: 0
The stated contract is atomic rejection, not truncation or partial acceptance. A client must split work or use another supported interface rather than infer that the first 500 IDs were processed.
39.A batch write reports each item as success or failure and may partially succeed. What must a retry flow preserve to avoid repeating already successful non-idempotent writes?
Show answer and explanation
- The per-item outcomes and operation identities needed for selective retry or reconciliation
- Only the original item count with no item identities
- Only the batch's overall HTTP success status
- A new unrelated batch ID while blindly resubmitting every side effect
Answer: The per-item outcomes and operation identities needed for selective retry or reconciliation
Partial success needs item-level recovery. A coarse status or fresh batch ID does not reveal which logical writes already happened; the retry protocol must handle those identities and outcomes.
40.A public API promises a stable resource ID, but a redesign derives it from the resource's mutable display name. Renaming then changes the ID. Which conclusion follows?
Show answer and explanation
- The claim that existing resource links survive a rename automatically under a name-derived ID
- A guarantee that mutable display names are suitable permanent identifiers without a mapping
- A requirement that every rename intentionally creates a distinct logical resource with no retained links
- Stable identity across a display-name change is broken
Answer: Stable identity across a display-name change is broken
Identity and presentation have different lifetimes. Clients may retain links and references across renames; a mutable-name-derived ID conflicts with the explicitly stable identity promise.
41.A user saves a document, then immediately reads from an asynchronously updated replica that can lag. The promise is to show that user's confirmed save immediately. Which read policy directly supports the promise?
Show answer and explanation
- Increase the replica's cache TTL while keeping the same stale read path
- Hide the Save button once the write request is acknowledged
- Read from an authority or session-aware path that includes the confirmed write
- Read from any lagging replica and assume the acknowledgement updates it instantly
Answer: Read from an authority or session-aware path that includes the confirmed write
The product needs read-your-write behavior for this session. A suitable authoritative or causally aware read path can provide it; asynchronous replication alone does not guarantee the required immediate visibility.
42.An offline editor lets two devices replace the same paragraph independently. Synchronization uses last-writer-wins for the whole paragraph. What tradeoff must the product acknowledge?
Show answer and explanation
- One concurrent edit can be overwritten rather than semantically merged
- The policy guarantees that both authors' intended text edits are semantically combined
- A later timestamp establishes that the selected paragraph includes both concurrent authors' changes
- Both versions must remain independently visible even though the policy retains only one whole value
Answer: One concurrent edit can be overwritten rather than semantically merged
Whole-value last-writer-wins resolves storage state by choosing one version. It does not understand or preserve all independent text edits; the product may need conflict presentation, merge behavior, or an accepted loss policy.
43.A task list synchronizes deletions using tombstones, but removes tombstones before a long-offline device reconnects. That device still has a deleted task. What risk needs a defined protocol?
Show answer and explanation
- Discarding a tombstone proves all offline replicas already applied its delete operation
- A successful reconnect automatically distinguishes an old deleted task from a new task without identity history
- The stale device is guaranteed to know the deletion even though no applicable history remains
- The stale task can be reintroduced unless deletion history or reconciliation prevents it
Answer: The stale task can be reintroduced unless deletion history or reconciliation prevents it
A stale replica can present an old object after the system forgot its deletion. Retention and offline-support windows must align, or another reconciliation protocol must preserve the intended deletion.
44.A search service promises that revoked access takes effect before returning document text. Its index still contains a user's old permission. What check must guard the returned content?
Show answer and explanation
- Only whether the indexed document title matches the query
- Only the permission snapshot from the last weekly index build
- Whether the result's relevance score exceeds a high threshold
- Authorization against the required current access state before releasing text
Answer: Authorization against the required current access state before releasing text
Search relevance and access rights are separate decisions. A stale permission index cannot by itself meet an immediate-revocation contract; current authorization must guard the data actually released.
45.A private export link expires in ten minutes. A browser already downloaded the export successfully. What does link expiry alone not guarantee?
Show answer and explanation
- That the serving endpoint can check the retrieval time when a new link request arrives
- Rejection of a later retrieval after the documented link-expiry time under its stated contract
- Erasure of the copy already downloaded to that browser
- That a separate retention policy can govern copies still controlled by the service
Answer: Erasure of the copy already downloaded to that browser
An access expiry governs future retrieval. It cannot retroactively erase an external copy that was already transferred; retention claims must distinguish controlled storage from recipients' copies.
46.A deletion flow removes a document from the primary table but leaves searchable derived text and cached previews. The product promises deletion from those serving surfaces too. What is incomplete?
Show answer and explanation
- A requirement to retain the previews indefinitely because they are derived
- Only the primary-row deletion, which automatically removes all independent stored copies
- The user's request, which becomes invalid whenever a cache exists
- Propagation or enforcement of deletion across the promised derived serving surfaces
Answer: Propagation or enforcement of deletion across the promised derived serving surfaces
The declared deletion scope includes more than the primary record. Derived indexes and caches need an appropriate removal or serving-control mechanism; primary-table absence alone does not prove the broader promise.
47.An incremental sync cursor says which changes a client has applied. The server discards all older change history. A client returns with a cursor older than retained history. What should the interface provide?
Show answer and explanation
- Return an empty change list and certify that all intervening changes were applied
- An explicit expired-cursor response and a defined full-resynchronization path
- Reconstruct discarded change records from the old cursor value without another source of history
- Move the cursor to the latest position without communicating that historical changes were skipped
Answer: An explicit expired-cursor response and a defined full-resynchronization path
Once necessary history is gone, the server cannot honestly declare the missing interval applied from that log. A defined reset/full-sync path makes the retention boundary recoverable for the client.
48.A setting takes effect only after a nightly refresh. The UI displays 'Active now' immediately when the setting is stored. What product state distinction is missing?
Show answer and explanation
- Persisting a configuration row synchronously guarantees all independent nightly refreshes have run
- Configured value versus effective value at the serving system
- A single saved label proves every serving replica already activated the newly stored configuration
- Showing the desired value alone distinguishes every pending and effective serving state
Answer: Configured value versus effective value at the serving system
Persisting desired configuration and activating it can be separate steps. A truthful state model lets users know whether the new setting is merely saved, pending application, or effective.
49.A replica can lag by up to 20 seconds after an acknowledged write. A dashboard promises that all confirmed updates appear within 5 seconds using only that replica. What follows from these bounds?
Show answer and explanation
- Acknowledging the primary write reduces the replica bound to zero by definition
- The design does not establish the 5-second promise
- The promise holds because both bounds are expressed in seconds
- The 20-second bound guarantees updates appear in at most 5 seconds on average
Answer: The design does not establish the 5-second promise
A possible 20-second delay exceeds the required maximum of 5. A stronger serving path, tighter bound, or different promise is needed; an upper bound cannot be silently replaced with a smaller one.
50.An SDK resumes an archive download after the server replaced that archive with a new revision. It joins an old downloaded prefix to a new suffix without pinning or checking the revision. What correctness risk follows?
Show answer and explanation
- The new suffix automatically transforms the old prefix to match the new archive
- The assembled file may combine bytes from incompatible archive revisions
- A successful byte transfer proves the assembled archive matches a complete server revision
- A matching path proves the prefix and suffix belong to the same immutable file
Answer: The assembled file may combine bytes from incompatible archive revisions
Resumption requires compatible representation identity, not just a byte offset. If the archive changed, joining old and new ranges can create a file that matches neither complete revision.
51.Two users read available capacity=1, then each independently inserts one reservation without an atomic capacity check. Each request is valid against its earlier read. What invariant can still fail?
Show answer and explanation
- Both requests must fail because their reads matched
- The reservation count must remain zero after both inserts
- Reading capacity once serializes all later writes automatically
- At most one active reservation for that capacity
Answer: At most one active reservation for that capacity
A separate check followed by an uncoordinated write permits both requests to pass against stale shared state. Preserving the capacity invariant requires an appropriate atomic or serialized allocation mechanism.
52.A software product promises an atomic rename across its file catalog and search metadata. The implementation updates the catalog, then asynchronously updates search with possible failure. What is unsupported by that implementation alone?
Show answer and explanation
- That the catalog can record the new name before search updates
- That asynchronous search updates can be retried later
- That users could temporarily see different names across the surfaces
- An all-or-nothing immediately visible rename across both surfaces
Answer: An all-or-nothing immediately visible rename across both surfaces
Separate asynchronous steps admit intermediate or failed states. They may support eventual convergence with suitable recovery, but do not by themselves establish the stronger declared atomic visibility promise.
53.A migration converts all stored timestamps to UTC but discards the original time-zone identifiers. A future feature must reconstruct each user's original local scheduling zone. What information problem arises?
Show answer and explanation
- Increasing timestamp precision reconstructs the discarded zone identifier without retained metadata
- An instant's current UTC offset alone always recovers all rules of the original scheduling zone
- The UTC instant alone does not uniquely identify the original zone
- The UTC instant uniquely identifies every original zone because zones never share an offset
Answer: The UTC instant alone does not uniquely identify the original zone
Many zones share offsets at a given instant, and zones include rules beyond one offset. Preserving an instant and preserving the original scheduling zone are different data requirements.
54.A user schedules '09:00 local time every day' in a named time zone. The implementation instead repeats every 24 elapsed hours from the first UTC instant. What behavior needs checking when the zone's offset changes?
Show answer and explanation
- UTC automatically changes its elapsed-hour length to preserve every local schedule
- The local execution time is guaranteed fixed by an elapsed-hour interval
- A named time zone makes wall-clock and elapsed-time recurrence identical
- The displayed local execution time can shift away from 09:00
Answer: The displayed local execution time can shift away from 09:00
A fixed elapsed interval and a local-calendar recurrence are different contracts when offsets change. The scheduler must implement the recurrence the user selected, with an explicit policy for unusual local times.
55.A subscription to data changes requests strict per-object ordering but permits different objects to interleave. Which partitioning rule directly supports that ordering scope?
Show answer and explanation
- Require every object globally to stop until any other object's update finishes
- Randomly route every update independently and assume arrival order is logical order
- Keep each object's ordered stream together under a defined per-object sequencing protocol
- Sort all updates only by payload size regardless of object or revision
Answer: Keep each object's ordered stream together under a defined per-object sequencing protocol
The requested ordering boundary is an object. A suitable per-object stream and sequencing rule can preserve that boundary without unnecessarily imposing a single global order on unrelated objects.
56.A product retains raw events for 7 days but promises customers they can regenerate any detailed 30-day report from those raw events alone. No archives or equivalent retained detail exist. What is the issue?
Show answer and explanation
- A daily report total preserves all event-level details even if only the raw events were promised as input
- The remaining seven days uniquely reconstruct every event discarded from the preceding 23 days
- Running the same query more often automatically extends retention for records already deleted
- The retention policy cannot support that regeneration promise
Answer: The retention policy cannot support that regeneration promise
Once the older detail is discarded, the specified source cannot recreate it. The product must align retention, archival/summary capabilities and report reproducibility with the promised scope.
57.A nightly derived table stores only daily total bytes per workspace. A new feature asks for the exact bytes of every individual file from that table alone. What limitation follows?
Show answer and explanation
- Aggregation has discarded the required per-file detail
- Dividing a total by the unknown file count recovers every file's exact size
- Daily totals uniquely determine the size and identity of each file
- A new column label can reconstruct the discarded file-level records
Answer: Aggregation has discarded the required per-file detail
Different file collections can have the same total. A summary may support aggregate reporting but cannot recover information it did not retain without another data source or extra assumptions.
58.A client is offline for 12 hours. The product requires changes made elsewhere to appear there within one minute even during that disconnection. No alternate communication channel exists. What is the feasible conclusion?
Show answer and explanation
- That unconditional offline freshness promise cannot be met under the stated communication constraint
- A one-minute polling timer guarantees remote updates arrive even while no communication path exists
- The last synchronized value includes every later remote edit because it was previously confirmed
- A larger cache learns arbitrary remote changes without receiving any new information
Answer: That unconditional offline freshness promise cannot be met under the stated communication constraint
Without a communication path, the device cannot learn arbitrary changes made elsewhere. The product needs an explicit connectivity condition or a different behavior/promise rather than an impossible unconditional bound.
59.A document store supports separate atomic writes to A and B but no multi-record transaction. A feature must move a value from A to B with no observable lost or doubled value under failures. What does the storage capability alone not establish?
Show answer and explanation
- That a stronger protocol or different data model could be investigated
- The required cross-record transfer invariant through every intermediate failure
- That separate writes can be attempted in an order
- That each individual record write can be atomic
Answer: The required cross-record transfer invariant through every intermediate failure
Per-record atomicity does not automatically compose into cross-record atomicity. The product needs a protocol or model that actually establishes its transfer invariant, including failures and observable intermediate states.
60.A product allows arbitrary offline edits and later reconciliation. Another requirement forbids any temporary disagreement between disconnected devices about the same editable value. Under no communication, what tradeoff must be resolved?
Show answer and explanation
- Unrestricted local edit availability conflicts with that immediate agreement requirement
- More local CPU alone guarantees agreement on unseen remote edits
- A shared field name makes independent offline edits identical
- Eventual reconciliation guarantees that no earlier disagreement ever occurred
Answer: Unrestricted local edit availability conflicts with that immediate agreement requirement
Disconnected devices cannot coordinate arbitrary independent edits immediately. The product must constrain editing, relax immediate agreement, or supply communication; eventual convergence is a different guarantee.
61.A proposed pipeline runs 10,000 jobs daily. Option A costs 0.02 resource units per job plus 50 units daily; B costs 0.01 per job plus 180 daily. Ignore all other costs. Which has lower daily modeled cost?
Show answer and explanation
- B: 230 units versus A: 250
- Both: 200 units
- B: 100 units versus A: 200
- A: 250 units versus B: 280
Answer: A: 250 units versus B: 280
A costs 10,000×0.02+50=250; B costs 10,000×0.01+180=280. Lower marginal cost alone does not determine total cost when fixed overhead differs.
62.Two execution options have daily costs A=40+0.04n and B=160+0.01n for n jobs. For what positive volume are their modeled costs equal?
Show answer and explanation
- 4000 jobs
- 120 jobs
- 3000 jobs
- 6000 jobs
Answer: 4000 jobs
Set 40+0.04n=160+0.01n, giving 0.03n=120 and n=4000. Both cost 200 at that volume; the preferred cost option depends on volume under this model.
63.A process uses a shared 2 GB model plus 0.5 GB per active request. One worker can hold at most 6 GB for this workload. Ignoring other memory, how many simultaneous requests fit?
Show answer and explanation
- 8
- 12
- 4
- 16
Answer: 8
After the shared 2 GB allocation, 4 GB remains. At 0.5 GB per request, 4/0.5=8 fit. Treating the shared model as free or charging it once per request changes the calculation incorrectly.
64.Old and new index versions require 30 GB and 45 GB. A zero-downtime swap keeps both until activation finishes. Free capacity for these indexes is 60 GB. What storage peak follows?
Show answer and explanation
- 75 GB, exceeding capacity by 15 GB
- 45 GB, fitting because only the new steady state matters
- 30 GB, because the old index is still active
- 15 GB, the difference between the index sizes
Answer: 75 GB, exceeding capacity by 15 GB
Overlap requires 30+45=75 GB before the old copy is removed. A feasible steady state does not establish a feasible transition; the migration needs more capacity or a different transition strategy.
65.A service with 10 equal-capacity replicas must survive any one replica loss without exceeding 100 units of load on each remaining replica. What total load ceiling does this model allow?
Show answer and explanation
- 1100 units
- 1000 units
- 900 units
- 100 units
Answer: 900 units
After one loss, nine replicas remain, with combined capacity 9×100=900. Planning only against the ten-replica capacity omits the declared failure case.
66.Two required independent services each succeed with probability 0.99 for a request. The operation succeeds only if both succeed. What success probability follows?
Show answer and explanation
- 0.9801
- 0.0199
- 0.99
- 0.9999
Answer: 0.9801
Independence makes joint success 0.99×0.99=0.9801. A sequential dependency can reduce end-to-end success below either component's success rate; the independence premise matters.
67.A primary and fallback each have 99% marginal availability, but both depend on the same failed identity service. What cannot be concluded from their marginal percentages alone?
Show answer and explanation
- That the given marginal percentages describe individual paths rather than the joint-failure event
- That a shared identity-service outage can disable both the primary and fallback path
- A 99.99% combined availability from assuming independent failures
- That dependency-aware joint-failure evidence is relevant to a combined availability claim
Answer: A 99.99% combined availability from assuming independent failures
Redundancy gains depend on failure dependence and all required shared services. Marginal percentages alone do not justify multiplying unavailability probabilities as if the paths failed independently.
68.One tenant can submit an unbounded batch that monopolizes a shared worker queue. The product requires other tenants to retain bounded admission capacity. Which design directly addresses that boundary?
Show answer and explanation
- Sorting all jobs by largest batch first without tenant limits
- Letting each tenant choose an unlimited priority value
- Per-tenant admission limits or fair scheduling with an explicit capacity policy
- Only a global queue length display visible to all tenants
Answer: Per-tenant admission limits or fair scheduling with an explicit capacity policy
A tenant boundary requires enforceable allocation or admission behavior. More visibility or self-assigned priorities do not reserve capacity for others when one tenant can consume the shared queue.
69.A low-latency deployment moves computation near users, but every request still synchronously calls a distant authoritative database. Which evidence is needed to assess the claimed latency benefit?
Show answer and explanation
- Only distance to the nearby compute node, treating all remaining dependencies as zero time
- The complete request path including the remaining distant dependency
- A nearby compute label as proof that the distant authoritative data path became local
- Only the relocated process's execution duration, excluding synchronous remote calls
Answer: The complete request path including the remaining distant dependency
Moving one component can help, but the actual critical path determines end-to-end latency. A remaining synchronous long-distance hop may dominate; assess measured paths under the intended workload.
70.An application can render documents while its recommendation service is unavailable. The product permits omitting recommendations but forbids blocking the document. Which failure behavior fits?
Show answer and explanation
- Treat an absent recommendation as proof that the document is invalid
- Fail the entire document request whenever recommendations fail
- Wait indefinitely for recommendations before showing any document text
- Load the document and isolate the unavailable optional recommendations
Answer: Load the document and isolate the unavailable optional recommendations
The requirement identifies a required core capability and an optional dependency. Isolating the optional failure preserves the promised document access without inventing a requirement to block on recommendations.
71.An endpoint's response depends on tenant, locale and query. A shared cache key includes only query. What correctness issue can result?
Show answer and explanation
- The response becomes independent of tenant and locale by being cached
- Only cache hit rate can change; returned content cannot change
- One tenant or locale can receive another context's cached representation
- Every cache hit is correct because the query matches
Answer: One tenant or locale can receive another context's cached representation
A cache identity must distinguish response-affecting context under the serving and authorization contract. Omitting those dimensions can reuse a representation for a request it does not belong to.
72.A response uses unqualified Cache-Control: no-cache. A team interprets this as 'the response can never be stored'. What distinction must the product design recognize?
Show answer and explanation
- The directive guarantees the content is permanently fresh without validation
- Storage can be allowed while reuse requires successful validation
- The directive requires every cache to delete all unrelated resources
- The directive makes private user content safe to share with every requester
Answer: Storage can be allowed while reuse requires successful validation
The unqualified response directive constrains reuse without validation; it is not the same as a no-store policy. Storage, validation, freshness and authorization are separate aspects of a correct caching design.
73.A feature's only failure signal is a process heartbeat. The process can remain alive while returning wrong results. What assurance does that heartbeat not provide?
Show answer and explanation
- Correct end-to-end product results
- A reason to add an outcome check distinct from a process-liveness signal
- The possibility that incorrect results and a healthy process heartbeat can occur together
- Evidence that the monitored process can emit the heartbeat that was actually observed
Answer: Correct end-to-end product results
Liveness is evidence about one monitored behavior, not every product function. Outcome-specific checks are needed to detect a live process that produces incorrect responses.
74.A new asynchronous pipeline returns acknowledgement in 20 ms but finishes work in 4 seconds. The old pipeline acknowledged and completed in 1 second. Which claim is supported?
Show answer and explanation
- The new pipeline completes in 20 ms because acknowledgement is a response
- Acknowledgement is faster while completion is slower in this comparison
- The old pipeline was slower on both acknowledgement and completion
- All user-visible completion latency improved to 20 ms
Answer: Acknowledgement is faster while completion is slower in this comparison
Separating acceptance from work completion can improve responsiveness without reducing time to result. Both times belong in the product contract and should not be substituted for each other.
75.A background job fails after writing output but before marking itself complete. On recovery it runs again. The product requires exactly one visible logical result. What must the recovery protocol coordinate?
Show answer and explanation
- Output publication and durable job identity/state so replay does not create a second visible result
- Only the number of times the worker process started
- A guarantee that rerunning after a crash means no output was previously written
- A new result ID for every retry with no reconciliation
Answer: Output publication and durable job identity/state so replay does not create a second visible result
A crash can leave partial progress with an uncertain terminal marker. Exactly-one visible-result behavior needs a protocol for identifying and reconciling prior output, not an assumption that replay starts from nothing.
76.A hosted parser can be swapped behind an internal adapter, but the product exposes the provider's opaque document IDs as permanent public IDs. What makes provider replacement harder despite the adapter?
Show answer and explanation
- Public identity and links remain coupled to the provider's identifiers
- An internal adapter automatically migrates every external reference
- Replacing the provider necessarily preserves all old IDs without mapping
- Opaque IDs guarantee independence from the system that owns them
Answer: Public identity and links remain coupled to the provider's identifiers
A code adapter does not remove commitments already exposed to clients. Public identity, stored references and migration mappings belong in the replacement plan as well as the internal call interface.
77.A self-hosted option meets a response-time target on one idle test machine. A hosted option includes a supported peak-load envelope. What evidence is missing for an equal production-performance comparison?
Show answer and explanation
- Only another idle run that again omits the supported peak-load envelope
- A component name shared by both options, treated as proof of identical production resource behavior
- The self-hosted option's behavior under the same required load and operating conditions
- Only the self-hosted runtime's lowest observed latency, with the load conditions left unmatched
Answer: The self-hosted option's behavior under the same required load and operating conditions
A performance comparison needs matched workload, resource and operating assumptions. One idle result does not establish the candidate's behavior under the supported production envelope.
78.A database migration removes a column still read by the deployed previous app version. A new release fails and the team rolls back only application code. What rollback limitation remains?
Show answer and explanation
- A removed column is compatible with every historical reader by definition
- The old application can still fail because its required data schema was removed
- A successful old binary startup proves all old read paths remain valid
- Rolling back code automatically restores every dropped column and its data
Answer: The old application can still fail because its required data schema was removed
Application and data evolution must be compatible with the intended rollback window. Restoring code alone does not recreate removed schema or lost data.
79.A feature flag can hide a new UI, but the feature already rewrote stored documents into a format old readers cannot parse. What does switching the flag off fail to establish?
Show answer and explanation
- That the incompatible stored documents were already rewritten before the flag was switched off
- Recovery of compatibility with the old readers
- That switching the UI flag can stop displaying the newly introduced interface
- That a separate compatible reader or data recovery plan could address persisted changes
Answer: Recovery of compatibility with the old readers
A visibility switch does not reverse arbitrary persistent mutations. Recovery needs a tested data/reader compatibility strategy in addition to the flag's UI behavior.
80.A design must use at most 8 GB memory and finish within 100 ms. A uses 6 GB/120 ms, B uses 9 GB/80 ms, C uses 8 GB/95 ms and D uses 7 GB/110 ms. Which meets both limits?
Show answer and explanation
- A and D
- C only
- All four
- B and C
Answer: C only
Only C satisfies memory≤8 and latency≤100 simultaneously. A and D miss latency; B exceeds memory. A favorable result on one axis does not override the other hard constraint.
81.Two designs have measured (latency,resource cost): A=(80,4), B=(100,5). Both dimensions are minimized and all other required behavior is identical. What relation holds in this measured comparison?
Show answer and explanation
- B dominates A because its numbers are larger
- A and B are tied whenever there are two dimensions
- Neither can dominate because the dimensions use different units
- A dominates B on both stated dimensions
Answer: A dominates B on both stated dimensions
A is lower on both latency and cost: 80<100 and 4<5. Dominance here needs no conversion between units because there is no tradeoff across the two stated axes.
82.For two supported workloads, design A has latency bounds (50,180) ms and B has (100,120) ms. The objective is to minimize the worst of the two bounds. Which is preferred by that objective?
Show answer and explanation
- A, because its first-workload bound is lower
- B, with worst-case bound 120 ms
- A, with best-case bound 50 ms
- Both, because each wins one workload
Answer: B, with worst-case bound 120 ms
The maxima are 180 for A and 120 for B. A minimax objective compares those worst bounds, not the best case or the number of workloads won.
83.An interface scores eligible designs by U=10q−c, where q is a declared quality score and c is resource cost. A has q=0.9,c=4; B has q=0.8,c=2. Both meet every hard constraint. Which has greater U?
Show answer and explanation
- Both: 5
- B: 6 versus A: 5
- A: 9 versus B: 8
- A: 5 versus B: 4
Answer: B: 6 versus A: 5
A has utility 10(0.9)−4=5. B has 10(0.8)−2=6. The answer uses the explicitly supplied utility rule, not an assertion that all products should use those weights.
84.A design's average latency is 90 ms across a supported workload, but the requirement is every request≤100 ms. One supported request took 130 ms. What conclusion follows?
Show answer and explanation
- The average proves every request met the bound
- A lower average always compensates for any individual deadline violation
- The single request must be excluded solely because it exceeds the requirement
- The universal latency requirement failed despite the favorable average
Answer: The universal latency requirement failed despite the favorable average
A universal bound concerns each supported request. An average below the threshold is compatible with individual violations and cannot satisfy a requirement explicitly stated for every request.
85.A benchmark excludes cold starts, while the product's first-use deadline includes starting an idle instance. What is needed before using the result to support that deadline?
Show answer and explanation
- A measurement or justified bound including the cold-start path
- A statement that cold starts do not count because the benchmark omitted them
- The warm execution median renamed as end-to-end first-use latency
- Only the warm benchmark repeated on the same active process
Answer: A measurement or justified bound including the cold-start path
A benchmark's scope must include the path in the product promise. Repeating an excluded-case test does not establish performance for that omitted cold-start case.
86.A download URL embeds an unguessable resource ID, but the product requires that only currently authorized workspace members can retrieve it. What server decision is still required?
Show answer and explanation
- Check only that the ID has enough characters
- Assume a private UI link prevents all unauthorized server requests
- Check the requester's authorization under the access contract
- Treat knowledge of any resource ID as workspace membership
Answer: Check the requester's authorization under the access contract
An identifier's opacity is not proof of current membership. The serving boundary must enforce the declared authorization or an explicitly designed capability policy, rather than infer permission solely from an ID's appearance.
87.A workflow's sole Submit control is reachable only by pointer hover. The product requires full keyboard operation. Which acceptance case directly tests that requirement?
Show answer and explanation
- Confirm the button is visually present while leaving focus and key activation untested
- Measure pointer navigation time and assume keyboard reachability follows from the same layout
- Check that a pointer user can hover over the control and submit without a keyboard
- Complete submission using keyboard navigation and activation without a pointer
Answer: Complete submission using keyboard navigation and activation without a pointer
The requirement concerns an interaction path. A keyboard-only completion test directly exercises reachability, focus and activation; visual appearance alone cannot establish keyboard operability.
88.An import shows progress as completed records divided by the initial estimated record count. The estimate can be smaller than the actual input, so progress can exceed 100%. What contract change makes the display truthful?
Show answer and explanation
- Hide all remaining errors as soon as the initial estimate is reached
- Clamp the value at 100% and declare work complete while records remain
- Treat the initial estimate as the actual count even after more records are discovered
- Distinguish estimated progress from verified completion and define how the denominator can change
Answer: Distinguish estimated progress from verified completion and define how the denominator can change
A progress estimate and a completion signal have different evidence. The UI needs semantics for uncertain totals and a verified terminal condition; clamping a bar does not finish the import.
89.A save button changes only its color after an error, with no text, icon label or accessible status. The product requires the error be understandable without color perception. What is missing?
Show answer and explanation
- Use red and green as the only two error/success cues, with no additional distinction
- An explicit error cue that does not rely solely on color
- Animate the same unlabeled color change without adding a non-color status cue
- Increase color saturation while retaining the same color-only error signal
Answer: An explicit error cue that does not rely solely on color
Color alone cannot carry the whole error distinction under the stated requirement. A clear non-color cue and appropriate status semantics let users identify the failure without relying on that visual channel.
90.A mobile workflow enables a destructive action by default before its target count finishes loading. The requirement is confirmation of the verified target set. Which behavior meets that requirement?
Show answer and explanation
- Keep the action unavailable until the target set is verified and confirm that set
- Use the previous workspace's target count until the new one loads
- Allow immediate confirmation against an unknown target set
- Assume a spinner's presence proves the target selection is final
Answer: Keep the action unavailable until the target set is verified and confirm that set
Confirmation needs a defined target, not a stale or unknown one. The action's availability and confirmation should be tied to the verified selection the user is actually approving.
91.A long-running task has states queued,running,succeeded,failed. The UI maps both succeeded and failed to 'Finished successfully'. What product contract is violated?
Show answer and explanation
- A terminal state always means success, so failed and succeeded can share a success claim
- Only tasks still queued can fail; once running, any terminal transition proves success
- The displayed terminal outcome does not distinguish success from failure
- Failure is adequately communicated by removing the task from the running list and declaring success
Answer: The displayed terminal outcome does not distinguish success from failure
Terminal means no further execution under the task state machine, not necessarily success. The interface must preserve the outcome distinction so users know whether they received the requested result.
92.A promised Undo restores a deleted project's name but not its files or access settings. The contract says it restores the entire project to its prior state. What should be resolved before claiming the feature satisfies that contract?
Show answer and explanation
- The actual restoration scope and retained information needed for the full prior state
- An Undo label establishes whole-project recovery even when only one field is restored
- Restoring the display name proves restoration of all former file contents and access rules
- The original project ID alone reconstructs deleted file bytes without retained data
Answer: The actual restoration scope and retained information needed for the full prior state
An undo promise is defined by the state it restores. Restoring one visible field cannot establish recovery of the project's other required data and permissions.
93.A feature chooses one of two implementations by device memory. Only the high-memory path was validated. The product claims support for low-memory devices too. What evidence is missing?
Show answer and explanation
- Validation of the selected low-memory path against the same supported behavior
- A guarantee that sharing the same feature name makes both implementations equivalent
- The proportion of marketing images showing low-memory devices
- Only another run of the high-memory path on its original device
Answer: Validation of the selected low-memory path against the same supported behavior
A selection rule makes both implementations part of the supported product. Evidence for one path does not automatically establish correctness or resource behavior of the other.
94.A migration dual-writes old and new stores. It declares completion when new-store row counts match old-store row counts. What does count equality alone not establish?
Show answer and explanation
- That equal counts are one useful inventory check
- That the two reported row totals are equal
- That a record-level parity check could be added
- That corresponding records have equivalent values and required behavior
Answer: That corresponding records have equivalent values and required behavior
Different data can have the same number of rows. A migration needs the relevant identity, value and behavior checks; matching counts alone is insufficient evidence of semantic equivalence.
95.A schema bridge preserves field values but changes their documented unit from seconds to milliseconds without converting numbers. A stored timeout is 3. What effective timeout does the new reader apply?
Show answer and explanation
- 3 seconds, because every numeric value preserves its original physical unit
- 3 ms instead of the prior 3 seconds
- 3000 ms, because renaming a unit performs conversion
- 3000 seconds, from multiplying the value without a conversion rule
Answer: 3 ms instead of the prior 3 seconds
The new interpretation makes the same number mean 3 milliseconds. Preserving raw digits does not preserve physical meaning when the unit contract changes; conversion would require 3000 ms.
96.A token-based parser accepts at most 8000 input tokens. A document has 10,000 tokens. Which proposal would falsely report that the full document was processed?
Show answer and explanation
- Silently truncate to the first 8000 tokens and report full-document processing
- Use a validated multi-part method that covers the entire document under its contract
- Route the whole document to a supported implementation that can handle its size
- Return an explicit unsupported-size result instead of claiming a completed full parse
Answer: Silently truncate to the first 8000 tokens and report full-document processing
Silent truncation omits 2000 tokens while claiming complete coverage. A valid alternative must either actually cover the input or truthfully state that the requested full operation was not performed.
97.A code-analysis feature reuses cached findings keyed only by file path. File content and analyzer rules can both change. What cache identity is needed for reproducible findings under a versioned-analysis contract?
Show answer and explanation
- Identity covering the relevant content and analyzer/configuration versions
- Only the time at which the user opened the results page
- Only the file path with a longer cache expiration time
- A random key that cannot be connected to any analyzed input
Answer: Identity covering the relevant content and analyzer/configuration versions
A path can name different content over time, and different rules can produce different findings. A reusable analysis result must identify the inputs and interpretation that actually determine it.
98.A new browser protocol must preserve exact 64-bit resource IDs. Its JSON parser converts numeric values to binary64, which cannot represent every such integer exactly. Which encoding avoids that conversion loss for the identifier?
Show answer and explanation
- A JSON number rounded to the nearest representable binary64 value
- Only the low 32 bits transmitted as a JSON number
- A decimal string with an exact ID interpretation in the protocol
- A shorter displayed decimal number without a recoverable mapping
Answer: A decimal string with an exact ID interpretation in the protocol
An identifier is an exact value, not an approximate measurement. A decimal string can preserve all its digits without binary64 numeric conversion when the new protocol defines and handles it as an exact ID.
99.A simulation assumes every dependency response arrives in order. The product must support reordered responses. What must be added before the simulation supports that behavior?
Show answer and explanation
- More identical in-order traces without changing the assumptions
- A statement that network reordering is irrelevant because the simulation omitted it
- Relevant reordered traces or a justified argument covering those executions
- A larger simulated user count while keeping all responses in order
Answer: Relevant reordered traces or a justified argument covering those executions
Evidence is conditional on the modeled execution set. A requirement for reordered responses needs coverage or reasoning for those executions, not merely more runs inside an order-preserving model.
100.A data export advertises 'all selected records', but silently omits records whose serialization fails. What result contract is needed to avoid falsely reporting completeness?
Show answer and explanation
- Treat omitted failed records as if the user had deselected them
- Always report success whenever any bytes were produced
- Report or resolve item failures and distinguish partial output from a complete export
- Remove failed-record IDs from the original selection after the fact
Answer: Report or resolve item failures and distinguish partial output from a complete export
A file can be produced while the requested record set is incomplete. Explicit partial-result and recovery semantics preserve the meaning of 'all selected records' instead of redefining the selection silently.
101.Two candidate implementations meet a current latency target. One lacks any supported way to export customer data, while data portability is a hard product requirement. What follows for the decision?
Show answer and explanation
- The nonportable implementation is ineligible until a supported portability path is established
- The lower measured latency cancels the hard portability constraint
- The portability requirement can be assumed satisfied because the UI has an Export label
- Matching the latency target automatically satisfies every other product requirement
Answer: The nonportable implementation is ineligible until a supported portability path is established
Hard requirements define eligibility separately from optimization among eligible choices. Performance evidence cannot substitute for a missing required capability; establish the supported data path before treating the option as feasible.