Solutions architect: Migration and Validation
Original technical interviews on transformation semantics, identity and lineage, snapshot and change-stream boundaries, schema coexistence, cutover authority, rollback limits, independent reconciliation, operational budgets, and rehearsal evidence. Each finite case states its relevant assumptions and acceptance rules.
These prompts are original practice. They are not questions from a named employer or a live hiring loop.
1.Three source quantities are exactly 1.5 g each. The migration rounds each to a whole gram, with exact halfway values rounded upward, then sums them. The required aggregate instead sums exact source quantities before the same whole-gram rounding. What pair gives the migrated and required aggregate?
Show answer and explanation
- 5 g under both methods
- 5 g migrated, 6 g required
- 6 g migrated, 5 g required
- 6 g under both methods
Answer: 6 g migrated, 5 g required
Row rounding yields 2+2+2=6 g. Summing first gives 4.5 g, which rounds to 5 g. A per-row rounding rule need not preserve an aggregate that is defined by rounding only after summation.
2.A migration contract includes only ACTIVE records. The source has 80 ACTIVE and 20 ARCHIVED records; the target contains exactly the 80 required IDs with correct values. A validator fails it solely because 80≠100. What population should that completeness check use?
Show answer and explanation
- The 80 in-scope ACTIVE source records
- All 100 source records before applying the contractual filter
- Only the 20 excluded records as the required destination population
- The 80 target rows without checking whether they are the required source IDs
Answer: The 80 in-scope ACTIVE source records
The intended migration population is explicitly filtered. Under the supplied facts the target matches that required set. An unfiltered count comparison would impose an extra retention requirement, not detect a violation of this contract.
3.An ACTIVE child C references archived parent P. Both are valid source records. The target requires every included child to have its parent, but the migration independently filters out every archived parent while including every active child. What conflict appears?
Show answer and explanation
- C has a target parent because P exists in the source
- The archived-parent filter is overridden automatically without an implementation rule
- Independent table counts are enough to satisfy the target reference rule
- C is included while its required parent is excluded
Answer: C is included while its required parent is excluded
The independently chosen populations are not closed under the required reference relationship. Resolve the inclusion/mapping policy explicitly rather than claim that filtering each table separately preserves this target invariant.
4.A source date value 2026-04 means an unknown day within April 2026. The target requires one exact calendar day, and the contract forbids inventing missing precision. What conversion is supported without obtaining more information?
Show answer and explanation
- 2026-04-01, treating the earliest possible day as observed
- 2026-04-15, treating a middle day as observed
- No exact day; retain the uncertainty or resolve the missing day
- 2026-04-30, treating the latest possible day as observed
Answer: No exact day; retain the uncertainty or resolve the missing day
A month-level value specifies a range, not one observed day. Selecting an endpoint or midpoint adds information the source does not contain and the contract does not authorize.
5.Under supplied encoding tables, source byte E9 and target bytes C3 A9 both represent the same character. The migration correctly transcodes between these tables. A validator requires identical raw-byte hashes before and after. What equality domain does that validator misapply?
Show answer and explanation
- It tests target representability rather than the declared equality property
- It checks the number of characters rather than whether their encodings differ
- It compares decoded characters when the contract requires retaining raw source bytes
- It demands byte identity where the contract requires preserved text meaning across encodings
Answer: It demands byte identity where the contract requires preserved text meaning across encodings
The declared encodings give different bytes for the same character. The contract permits that representation change. Validation should compare the required decoded meaning and other specified properties rather than assume raw-byte equality is necessary.
6.A target correctly receives source snapshot S, then a legitimate target-side update changes value 10 to 11. A validation later compares the target's live 11 with S's 10 and reports a migration defect solely from the difference. What comparison boundary is missing?
Show answer and explanation
- A requirement to replay S over all authorized target updates before comparison
- Only a byte-for-byte comparison of the current live values
- A common logical cut or explicit accounting for the legitimate later update
- A larger sample drawn from the same mismatched histories
Answer: A common logical cut or explicit accounting for the legitimate later update
The two observations refer to different histories. The known valid update explains the difference without implying a faulty copy of S. Align comparison cuts or account for allowed later changes when judging the migration requirement.
7.Source invoices I and J have respectively three and zero embedded lines. The target contract keeps one header per invoice and one row per line, including invoices with no lines. What exact target population is required?
Show answer and explanation
- 1 header and 3 line rows
- 2 headers and 2 line rows
- 2 headers and 3 line rows
- 2 headers and 4 line rows
Answer: 2 headers and 3 line rows
I contributes one header and three lines; J contributes one header and no lines. Dropping J through an inner join would violate the explicit empty-invoice retention rule; inventing an empty line is also unwarranted.
8.A migration maps source parent IDs 10→100 and 20→200. A child references source parent 20, and the target contract requires references to use mapped target IDs. What target parent reference preserves that relationship?
Show answer and explanation
- 200
- 20
- 100
- 10
Answer: 200
The child must point to the mapped identity of its actual source parent: map(20)=200. Rewriting primary keys without the corresponding reference mapping would leave a different or unresolved relationship.
9.Two source people have distinct authoritative IDs but the same display name. A target also has two such named records. No other matching evidence exists, and the requirement preserves each exact identity. Can a name-only join prove the correct one-to-one mapping?
Show answer and explanation
- Yes; sorting by target-generated ID establishes the source identity linkage
- Yes; any one-to-one matching of the same names proves exact identity
- No; multiple identity mappings fit the same names
- No; the observations prove both target identities are wrong
Answer: No; multiple identity mappings fit the same names
The name observations allow more than one pairing. An exact-identity claim needs authoritative linkage or additional justified evidence. Arbitrary ordering can choose a mapping without proving it is the required one.
10.In a supplied fictional time zone, the clock jumps directly from 01:59:59 to 03:00:00 on date D. A source local timestamp says D 02:30:00. The target requires a valid represented instant, with no automatic gap-shifting rule. What should validation surface?
Show answer and explanation
- A nonexistent local-time value requiring a defined resolution
- A repeated local-time value with two candidate instants
- A valid shifted instant at 03:30 even though no shift rule exists
- A unique instant at 02:30 because its text is syntactically valid
Answer: A nonexistent local-time value requiring a defined resolution
The stated transition omits the interval containing 02:30. Under the no-invented-shift contract, the migration cannot silently assign an instant. Resolve or quarantine it through an explicit rule while preserving relevant source evidence.
11.Source IDs are integers 0 through 11. A migration assigns each to job id mod 4. Jobs 0,1 and 2 complete; job 3 never runs, and no other job processes its records. Which IDs remain uncovered?
Show answer and explanation
- {3,7,11}
- {2,6,10}
- {1,5,9}
- {0,4,8}
Answer: {3,7,11}
The records with remainder 3 on division by 4 are 3,7 and 11. Partition completion must cover the declared source work set; successful completion of the other jobs does not establish that missing partition.
12.Source IDs are {1,…,10}. The migration reports loaded IDs {1,…,8} and quarantined ID {9}, with no outcome for 10. The contract requires an explicit outcome for every source ID. What accountability gap remains?
Show answer and explanation
- ID 10 has no recorded outcome
- ID 9 has no outcome because quarantine is not a successful load
- IDs 1–8 lack outcomes until an exception record also exists
- Every ID is accounted for because the source and two outcome sets are nonempty
Answer: ID 10 has no recorded outcome
The recorded outcome union is {1,…,9}. ID 10 is outside it. Quarantine may be a valid recorded outcome under this requirement, but it does not account for an entirely missing source identity.
13.A migration inventory lists a nightly exporter E that reads source table T directly. A plan moves T and then disables the source, but changes only the web application's connection. What dependency remains unresolved?
Show answer and explanation
- E still needs a supported read path or an explicit retirement decision
- Only the web application needs testing because E is outside its process
- Retiring the source automatically retires E under the stated inventory
- A copied table name ensures E can reach the new data without reconfiguration
Answer: E still needs a supported read path or an explicit retirement decision
The inventory identifies a separate consumer. A web application's connection change does not redirect an independently configured exporter. Account for that read path before removing its source.
14.Before migrating a file catalog, the team samples metadata rows and confirms they copy correctly. The contract also requires each referenced file's content. No files were inventoried or read. What required evidence is missing?
Show answer and explanation
- The metadata row count, without reading the referenced objects
- Only whether filenames survived as strings in the target table
- A successful listing of the target table as proof of object-content transfer
- Coverage and integrity of the referenced file content
Answer: Coverage and integrity of the referenced file content
Metadata fidelity does not establish that the objects it points to exist, are accessible, or were transferred correctly. The content requirement needs its own inventory and validation tied to those references.
15.Sources A and B both use local account ID 7 for different accounts. The target accepts one global ID namespace and must preserve both accounts. Which proposed source identity key avoids the stated collision?
Show answer and explanation
- The pair (source system, local account ID)
- The number of rows in either source
- The local account ID alone
- The constant string account
Answer: The pair (source system, local account ID)
The source system distinguishes the two local namespaces. A mapping keyed by (A,7) and (B,7) can preserve two identities; using 7 alone merges or overwrites them without authority.
16.For one customer, source A says status OPEN and source B says CLOSED. The migration rule explicitly names B as authoritative for status. A has a later extraction time but no precedence rule based on extraction. What status is required?
Show answer and explanation
- Whichever status the last migration worker happened to write
- OPEN from A using extraction recency as an unstated precedence rule
- CLOSED only if B was also extracted later than A
- CLOSED from B
Answer: CLOSED from B
The stated field-level authority chooses B. Extraction time describes when a value was observed, not an authorized rule for resolving this disagreement.
17.A target requires unique usernames compared without letter case. Source usernames are Mira and MIRA for two distinct users. The contract forbids merging users or silently changing names. What does preflight reveal?
Show answer and explanation
- An authorized merge because the target comparison equates the names
- A collision requiring an approved naming or target-rule decision
- No collision because the two source byte strings differ
- A harmless warning because both records have valid source IDs
Answer: A collision requiring an approved naming or target-rule decision
The target comparison treats both names as equal. Exact copying therefore conflicts with its uniqueness rule. The supplied contract authorizes neither an arbitrary rename nor identity loss.
18.A mapping creates new IDs by numbering rows in whatever order a source query returns. The query has no stable ordering, and retries must reuse exactly the earlier ID mapping. Which property is absent?
Show answer and explanation
- A persisted or reproducibly ordered identity assignment
- Evidence that sequential integers can never be identifiers
- A requirement that target IDs equal source IDs
- The ability to assign different numbers in a single run
Answer: A persisted or reproducibly ordered identity assignment
Unspecified iteration order can assign the same source record a different number on retry. A persisted mapping or deterministic identity rule supplies the required stability.
19.A transformation splits
full_nameinto two target fields using the first space. A source value has no space, and the approved rule specifies no fallback. The job silently puts it inlast_name. What is wrong?Show answer and explanation
- It followed an approved no-space fallback that the rule never specified
- It established that the source name was invalid rather than unresolved
- It preserved the required split merely because no row was rejected
- It introduced an undeclared transformation for an unresolved input
Answer: It introduced an undeclared transformation for an unresolved input
The contract has no authorized result for this case. Acceptance by storage is weaker than semantic correctness. Surface the unresolved case and obtain a rule rather than inventing one silently.
20.An allowed conversion collapses ten source transaction rows into one target summary. The contract requires tracing that summary back to every contributing source ID. Which artifact meets that requirement?
Show answer and explanation
- The first and last source IDs, omitting the intermediate contributors
- Only the target summary ID and total contribution count
- A complete ten-ID contribution list linked to the summary
- The ten original amounts with no way to associate them with source IDs
Answer: A complete ten-ID contribution list linked to the summary
All contributors are part of the required lineage. A count establishes cardinality but cannot identify the records; the last ID and timestamp are also insufficient.
21.A lookup mapping is reviewed as revision R1. Between two migration batches the lookup changes to R2, but the run records only its start time. The requirement is to reproduce each transformed value. What is missing?
Show answer and explanation
- Only the run start time as an implicit lookup-content identifier
- Only a final copy of R2, even for batches that used R1
- Only the successful output-row count for each batch
- The actual lookup revision or contents used for each batch
Answer: The actual lookup revision or contents used for each batch
Different lookup contents can yield different outputs from the same input. Reproduction requires the mapping evidence actually used, not merely the time when the overall run began.
22.A contract maps source categories A→X and B→X intentionally. Source IDs and category values must be recoverable exactly after rollback. Only target category X is retained; no original category or journal survives. What follows?
Show answer and explanation
- Choosing a fixed inverse X→A recovers both allowed original categories
- A target row ID alone reconstructs its original category without a recorded link
- Exact rollback can choose either A or B because both map forward to X
- This stored result cannot distinguish whether a row came from A or B
Answer: This stored result cannot distinguish whether a row came from A or B
Two distinct source values have the same retained image. Exact rollback needs additional information that distinguishes them; forward validity does not make this transformation invertible.
23.Records with validation errors enter quarantine. The release gate requires zero unresolved quarantined records. After review, 3 of 7 records receive approved corrections and load; 4 remain unresolved. Does the gate pass?
Show answer and explanation
- Yes; quarantine automatically exempts records from this gate
- No; four unresolved records remain
- Yes; a majority of the total migration loaded
- No; approved corrections can never resolve a quarantine
Answer: No; four unresolved records remain
The gate is explicitly zero unresolved records. Resolving three leaves four, so completion of other records or recording their failures does not satisfy that acceptance condition.
24.A source set is {a,b,c,d}. Loaded={a,b,c}; waived={c,d}. The contract requires exactly one of LOADED or WAIVED per source ID. Which record violates exclusivity?
Show answer and explanation
- b
- c
- a
- d
Answer: c
The two outcome sets intersect at c. All source IDs have an outcome, but c has both mutually exclusive outcomes. Coverage and exclusivity are separate requirements.
25.A consistent snapshot represents source state after operation 40. A durable change stream contains operations 41 through 60, in order. Applying these once with their defined semantics is supported. Which combination represents state after 60?
Show answer and explanation
- The state after 41 followed by operations 41–60 again, with no replay-safety rule
- That snapshot followed by operations 41–60
- An empty target followed only by changes 41–60
- That snapshot followed only by operations 42–60
Answer: That snapshot followed by operations 41–60
The snapshot supplies state through 40 and the stream supplies every later operation through 60. Skipping 41 leaves a gap; a delta alone need not contain the earlier state, and blind earlier replay has no stated safety.
26.A backfill reads account value 5. A later source change sets it to 8 and reaches the target before the stale backfill row. The backfill then overwrites the target with 5 without checking source version. What failure occurred?
Show answer and explanation
- The final target retains 8 because stream delivery happened at least once
- Only the source needs version checks because the target is a migration destination
- A stale snapshot write erased the effect of a newer captured change
- The backfill and update preserve the same final value in either arrival order
Answer: A stale snapshot write erased the effect of a newer captured change
The final target write wins under this rule. Change capture alone does not prevent later arrival of an older backfill value from regressing the target; coordinate ordering or version acceptance.
27.The migration snapshot includes a source row. Before cutover that row is deleted from the source. The capture path sends inserts and updates but deliberately omits deletes. No reconciliation removes extra rows. What divergence remains?
Show answer and explanation
- The target still matches because updates subsume every deletion
- The target can retain the deleted source row
- The target loses an inserted row because deletes were not emitted
- Row-count validation is unnecessary whenever insert capture is complete
Answer: The target can retain the deleted source row
The snapshot initially creates the row. Without a delete event or another authorized removal mechanism, nothing in the described process removes it when the source deletes it.
28.A source sequence has positions 101,102,103. The target has durably applied 101 and 103; 102 is still pending. The release gate requires a contiguous applied prefix through 103. Which checkpoint is justified?
Show answer and explanation
- 104
- 101
- 102
- 103
Answer: 101
The contiguous applied prefix stops before missing position 102. A maximum observed/applied number of 103 does not prove all earlier required changes are present.
29.A source log uses consecutive integer positions and freezes at 900. A migrator reports fetched through 900, decoded through 900, but durably applied through 895. The cutover rule requires durable target application through the freeze position. Is that rule satisfied?
Show answer and explanation
- No; durable application still needs 896–900
- No; the target must apply beyond 900 even though the gate ends at 900
- Yes; 900 is the highest fetched position
- Yes; decoding through 900 proves the database commit through 900
Answer: No; durable application still needs 896–900
The gate concerns committed target state. Fetching and decoding are earlier stages; neither proves that the remaining five positions were durably applied.
30.Two copy jobs cover integer keys 1–100 and 100–200, both endpoints inclusive. Together they must process each key 1–200 exactly once, with no duplicate suppression. What coverage defect exists?
Show answer and explanation
- Key 100 is omitted
- Key 200 is processed twice
- All 200 keys are processed exactly once
- Key 100 is processed twice
Answer: Key 100 is processed twice
The inclusive ranges overlap at 100. Their union covers the intended set, but their multiplicity violates exactly-once processing under the stated absence of deduplication.
31.Rows are copied by offset pages of size 2 from a live list. The first page reads [a,b] from [a,b,c,d]. Then a is deleted, giving [b,c,d]. The next query skips 2 rows. What does it return, and which original remaining row is missed?
Show answer and explanation
- It returns [d] and misses c
- It returns [c,d] and misses none
- It returns [a,b] and misses c and d
- It returns [b,c] and misses d
Answer: It returns [d] and misses c
After the deletion, the first two positions are b and c. Skipping them starts at d, so c is never copied in this trace. Offset paging over a changing population needs a justified consistency strategy.
32.A backfill checkpoint says
next_key=51 before records 41–50 are committed. The worker crashes, then resumes at 51. Those records have no other copy path. What can be lost?Show answer and explanation
- Records 41–50 are safe because the checkpoint is later than their keys
- Only already committed records before 41 can be omitted
- Records 41–50 from the target
- The checkpoint forces records 41–50 to be replayed first
Answer: Records 41–50 from the target
The checkpoint claims progress beyond data that did not commit. A restart trusting it skips 41–50. Coordinate durable progress with committed effects or make replay and recovery safe.
33.A chunk copies rows by upsert on stable source ID and contains only absolute field assignments. A crash leaves an unknown subset committed. Replaying the entire same chunk uses identical values and no external effects. What final state results if the replay completes?
Show answer and explanation
- One row per source ID with each number added a second time
- Two distinct target rows per source ID after every replay
- One row per source ID with the intended assigned values
- An unknown final value despite completed identical absolute assignments
Answer: One row per source ID with the intended assigned values
Stable-key upserts and identical absolute assignments make the completed replay converge to the specified row values. The conclusion is scoped to these effects and does not cover unmodeled notifications or increments.
34.A source commit atomically transfers 4 units from account A to B. The migration applies the debit, exposes reads, then applies the credit. The target contract forbids exposing partial transfers. What boundary is missing?
Show answer and explanation
- A source snapshot taken before the atomic transfer
- Atomic visibility of the migration's corresponding debit and credit
- A target row-count check after the debit but before the credit
- Only preserving the order of the two visible commits, without hiding the intermediate state
Answer: Atomic visibility of the migration's corresponding debit and credit
Although the source committed both changes together, the target exposes an intermediate state with only one side. Preserve the required transaction visibility or isolate reads until the complete state is available.
35.A stopped consumer next needs source position 70. The change log now retains only positions 75 onward, and no alternate history or reconstructing snapshot is available. Can simply resuming at 75 prove an exact target through 100?
Show answer and explanation
- No; required positions 70–74 are unavailable
- No; no migration could ever use a snapshot under a different setup
- Yes; a higher starting position always subsumes missing changes
- Yes; every retained suffix contains all earlier effects by definition
Answer: No; required positions 70–74 are unavailable
The needed interval has a gap. A later suffix need not encode the missing changes, so exactness is not established. A supported resnapshot or another recovery source would require additional evidence absent here.
36.A database snapshot is consistent, but a sidecar file export is taken later. An update changes a database reference and its corresponding file between those cuts. The contract requires references and files from one logical state. What must be resolved?
Show answer and explanation
- Only requiring equal physical timestamps on the export filenames
- Only retrying the database export while ignoring the sidecar cut
- Only confirming that both exports are individually readable
- A consistent cross-store boundary or a reconciliation rule for the intervening update
Answer: A consistent cross-store boundary or a reconciliation rule for the intervening update
Two separately valid cuts can represent incompatible parts of an update. The joint reference/content requirement needs coordination or explicit accounting across those stores.
37.An old application reads field
old_code. A new application readsnew_code. The migration addsnew_codebut dropsold_codebefore old readers are retired. Neither reader has a fallback. What transition error occurs?Show answer and explanation
- The contraction is safe once new_code is populated, regardless of old readers
- New-reader success proves old-reader compatibility with the contraction
- The schema removes a field that an active reader still requires
- The old reader gains new_code support solely from the schema addition
Answer: The schema removes a field that an active reader still requires
Expansion permits coexistence only if each active reader's requirements remain satisfied. A later contraction must wait for the required consumer transition or another supported compatibility path.
38.A new required field region must equal the region of each record's source branch. Existing rows are all assigned default NORTH, although half belong to SOUTH. All rows pass the target's non-null check. Has semantic backfill passed?
Show answer and explanation
- No; non-null values can still violate the branch-derived mapping
- Yes; successful non-null enforcement proves branch-specific values
- No; every defaulted row is wrong, including NORTH branch records
- Yes; one default value is correct for every branch unless the schema rejects it
Answer: No; non-null values can still violate the branch-derived mapping
Storage acceptance proves the field is populated, not that it contains the value required for each record. Validate the branch-to-region relationship, including records for which the default is wrong.
39.During coexistence, old writers set
price_centsonly. New readers useprice_unitsonly. A one-time backfill setsprice_unitscorrectly, then old writers continue changing prices. There is no synchronization or fallback. What follows?Show answer and explanation
- Only new writers can cause divergence, so old writers pose no issue
- New readers can see outdated prices after later old writes
- The backfill keeps both fields aligned without any later writes to price_units
- The new reader sees the updated price because both fields share one row
Answer: New readers can see outdated prices after later old writes
The backfill aligns one cut. Subsequent writes update only one representation, so coexistence requires a supported ongoing synchronization or read rule until those writers are retired.
40.A migration adds status PAUSED. New readers support it; an active old reader crashes on any value except OPEN or CLOSED. Writes of PAUSED are enabled immediately. What compatibility gate was missed?
Show answer and explanation
- All active readers must safely handle the newly enabled value
- The old reader is compatible as long as most rows still use OPEN or CLOSED
- Only successful parsing by the new readers is needed before enabling the value
- Keeping the enum field present guarantees compatibility for the old reader
Answer: All active readers must safely handle the newly enabled value
Data compatibility depends on actual supported values as well as field shape. An old reader can fail even though no column is removed. Delay the value or provide compatible handling before exposing it.
41.Two concurrent writers represent a user's name in old and new columns. Writer A stores
new_name=Alia, then writer B stores both columns=Bela, then A storesold_name=Alia. No repair runs. What final pair remains (old_name,new_name)?Show answer and explanation
- (Alia,Alia)
- (Bela,Bela)
- (Alia,Bela)
- (Bela,Alia)
Answer: (Alia,Bela)
Follow the supplied interleaving: B overwrites new_name with Bela, but A's last write changes only old_name to Alia. Calling both routines dual writers does not give atomic paired updates.
42.A source permits an omitted score meaning not assessed. A target uses numeric 0 to mean assessed with no points. The migration turns every omitted score into 0, and the contract preserves assessment status. What distinction is lost?
Show answer and explanation
- The number of target rows only
- Not assessed versus assessed with zero points
- Positive versus negative scores only
- A distinction that the supplied source contract does not define
Answer: Not assessed versus assessed with zero points
The source absence and numeric zero have different declared meanings. Filling the field with 0 destroys that distinction unless the target has another authorized way to retain it.
43.A migration introduces a target uniqueness constraint for active email addresses. Preflight reports two active source records sharing the same address. The contract requires preserving both IDs and permits no automatic deduplication. What must happen before relying on the constraint?
Show answer and explanation
- Load both unchanged and claim that the uniqueness rule is already met
- Let constraint insertion order choose which source identity survives
- Resolve the conflict through an approved data or design decision
- Treat the uniqueness preflight as informational because both IDs are valid
Answer: Resolve the conflict through an approved data or design decision
The desired target invariant conflicts with the required preserved records. A valid constraint declaration is not proof that the data can satisfy it; resolve the policy conflict before treating migration as feasible.
44.An application's old release writes a field that the planned contraction removes. Its main servers have upgraded, but one scheduled worker still runs that release tomorrow. What prevents a safe claim that all old writers are retired?
Show answer and explanation
- An empty current request queue proves the future scheduled worker is retired
- A completed data backfill proves no old binary can run tomorrow
- The remaining scheduled old worker
- Main-server completion proves scheduled workers use the same binary
Answer: The remaining scheduled old worker
The retirement condition includes every relevant writer, including delayed jobs. Current main-server versions do not establish that a scheduled old writer cannot run after the contraction.
45.A backfill copies address from
old_addressintonew_addressonly whennew_addressis empty. A user setsnew_addressto a verified correction before the backfill reaches that row. What should this declared rule do?Show answer and explanation
- Preserve the user's nonempty new_address
- Delete both values to avoid having two fields
- Fill it with a constant empty string
- Overwrite it with old_address regardless of the condition
Answer: Preserve the user's nonempty new_address
The backfill's condition explicitly excludes a populated new_address. Applying that predicate at the actual update preserves the newer correction under this rule; an earlier unchecked emptiness read would need separate concurrency reasoning.
46.An old binary can read schema S1 and S2. The target now contains S3 data, and S3 is explicitly unsupported by that binary. A rollback plan restores only the old executable. Is application-only rollback supported by these facts?
Show answer and explanation
- Yes; application rollback implies a matching automatic data downgrade
- No; the old executable is unproven even for S1 and S2
- Yes; preserving row IDs makes every schema version readable
- No; the old executable cannot read the current data format
Answer: No; the old executable cannot read the current data format
The rollback must account for actual data compatibility. Restoring a binary alone does not restore an earlier data representation or make unsupported S3 readable.
47.The migration translates source values {RED,GREEN,BLUE} into target codes {1,2,3}. A new writer emits code 4 during coexistence. The reverse synchronizer is defined only for 1,2,3, and old consumers require a source value. What gap appears?
Show answer and explanation
- Only a cosmetic difference in code spelling
- A proof that code 4 means RED
- A guarantee that old consumers can interpret any integer
- No defined reverse representation for code 4
Answer: No defined reverse representation for code 4
The coexistence path needs a defined behavior for every value it can expose to old consumers. Introducing a target-only value can break reverse synchronization even when forward migration was complete.
48.A team plans to remove a compatibility column. Its checklist requires zero readers and zero writers of that column. Observations establish zero readers, but writer telemetry is unavailable. What verdict matches the checklist?
Show answer and explanation
- The removal gate is not established
- The gate fails because missing telemetry proves a writer is active
- The gate passes if the latest deployment removed the field from new code
- The gate passes on the confirmed zero-reader condition alone
Answer: The removal gate is not established
The conjunction requires evidence for both conditions. Missing writer evidence does not prove either zero writers or a particular active writer; it leaves the gate unresolved.
49.A cutover must execute freeze old writes F, apply the final source tail A, switch reads R, then enable target writes W, in that order. Which sequence satisfies all stated precedences?
Show answer and explanation
- F,R,A,W
- F,A,W,R
- F,A,R,W
- A,F,R,W
Answer: F,A,R,W
Each step has an explicit predecessor. Applying the tail before the freeze may miss later old writes; the other alternatives also reverse a required pair. The supplied sequence is about this contract, not every possible cutover design.
50.Old write authority is disabled at t=20. Target write authority is enabled at t=18. No shared sequencer or conflict resolution exists; the requirement allows only one write authority at a time. Which interval violates it?
Show answer and explanation
- t<18 only
- t≥20 only
- No interval because the target eventually becomes sole authority
- 18≤t<20
Answer: 18≤t<20
From target enablement until old disablement both accept writes. An eventual single authority does not remove the earlier overlap that violates the stated invariant.
51.A router sends all new sessions to the target, but existing source sessions can still commit. The cutover gate requires no further accepted source writes. Does routing new sessions establish the gate?
Show answer and explanation
- Yes; counting new sessions is sufficient evidence of no accepted old writes
- Yes; changing the new-session route proves existing sessions are drained
- No; existing sessions retain an accepted-write path
- No; the stated facts prove existing sessions have already committed after cutover
Answer: No; existing sessions retain an accepted-write path
Routing policy for new arrivals is narrower than draining or fencing all existing source writers. The gate needs evidence that those remaining paths cannot accept a later write.
52.A source writer checks a migration flag once at login. It stays connected after the flag changes and never checks again. The plan claims the flag change instantly fences every future write. What counterexample refutes it?
Show answer and explanation
- A connected writer checks the current flag again before committing
- The already logged-in writer continues under its cached authorization
- The old writer disconnects before the migration flag changes
- A new login reads the changed flag and is rejected
Answer: The already logged-in writer continues under its cached authorization
The cached check can outlive the authority transition. The stated implementation does not enforce a fresh decision for later writes from that connection; rejected new logins do not establish the stronger claim.
53.A cutover drains requests until no source writes are in flight, then reopens the source to writes before enabling target writes. The final tail was captured during the drained interval and no later capture runs. What new risk was introduced?
Show answer and explanation
- Accepted reopened-source writes can fall beyond the copied boundary
- Only duplicate target reads are possible because the source is writable
- The captured final tail already includes every subsequently accepted source write
- No new risk; one successful drain is permanent evidence that the source cannot write
Answer: Accepted reopened-source writes can fall beyond the copied boundary
A finite drain establishes a boundary only while its assumptions remain true. Reopening source acceptance creates a new history beyond that boundary, which the stopped capture path does not transfer.
54.Target writes are enabled after cutover. The target accepts new order Z, which never reaches the source. A proposed rollback switches reads and writes back to the old source without replaying target changes. What required state would it omit?
Show answer and explanation
- No state; routing back also reverse-replicates target-only orders
- Accepted order Z
- Only an unaccepted request that never reached either system
- Only records that were deliberately excluded before any cutover
Answer: Accepted order Z
Once the target accepts new state, rollback has another transfer/reconciliation problem. A routing change alone does not preserve those accepted writes in the old system.
55.A migration's rollback point must precede the first externally sent target invoice. An invoice is sent at 09:12; operators request rollback at 09:15. Local rows can be restored, but sent messages cannot be recalled. Is an ordinary pre-effect rollback still available under this rule?
Show answer and explanation
- No; the declared external-effect boundary has passed
- Yes; restoring local rows retracts every sent invoice
- Yes; three minutes is too short for an external effect
- No; rollback was already forbidden before any invoice was sent
Answer: No; the declared external-effect boundary has passed
The contract ties the rollback boundary to an external effect, not just data restoration. Once the invoice is sent, that particular rollback path is no longer supported; a compensating operational response would be a separate plan.
56.The target is writable, but a required read-only partner still resolves the source address for up to 30 minutes. The source is immediately shut down. What availability dependency was overlooked?
Show answer and explanation
- The target's ability to accept a local write
- A guarantee that name-resolution changes reach every client instantly
- The partner's remaining source read path during that interval
- A requirement that every partner must write to both databases
Answer: The partner's remaining source read path during that interval
Target readiness does not redirect every consumer immediately. The specified partner can still need the source until its endpoint refresh or another supported transition completes.
57.A routing switch commits, but the control request times out before the operator receives a reply. Retrying blindly could toggle the route again. What should the operator establish before another toggle?
Show answer and explanation
- Only a successful unrelated target read as proof of which route is authoritative
- The authoritative current route and the outcome of the first operation
- Only the client-side timeout flag, interpreted as guaranteed nonexecution
- Only the elapsed retry delay, without inspecting the routing outcome
Answer: The authoritative current route and the outcome of the first operation
A missing reply leaves the operation outcome uncertain. Read authoritative state or use a supported operation identity before issuing a state-changing retry; the timeout alone identifies neither success nor failure.
58.A cutover checklist requires both a restored target backup and a passed target-write test. The backup restore passed. The write test was never run. The team marks both complete because the target serves reads. What is unsupported?
Show answer and explanation
- That target reads were observed to work
- That a backup restore was observed to pass
- That the checklist specifies two required conditions
- The required target-write test result
Answer: The required target-write test result
Read success is not execution of the write acceptance test. Keep the observed backup result distinct from the missing write evidence rather than substituting a different operation.
59.A target probe writes a record directly to the database and reads it back. The actual application uses a different credential and network route, both untested. The gate requires a write through that application path. Does the probe satisfy it?
Show answer and explanation
- Yes; every credential necessarily has identical permissions
- No; it exercises a different write path
- Yes; a direct database write proves the application route works
- No; the direct database write has been shown to fail
Answer: No; it exercises a different write path
The successful probe is real evidence about its own path. It does not establish the permissions or connectivity of a distinct required application path.
60.During cutover, the old system must reject writes with epoch below 6. A delayed writer sends epoch 5 after the new authority starts. The old system rejects it before making any change. What does this trace demonstrate?
Show answer and explanation
- This delayed old-epoch write was fenced successfully
- Every old-epoch request from every writer has been proven fenced
- Successful forwarding and commitment of this rejected request at the target
- Complete final-tail parity at the new target
Answer: This delayed old-epoch write was fenced successfully
The observed rejection enforces the supplied rule for this request. It does not by itself prove complete test coverage or target data parity. A retry would need to follow the current authority's supported path.
61.The required target ID set is {p,q,r,s}; the actual set is {p,q,r,x}. Both contain four IDs. Which reconciliation result is exact?
Show answer and explanation
- Missing={s,x}, extra={p,q,r}
- Missing={x}, extra={s}
- Missing={s}, extra={x}
- Missing={}, extra={}
Answer: Missing={s}, extra={x}
Set difference from required to actual identifies s as missing; the reverse difference identifies x as extra. Equal cardinalities do not establish identity-set equality.
62.A contract preserves item multiplicities. Source items are [A,A,B]; target items are [A,B,B]. A validator compares only their distinct sets and passes. What did it fail to check?
Show answer and explanation
- Whether their distinct sets are {A,B}
- Whether both contain at least one A
- The counts of A and B
- Whether both contain at least one B
Answer: The counts of A and B
Both sets are {A,B}, but their multisets differ: A occurs twice versus once and B once versus twice. The declared requirement preserves multiplicity, not merely membership.
63.A migrated audit trail must preserve event order. Source IDs are [u,v,w]; target IDs are [v,u,w], with identical per-ID payloads. Which invariant fails?
Show answer and explanation
- Distinct-ID set equality
- Total event-count equality
- Sequence equality
- Per-ID payload equality
Answer: Sequence equality
The same records and values can appear in a different order. The contract explicitly preserves sequence, so comparing only sets, counts or independent payloads misses this violation.
64.A target account balance must equal credits minus debits. Its migrated credits total 84 and debits total 29, but the stored balance is 65. What is the exact discrepancy, stored minus required?
Show answer and explanation
- +10
- −10
- 0
- +55
Answer: +10
The required balance is 84−29=55. The stored 65 is 10 above it. A target can contain all rows while violating a cross-record accounting invariant.
65.A converter mistakenly truncates every source decimal. Its validator computes expected values by calling that same converter, then compares them with the target. All match. What remains untested?
Show answer and explanation
- Whether the two implementations produce matching truncated outputs here
- Whether truncation matches the independently declared conversion rule
- Whether the target values match the shared converter in this run
- Whether the comparison checked equality against its own generated expectations
Answer: Whether truncation matches the independently declared conversion rule
The shared implementation can reproduce its own defect in the expected results. This comparison shows internal agreement but needs an independent oracle to test the required rounding or preservation semantics.
66.The contract permits changing
migration_timestamponly. A validator ignoresmigration_timestampandowner_idin every comparison. The target has wrong owner IDs but correct remaining fields. What validation gap lets it pass?Show answer and explanation
- The matching nonignored fields must also be wrong because owners differ
- The permitted timestamp exception incorrectly requires timestamps to be equal
- The owner differences are authorized because any field is ignored
- The ignore list exempts an unauthorized field difference
Answer: The ignore list exempts an unauthorized field difference
The declared exception covers only migration_timestamp. Excluding owner_id expands the acceptance rule without authority and can hide a required identity-preservation failure.
67.A sample checks 20 of 10,000 migrated records and finds no mismatch. Sampling was not specified to guarantee any statistical bound. Which conclusion is supported?
Show answer and explanation
- Those 20 checked records matched under the executed comparisons
- An error-rate upper bound of exactly 20/10,000 without sampling assumptions
- Every record matches because the checked sample has zero observed errors
- A total of at most 20 errors among the unchecked records
Answer: Those 20 checked records matched under the executed comparisons
The observed evidence covers the sampled records. Without further sampling assumptions or exhaustive checks it does not establish a whole-population bound or prove there are no defects elsewhere.
68.Two target partitions have signed balance errors +7 and −7. A validator checks only the grand total and sees error 0. The contract requires each partition's balance to match. What does the grand-total pass miss?
Show answer and explanation
- Every record must have moved to the wrong partition
- Opposing per-partition errors cancel in the total
- A grand total cannot be computed when errors have signs
- Both partitions have necessarily correct balances
Answer: Opposing per-partition errors cancel in the total
The aggregation loses the location of errors. Here it hides two violations of the per-partition requirement, even though the combined signed error is zero.
69.A comparison report marks 900 fields MATCH, 5 DIFFER, and 95 UNCHECKED. The gate requires every field checked and no differences. Which result meets the facts?
Show answer and explanation
- The gate passes because most fields match
- The gate fails only equality; unchecked fields count as checked
- The gate fails only completeness; known differences are ignored
- The gate fails both completeness and equality conditions
Answer: The gate fails both completeness and equality conditions
There are explicit mismatches and missing comparisons. A majority-match score does not satisfy either conjunct of the stated exhaustive, zero-difference gate.
70.A mapping intentionally normalizes letter case in a tag. The contract also requires preserving
owner_idexactly. Source=(tag Blue, owner 8); target=(tag blue, owner 9). What classification is correct?Show answer and explanation
- Both changes are forbidden because bytes differ
- Correct owner change, incorrect tag change
- Both changes are allowed by tag normalization
- Allowed tag change, incorrect owner change
Answer: Allowed tag change, incorrect owner change
The exception is specific to tag case. It neither authorizes nor excuses changing the owner identity. Validate each property against its own rule rather than blanket-accepting all differences in a transformed row.
71.A migration preserves exact decimal totals in units. The accepted difference is at most 0.02, inclusive. Expected total is 12.50; actual is 12.52. What is the verdict for this one check?
Show answer and explanation
- Fail; equality at the boundary is excluded
- Pass; 0.02 means any larger difference is allowed
- Fail; every nonzero difference is forbidden
- Pass; the exact difference equals the allowed boundary
Answer: Pass; the exact difference equals the allowed boundary
The exact absolute difference is 0.02. The rule says at most and explicitly includes equality, so this comparison passes. It does not establish unrelated checks or a wider tolerance.
72.A validator compares sorted IDs but accidentally compares each target payload to itself. IDs all match, while some target payloads differ from the required source transformation. What can its pass establish?
Show answer and explanation
- Payload equality to the required transformation, with IDs still unexamined
- Both required payload fidelity and IDs have been independently checked
- A proof that every target payload differs from the required value
- ID comparison passed; required payload fidelity is unproved
Answer: ID comparison passed; required payload fidelity is unproved
The ID check is meaningful, but a value equals itself regardless of migration correctness. Payload validation needs the appropriate independent source-derived expectation.
73.A 720 GB copy has two strictly sequential phases: transfer at exactly 6 GB/min, then validation at exactly 12 GB/min. Validation cannot start until transfer completes. With no setup or other work, what elapsed time does the release gate require?
Show answer and explanation
- 120 minutes
- 180 minutes
- 60 minutes
- 240 minutes
Answer: 180 minutes
Transfer takes 720/6=120 minutes and validation 720/12=60 minutes. Their stated sequential dependency makes the elapsed time 180 minutes; taking only the slower phase would assume an overlap that is forbidden.
74.One bottleneck has 120 MB/s capacity. Normal traffic needs 75 MB/s and the contract reserves another 15 MB/s unused. A migration may use the remainder, with no other loads or overhead. What is its maximum allowed rate?
Show answer and explanation
- 120 MB/s
- 30 MB/s
- 45 MB/s
- 105 MB/s
Answer: 30 MB/s
Subtract the traffic and the required unused reserve: 120−75−15=30 MB/s. Using the reserve would violate the stated operating budget even if the link could carry the traffic physically.
75.The initial change backlog is 18,000 events. New changes arrive constantly at 200/s, and the target applies at 500/s, all sustained with no other limits. What exact time drains the backlog?
Show answer and explanation
- 90 seconds
- 60 seconds
- 36 seconds
- 30 seconds
Answer: 60 seconds
Net backlog reduction is 500−200=300 events/s. Therefore 18,000/300=60 seconds. Dividing by the apply rate alone ignores concurrent incoming work.
76.A migration uses one serial worker. Tasks P,Q,R take 4,7,3 minutes; Q requires P complete and R requires Q complete. A mandatory validation after R takes 6 minutes on that worker. No overlap or overhead is allowed. What minimum elapsed time follows?
Show answer and explanation
- 14 minutes
- 20 minutes
- 10 minutes
- 13 minutes
Answer: 20 minutes
The required serial chain is P→Q→R→validation. Its duration is 4+7+3+6=20 minutes. Counting only data movement omits a mandatory release step.
77.A rehearsal copies 300 GB to staging while retaining a 300 GB rollback image. It also needs 40 GB temporary workspace, simultaneously. These are the only storage consumers, without compression. What minimum free capacity is required?
Show answer and explanation
- 640 GB
- 340 GB
- 600 GB
- 940 GB
Answer: 640 GB
The three simultaneous allocations sum to 300+300+40=640 GB. A migration plan must include retained recovery material and workspace, not only the final staged data.
78.A copy transfers 250 GB at 0.04 credits/GB. Validation reads 250 GB at 0.01 credits/GB, and a fixed rehearsal charge is 3 credits. No other charges apply. What total does this model predict?
Show answer and explanation
- 25 credits
- 15.5 credits
- 12.5 credits
- 13 credits
Answer: 15.5 credits
Copy costs 10 credits, validation costs 2.5, and the fixed charge is 3. Together they cost 15.5 credits. These fictional declared prices are arithmetic inputs, not current product pricing.
79.A task policy permits test exports only when direct names are replaced and the reversible lookup remains outside the test environment. Names are replaced, but the lookup file is shipped alongside the export into that environment. Does the export meet this policy?
Show answer and explanation
- Yes; a separate lookup filename counts as keeping it outside the test environment
- Yes; replacing names satisfies the policy even when the lookup is accessible alongside them
- No; the lookup placement violates an explicit condition
- No; the name replacement itself violates the supplied permission
Answer: No; the lookup placement violates an explicit condition
The policy has two requirements. The name replacement meets one, but placing the lookup in the same test environment violates the other. This is the supplied task policy, not an assertion about a jurisdiction's law.
80.A target is populated correctly, but migrated file URLs still embed access tokens that the task policy requires removing from test data. The validator checks file bytes and row counts only. What unmet requirement remains?
Show answer and explanation
- No unmet requirement; content equality waives the explicit token rule
- The token-removal requirement for test URLs
- Only the byte-transfer requirement, even though its check passed
- A requirement to destroy every original production file
Answer: The token-removal requirement for test URLs
Data-transfer fidelity and permitted test-data exposure are separate acceptance properties. The stated checks do not inspect or satisfy the explicit token rule.
81.The migration has 50 retry tokens for transient failures. A deterministic invalid record consumes one token on each identical retry; no data or mapping changes occur. What does retrying it 50 times establish?
Show answer and explanation
- Every transient source fault was repaired
- The input became valid on the final attempt
- The invalid record was safely loaded because tokens reached zero
- The retry budget was exhausted without resolving its invalid input
Answer: The retry budget was exhausted without resolving its invalid input
The stated attempts change neither the input nor its rule. Retry repetition does not resolve the known deterministic error; it consumes the budget and should produce an explicit failed/quarantined outcome under the plan.
82.A migration may overlap normal load only while p95 response time is at most 180 ms. Observed p95 is 205 ms; the plan says pause migration on violation. Other acceptance checks pass. What action follows this rule?
Show answer and explanation
- Treat 205 ms as passing because the limit applies only to the median
- Pause migration under the specified load guard
- Continue because successful content checks substitute for the latency guard
- Declare the semantic mapping incorrect solely from the p95 observation
Answer: Pause migration under the specified load guard
The guard's explicit condition is violated. Follow its pause behavior while diagnosing the load; this operational observation does not itself identify a semantic mapping defect.
83.An initial backlog is 9 GB and continues growing at 2 GB/min. The migration can apply exactly 2 GB/min indefinitely, with no burst capacity. Can it catch up while those writes continue?
Show answer and explanation
- No; the backlog stays at 9 GB under these rates
- No; the backlog must grow by 4 GB/min
- Yes; every positive apply rate eventually exceeds arrivals
- Yes; it drains in 4.5 minutes
Answer: No; the backlog stays at 9 GB under these rates
The net change is arrivals minus application, 2−2=0. The existing backlog neither grows nor drains in this ideal model. Catch-up requires an increased apply rate, reduced arrivals or another supported change.
84.A rollback file expires at t=90 minutes. A proposed cutover starts at t=70, lasts 15 minutes, and requires keeping that file for 10 minutes after completion. No extension exists. Is the retention window sufficient?
Show answer and explanation
- Yes; finishing the cutover at t=85 is sufficient
- Yes; the cutover starts before t=90
- No; the required end is t=105
- No; it must remain usable through t=95
Answer: No; it must remain usable through t=95
Completion is at 70+15=85, and the post-completion retention ends at 95. Expiration at 90 leaves a five-minute shortfall under the stated requirement.
85.A rehearsal succeeds on one million tiny records. Production includes the same total bytes but also single records larger than the target's declared per-record limit. None of those records were tested. What assumption is contradicted?
Show answer and explanation
- Record-size limits can affect an individual write
- Production and rehearsal may have equal byte totals
- The rehearsal processed its stated tiny-record input
- Equal total bytes guarantee equivalent per-record feasibility
Answer: Equal total bytes guarantee equivalent per-record feasibility
The target rejects oversized individual records regardless of the total dataset volume. A successful workload of small records does not cover this known shape difference.
86.A shadow migration duplicates production requests into a target. The target normally sends shipment notifications, and the rehearsal must produce no external notifications. Which proposed setup satisfies that specific constraint?
Show answer and explanation
- Use the same external notification destination but a different database
- Send target notifications normally and ignore their responses
- Send both notifications and later delete the target rows
- Route target notification effects to an isolated sink with no external delivery path
Answer: Route target notification effects to an isolated sink with no external delivery path
Copying a request can reproduce side effects. The constraint requires isolating the target effect path; changing storage or deleting rows later does not retract an already delivered notification.
87.A canary migrated only tenants with no cross-tenant references. The remaining tenants include required cross-tenant references, and that mapping path was never exercised. What limits the canary report?
Show answer and explanation
- It proves the untested path if the target schema has foreign keys
- It establishes that all cross-tenant references will fail
- It provides no direct validation of the cross-tenant reference path
- It proves the untested mapping path because total row counts matched
Answer: It provides no direct validation of the cross-tenant reference path
A selected population can omit a relevant interaction. The canary is evidence for its exercised paths, but neither a passing count nor a schema declaration demonstrates how the untested cross-tenant mapping behaves.
88.A comparison discards fractional seconds before checking timestamps. The migration contract requires preserving milliseconds. Source is 12:00:00.125; target is 12:00:00.900. Why does the comparison pass incorrectly?
Show answer and explanation
- A second-level comparison can prove millisecond identity
- The source and target represent the same exact timestamp
- The contract explicitly permits discarding milliseconds
- Its normalization erases the required subsecond difference
Answer: Its normalization erases the required subsecond difference
Both values normalize to the same whole second, but their required millisecond values differ. A comparison projection must retain every property the acceptance claim says it checked.
89.A rehearsal passed mapping M1 on schema S1. The production package contains revised mapping M2 on schema S1, and M2 has never been exercised. Which evidence link is missing?
Show answer and explanation
- A production package name as proof of unchanged mapping behavior
- Only confirmation that the target schema is still S1
- A second result for M1 that still never exercises M2
- A validation result for the mapping actually shipped, M2
Answer: A validation result for the mapping actually shipped, M2
The successful report covers M1. Matching schema versions does not make changed mapping behavior tested. Associate the final mapping artifact with its own required checks.
90.A rehearsal must cover failures {read,write,route,worker}. Case A covers {read,write}, B {write,route}, C {route,worker}. Only two cases may run. Which pair covers all four under this supplied matrix?
Show answer and explanation
- A and C
- A and B
- B and C
- No pair covers all four
Answer: A and C
A and C together cover read, write, route and worker. A+B omits worker; B+C omits read. This proves coverage of the declared matrix, not every possible failure in a real migration.
91.A dry run validates all phases but replaces the irreversible send step with a stub that always succeeds. The final gate requires verified delivery to the real destination. What can the dry run establish?
Show answer and explanation
- No evidence for any other exercised phase of the dry run
- Real destination failure because the stub did not contact it
- The exercised stubbed path, with real delivery still unverified
- Real delivery success because the stub uses the same method name
Answer: The exercised stubbed path, with real delivery still unverified
The stub is intentionally a different effect path. It can support rehearsal safety and orchestration checks, but it cannot prove the real destination accepted the delivery required by the final gate.
92.A rehearsal error rate is defined as failed records divided by attempted records. There are 8 failed and 392 successful attempts, with no other outcomes. What error rate should the report give?
Show answer and explanation
- 0.2%
- 8/392, about 2.04%
- 8%
- 2%
Answer: 2%
The denominator is 8+392=400 attempted records. The fraction 8/400=0.02 is 2%. Dividing by successes changes the explicitly defined metric.
93.Acceptance requires zero missing IDs and no more than 2 seconds of lag. Run A has 0 missing IDs and 3 s lag; B has 1 missing and 1 s; C has 0 missing and 2 s. Which runs satisfy both conditions?
Show answer and explanation
- C only
- A and C
- B and C
- A, B and C
Answer: C only
A fails the lag bound and B fails completeness. C has zero missing IDs and meets the inclusive 2-second bound, so it alone satisfies the conjunction.
94.The report for run K says comparison passed. Its attached artifact identifies run J's target snapshot, and there is no evidence linking that snapshot to K. What claim remains unsupported?
Show answer and explanation
- That K's own target state passed the comparison
- That J must have failed because it is a different run
- That K must have failed, despite no result for its own state
- That K and J are equivalent because both appear in one report
Answer: That K's own target state passed the comparison
Evidence needs a justified link to the state being accepted. A result for another snapshot does not prove K passed merely because it was attached to K's report.
95.A test matrix requires both modes {full,incremental} with both key types {numeric,text}. Executed cases are (full,numeric), (full,text), (incremental,numeric). Which required cell is missing?
Show answer and explanation
- (full,numeric)
- (incremental,text)
- (incremental,numeric)
- (full,text)
Answer: (incremental,text)
The required Cartesian product has four combinations. Three are listed, leaving incremental mode with text keys untested. Testing each mode and each key type somewhere is not full interaction coverage.
96.A post-migration monitor checks records only when a user opens them. An untouched partition contains wrong values indefinitely. The gate requires validating every partition before release. What design change addresses that specific coverage gap?
Show answer and explanation
- Comparing only the busiest partition and extrapolating an exhaustive pass
- Waiting for user traffic after release while calling the gate complete
- An explicit pre-release check that visits every required partition
- Excluding cold partitions from the denominator without changing the contract
Answer: An explicit pre-release check that visits every required partition
Traffic-driven observations can leave cold partitions unchecked. The acceptance gate requires deliberate coverage before release, so eventual opportunistic checks cannot establish that condition in advance.
97.A report proves an exact snapshot copy through position 500. Cutover freezes the source at 530, but no evidence covers changes 501–530. Which scope is justified?
Show answer and explanation
- Snapshot parity through 500, with the final tail unverified
- Parity through 530 because 500 and 530 are nearby
- Complete cutover parity through 530
- No evidence at any source position
Answer: Snapshot parity through 500, with the final tail unverified
The copy evidence has a defined boundary. It remains useful through 500 but cannot be extended over an unverified interval. The final accepted source history needs the missing tail evidence.
98.Migration acceptance requires preserved IDs, valid references and successful application reads. IDs and references pass; application reads fail on an unsupported target enum. What is the overall verdict?
Show answer and explanation
- Accepted; the two structural passes replace the required application-read result
- Not accepted; therefore the separate ID and reference results must be false
- Not accepted; the application-read condition fails
- Accepted; the target schema accepted the rows, so the consumer requirement is met
Answer: Not accepted; the application-read condition fails
The gate is a conjunction of three requirements. The failure is sufficient to prevent acceptance without invalidating the separate evidence that IDs and references passed.
99.A full manifest lists expected transformed records {a→2,b→4}. The target contains exactly {a→2,b→4}, and the required consumer reads both correctly. No writes occur during or after comparison. What do these facts establish for this finite scope?
Show answer and explanation
- Only equal counts, with values still unexamined
- The stated content and read requirements are met for this two-record cut
- Every future migration and every future write is correct
- A failure because transformed values differ from their source representation
Answer: The stated content and read requirements are met for this two-record cut
The facts include exact identity/value comparison and the required consumer reads at a stable cut. They are enough for the stated finite requirements, while making no universal claim about future or untested behavior.
100.A release requires checks A,B,C on the final package. A and B pass on package P1; C passes on changed package P2. No equivalence or change-impact argument is available. Can the union be claimed as a full pass on P2?
Show answer and explanation
- Yes; C on P2 transfers the earlier A and B results automatically
- No; A and B are not established for P2
- Yes; matching the release name is enough despite changed package contents
- No; the missing evidence proves A and B actually fail on P2
Answer: No; A and B are not established for P2
The recorded passes refer to different artifacts. Without rerunning the affected checks or justified evidence that their results transfer, the report cannot claim that all required checks passed on the final package.
101.A migration is accepted at time T after all required checks pass on cut S. Later, an unrelated authorized target write changes a value. Which report preserves the actual evidence scope?
Show answer and explanation
- Acceptance at T proves every future target state correct
- The later value proves migration acceptance at T was necessarily false
- Accepted on cut S at T; later state requires its own relevant evidence
- Any later write invalidates every historical check result
Answer: Accepted on cut S at T; later state requires its own relevant evidence
A valid historical observation remains scoped to its state and time. A permitted subsequent change neither proves an earlier defect nor extends the earlier verification to future state. Retain the boundary when reporting results.