QA engineer: Release Evidence and Failure Diagnosis
Original QA interviews on candidate-specific evidence, controlled diagnosis, trace interpretation, mixed-version compatibility, rollout decisions, rollback state, and publication integrity. Reason from explicit contracts and independently checkable cases.
These prompts are original practice. They are not questions from a named employer or a live hiring loop.
1.Release evidence certifies artifact digest A. Routing inspection shows the candidate pool actually serves digest B. No test has exercised B. What must the readiness review resolve?
Show answer and explanation
- A’s passing results certify B automatically because both are called release candidates
- The tested artifact can be ignored once deployment routing returns any response
- The mismatch between the tested artifact and the served candidate
- The same report label on both artifacts is sufficient even if their immutable digests differ
Answer: The mismatch between the tested artifact and the served candidate
Evidence identifies what was exercised. A different served artifact needs its own applicable evidence or a verified correction of the routing mismatch.
2.A release supports 2 client versions and 2 schema versions. Every pairing is allowed except old client with new schema. How many supported compatibility pairs need accounting?
Show answer and explanation
- 3
- 4
- 2
- 1
Answer: 3
The Cartesian product has four pairs. Removing the one explicitly unsupported pair leaves three supported combinations.
3.Tests for a new export path all run with its feature disabled, so every request takes the old path. The report is green. What candidate behavior remains unverified?
Show answer and explanation
- The feature-disabled configuration observed in the run
- The old fallback path that the tests actually executed
- The completion of the requests issued by that test
- The enabled new export path
Answer: The enabled new export path
Passing the fallback path does not exercise the feature under review. The evidence must identify actual feature state and path execution.
4.A plan contains 48 cases: 42 pass, 3 fail, 2 skip, and 1 never starts. Define executed as reaching a test-body pass or fail result. How many executed?
Show answer and explanation
- 47
- 48
- 42
- 45
Answer: 45
The definition includes passed and failed test bodies: 42+3=45. Skipped and never-started cases are separate outcomes.
5.Release policy requires checks A, B and C to pass. A and B pass; C fails. Its only exception expired yesterday and no new exception exists. What follows under that policy?
Show answer and explanation
- The release conditions are not satisfied
- Two passes outweigh one failure regardless of policy
- The expired exception still applies until someone deletes it
- A passing majority substitutes for the required conjunction
Answer: The release conditions are not satisfied
The rule requires all three checks unless a valid exception applies. Neither majority voting nor an expired exception satisfies it.
6.A policy blocks only severity-1 defects; severity-2 defects require a documented owner and workaround. One severity-2 defect has both, and no other gate fails. What is supported under this stated policy?
Show answer and explanation
- The defect must be relabeled severity-1 to record it
- A workaround proves the defect cannot affect any user
- This defect alone does not block the release
- Every open defect blocks any release by definition
Answer: This defect alone does not block the release
Apply the supplied policy rather than inventing a universal zero-defect rule. The documented exception does not erase the defect or its potential impact.
7.A waiver explicitly covers parser P on artifact A through Friday. Artifact B introduces a different parser. What can the waiver establish for B's parser defect by itself?
Show answer and explanation
- Automatic approval of every later parser artifact regardless of waiver scope
- Proof that the new parser’s defect is less severe without any new defect evidence
- A permanent removal of parser acceptance criteria for all future releases
- No applicable exception for that different artifact and parser
Answer: No applicable exception for that different artifact and parser
Waivers have scope as well as dates. Extending one to a different artifact or component requires applicable evidence and authorization under the release process.
8.Requirements are R1, R2, R3. Test T1 covers R1; T2 covers R1 and R2; T3 covers R2; T4 covers R3. All tests cost one unit. What minimum complete selection exists?
Show answer and explanation
- T1 and T3, costing 2
- T2 alone, costing 1
- T2 and T4, costing 2
- T1 alone, costing 1
Answer: T2 and T4, costing 2
R3 requires T4. T2 supplies both remaining requirements, so two tests suffice and one cannot cover all three.
9.A release package changes code and routing configuration. Tests certify the new code only under the old routing rule; the candidate uses a new rule selecting a different storage path. What evidence gap remains?
Show answer and explanation
- A requirement to reject the new code even if its candidate configuration later passes
- The correctness of the old path exercised in the stated tests
- The already observed old-routing behavior of the new code
- Behavior under the candidate's actual routing configuration
Answer: Behavior under the candidate's actual routing configuration
A code digest alone does not make different configurations equivalent. Exercise or otherwise justify the candidate's changed path.
10.A fix is tested in artifact F. Packaging accidentally includes the previous executable E while retaining F's release label. Which check detects this packaging discrepancy?
Show answer and explanation
- Check the package label only, assuming labels guarantee executable contents
- Compare the packaged executable's immutable identity with F's
- Trust the packaging command’s success as proof that its selected executable was F
- Count F’s passing tests without inspecting the executable carried by the package
Answer: Compare the packaged executable's immutable identity with F's
Labels can be wrong. Verify the bytes or immutable executable identity carried by the package against the tested artifact.
11.A candidate passes every check. A later edit changes the authorization predicate before packaging. What must the evidence record distinguish?
Show answer and explanation
- The authorization edit as irrelevant because the package was created successfully
- The report date alone as proof the final predicate was exercised
- All later predicate edits as covered by the earlier unchanged-candidate run
- The tested candidate from the subsequently changed predicate
Answer: The tested candidate from the subsequently changed predicate
A later behavioral change creates a different candidate. Map applicable tests and review to that change rather than inheriting an earlier result without justification.
12.A release requirement permits automatic retry only when both flag R and new schema N are active. Tests cover R-only and N-only, never R+N. What transition remains untested?
Show answer and explanation
- A guarantee that testing each factor separately covers their interaction
- The jointly enabled retry behavior
- Each of the two single-feature states already exercised
- The absence of retry when neither state is enabled
Answer: The jointly enabled retry behavior
The requirement specifically concerns the joint state. Separate-factor observations do not establish how the combination behaves.
13.One test certifies output correctness with cache disabled; another certifies cache freshness with validation disabled. The release enables both. What does combining these reports alone fail to prove?
Show answer and explanation
- That the two separate properties are distinct acceptance requirements
- That the reports describe different configuration conditions
- Both properties holding in the release's joint configuration
- The individual outcomes already observed under each report’s stated configuration
Answer: Both properties holding in the release's joint configuration
Properties observed under different conditions need not hold together. The release combination requires compatible joint evidence.
14.A release gate requires a failed migration to leave the old schema usable. The only migration test covers successful completion. What additional outcome needs evidence?
Show answer and explanation
- Only the count of rows before the successful migration
- A second successful completion with the same initial state
- Old-schema usability after the declared migration failure path
- Only the migration command's success message on the happy path
Answer: Old-schema usability after the declared migration failure path
Failure atomicity is a separate outcome from successful migration. Exercise the interruption or failure boundary covered by the requirement.
15.A candidate's receipt says all supported locales passed, but it lists only locale X. Locale Y is supported and has a distinct number format. What should the reviewer preserve?
Show answer and explanation
- The broad locale claim as proved by X alone
- A guarantee that distinct number formats never affect parsing
- A confirmed failure in Y despite no execution there
- The untested Y scope instead of accepting the broad locale claim
Answer: The untested Y scope instead of accepting the broad locale claim
Missing evidence is not a passing result or proof of failure. State the actual tested scope and address the supported locale gap.
16.A release acceptance rule says approved security checks must have completed after the final dependency update. The recorded checks precede that update. What dependency of the decision is missing?
Show answer and explanation
- An increased count of earlier passing checks on the superseded dependency set
- Only another copy of the checks from before the dependency update
- The final package label as a substitute for the required post-update check
- Applicable check results for the updated dependency state
Answer: Applicable check results for the updated dependency state
The rule ties evidence to a particular dependency state and ordering. Older results do not satisfy its explicit post-update requirement.
17.Two independently owned release checks report Pass, but both read the same stale cached report from a prior candidate. What does apparent agreement fail to provide?
Show answer and explanation
- A prior report existing in a shared cache
- The two displayed status values agreeing with each other
- Independent evidence about the current candidate
- Both checks depending on the same upstream evidence source
Answer: Independent evidence about the current candidate
Multiple consumers of one stale source do not create independent current evidence. Track provenance and candidate identity through the checks.
18.A crash symbol file belongs to build A, while the captured executable is build B with different addresses. A decoder produces a plausible function name. What should diagnosis verify first?
Show answer and explanation
- That matching the project name is sufficient despite different executable addresses
- That any plausible decoded name proves the symbol mapping is correct
- That symbols match the actual executable build
- That the latest available symbols always match every earlier executable
Answer: That symbols match the actual executable build
Address-to-symbol mapping is build-specific. Plausible output from a mismatched symbol file can misidentify the failing code.
19.A release bundle includes a generated validator, but tests exercised a separately generated local copy from another schema revision. What must artifact evidence connect?
Show answer and explanation
- Only the generator’s successful exit, without identifying the output that tests loaded
- The tested validator to the exact generated validator in the bundle
- Only their common basename, assuming it identifies one generated representation
- Only test count, ignoring which generated validator was actually exercised
Answer: The tested validator to the exact generated validator in the bundle
Generated artifacts are executable inputs too. Verify the tested and packaged generated outputs and their governing schema match the claim.
20.A test report has a valid signature. Under the stated signing contract, this proves its origin and unchanged bytes, but does not validate its claims. The report claims 500 executions; trusted runner records show 300. What does signature validity establish?
Show answer and explanation
- That the runner records must be false because the report is signed
- That signing creates the 200 missing test executions
- Authenticity of the report, without resolving its execution-count discrepancy
- That all 500 claimed tests necessarily executed
Answer: Authenticity of the report, without resolving its execution-count discrepancy
The given signature contract authenticates origin and integrity, not the truth of every claim. Reconcile the execution evidence rather than replacing it with signature validity.
21.Controlled results are: old code/old config Pass, old/new Pass, new/old Pass, new/new Fail. Which explanation fits these observations without overstating them?
Show answer and explanation
- New configuration fails with both code versions
- The failure depends on the tested code/config combination
- Old code and old configuration are individually required for failure
- New code fails under every configuration
Answer: The failure depends on the tested code/config combination
Neither changed factor fails alone in this table. The observed failure is specific to their combination; the table does not identify every internal mechanism.
22.With code, machine and commands held fixed, data snapshot S reproduces a failure and snapshot T does not. Switching back to S reproduces it again. What is directly supported?
Show answer and explanation
- The failure depends on the tested data state in these runs
- Every record in S is individually necessary for the failure
- The code can contain no defect because data affects the result
- The machine must have changed despite the controlled premise
Answer: The failure depends on the tested data state in these runs
The comparison isolates the snapshot as a relevant condition. It does not absolve the code or identify a particular causal record without further reduction.
23.A latency spike and a database error occur in the same minute. No intervention or causal ordering evidence is available. What conclusion is justified?
Show answer and explanation
- Their coincidence suggests investigation but does not establish direction of cause
- The latency spike necessarily caused the database error
- The database error necessarily caused the latency spike
- The shared minute rules out every other causal factor
Answer: Their coincidence suggests investigation but does not establish direction of cause
Temporal association alone permits several causal explanations. Gather boundary-specific evidence or controlled comparisons before assigning cause.
24.A failing service is restarted while its configuration is also changed. It then passes. What experiment better distinguishes the two possible contributors?
Show answer and explanation
- Compare restart and configuration change separately under controlled conditions
- Declare both changes individually necessary after one combined success
- Repeat the combined change and attribute recovery to restart alone
- Discard configuration as a cause because restart happened simultaneously
Answer: Compare restart and configuration change separately under controlled conditions
Changing two factors together confounds their contributions. Separate or factorial comparisons can distinguish individual effects and interactions.
25.Only devices in region R receive a new build, and all observed failures are in R. Region-specific network routing also differs. What comparison would improve attribution to the build?
Show answer and explanation
- Collect more R-only failures without introducing a comparable old-build observation
- Comparable old/new build observations within relevant routing conditions
- Treat R membership as proof that build version is the only differing factor
- Compare regions while leaving build version perfectly aligned with routing differences
Answer: Comparable old/new build observations within relevant routing conditions
Version and region routing are confounded. A useful comparison separates them rather than increasing evidence from the same combined condition.
26.A failure affects both the changed export endpoint and an unchanged diagnostic endpoint in the same environment. The diagnostic endpoint does not use the changed code. What does this negative control suggest?
Show answer and explanation
- The export change is proved to be the sole possible cause
- Both application endpoints are proved defect-free by the control failure
- The unchanged endpoint must execute the changed export code
- Investigate shared environmental causes as well as the export change
Answer: Investigate shared environmental causes as well as the export change
An unaffected-by-treatment control can reveal a broader problem. It narrows causal interpretation without proving one specific environmental cause.
27.A failure disappears after a restart but returns when the same request sequence is replayed. Which next comparison targets a state-accumulation hypothesis?
Show answer and explanation
- Treat restart recovery as proof that the defect was permanently removed
- Replay only the final request after clearing the state created by earlier steps
- Replay prefixes from fresh state and inspect where failure becomes reproducible
- Replace the request contents and retain only the sequence’s total length
Answer: Replay prefixes from fresh state and inspect where failure becomes reproducible
Prefix replay preserves the sequence that may build the relevant state. Last-request-only tests can omit the condition created by earlier operations.
28.Revisions 1 through 8 have one monotone Pass-to-Fail transition for a fixed deterministic test. Revision 4 passes, 6 fails, and 5 fails. What is the first failing revision?
Show answer and explanation
- 4
- 5
- 6
- 8
Answer: 5
Pass at 4 places the transition after 4. Fail at 5 places it at or before 5, so the first failing revision is 5 under the stated monotonicity assumption.
29.A deterministic test gives revisions 1–6 results Pass, Fail, Pass, Pass, Fail, Fail. What assumption for finding one global Pass-to-Fail boundary is contradicted?
Show answer and explanation
- The fact that the supplied test results are deterministic
- Monotonicity of the failure predicate over revision order
- The existence of at least one passing revision
- The existence of at least one failing revision
Answer: Monotonicity of the failure predicate over revision order
A later pass follows an earlier failure. A single monotone transition cannot describe this sequence without additional restrictions on the search interval.
30.Two parent revisions each pass an interaction test, but their merge fails it. What should the diagnosis preserve as a possibility?
Show answer and explanation
- The merged failure must be a false runner result because both parents passed
- An interaction introduced by combining the parent changes
- One parent must fail the same test alone despite its recorded passing result
- Passing parents cannot interact after merging their code and configuration
Answer: An interaction introduced by combining the parent changes
Independent parent success does not establish compatibility of their combined behavior. Inspect the merge result and interactions without inventing a failing parent observation.
31.During revision search, revision K cannot build because a historical tool is unavailable. The target predicate concerns an application's incorrect result, which cannot be run at K. How should K be classified for that predicate?
Show answer and explanation
- Confirmed application failure on the target behavior
- Untestable under the current harness
- The first failing application revision by definition
- Confirmed application success because no incorrect result was observed
Answer: Untestable under the current harness
A setup/build failure is not an observation of the target behavior. Keep untestable revisions separate from the good/bad classification being searched.
32.A regression search uses a different assertion script at every revision, and those scripts enforce different requirements. What must be stabilized for a meaningful comparison of one defect?
Show answer and explanation
- Only the report label while permitting the underlying behavioral predicate to change
- Only the source checkout order, assuming every historical assertion has identical meaning
- The target failure predicate and applicable test conditions
- Only the count of revisions while allowing each assertion to define a different defect
Answer: The target failure predicate and applicable test conditions
A changing predicate can create apparent transitions unrelated to the defect. Apply a consistent behavioral criterion or explicitly account for semantic changes.
33.A fixed monotone test passes revision 3 and fails 6. Revisions 4 and 5 cannot be tested. Which first-failure set remains possible?
Show answer and explanation
- {1, 2, 3}
- {6} only
- {4, 5, 6}
- {3} only
Answer: {4, 5, 6}
The transition is after 3 and no later than 6. Untested intermediate revisions prevent a unique answer among 4, 5, 6.
34.A bug fails on the new revision only when its bundled test fixture is used. The old revision is tested with a different fixture. Which comparison separates code from fixture effects?
Show answer and explanation
- Cross the two code revisions with the two controlled fixture versions
- Attribute the failure to code solely because its version appears first in the report
- Assume fixture contents cannot affect the target logic because the test is called code-level
- Repeat only the original old/old and new/new comparison with both factors aligned
Answer: Cross the two code revisions with the two controlled fixture versions
The original comparison changes two factors. A crossed design exposes whether the behavior follows code, fixture, or their interaction.
35.A function raises ParseError, then error logging raises DiskFull and replaces the original exception. The report contains only DiskFull. What diagnostic information should be preserved?
Show answer and explanation
- Only the last exception as proof it initiated the entire failure chain
- A successful parser result whenever error logging fails
- The original exception together with the logging failure chain
- Only the number of logs, discarding both exception categories
Answer: The original exception together with the logging failure chain
A secondary failure can mask the initiating exception. Preserve causal exception context rather than equating the last error with the first cause.
36.A caller wraps a dependency error as RequestFailed. The wrapper message is the same for validation, timeout and permission failures. What addition improves localization without guessing the cause?
Show answer and explanation
- Treat the common wrapper message as proof every failure mechanism is identical
- Rename every wrapped failure Timeout regardless of its underlying cause
- Remove dependency context so distinct failure categories become indistinguishable
- Preserve the underlying error category and causal context
Answer: Preserve the underlying error category and causal context
A generic boundary error loses distinctions useful for diagnosis. Retain the underlying cause and request context while respecting the actual evidence.
37.A trace has root P, direct children A and B, and child C whose parent ID is A. Which relation is established by those parent IDs?
Show answer and explanation
- C is a descendant of P through A
- C is a direct child of B
- B must have started after C because it is listed later
- A and C belong to unrelated traces by definition
Answer: C is a descendant of P through A
Parent IDs encode the supplied hierarchy. Display order does not substitute for that relationship or establish execution order.
38.A span has a recorded start event but no end event in the available capture. Export loss and process termination are both possible. What can the reviewer conclude from this capture alone?
Show answer and explanation
- The operation necessarily never finishes at any later time
- The operation necessarily succeeded at the capture boundary
- Its completion boundary is unknown in the available evidence
- Its eventual duration is exactly zero because the end event is missing
Answer: Its completion boundary is unknown in the available evidence
An incomplete capture does not distinguish unfinished work from lost completion evidence. Keep the endpoint unknown until additional observations resolve it.
39.A request's first dependency attempt has an error span; a retry succeeds, and the documented request contract permits that recovery. The request returns the correct result. What should a report distinguish?
Show answer and explanation
- The retry as an unrelated user request with no causal connection
- The successful final outcome as proof no attempt failed
- Every error span as a failed final request regardless of recovery
- Attempt-level errors from the final logical request outcome
Answer: Attempt-level errors from the final logical request outcome
Retries can produce failing child attempts within a successful logical operation. Preserve both levels rather than collapsing their outcomes.
40.A collector retains all 40 failed requests and one tenth of 600 successful requests, without weighting. The captured set has 100 requests. What is the true failure fraction in the stated original population?
Show answer and explanation
- 40/640, or 6.25 percent
- 100/640, or 15.625 percent
- 40/100, or 40 percent
- 60/640, or 9.375 percent
Answer: 40/640, or 6.25 percent
The original denominator is 40+600=640. Preferentially retaining failures changes the captured fraction; it does not change the original population rate.
41.Events A then B occur in a service's recorded local sequence, but network batching makes B arrive at the log collector first. What ordering evidence should diagnosis use for that local sequence?
Show answer and explanation
- Collector arrival order as proof of source occurrence order
- Lexical event-name order as a substitute for the source sequence
- The source sequence identifiers, rather than collector arrival order
- The merged file position after batches arrive without preserved ordering metadata
Answer: The source sequence identifiers, rather than collector arrival order
Transport can reorder observation. Preserve source ordering evidence when reconstructing the declared local sequence.
42.A dashboard shows no error events during a collector outage. No independent error source was checked. What claim is unsupported?
Show answer and explanation
- That collection was unavailable during the interval
- That independent evidence could help resolve the gap
- That the dashboard displayed no recorded error events
- That the service experienced no errors during the missing-data interval
Answer: That the service experienced no errors during the missing-data interval
A silent failed observation path does not establish healthy application behavior. Treat the interval as missing evidence, not a measured zero.
43.A ticket says 'three affected requests' because it counts three error log lines. Inspection shows all three lines carry the same logical request ID at different layers. What count is supported for those lines?
Show answer and explanation
- Three distinct identified logical requests
- Zero requests because log lines cannot refer to requests
- One identified affected logical request
- At least four requests because multiple layers logged the error
Answer: One identified affected logical request
Repeated logging is not independent request multiplicity. Deduplicate at the defined logical-request boundary before reporting impact counts.
44.An edge proxy returns 503. Its record says the request was never forwarded because no upstream was selected. Which boundary is already localized by this evidence?
Show answer and explanation
- The request was definitely handled correctly by the application
- The handler definitely reached its database write before failing
- Failure occurred before application request handling
- The application handler definitely produced that 503 response
Answer: Failure occurred before application request handling
The supplied forwarding record places this attempt before the application boundary. It does not identify every reason the proxy lacked an upstream.
45.A command-set reproducer fails exactly when it contains all of {A, B, C} or contains D. A reducer returns {A, B, C}; deleting any one command makes it pass. Is that a minimum-size failing set in this domain?
Show answer and explanation
- Yes; failure of every single deletion proves global minimum size
- Yes; every failing set must contain at least three commands
- No; it is deletion-minimal, but {D} is a smaller failing set
- No; {A, B} still fails under the supplied predicate
Answer: No; it is deletion-minimal, but {D} is a smaller failing set
No single command can be deleted from {A, B, C} while retaining failure, but {D} fails with one command. Local deletion minimality does not imply global minimum size.
46.A report claims field X is corrupted by the serializer. Captured serializer output contains correct X; a later adapter's output contains wrong X. What does that observation localize?
Show answer and explanation
- All downstream adapters are proved correct despite their captured wrong value
- The observed change lies after the captured serializer output
- The original client necessarily supplied an incorrect X
- Corruption is proved to precede the serializer’s captured correct output
Answer: The observed change lies after the captured serializer output
The observations bracket where the value changes. Investigate the later boundary without assigning corruption upstream of evidence showing a correct value.
47.In one trace, root R spans [0, 30] ms, child A spans [5, 25], and C is nested inside A on [10, 20]. Define R exclusive time as time inside R but outside its direct child A. What is R’s exclusive time?
Show answer and explanation
- 30 ms
- 0 ms
- 10 ms
- 20 ms
Answer: 10 ms
R lasts 30 ms and its direct child occupies 20 ms. R exclusive time is 30−20=10 ms. Subtracting nested C again would double-count time already inside A.
48.A failure occurs only with options X and Y both enabled. Disabling either makes it pass, under otherwise fixed conditions. What does this support for the tested option space?
Show answer and explanation
- X alone is sufficient regardless of whether Y is enabled
- The conjunction X AND Y is necessary for the observed failure
- Every untested option combination must fail as well
- Y alone is sufficient regardless of whether X is enabled
Answer: The conjunction X AND Y is necessary for the observed failure
The supplied comparisons show both options are needed for this observed case. They do not generalize to unrelated inputs or untested conditions.
49.A workaround suppresses the error message but leaves the incorrect stored value unchanged. The regression test checks only that no error message appears. What distinction must the fix review make?
Show answer and explanation
- A quieter log proves the original mechanism was removed
- The absent message proves the stored value was corrected
- Symptom suppression versus correction of the stored-value defect
- No displayed error means the test executed no relevant code
Answer: Symptom suppression versus correction of the stored-value defect
A visible symptom can disappear while the defect remains. Check the state property that defines the actual failure.
50.A database query returns the correct record, but the UI renders a stale cached copy with the wrong label. A proposed fix changes the query predicate only. What evidence should guide evaluation?
Show answer and explanation
- Treat a correct query capture as proof the wrong UI label cannot exist
- The stale rendering path already observed after the correct query result
- Assume every wrong label must originate in the database predicate
- Evaluate only whether query text changed, ignoring the observed stale rendering path
Answer: The stale rendering path already observed after the correct query result
Diagnosis should follow the observed boundary mismatch. A query-only edit needs evidence that it addresses the stale client path rather than merely changing upstream code.
51.Writer W0 emits {a}; W1 emits {a, b}. Reader R0 ignores unknown fields and requires a. Reader R1 requires both a and b. Which pairing violates these explicit reader rules?
Show answer and explanation
- R1 reading W0 output
- R0 reading W0 output
- R1 reading W1 output
- R0 reading W1 output
Answer: R1 reading W0 output
W0 omits b, which R1 requires. The other three pairs satisfy their stated field requirements.
52.Current readers reject any unknown field. New readers accept both old records and records containing new field b. New writers emit b on every record. Which rollout order preserves readability under these rules?
Show answer and explanation
- Upgrade all readers before enabling the new writer format
- Change writers and assume readers update atomically with them
- Enable new writer format while every reader is still old
- Treat adding b as harmless without checking unknown-field behavior
Answer: Upgrade all readers before enabling the new writer format
Existing readers cannot consume the new format. Reader compatibility must be in place before those records can reach them.
53.A new reader requires nonnull field b. Older stored records lack b, even after all writers are upgraded. What prerequisite is still needed before requiring b on every read?
Show answer and explanation
- A presumption that changing writers automatically rewrites every existing record
- Only a reader restart while stored records continue to lack required b
- Only new writers producing b on future records, without handling historical records
- A compatible handling or migration of the existing records
Answer: A compatible handling or migration of the existing records
Writer changes affect future records, not necessarily stored history. Account for old records before enforcing the new read precondition.
54.During dual writing, old readers use field x and new readers use y. An update changes y from 4 to 9 but leaves x=4. Both fields must represent the same logical value. What should compatibility tests detect?
Show answer and explanation
- A valid representation merely because each field is an integer
- Divergence between the old and new read views
- A requirement that dual writes may ignore old readers
- Proof that all readers now observe 9
Answer: Divergence between the old and new read views
Dual-write correctness requires the representations to remain semantically aligned. The observed 4 versus 9 violates that rule.
55.A backfill reads record revision 5 and computes a replacement. A live writer updates the record to revision 6 before the backfill writes. What protects the newer change from stale overwrite?
Show answer and explanation
- A revision-conditional update or equivalent conflict handling
- A presumption that starting first gives the backfill precedence over every later write
- An unconditional replacement derived from the stale revision 5 snapshot
- A fixed sleep after the read, without checking whether the row changed
Answer: A revision-conditional update or equivalent conflict handling
A migration can race with live writes. Conditional application detects that its input snapshot is stale and prevents blindly replacing newer state.
56.A migration may resume after interruption. It must create exactly one derived row per source ID. Which restart case most directly checks safe resumption?
Show answer and explanation
- Interrupt after some rows commit, rerun, and reconcile by source ID
- Restart before any work begins and inspect only the process exit code
- Run only once from an empty destination and count successes
- Use a different source dataset on every rerun
Answer: Interrupt after some rows commit, rerun, and reconcile by source ID
Partial completion is the relevant state. Verify that resumption neither duplicates completed work nor skips unfinished source identities.
57.Old software accepts enum {Open, Closed}; new software may persist Paused. Rolling back code leaves persisted rows unchanged. What compatibility case must rollback evidence include?
Show answer and explanation
- The release label reverting to the prior version name
- Only old software reading a freshly created Open record
- Old software encountering a persisted Paused value
- Only the new software's ability to write Paused
Answer: Old software encountering a persisted Paused value
A code rollback does not erase states produced by newer code. The older reader's behavior on those states determines whether that rollback is usable.
58.A decoder is tested successfully on formats 1 and 2. Format 3 is not defined or tested. What compatibility claim is justified by those tests alone?
Show answer and explanation
- Proof that format version numbers cannot affect decoding
- A guarantee that format 3 will fail
- Successful decoding of the tested formats 1 and 2
- Guaranteed decoding of every future format
Answer: Successful decoding of the tested formats 1 and 2
Compatibility evidence has a declared domain. Untested future formats require their own rules and evidence rather than an automatic success or failure claim.
59.A compatibility report marks every reader/writer pair green because each reader and each writer passed its separate unit tests. No exchanged records were checked. What evidence is missing?
Show answer and explanation
- Behavior when the required pairs actually exchange representations
- A guarantee that component-level tests prove every boundary pairing agrees
- The assumption that two separately green components cannot disagree on record format
- Separate unit-test success alone, without checking exchanged representations
Answer: Behavior when the required pairs actually exchange representations
Individual component success does not establish agreement at their boundary. Exercise the required exchange or a faithful contract check for each relevant pair.
60.A migration replaces integer cents with truncated whole-dollar values and deletes the original cents. The old executable still expects cents. What does rolling back only the executable fail to restore?
Show answer and explanation
- The existence of the rollback command itself
- The deleted precision and the old data representation
- A guarantee that truncation is exactly reversible
- Only the old executable's version label
Answer: The deleted precision and the old data representation
Changing code does not reconstruct information removed from storage. Rollback planning must address the actual data transformation and its recoverability.
61.Old and new application versions share a cache key, but write incompatible serialized values. Either version may read the key during rollout. What strategy addresses this representation collision?
Show answer and explanation
- Alternating writers without fixing the old/new reader collision
- The shared key name as proof both value encodings have the same meaning
- Only longer cache retention, preserving the incompatible shared representation
- Version the cache namespace or make readers mutually compatible
Answer: Version the cache namespace or make readers mutually compatible
A shared key can cross version boundaries. Separate incompatible representations or define compatible decoding before mixed-version access.
62.A new server sends numeric IDs where the supported old client requires strings. Both sides use the same field name id. What must a compatibility test check?
Show answer and explanation
- A rule that equal field names guarantee equal semantics
- The field's actual wire type and supported client interpretation
- Only that the field name id remains present
- Only that both values can be displayed as digits in a log
Answer: The field's actual wire type and supported client interpretation
Names do not establish wire-type compatibility. Test the representation accepted by the supported consumer, including its decoding rules.
63.A schema rename commits atomically in the database. Old application processes still query the removed column afterward. What does database atomicity not guarantee?
Show answer and explanation
- That the schema change can have one committed database state
- That transactions can define a database change boundary
- That the old queries continue to refer to the removed name
- Compatibility of those still-running old application queries
Answer: Compatibility of those still-running old application queries
An atomic database change is not an atomic fleet upgrade. The rollout must account for application versions operating against the changed schema.
64.A response varies by feature cohort, but a shared cache key includes only the resource ID. Cohort A fills it and cohort B receives A's variant. What compatibility boundary needs correction?
Show answer and explanation
- The first cached cohort’s value as the contract for all later cohorts
- Cache identity must distinguish relevant response variants
- A longer cache lifetime that keeps A’s variant shared with B
- Only the resource ID, assuming cohort-specific values are interchangeable
Answer: Cache identity must distinguish relevant response variants
Caching must respect inputs that change the response contract. Otherwise rollout cohorts can leak variants to each other.
65.Turning off a request-path flag stops new-format writes from the API. A background worker still writes the new format. What rollback assertion remains unproved?
Show answer and explanation
- That all writers of the new format have stopped
- That API requests no longer take the flagged write path
- That the request-path condition was changed
- That the flag's displayed value is off
Answer: That all writers of the new format have stopped
A flag may govern only some producers. Identify every relevant writer before claiming that incompatible new data can no longer appear.
66.A new release encrypts persisted values with a new key. Disabling its flag changes only future writes, and older code cannot decrypt existing new-key values. What must a rollback exercise address?
Show answer and explanation
- Only fresh records written by the old software after rollback
- A presumption that disabling the flag reverses old encryptions
- Reading the already persisted new-key values after rollback
- Only the disabled flag's current Boolean value
Answer: Reading the already persisted new-key values after rollback
Stored state outlives the flag evaluation that produced it. Validate access to existing data under the rollback configuration.
67.An API contract permits an absent preference field to mean Inherit and explicit null to mean Clear. A compatibility adapter converts both to absence. What behavior is lost?
Show answer and explanation
- The supported distinction between clearing and inheriting
- Only the field's original whitespace formatting
- A requirement that every absent field must be rejected
- The ability to serialize any preference record at all
Answer: The supported distinction between clearing and inheriting
The adapter collapses two meaningful states. Compatibility must preserve their distinct actions, not merely produce syntactically valid output.
68.An old client follows a paginated response's next token verbatim. A new server changes token format but accepts only newly issued tokens. An old token may still be used within its supported lifetime. What case needs testing?
Show answer and explanation
- Resuming with a previously issued still-valid token after the server change
- Assuming a server deployment invalidates the documented token lifetime
- Only following tokens issued after every client has restarted
- Only counting the number of items on the first new-format page
Answer: Resuming with a previously issued still-valid token after the server change
Compatibility includes outstanding supported tokens, not just freshly created sessions. Test the cross-release continuation boundary.
69.A relay must forward unknown event types unchanged. A new event type reaches an old relay, which drops it because it cannot interpret the payload. What requirement has failed?
Show answer and explanation
- A guarantee that all event types must share one known schema
- A requirement that the relay fully understand every future payload
- Opaque forwarding of an unknown but permitted event type
- The rule that unknown events must always be deleted
Answer: Opaque forwarding of an unknown but permitted event type
The supplied relay contract requires preservation without interpretation. Rejection would be appropriate only under a different contract.
70.A data-contract step is allowed only when all old writers are drained AND all remaining readers accept the new constraint. Old writers are drained, but one active reader does not accept it. What should the gate report?
Show answer and explanation
- One satisfied condition substitutes for both required prerequisites
- The step's prerequisites are not all met
- Reader compatibility no longer matters after old writers drain
- The conjunction passes whenever at least one process upgrades
Answer: The step's prerequisites are not all met
Both stated prerequisites are necessary. Eliminating old writers alone does not make an incompatible active reader safe.
71.A supported mobile client can remain installed for six months without updating. A server release is tested only with the newest client. What compatibility obligation remains?
Show answer and explanation
- The still-supported older clients during that support window
- Only the newest client's download speed
- A requirement to support every client forever regardless of policy
- A guarantee that every installed client updates with the server
Answer: The still-supported older clients during that support window
Support duration defines the relevant consumer population. Server deployment does not automatically update independently installed clients.
72.A migration has populated new field b on 80 of 100 existing records. Enabling strict reads requires b on every existing record, with no default or exception. What remaining work blocks that condition?
Show answer and explanation
- Treat 80 percent as complete because most records migrated
- Populate b on the 20 remaining records and verify the invariant
- Only verify that the latest 80 records are readable
- Enable strict reads and assume missing values fill themselves
Answer: Populate b on the 20 remaining records and verify the invariant
The condition is universal over the existing records. The 20 missing values violate it until handled and verified.
73.A new nonnull database constraint is enabled while an old supported writer still inserts null. The writer's insert is now rejected. What rollout ordering issue does this expose?
Show answer and explanation
- Adding a constraint cannot change write behavior
- The database must accept null despite the declared new constraint
- The writer is compatible merely because it can open a connection
- The constraint was tightened before all supported writers satisfied it
Answer: The constraint was tightened before all supported writers satisfied it
A stricter storage contract requires compatible producers first. Connection success does not establish that their writes satisfy the new invariant.
74.A deployment probe checks schema existence using an administrator account. The application role lacks permission to read a required table. What should readiness evidence also exercise?
Show answer and explanation
- A presumption that administrator access proves access for the application role
- Only another administrator query against the required table
- Only table counts visible to the stronger administrator account
- Required operations using the actual application role
Answer: Required operations using the actual application role
Readiness depends on the identity used by the application. A stronger account can conceal missing permissions in the actual runtime path.
75.A rollback test starts the new release on empty data, immediately restores old code, and passes. The risk concerns records newly created by the new release. What setup is missing?
Show answer and explanation
- Create representative new-release state before exercising rollback
- Only rename the empty database to the production database name
- Only spend more time running old code on the empty database
- Assume an empty-state rollback covers every generated record format
Answer: Create representative new-release state before exercising rollback
The rollback must encounter the state that creates the compatibility risk. Reverting before that state exists omits the central case.
76.A canary sends the new release only to newly created empty accounts. The changed feature migrates existing account history, and no canary account has history. What selection gap remains?
Show answer and explanation
- A confirmed failure in every historical account despite none being tested
- The historical-account migration population was not exercised
- The empty-account creation count as proof that stored-history migration ran
- A guarantee that every historical migration passes because empty accounts pass
Answer: The historical-account migration population was not exercised
A canary must encounter conditions relevant to the change. Empty-account success does not test history migration.
77.In a fixed observation window, the old cohort has 4 errors in 100 operations; the new cohort has 9 in 300. What is the observed new-minus-old error-rate difference?
Show answer and explanation
- −1 percentage point
- +5 percentage points
- −1 percent relative change
- +1 percentage point
Answer: −1 percentage point
The rates are 9/300=3 percent and 4/100=4 percent. Their difference is−1 percentage point; the larger raw error count does not imply a higher rate.
78.Matched cohort results are: routine requests old 1/100 errors, new 2/100; difficult requests old 4/10, new 3/10. Both releases have 5/110 overall. What does the equal overall rate fail to show?
Show answer and explanation
- The opposing changes within the two request classes
- The arithmetic equality of the two stated overall fractions
- Equality of the combined observed error counts
- Equality of the combined operation counts
Answer: The opposing changes within the two request classes
Routine errors increased while difficult-request errors decreased. Equal aggregates do not establish equal behavior in every important class.
79.A workflow stores a treatment-specific intermediate token between its first and second requests. Random routing can send those requests to incompatible release versions. What rollout case must testing include?
Show answer and explanation
- Separate request success as proof that their stateful cross-version composition works
- One workflow crossing the version boundary between its steps
- Only workflows wholly pinned to new code, omitting the outstanding old token
- Only workflows wholly pinned to old code, omitting mixed-version transitions
Answer: One workflow crossing the version boundary between its steps
Per-request success does not cover a stateful workflow's cross-version transition. Test the boundary or enforce a supported affinity rule.
80.Canary and control versions share a mutable cache. Canary writes change the values later read by control. What assumption for a clean independent cohort comparison is violated?
Show answer and explanation
- The existence of two distinct release labels
- The ability to count each cohort’s requests
- Both cohorts receiving some responses
- No cross-cohort influence through the shared state
Answer: No cross-cohort influence through the shared state
Shared state can let one cohort alter another's outcomes. Account for that interference before interpreting differences as isolated version effects.
81.A rollout policy requires two live monitors. Monitor A is healthy and green; B has stopped reporting. The policy defines missing monitor evidence as Unknown, which does not pass. What gate state follows?
Show answer and explanation
- B's absence proves the application itself failed
- Both monitors pass because B reported no failures
- A's green result automatically supplies B's missing observation
- The required evidence is incomplete, so the gate does not pass
Answer: The required evidence is incomplete, so the gate does not pass
The policy distinguishes missing evidence from a measured result. Apply its Unknown rule without inventing either a pass or an application failure.
82.A rollout stops if error rate>2 percent OR any corruption is detected. Measured errors are 1 percent, and one corrupted record is confirmed. What does the stated rule require?
Show answer and explanation
- Continue because the error rate is below 2 percent
- Continue unless both conditions are true
- Stop because the corruption condition is true
- Stop only if the error rate equals 2 percent
Answer: Stop because the corruption condition is true
The rule uses OR. A confirmed corruption is independently sufficient even though the rate condition is false.
83.A deployment switches from A to B at noon. A dashboard's13:00 cumulative totals include events from both versions, but the comparison treats them all as B. What attribution is needed?
Show answer and explanation
- Only a new title labeling the mixed totals as B
- A guarantee that deployment erases earlier counter contributions
- Only the wall-clock time when the dashboard was opened
- Version-specific event scope within the declared observation window
Answer: Version-specific event scope within the declared observation window
A cumulative total can retain earlier-version work. Separate the actual serving version and window rather than attributing all historical increments to the current label.
84.A fixed rollout window ends at 12:00. Failure events may arrive at the collector up to 4 minutes late. At 12:01, the report labels its count final without any completeness signal. What evidence gap remains?
Show answer and explanation
- Window closure guarantees that every event has already reached the collector
- Late events from the closed window may not yet be included
- The count is complete because no new occurrence can enter the already closed window
- Collector arrival necessarily equals source occurrence time despite the stated delay
Answer: Late events from the closed window may not yet be included
Closing an occurrence-time window does not guarantee collection is complete. Account for the stated lateness or an equivalent completeness watermark.
85.A release policy predeclares a 20-minute comparison window. The reviewer stops after the first favorable minute and reports it as the completed policy check. What procedure changed?
Show answer and explanation
- The policy automatically changing to one minute after its first favorable result
- Only report formatting, while the original stopping procedure remains unchanged
- A guarantee that the unobserved remaining 19 minutes would also have been favorable
- The evidence-selection and stopping rule
Answer: The evidence-selection and stopping rule
Selecting an early favorable result changes the declared decision procedure. Preserve the actual stopping rule and incomplete window rather than claiming the original check finished.
86.A rollout gate requires at least 1000 relevant requests AND 30 minutes of observation. The run has 2000 requests over 10 minutes. What is its state under that rule?
Show answer and explanation
- The duration prerequisite remains unmet
- Both requirements are satisfied because 2000 exceeds 1000
- The gate requires exactly 1000 requests and must reject larger samples
- The request count compensates for missing observation time
Answer: The duration prerequisite remains unmet
The conditions are conjunctive and have different purposes. A larger request count does not replace the minimum time requirement.
87.Rollback instructions list five steps, including restoring a schema-compatible configuration. A drill executes only the binary replacement and reports 'rollback verified'. What should the evidence state?
Show answer and explanation
- Only the executed portion is verified; the full procedure remains untested
- Unexecuted steps become unnecessary after any one successful step
- Binary restoration proves configuration cannot affect the rollback outcome
- Every listed step is verified because the binary replacement step succeeded
Answer: Only the executed portion is verified; the full procedure remains untested
A procedure's existence is not proof that every required step works. Record actual scope and exercise the remaining prerequisites and outcomes.
88.Desired configuration says feature Off on all four workers. Runtime reads show Off, Off, Off, On. What does the configuration rollout evidence establish?
Show answer and explanation
- The desired state has not converged on every worker
- The desired document proves all four workers applied Off
- A successful control-plane write proves convergence of every runtime reader
- The remaining On worker can be ignored without limiting the all-worker claim
Answer: The desired state has not converged on every worker
Control-plane intent and runtime application are different observations. A remaining On worker prevents the stated all-Off condition from being true.
89.After rollback, server responses contain old-compatible data, but a previously open browser tab still runs the new cached client. The supported rollback workflow includes active sessions. What additional path needs evidence?
Show answer and explanation
- Only the rolled-back server’s version label, without using the cached new client
- A presumption that server rollback replaces code already loaded in every browser
- Only a fresh old-client load after clearing every active session
- That existing new-client sessions remain usable against the rolled-back server
Answer: That existing new-client sessions remain usable against the rolled-back server
An independently running client can outlive server rollback. Include that supported mixed-version session in the recovery exercise.
90.A fix prevents future duplicate invoices. Invoices already duplicated before the fix remain in storage. What must the release report distinguish?
Show answer and explanation
- Deployment of preventive code proves all historical invoices were also repaired
- Prevention of new duplicates from remediation of existing duplicates
- Historical duplicates prove the new preventive path cannot work
- A code fix necessarily reverses every side effect created before it
Answer: Prevention of new duplicates from remediation of existing duplicates
A preventive code change and a data repair have separate effects and evidence. Track the existing affected records explicitly.
91.Two staged releases both use base generation 7. The first activates generation 8. Publication of the second requires compare-and-swap against generation 7. What should happen to that stale activation attempt?
Show answer and explanation
- Decrement the current generation back to 7
- Reject it until its base and changes are reviewed against current state
- Treat matching creation times as stronger than the generation condition
- Activate it silently and overwrite generation 8 regardless of its base
Answer: Reject it until its base and changes are reviewed against current state
The supplied generation check detects that the active base changed. It prevents silently publishing a stale view over a newer release.
92.A release consists of three immutable assets plus one active manifest. Users must never see a mixture of old and new manifests. Which publication boundary supports that requirement?
Show answer and explanation
- Let clients combine whichever asset versions arrive first
- Update each live asset pointer separately as uploads finish
- Select the new manifest before any referenced asset is available
- Stage all required assets, then atomically select the complete manifest
Answer: Stage all required assets, then atomically select the complete manifest
Atomic manifest selection gives readers one declared version set, provided every referenced asset is available before activation.
93.A question keeps its ID, but its answer meanings change between content revisions. A saved answer refers to the earlier revision's choice IDs. What compatibility review is needed?
Show answer and explanation
- Whether saved answers still have valid meaning under the new revision
- Silent grading against arbitrary new meanings merely because an earlier choice ID still exists
- Only unchanged ID strings, assuming semantic meaning cannot change beneath them
- Stable question identity as proof that saved choice meanings remain compatible
Answer: Whether saved answers still have valid meaning under the new revision
Identity stability and semantic stability differ. Review progress compatibility and retain revision context when interpreting earlier answers.
94.A release removes an endpoint used by a documented supported integration. Internal tests exercise only the replacement endpoint. What requirement is still unresolved?
Show answer and explanation
- Internal green checks as a substitute for the documented integration support contract
- The supported integration's compatibility or an applicable migration agreement
- A presumption that removing a server route updates every consumer automatically
- Only the replacement route’s passing tests, ignoring the supported integration
Answer: The supported integration's compatibility or an applicable migration agreement
External support scope is part of the release contract. Test or explicitly resolve the consumer migration rather than infer it from replacement-path success.
95.A release is selected by an immutable manifest, but one referenced data blob has been deleted. The release ID still exists. What rollback check detects unusability of that version?
Show answer and explanation
- Restoring the pointer while treating failed dependency reads as successful rollback
- Only the old release ID being listed, ignoring missing referenced content
- Immutable naming as proof that every referenced blob remains available forever
- Verify every referenced asset is available and usable when restoring the manifest
Answer: Verify every referenced asset is available and usable when restoring the manifest
An identifier can survive loss of its referenced content. A usable rollback needs the whole dependency closure, not just a surviving label or pointer.
96.New content is committed and pushed, but the running application reads a database release that still references the old revisions. What observation would prove the new content is actually serving?
Show answer and explanation
- Public responses exposing the expected new revision and payload
- Only the local JSON file’s existence
- Only the successful source-control push
- Only the latest topic-naming commit message
Answer: Public responses exposing the expected new revision and payload
Source control and runtime publication are different states. Check the active reader's actual served revision and content.
97.A release's authorization tests use only administrators. The change affects access for ordinary users and guests. What evidence gap remains?
Show answer and explanation
- The supported nonadministrator authorization paths
- Only the administrator's password length
- A conclusion that every guest request must fail
- A guarantee that administrator success implies guest success
Answer: The supported nonadministrator authorization paths
Privileges can bypass decisions exercised by other roles. Test the relevant role-specific access behavior rather than extrapolating from the strongest role.
98.A fix's original reproducer passes, but a new regression appears in a neighboring supported path. The release rule requires both paths to pass. What should the closure decision preserve?
Show answer and explanation
- The passing reproducer overrides every other supported-path regression
- The neighboring regression proves the reproducer’s passing result was impossible
- The original defect is addressed in its case, but the release still fails its combined rule
- Only one path can be included in release evidence at any time
Answer: The original defect is addressed in its case, but the release still fails its combined rule
Defect-level evidence and release-wide acceptance have different scopes. Passing the original case does not satisfy a failed neighboring requirement.
99.A defect is marked 'not reproduced' after testing a different account type from the affected one. No evidence rules out account-specific behavior. What should the report avoid claiming?
Show answer and explanation
- The alternate account’s observed passing run
- That the reported affected-account case has been disproved
- The account-type difference between the cases
- Relevant affected-account testing providing additional evidence
Answer: That the reported affected-account case has been disproved
A nonreproduction under changed conditions does not negate the original case. Preserve the condition difference and test the relevant population.
100.A repair job reports 500 changed rows. The defect affects exactly a known set of 200 row IDs, and unrelated rows must remain unchanged. What verification is needed beyond that aggregate count?
Show answer and explanation
- A changed count larger than 200 proves every intended row was repaired correctly
- Assume every changed row belongs to the intended target set
- Only compare 500 with 200, without identifying which rows changed or how
- Check intended IDs, corrected values and unchanged out-of-scope rows
Answer: Check intended IDs, corrected values and unchanged out-of-scope rows
An aggregate changed-row count does not prove target coverage, correctness or scope containment. Reconcile identities and required before/after properties.
101.A wrapper runs required tests, then uploads their report. Tests return failure status 1; upload returns success 0. The wrapper returns only the upload status. What gate defect does this create?
Show answer and explanation
- Returning the last status always combines all earlier required outcomes correctly
- Report upload success proves the required test outcome was successful
- The failed tests necessarily force a separate uploader to fail too
- A reporting success can hide required test failure
Answer: A reporting success can hide required test failure
Report delivery and test outcome are separate results. Propagate the required test failure while still attempting to preserve its report.