FreeExam

DevOps: Build Integrity and Artifact Provenance

Original technical interview scenarios on build-input closure, reproducibility, dependency and cache correctness, provenance trust policies, artifact composition, verification scope, and coherent release evidence.

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

  1. 1.A trusted builder signs provenance for an artifact from repository X. Deployment policy allows only repository Y. All signature and digest checks pass. What should the policy decision be?

    Show answer and explanation
    1. Accept because any trusted builder can authorize every source.
    2. Rewrite X to Y in the verification report.
    3. Reject the source mismatch.
    4. Treat the repository check as implied by a matching digest.

    Answer: Reject the source mismatch.

    Builder authenticity and artifact integrity do not replace source authorization. Evaluate the signed source against the independently configured expectation; a valid statement can describe an artifact the consumer does not allow.

  2. 2.A verifier recognizes signing key K only for builder B. A valid signature under K names builder C, which has no trusted mapping. What relationship must verification preserve?

    Show answer and explanation
    1. A rule letting the statement define its own trusted identity mapping
    2. A rule trusting every builder name signed by any known key
    3. The allowed signing-identity/builder pairing
    4. Treat the statement's builder field as its own authority to expand K's allowed scope.

    Answer: The allowed signing-identity/builder pairing

    Trust is contextual: the consumer's policy associates an authenticated signing identity with expected builder identities. A signature does not grant arbitrary authority to every builder label the signer can write.

  3. 3.A build policy recognizes optimization and target parameters. A new signed provenance field enables a plugin that can change outputs. The verifier ignores every unrecognized parameter. What gap remains?

    Show answer and explanation
    1. Unreviewed build behavior can pass the expected-configuration check.
    2. A signature necessarily makes every new parameter approved.
    3. Dropping the field from the report removes it from the actual build.
    4. Unknown parameters cannot affect executable bytes.

    Answer: Unreviewed build behavior can pass the expected-configuration check.

    Expected build behavior includes relevant external configuration. Reject or explicitly review unknown behavior-changing inputs rather than silently assume they have no effect because an older verifier does not recognize them.

  4. 4.A supplied release rule requires builder B, repository R, and debug=false in one verified statement. Candidates are A:(B,R,true), C:(B,S,false), D:(Q,R,false), E:(B,R,false). Which candidate passes?

    Show answer and explanation
    1. E
    2. A
    3. D
    4. C

    Answer: E

    Only E satisfies all three conditions together. The other statements each fail a required field. This evaluates the supplied policy; it does not claim that these three checks are sufficient for every real release.

  5. 5.One signed statement has the required source but an unapproved builder; another has an approved builder but the wrong source. A verifier combines their favorable fields. What is wrong with that decision?

    Show answer and explanation
    1. The verifier may choose any source once it has found one approved builder.
    2. A source field is automatically shared across every statement for a file name.
    3. No single verified statement satisfies the required conjunction.
    4. Two signatures always combine into broader authority.

    Answer: No single verified statement satisfies the required conjunction.

    Policy conditions must apply to coherent authenticated evidence with the required artifact and context bindings. Mixing unrelated favorable fields can approve a conjunction that neither signer actually attested to.

  6. 6.A fictional verifier accepts exactly when trusted AND sourceAllowed AND (releaseMode OR reviewedDebug). The values are true,true,false,true. What is the result under that rule?

    Show answer and explanation
    1. Reject because releaseMode is false regardless of the OR branch.
    2. Reject because every OR requires both operands true.
    3. Accept even if trusted were false.
    4. Accept

    Answer: Accept

    The parenthesized OR is true because reviewedDebug is true. Both other required terms are also true. This is the stated policy algebra, not an endorsement of debug builds in any particular deployment.

  7. 7.A policy requires a matching artifact digest and an approved source. Evidence has the right digest but an unknown source. What does the digest check alone establish under the assumed hash properties?

    Show answer and explanation
    1. The source is approved because the bytes have a digest.
    2. The artifact has no vulnerabilities.
    3. The checked bytes match the expected digest, without approving their origin.
    4. Every dependency was produced by an approved builder.

    Answer: The checked bytes match the expected digest, without approving their origin.

    Digest equality is a content-integrity relationship. Source authority and other supply-chain properties require additional authenticated evidence and policy, not an inference from the existence of a hash.

  8. 8.A build contract interprets an omitted flag as true, while the verifier treats omission as false. The signed input omits that flag. What must the consumer resolve?

    Show answer and explanation
    1. Whether deleting the flag from the consumer's report changes the producer's executed configuration
    2. Whether a valid signature forces the two implementations to use identical defaults
    3. Whether omission can be treated as false despite the producer's stated true default
    4. The actual default/parameter semantics before evaluating the expected build

    Answer: The actual default/parameter semantics before evaluating the expected build

    The same input must have compatible meaning in production and verification. Use an explicit schema/default contract or record resolved inputs; otherwise a policy can approve a different build interpretation from the one executed.

  9. 9.An incremental compiler reads generated header H, but its dependency graph lists only source S for object O. H changes while S and the compiler invocation stay fixed. What dependency-accounting correction is needed?

    Show answer and explanation
    1. Record H as an actual input dependency of O.
    2. Ignore H because it was generated rather than handwritten.
    3. Treat unchanged S as proof that O needs no update.
    4. Use the previous O whenever its file length is nonzero.

    Answer: Record H as an actual input dependency of O.

    An incremental graph must include relevant actual inputs, including generated headers. Otherwise the scheduler can reuse an object after an input changes. Dependency discovery and graph edges must describe what compilation actually consumes.

  10. 10.A build platform claims assurance level four in its own statement. The consumer's trust map caps that platform at level two. What maximum level can this supplied consumer policy assign?

    Show answer and explanation
    1. 4
    2. 2
    3. 6
    4. Any level named by the platform

    Answer: 2

    The consumer's configured trust bound is two. A self-declared level does not raise that bound. The levels here are fictional policy numbers, not a claim about a particular standard's available levels.

  11. 11.An artifact archive includes a public key and a signature made by its matching private key. There is no independent trusted binding for that key. What remains unestablished?

    Show answer and explanation
    1. Whether the archive can contain a public key
    2. Whether the included key can verify the included signature mathematically
    3. Whether a signature has associated bytes
    4. Whether that key is authorized for the expected producer

    Answer: Whether that key is authorized for the expected producer

    An attacker could supply a replacement key along with a replacement artifact and matching signature. Establish trust through an appropriate independent root or authorized identity binding rather than accepting whatever key arrives in the same package.

  12. 12.A statement has a valid signature but an unsupported predicate version whose fields have different meanings. The verifier treats it as the familiar version. What should happen instead?

    Show answer and explanation
    1. Ignore all semantic changes after checking a signature.
    2. Rename the predicate version in memory without validating its meaning.
    3. Use supported, explicitly validated semantics or fail verification.
    4. Infer compatibility solely because both versions use JSON.

    Answer: Use supported, explicitly validated semantics or fail verification.

    Authentication does not establish schema compatibility. A verifier needs a supported interpretation of the signed claim and its artifact binding; unknown or incompatible formats must not silently inherit a familiar policy meaning.

  13. 13.A top-level build's provenance verifies. Its compiler and dependency artifacts were not recursively checked. What scope should the consumer report?

    Show answer and explanation
    1. Proof that all build inputs were independently rebuilt
    2. A claim that no dependency trust decisions remain
    3. A guarantee that every transitive dependency has verified provenance
    4. The checks actually performed on the top-level evidence

    Answer: The checks actually performed on the top-level evidence

    Top-level evidence and transitive dependency verification are different scopes. State the checks and trust assumptions accurately, and perform recursive checks where the intended policy requires them.

  14. 14.A build records source and compiler inputs but downloads an unrecorded code generator at execution time. The generator changes emitted code. What is missing from the claimed input closure?

    Show answer and explanation
    1. The output-affecting generator and its resolved identity
    2. A guarantee that source and compiler alone determine the output even with the external generator
    3. Only an unchanged checksum for the primary source tree
    4. A rule classifying a downloaded executable tool as irrelevant because it is not linked into the final binary

    Answer: The output-affecting generator and its resolved identity

    An input closure must cover relevant inputs that can affect the specified outputs. An undeclared generator breaks that account even if other material digests are correct; capture or eliminate the ambient dependency.

  15. 15.A build cannot access the network, but reads a mutable shared directory mounted from its host. A report calls the build fully isolated from undeclared inputs. What boundary is still open?

    Show answer and explanation
    1. A guarantee that every mounted file is declared merely because the working directory is clean
    2. The host-mounted input/state channel
    3. Only outbound DNS, ignoring the host mount as a potential build input
    4. A channel assumed to disappear when the job's network is disabled

    Answer: The host-mounted input/state channel

    Network restriction alone does not close filesystem or other ambient input channels. Define and enforce the actual isolation boundary and record the resolved inputs required by the build contract.

  16. 16.Two independent rebuilds reproduce the same executable bytes from the specified inputs. The shared source deliberately contains harmful behavior. What does byte agreement not establish?

    Show answer and explanation
    1. That the program is benign
    2. That reproducibility and behavior are different questions
    3. That these two rebuilds produced matching specified outputs
    4. That the compared artifact bytes agree

    Answer: That the program is benign

    Reproducibility can support a relationship between inputs and outputs without proving the inputs or behavior are desirable. Keep the verified byte relationship separate from review, policy, and runtime-behavior claims.

  17. 17.Two rebuilds match under one recorded environment. The team claims this proves identical outputs for all possible compilers and configurations. What exceeds the observation?

    Show answer and explanation
    1. The recorded source revision used by those rebuilds
    2. The observed agreement in the tested environment
    3. The ability to define a particular reproducibility target
    4. The universal environment/configuration claim

    Answer: The universal environment/configuration claim

    A finite comparison supports its stated inputs and conditions. It does not establish invariance under arbitrary changed compilers, flags, platforms, or output definitions.

  18. 18.The compiled payload is stable, but each archive records the current wall-clock creation time. The reproducibility target includes the full archive bytes. What input should be controlled or normalized?

    Show answer and explanation
    1. Only the stable executable payload, while still claiming full archive byte identity
    2. A rule ignoring archive metadata while still claiming full-byte identity
    3. An unchanged archive file size used as a replacement for comparing complete bytes
    4. The archive timestamp metadata

    Answer: The archive timestamp metadata

    The specified artifact includes metadata as well as extracted payloads. Use an agreed timestamp policy and other deterministic packaging inputs, then compare the actual artifact named in the reproducibility claim.

  19. 19.An object file embeds its absolute workspace path. Identical sources build under /work/a and /work/b and differ only in that field. What should the reproducibility investigation examine?

    Show answer and explanation
    1. Only source line-ending differences that were not observed
    2. A proof that the compiler compiled different source code
    3. A rule declaring differing bytes equal because their instructions appear similar
    4. Path-dependent output and an appropriate stable-path/remapping policy

    Answer: Path-dependent output and an appropriate stable-path/remapping policy

    A build path can be an output-affecting environment attribute. Control or remap it where appropriate and verify the resulting specified bytes rather than silently narrowing the comparison after a mismatch.

  20. 20.A generator sorts input names using the process locale. The build contract does not fix locale, and environments use different sort orders. What needs stabilization?

    Show answer and explanation
    1. Only equal source-file counts, without defining the ordering used to serialize them
    2. A rule leaving locale undefined because input file contents did not change
    3. The ordering rule or relevant locale input
    4. A guarantee that all locales produce identical byte orderings

    Answer: The ordering rule or relevant locale input

    Deterministic output needs a deterministic ordering under its specified input contract. Fix or record the relevant collation/locale behavior rather than assume sorting has identical semantics in every environment.

  21. 21.A packager writes directory entries in filesystem enumeration order. That order varies even with identical file contents. What change addresses this source of variance?

    Show answer and explanation
    1. Run the same unordered enumeration twice and trust either order.
    2. Compare only archive sizes and declare the bytes identical.
    3. Choose a defined stable entry ordering before packaging.
    4. Add a new random prefix to every entry.

    Answer: Choose a defined stable entry ordering before packaging.

    Enumeration order is not generally a content-defined ordering. A stable sorting/packing rule can remove this source of nondeterminism; other metadata and tool behavior still need the agreed reproducibility checks.

  22. 22.The release defines reproducible outputs as the unsigned payload, while a separate signing envelope intentionally contains a fresh nonce. Which comparison matches that declared target?

    Show answer and explanation
    1. Compare unsigned payload bytes and verify the envelope separately.
    2. Compare only the length of the complete signed package.
    3. Declare every output reproducible without identifying the compared artifact set.
    4. Require the nonce-bearing envelope to be identical while ignoring payload differences.

    Answer: Compare unsigned payload bytes and verify the envelope separately.

    Specify the artifact set and comparison boundary before assessment. An intentionally varying envelope does not prevent a narrower payload reproducibility claim, but that claim must not be reported as full-package byte identity.

  23. 23.Two compressed archives have identical extracted file bytes but different compression headers. What observation is justified?

    Show answer and explanation
    1. A proof that one extracted executable was modified
    2. Extracted payload equality, with full archive inequality
    3. Identical signatures on both complete archives guaranteed
    4. Full archive reproducibility proved by extraction alone

    Answer: Extracted payload equality, with full archive inequality

    The compared representations matter. Equal extracted content does not make different container bytes equal; assess the artifact actually named in the integrity or reproducibility contract.

  24. 24.Two parallel generator tasks write different valid outputs to the same path with last-writer-wins behavior. Either can finish last. What output-state issue exists?

    Show answer and explanation
    1. A race makes the final artifact depend on task completion order.
    2. Parallel execution proves the two outputs are identical.
    3. A source digest fixes the race's final winner.
    4. The final file necessarily contains both outputs concatenated.

    Answer: A race makes the final artifact depend on task completion order.

    The shared output path creates an undeclared ordering dependency. Give tasks distinct outputs and an explicit deterministic merge, or enforce an appropriate dependency, instead of relying on scheduler timing.

  25. 25.A release requires a script to have executable mode 0755. Two packages contain identical script bytes, but one records mode 0644. A checker compares only file-content hashes. What release property was omitted?

    Show answer and explanation
    1. The required file mode/metadata
    2. Equal script-content hashes guarantee that both archives record the same executable mode.
    3. The source revision must differ whenever two packages record different permission metadata.
    4. The script text must be corrupt even though its checked bytes are identical.

    Answer: The required file mode/metadata

    Content hashes over file bytes do not necessarily cover packaging metadata such as permissions. Define and verify the required mode along with payload identity; equal script text alone does not implement the stated installation contract.

  26. 26.A cache key includes source and compiler identity but omits a code-generation feature flag that changes output. What cache invariant can fail?

    Show answer and explanation
    1. A cache hit necessarily proves the requested flag was applied.
    2. Every omitted flag is harmless if the source digest matches.
    3. A compiler identity automatically contains all invocation parameters.
    4. Equal keys may no longer imply interchangeable build results.

    Answer: Equal keys may no longer imply interchangeable build results.

    A cache must distinguish relevant output-affecting inputs or otherwise justify equivalence. Include the flag in the key/validated result metadata or disable unsafe reuse; source equality alone does not establish invocation equality.

  27. 27.A cache stores compiled objects for two incompatible target ABIs under a key containing only source digest. What should reuse validate?

    Show answer and explanation
    1. The target ABI and other relevant build context
    2. A rule accepting every cached object built from the same source regardless of target
    3. A guarantee that compilation artifacts are platform-neutral whenever source text is portable
    4. Only whether the cached object is nonempty and came from a successful prior job

    Answer: The target ABI and other relevant build context

    Compiled results can depend on target ABI, toolchain, flags, and other inputs. Bind reuse to the actual requested context rather than infer interchangeability from shared source text.

  28. 28.A remote cache returns an object and a matching checksum, both controlled by an untrusted writer. The consumer checks only their agreement. What remains missing?

    Show answer and explanation
    1. A guarantee that the checksum was computed over the returned object
    2. The ability to compare a computed hash to the supplied checksum
    3. A trusted expected result identity or suitable authenticated build evidence
    4. The fact that object bytes can have a digest

    Answer: A trusted expected result identity or suitable authenticated build evidence

    An attacker can replace both object and checksum consistently. Validate against independently trusted expectations and policy rather than treat internally consistent attacker-supplied metadata as authorization.

  29. 29.A cache must distinguish two source revisions, three compiler configurations, and two targets. All twelve combinations can produce distinct outputs. How many full input-tuple keys are required to avoid merging any combination?

    Show answer and explanation
    1. 3
    2. 12
    3. 6
    4. 7

    Answer: 12

    The Cartesian product has 2×3×2=12 combinations. The question supplies that all must remain distinct; a smaller key domain would merge at least two required cases.

  30. 30.Untrusted test jobs cannot read release signing keys, but can overwrite entries later consumed from a shared release-build cache. What separate risk remains?

    Show answer and explanation
    1. A guarantee that untrusted jobs cannot influence release bytes
    2. A rule that caches are outside the build's input set
    3. Cache poisoning across the trust boundary
    4. A proof that key isolation validates every cached executable

    Answer: Cache poisoning across the trust boundary

    Key isolation protects one channel, not every influence on release output. Separate cache write authority and validate cached results under the release policy so untrusted jobs cannot substitute privileged build inputs or outputs.

  31. 31.A job deletes its local workspace, but its shared cache contains a credential-bearing configuration file. What cleanup scope was missed?

    Show answer and explanation
    1. A guarantee that deleting the job removes every copy from independent cache storage
    2. A rule excluding configuration files from exposure review because the final executable is clean
    3. The retained shared cache copy
    4. Only the deleted workspace, assuming shared-cache copies share its deletion lifecycle

    Answer: The retained shared cache copy

    Lifecycle handling must cover persisted copies, including caches and logs. Remove inappropriate cached secret material and address the credential's validity through the authorized process; workspace deletion alone does not remove retained copies.

  32. 32.An ephemeral runner starts fresh, then restores its entire home directory from a prior job's snapshot. A report assumes no prior-job state can influence the build. What invalidates that assumption?

    Show answer and explanation
    1. Only network isolation determines whether persisted state matters.
    2. The restored shared state reintroduces prior-job inputs.
    3. A new virtual machine guarantees every restored file is trusted.
    4. The fresh runner's process ID must equal the prior job's.

    Answer: The restored shared state reintroduces prior-job inputs.

    Ephemeral execution is not sufficient when persistence is reintroduced through snapshots or caches. Scope and validate restored state as build input, or exclude it according to the intended isolation policy.

  33. 33.A build tool loads a plugin from an environment-provided search path before its pinned bundled plugin. The provenance records only the bundled version. What should the actual input account include?

    Show answer and explanation
    1. The plugin that was resolved and executed
    2. Only the declared bundled-plugin version without checking search-path resolution
    3. A rule ignoring executable tools selected dynamically during the actual build
    4. A guarantee that a bundled plugin always wins environment-controlled lookup

    Answer: The plugin that was resolved and executed

    Declared intent and actual resolution can differ. Record or enforce the resolved executable plugin and relevant search-path behavior so the account describes the tool that could affect output.

  34. 34.An early image layer contains component P; a later build stage copies only component Q into the final artifact. An inventory claims P is present solely because it appeared in a build-stage log. What distinction needs checking?

    Show answer and explanation
    1. A rule excluding Q from the final inventory because it originated in another build stage
    2. Whether every component named in a build-stage log must also ship in the final artifact
    3. Build-time inputs versus components actually included in the final artifact
    4. A guarantee that all intermediate build tools survive a selective final-stage copy

    Answer: Build-time inputs versus components actually included in the final artifact

    An input/material inventory and a final-component inventory answer different questions. Inspect the final artifact and its construction rather than equate every build-time appearance with shipped presence.

  35. 35.A scanner checks a package against one known-issue database and reports no matches. The report calls this proof that the package contains no malicious code. What scope is unsupported?

    Show answer and explanation
    1. The fact that database coverage and software behavior differ
    2. Absence of every malicious behavior
    3. The scanner's observed zero-match result under that database
    4. The existence of a particular checked artifact

    Answer: Absence of every malicious behavior

    A no-match result is scoped to the scanner, rules, inputs, and time. It does not prove benign behavior or complete issue coverage; preserve that scope when making release decisions.

  36. 36.A release records a clean source revision, then a generator modifies an input file before compilation. The provenance mentions only the pre-generation tree. What evidence should connect the record to actual compilation?

    Show answer and explanation
    1. A guarantee that generated changes cannot alter the executable
    2. A rule treating the initial checkout digest as every later filesystem state
    3. The resolved generated inputs and the transformation that produced them
    4. Only a second copy of the unchanged revision label

    Answer: The resolved generated inputs and the transformation that produced them

    The source revision is part of the account but may not identify all compiled bytes. Capture or constrain the generation step and its relevant inputs/outputs so provenance describes the actual build graph.

  37. 37.A parent repository pins a nested dependency revision, but the build uses an already-present checkout at another revision. What should a build-input check compare?

    Show answer and explanation
    1. The required nested revision against the actual checked-out content
    2. Only the parent's clean branch state, without checking the separate checkout
    3. A guarantee that a recorded parent pointer automatically resets an already-present dependency directory
    4. A rule accepting any existing nested checkout with the correct directory name

    Answer: The required nested revision against the actual checked-out content

    A recorded pointer does not force a separate working directory to contain the intended dependency. Resolve and verify the actual material or enforce an immutable checkout before building.

  38. 38.A dependency retains its upstream version label after a local patch changes its code. What identity evidence is needed for accurate input reconstruction?

    Show answer and explanation
    1. A guarantee that local changes preserve every upstream artifact digest
    2. The patched content and applied patch/transformation context
    3. Only the unchanged upstream version string
    4. A rule treating every package with the same display version as byte-identical

    Answer: The patched content and applied patch/transformation context

    Version labels may be insufficient for modified material. Record stable content identity and relevant patch/build context so a consumer can identify which dependency was actually used.

  39. 39.A lockfile lists optional dependencies for several platforms, but the release target selects only one platform-specific subset. What should provenance distinguish?

    Show answer and explanation
    1. A guarantee that locking versions makes target-specific resolution irrelevant
    2. Only the lockfile's total entry count, treating every entry as an executed input
    3. The declared resolution universe from the inputs actually selected for that build
    4. A claim that every optional platform dependency must execute in every target build

    Answer: The declared resolution universe from the inputs actually selected for that build

    A lock can constrain resolution without meaning every listed component participates in each target. Record the relevant target and actual selected inputs, with sufficient resolution information for the intended verification scope.

  40. 40.A release installation step is allowed to rewrite its reviewed lockfile. The final build uses that modified resolution. What condition should a locked-build check enforce?

    Show answer and explanation
    1. Only that the installer exits zero.
    2. A guarantee that lockfile mutation is harmless whenever versions look similar.
    3. A rule discarding the modified lockfile before recording what was built.
    4. The intended lock/resolution is used unchanged, or its change receives a new review.

    Answer: The intended lock/resolution is used unchanged, or its change receives a new review.

    A successful install can still change the reviewed dependency closure. Use an appropriate immutable/frozen resolution mode or detect and review changes, while recording the actual material used.

  41. 41.A dependency mirror serves different bytes for a requested name. The builder has an independently trusted expected digest for that exact dependency. What check directly detects this substitution?

    Show answer and explanation
    1. Accept any artifact returned with a successful HTTP status.
    2. Compare only the downloaded file's length.
    3. Hash the received bytes and compare to that trusted digest.
    4. Trust the mirror's new checksum instead.

    Answer: Hash the received bytes and compare to that trusted digest.

    A trusted content expectation can detect changed bytes under the assumed hash properties. Availability and names are not equivalent to integrity; apply the check before using the downloaded material.

  42. 42.A build allows downloads from one approved URL, but follows an unchecked redirect to another origin. Policy restricts every actual download origin. What needs enforcement?

    Show answer and explanation
    1. A guarantee that every redirect stays within the first URL's allowed origin
    2. Only the original allowlisted locator, ignoring the origins actually contacted
    3. The policy over the resolved redirect chain and final fetch
    4. A rule treating every successful redirect response as implicit policy approval

    Answer: The policy over the resolved redirect chain and final fetch

    A URL allowlist must match the actual fetch behavior it intends to constrain. Resolve and validate redirects appropriately; approving an initial label does not automatically authorize every later origin.

  43. 43.A fictional content key keeps only four digest bits, giving sixteen possible keys. Seventeen distinct artifacts require distinct stored identities. What follows regardless of the hash distribution?

    Show answer and explanation
    1. All seventeen keys are distinct.
    2. Exactly one artifact has a digest.
    3. At least two artifacts share a key.
    4. Four bits provide seventeen unique identities.

    Answer: At least two artifacts share a key.

    Seventeen artifacts mapped into sixteen keys force a collision by the pigeonhole principle. This toy truncation model is not a claim about practical full-length cryptographic hash collisions.

  44. 44.A release pipeline verifies an archive, then downloads the same mutable URL again for installation without checking the second response. What continuity is missing?

    Show answer and explanation
    1. The installed bytes must be the verified bytes.
    2. A guarantee that two HTTP 200 responses contain identical artifacts.
    3. A rule that a previous checksum applies to all future content at that URL.
    4. Only using the same URL text twice.

    Answer: The installed bytes must be the verified bytes.

    Verification must remain bound to the consumed object. Install the retained verified artifact or verify the actual subsequent bytes under trusted expectations instead of relying on a mutable locator.

  45. 45.A correctly signed archive contains an entry resolving outside the intended extraction root. The deployment policy forbids writes outside that root. What must extraction still enforce?

    Show answer and explanation
    1. A guarantee that trusted origin makes every extraction path safe
    2. Only that the archive signature is valid
    3. A rule granting signed archives unrestricted filesystem authority
    4. The destination containment and entry/link policy

    Answer: The destination containment and entry/link policy

    An authenticated artifact can still violate a consumer's extraction policy. Validate paths and link resolution under the actual extraction semantics; origin authenticity does not authorize arbitrary destinations.

  46. 46.A package manifest hashes a symlink's text but deployment later dereferences it to a mutable file outside the package. What content scope was not verified?

    Show answer and explanation
    1. A guarantee that a verified link name authenticates mutable bytes outside the package
    2. The external bytes actually consumed through the link
    3. Only the hashed link text, assuming it fixes every future state of an external target
    4. A rule declaring all reachable external files immutable because the package itself is immutable

    Answer: The external bytes actually consumed through the link

    A reference and its eventual referent are different objects. Define whether links are permitted, how they resolve, and what actual consumed bytes must be covered by the verification boundary.

  47. 47.An artifact's backing file remains writable by another process after verification and before execution. What property should the handoff ensure?

    Show answer and explanation
    1. A rule trusting the last writer regardless of the expected digest.
    2. A guarantee that a previous hash freezes a writable file.
    3. Only that the path has the same spelling at both steps.
    4. The executed object cannot be substituted or modified after its verified snapshot.

    Answer: The executed object cannot be substituted or modified after its verified snapshot.

    Integrity checks describe bytes at a time. Use an appropriate immutable/isolated handoff and verify the consumed object so later mutation does not invalidate the check-to-use relationship.

  48. 48.A consumer receives exact artifact bytes from an untrusted mirror, matching a digest already authenticated through its trusted release channel. What role can that mirror serve under this model?

    Show answer and explanation
    1. Transport of the expected bytes without being the root of release authority
    2. A replacement for authenticating the expected release digest
    3. Independent authorization for any future artifact it serves
    4. Proof that the software has no defects

    Answer: Transport of the expected bytes without being the root of release authority

    An untrusted transport can deliver content whose identity is verified against an independently trusted expectation. Keep availability/transport and release authority separate; the model assumes suitable hash and trust properties.

  49. 49.A manifest records a digest string without identifying its algorithm, and multiple supported algorithms are in use. What ambiguity should the consumer eliminate?

    Show answer and explanation
    1. A guarantee that equal printed strings have identical meaning under all hash algorithms
    2. Whether choosing the first passing supported algorithm can substitute for an algorithm-bound identifier
    3. Which algorithm and representation define the expected content identity
    4. A rule inferring an algorithm solely from an artifact's human-readable filename

    Answer: Which algorithm and representation define the expected content identity

    Content identifiers require an unambiguous algorithm/encoding contract. Reject unsupported or ambiguous definitions rather than infer identity semantics from an untyped string alone.

  50. 50.A supplied manifest policy requires both hashes H1 and H2 to match. H1 matches and H2 does not. What is the result under that policy?

    Show answer and explanation
    1. Accept if H1's printed digest is longer.
    2. Accept and delete H2 from the manifest.
    3. Reject
    4. Accept because one matching hash satisfies AND.

    Answer: Reject

    The required conjunction fails when either required comparison fails. Investigate the mismatch under the actual content/algorithm contract rather than silently change the policy to an OR rule.

  51. 51.An image index identifies child digests dA for platform A and dB for platform B. The consumer requests B and verifies index contents. Which child identity must its subsequent fetch/check follow?

    Show answer and explanation
    1. Any child with the same display tag
    2. dB
    3. The index digest used as though it were the child digest
    4. dA

    Answer: dB

    An index and its children are distinct content objects. Traverse the authenticated platform-to-child relationship and verify the selected child bytes; a parent digest is not the digest of every child payload.

  52. 52.A verified manifest maps platform A to child X. A registry response supplies child Y for that platform. What relationship must be checked in addition to the parent manifest's signature?

    Show answer and explanation
    1. The actual child's digest against the manifest's selected child reference
    2. Only whether both payloads claim platform A in a label
    3. A rule accepting the child with the most recent upload time
    4. A guarantee that a signed index authenticates any child returned by a registry

    Answer: The actual child's digest against the manifest's selected child reference

    The parent's authenticated mapping is useful only when the consumer follows and verifies the referenced object. Enforce each required link in the composition rather than treat a verified root as authority for arbitrary substituted children.

  53. 53.The requested runtime target is platform B, but a release policy selects a validly verified platform-A artifact. What correctness property is missing?

    Show answer and explanation
    1. Only rechecking the already-verified content digest of the incompatible artifact
    2. A guarantee that all authenticated binaries are compatible with every target ABI
    3. A rule treating a producer signature as conversion between different executable architectures
    4. Compatibility with the required target platform

    Answer: Compatibility with the required target platform

    Verification of origin/content and selection of a compatible target are separate requirements. Validate the deployment context and artifact platform instead of assuming trustworthy bytes satisfy every runtime requirement.

  54. 54.Frontend and backend artifacts are each approved independently. The release requires API contract version seven; the frontend uses seven and backend supports only six. What additional release-level check is needed?

    Show answer and explanation
    1. A rule letting the larger version number override the other component's behavior
    2. A guarantee that individually approved versions are mutually compatible
    3. Only independent signatures on each component
    4. Compatibility of the composed artifact/configuration set

    Answer: Compatibility of the composed artifact/configuration set

    A release is a composition, not merely a set of separately trusted objects. Check cross-component contracts and configuration against the actual selected versions before calling the combined deployment ready.

  55. 55.A build emits executable E and symbol package S. Provenance covers only E, but publication describes both as covered by that statement. What boundary should be corrected?

    Show answer and explanation
    1. A guarantee that one output's hash authenticates all neighboring files
    2. Only the fact that E and S were uploaded together
    3. A rule assigning E's digest to every build output
    4. The statement's actual subject/output coverage

    Answer: The statement's actual subject/output coverage

    Explicitly identify which artifacts the evidence covers. Related outputs can need their own subject bindings or a verified manifest that includes them; co-location does not establish that relationship.

  56. 56.A signature covers an envelope's exact bytes under the supplied scheme. A verifier reformats JSON before checking that signature, although the scheme defines no normalization. What should it verify?

    Show answer and explanation
    1. Any pretty-printed equivalent object without further rules
    2. Only a human-readable summary of selected fields
    3. A serialization chosen independently by the consumer
    4. The original signed bytes under the scheme's specified encoding

    Answer: The original signed bytes under the scheme's specified encoding

    Signature input semantics are part of the scheme. Preserve and verify the prescribed bytes; use canonicalization only when the protocol explicitly defines it, rather than invent a transformation during verification.

  57. 57.A statement contains duplicate source keys. One parser takes the first value, another takes the last, yielding different policy decisions. What should the ingestion contract do?

    Show answer and explanation
    1. Assume a valid signature forces every parser to choose the same value.
    2. Approve whichever interpretation names an allowed source.
    3. Compare only the statement's byte length.
    4. Reject ambiguity or enforce one explicitly compatible interpretation end to end.

    Answer: Reject ambiguity or enforce one explicitly compatible interpretation end to end.

    Authenticated bytes can have conflicting parser interpretations. Define and validate a compatible unambiguous data contract so verification and consumption do not evaluate different source meanings.

  58. 58.A signed build record's end time precedes its start time. No clock-skew model explains the discrepancy. What should an operator do with that observation?

    Show answer and explanation
    1. Rewrite the inconsistent timestamps while discarding the authenticated originals.
    2. Assume a valid signature proves that every timestamp is chronologically consistent.
    3. Automatically infer digest corruption even though the mismatch concerns only recorded times.
    4. Investigate the timing/recording inconsistency within the evidence model.

    Answer: Investigate the timing/recording inconsistency within the evidence model.

    Authentication and temporal consistency are separate checks. Diagnose clock and recording semantics and scope any conclusions; an inconsistency deserves investigation but alone does not identify every cause or prove arbitrary content corruption.

  59. 59.An artifact scan matches the deployed digest but used a month-old rule set. The decision requires assessment against today's rules. What evidence is missing?

    Show answer and explanation
    1. A guarantee that artifact identity makes scanner knowledge timeless
    2. A result under the required current rules or an explicitly justified equivalent assessment
    3. A rule that valid historical results automatically satisfy every later policy
    4. Only a newer filename for the old report

    Answer: A result under the required current rules or an explicitly justified equivalent assessment

    The artifact binding can remain correct while the assessment policy changes. Track rule/database version and evaluation time, and obtain the evidence required by the actual current decision.

  60. 60.A scanner wrapper exits zero even when scanning is skipped for an unsupported archive type. The release gate treats exit zero as a completed clean scan. What outcome must it distinguish?

    Show answer and explanation
    1. Successful evaluation from skipped or unsupported evaluation
    2. Only the wrapper's zero exit code, regardless of explicit unsupported-format status
    3. A guarantee that a skipped scan proves absence of findings in the unexamined archive
    4. A rule automatically approving any format for which the configured scanner has no implementation

    Answer: Successful evaluation from skipped or unsupported evaluation

    An operational exit status may not encode complete security coverage. Require explicit supported evaluation, expected scope, and result semantics rather than convert skipped work into affirmative clean evidence.

  61. 61.In a supplied shell model, a two-command pipeline returns only the final command's status. Compile fails with one; the log writer succeeds with zero. What pipeline status is observed?

    Show answer and explanation
    1. A status equal to the number of output lines
    2. No status because one command failed
    3. 0, despite the compile failure
    4. 1, because every pipeline automatically propagates all failures

    Answer: 0, despite the compile failure

    Under the stated last-command rule, the log writer's zero hides the compiler's nonzero status. Capture required component outcomes or use suitable failure propagation; visible log output is not a success condition.

  62. 62.Compilation fails but a stale executable remains in the workspace. A packaging step checks only that the output path exists and publishes it. What completion evidence is needed?

    Show answer and explanation
    1. Only that some file exists under the expected name.
    2. A guarantee that file existence proves the latest compiler invocation succeeded.
    3. The current build produced the selected artifact successfully, with its bound identity.
    4. A rule that any retained executable belongs to the current source revision.

    Answer: The current build produced the selected artifact successfully, with its bound identity.

    An existing file can predate the failed attempt. Use isolated outputs and explicit successful producer evidence tied to the selected bytes, instead of inferring current-build success from path existence.

  63. 63.A required test suite discovers zero tests after a path change but exits zero. The gate requires that the intended suite actually run. What should it validate?

    Show answer and explanation
    1. Execution of the expected test scope, including discovery/count evidence
    2. A rule equating zero discovered tests with successful execution of every intended test
    3. Only the process exit code even though the required suite was not discovered
    4. Only a results file's existence, without inspecting whether it contains the expected test outcomes

    Answer: Execution of the expected test scope, including discovery/count evidence

    Process success is insufficient when the required work was not exercised. Validate the intended test inventory and outcomes with suitable evidence; do not count absence of tests as coverage of the release.

  64. 64.A test receipt names source revision R but not build configuration. Tests ran with optional parser disabled; the release enables it. What link is missing for the claimed release test coverage?

    Show answer and explanation
    1. A rule treating disabled-path results as evidence of the enabled parser's behavior
    2. The tested configuration and artifact context
    3. Only a matching source label, treating every feature configuration as equivalent
    4. A guarantee that equal source revisions imply all build-time parser configurations were exercised

    Answer: The tested configuration and artifact context

    Test evidence needs the scope relevant to the release. Source equality alone does not establish identical flags, dependencies, generated outputs, or exercised paths; bind the receipt to the actual tested context.

  65. 65.A compiled artifact passes tests under one runtime configuration. Production supplies a different external policy file. What should the release evidence distinguish?

    Show answer and explanation
    1. A rule that build provenance proves every possible runtime policy safe
    2. Only the artifact's existing signature
    3. Artifact test results from the untested runtime configuration combination
    4. A guarantee that immutable executable bytes make external configuration irrelevant

    Answer: Artifact test results from the untested runtime configuration combination

    Build integrity and runtime composition have different scopes. Retain the configuration identity and verify relevant combinations rather than silently broaden artifact-only evidence to all deployment inputs.

  66. 66.A provenance record is correctly generated, then stored in a mutable row that ordinary artifact uploaders can edit without a new signature check. Consumers trust the row as verified. What must storage/consumption preserve?

    Show answer and explanation
    1. A guarantee that a once-verified row remains valid after arbitrary edits
    2. The authenticated statement and its verified integrity/context
    3. Only the row's original creation time
    4. A rule treating database write permission as every producer's signing authority

    Answer: The authenticated statement and its verified integrity/context

    Maintain evidence integrity through storage and consumption. Verify immutable signed material or enforce an equivalent trusted boundary; an earlier verification result does not authorize later mutations to the recorded claim.

  67. 67.A release accepts tokens only for issuer I and project P. A valid token from I names project Q. The verifier checks issuer but not project. What required scope is missing?

    Show answer and explanation
    1. The authorized project binding
    2. A guarantee that an authentic issuer authorizes all its projects for this specific release
    3. Only a valid token format and issuer, treating every project under that issuer as authorized
    4. A rule accepting Q because it uses the same token schema as the allowed project P

    Answer: The authorized project binding

    An authentic identity from a trusted issuer can still have the wrong project authority. Enforce the consumer's complete context policy rather than substitute issuer authenticity for project-specific authorization.

  68. 68.A trusted pipeline accepts a user-supplied source repository URL, then signs results. The consumer assumes every signed result comes from the pipeline's own repository. What input must expectations constrain?

    Show answer and explanation
    1. The actual source repository and resolved source identity
    2. A rule equating all repositories submitted to one build service with that service's own repository
    3. A guarantee that trusted execution constrains every externally supplied repository URL automatically
    4. Only the trusted pipeline's identity, without evaluating its caller-selected source inputs

    Answer: The actual source repository and resolved source identity

    The build service and its chosen materials are different parts of the evidence. Check the resolved source and relevant invocation inputs against independently formed expectations.

  69. 69.An approval document authorizes artifact digest D under configuration C. A deploy request keeps D but changes to configuration C2. The approval's scope is exactly the stated pair. What follows?

    Show answer and explanation
    1. The existing approval does not cover the new pair.
    2. A prior approval eliminates the need to evaluate configuration scope.
    3. Renaming C2 to C in the log extends the approval.
    4. The artifact digest authorizes every possible configuration.

    Answer: The existing approval does not cover the new pair.

    An approval can be content- and context-specific. Preserve the reviewed tuple and obtain the required authorized decision for a changed tuple rather than infer unlimited scope from one unchanged component.

  70. 70.A reviewer approves a staged artifact, but the mutable stage slot is replaced before promotion. The deployment reads the slot without comparing identity. What safeguard binds the reviewed and promoted object?

    Show answer and explanation
    1. Promote the approved immutable identity and verify that exact binding.
    2. Assume a human approval freezes every later write to the slot.
    3. Rely on the stage slot's most recent upload time.
    4. Use the same mutable slot name as the approval.

    Answer: Promote the approved immutable identity and verify that exact binding.

    Approval must remain attached to the actual artifact and context. A mutable locator can change independently; compare or reference the approved content identity at promotion under the intended concurrency policy.

  71. 71.A retry has the same job name but produces a different artifact digest. A gate reuses the earlier attempt's artifact-specific approval solely by job name. What changed?

    Show answer and explanation
    1. Only the unchanged job name, treating that label as an immutable artifact identity
    2. The object authorized by the approval
    3. A guarantee that every retry of a named job produces the approved bytes
    4. A rule automatically extending an artifact-specific approval to every later attempt's output

    Answer: The object authorized by the approval

    A logical job label can cover multiple executions and outputs. Bind approval to the reviewed artifact/context, not merely the reusable label, and reassess when that bound object changes.

  72. 72.Two publishers read release generation seven. Publisher A activates its reviewed release at generation eight. B then attempts activation conditional on generation seven. What should a compare-and-swap pointer do?

    Show answer and explanation
    1. Reject B's stale activation.
    2. Merge the two artifact sets without review.
    3. Replace A unconditionally because B finished later.
    4. Reset the generation counter to seven.

    Answer: Reject B's stale activation.

    The observed generation is a concurrency precondition. Rejecting the stale update protects the intervening publication; B must review against current state rather than silently overwrite newer decisions.

  73. 73.A publisher's response is lost after activation succeeds. On retry, the active release already has the exact requested immutable identity. What distinguishes safe retry handling from blind repetition?

    Show answer and explanation
    1. Resetting the publication pointer without reading its current identity
    2. Recognizing the completed identical operation under the current state
    3. Assuming a timeout proves the first activation failed
    4. Creating a different artifact merely to make the retry unique

    Answer: Recognizing the completed identical operation under the current state

    A response loss does not establish the operation's outcome. Reconcile actual state and the exact requested identity so retries do not invent extra effects or overwrite a different intervening publication.

  74. 74.A release pointer becomes active before one required artifact upload finishes. Readers immediately follow the pointer. What publication ordering should change?

    Show answer and explanation
    1. Ignore missing objects because the pointer write was atomic.
    2. Make all required referenced objects available and verified before activating the pointer.
    3. Assume a valid manifest creates missing artifact bytes.
    4. Activate the pointer earlier to hide upload latency.

    Answer: Make all required referenced objects available and verified before activating the pointer.

    An atomic pointer update is useful only when its referenced release is complete. Stage and verify the required closure first; otherwise readers can observe an active but unusable release.

  75. 75.Live release L references chunks {a,b}; retained rollback R references {b,c}. Cleanup deletes any chunk not referenced by L alone. Which required rollback chunk would it wrongly delete?

    Show answer and explanation
    1. b
    2. a
    3. c
    4. None

    Answer: c

    The retained release's reachability must also be protected. Chunk c is absent from the live set but required by R. Define the retained roots and compute their union before garbage collection.

  76. 76.A rollback artifact was approved under key K. Current explicit policy rejects K after revocation and supplies no historical exception. What should the current verifier do?

    Show answer and explanation
    1. Erase the revocation record during rollback.
    2. Apply the current rejection policy instead of assuming old approval is still sufficient.
    3. Assume all historical signatures become mathematically invalid.
    4. Accept every old approval regardless of the stated current policy.

    Answer: Apply the current rejection policy instead of assuming old approval is still sufficient.

    Policy acceptance and mathematical signature validity differ. Follow the defined current trust/revocation rules and any explicitly authorized historical-validation model; do not invent an exception because the artifact is older.

  77. 77.A third party claims it independently rebuilt a package, but its comparison downloaded both supposed outputs from the same original build. What independence was not established?

    Show answer and explanation
    1. A separate build execution producing the compared result
    2. Whether downloading the original build to two different paths creates two independent build executions
    3. A guarantee that copying a release artifact reconstructs its source-to-output process independently
    4. A rule treating matching hashes as evidence of distinct executions rather than evidence of byte equality

    Answer: A separate build execution producing the compared result

    A byte comparison can show equality while leaving the origin of each compared copy unproven. Establish the claimed independent reconstruction with appropriately scoped evidence rather than infer it from two copies of one output.

  78. 78.A transparency service records a valid signed statement from an unapproved builder. A consumer treats log inclusion as source authorization. What trust distinction is missing?

    Show answer and explanation
    1. A recorded entry necessarily has no signature.
    2. Every log entry must have been built by the consumer's own builder.
    3. Log inclusion makes all stated software behavior correct.
    4. Publication in a log does not itself approve the producer or source.

    Answer: Publication in a log does not itself approve the producer or source.

    Transparency can provide evidence of publication under its model. Consumer trust and artifact/source policy remain separate decisions; public visibility is not blanket release authority.

  79. 79.A service returns a log entry identifier but no proof required by the consumer's inclusion-verification protocol. The client reports verified inclusion anyway. What evidence is absent?

    Show answer and explanation
    1. Only a successful HTTP response containing an entry identifier
    2. A guarantee that every opaque identifier is the proof required by the consumer's protocol
    3. A rule treating any service response as a completed verification against the accepted checkpoint
    4. The required verifiable link to the accepted log state

    Answer: The required verifiable link to the accepted log state

    An identifier or successful response is not automatically the proof the protocol requires. Validate the actual inclusion evidence and trusted checkpoint under the declared model before reporting that property as verified.

  80. 80.A report says a signing key was removed from a runner, but previously issued credentials using it remain valid under the consumers' trust policy. What operational scope should be checked?

    Show answer and explanation
    1. A rule assuming past signatures disappear when a file is removed
    2. A guarantee that deleting one private-key copy revokes every accepted credential
    3. Outstanding authority and consumer trust state, not just local key-file presence
    4. Only whether the runner's workspace is empty

    Answer: Outstanding authority and consumer trust state, not just local key-file presence

    Local deletion, credential validity, and verifier trust updates are distinct state changes. Follow the authorized lifecycle/revocation policy and verify the relevant consumers' effective trust state.

  81. 81.A release manifest covers executable bytes but leaves a behavior-changing runtime policy file outside its authenticated references. What composition input remains unbound?

    Show answer and explanation
    1. The external policy file used by the release
    2. A guarantee that executable integrity fixes every external policy
    3. Only the executable's existing checksum
    4. A rule treating any file beside an executable as authenticated by proximity

    Answer: The external policy file used by the release

    Define the release boundary to include relevant configuration or bind it through a separate authorized mechanism. A verified executable does not establish the identity of every input it later consumes.

  82. 82.An untrusted build script prints a JSON claim that a privileged test passed. The supervising platform copies stdout directly into a signed verified-result field. What observation boundary failed?

    Show answer and explanation
    1. A signature cannot cover an assertion encoded as JSON.
    2. Every claim printed by a workload becomes independently measured by the supervisor when signed.
    3. The result field was not independently established by the trusted supervisor.
    4. An authenticated workload assertion necessarily proves the privileged test actually ran.

    Answer: The result field was not independently established by the trusted supervisor.

    Separate workload-controlled assertions from trusted observations. The platform must gather and validate the evidence required for its claim rather than convert arbitrary job output into a stronger signed assertion.

  83. 83.A pipeline substitutes a secret into a command and records the fully expanded command in a retained build log. The artifact contains no secret. What copy must the response address?

    Show answer and explanation
    1. A rule that build logs are never accessible after a job ends
    2. Only the final executable's string table
    3. A guarantee that secrets absent from artifacts cannot be retained elsewhere
    4. The credential material retained in the log

    Answer: The credential material retained in the log

    Artifact inspection does not cover every persisted output. Apply authorized secret handling to logs and other copies and address the credential's validity; avoid treating an artifact-only scan as a complete exposure inventory.

  84. 84.A build graph has output A depending on B and C; both B and C depend on D. Every named artifact is distinct and must be retained. How many distinct graph artifacts are in A's closure including A?

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

    Answer: 4

    The reachable set is {A,B,C,D}. D is shared and counted once, not once per path. Reachability/retention works over identities rather than adding dependency-path lengths.

  85. 85.A build starts with a three-minute fetch. Then compile takes five minutes and scan six, in parallel. Tests take four minutes after compile. Packaging takes two minutes after both tests and scan. With unlimited other resources, what is the minimum completion time?

    Show answer and explanation
    1. 14 minutes
    2. 11 minutes
    3. 20 minutes
    4. 16 minutes

    Answer: 14 minutes

    After fetch, compile plus tests takes nine minutes while scan takes six. Packaging waits for the longer branch: 3+max(5+4,6)+2=14. The result uses the supplied dependencies and ignores unmodeled resource limits.

  86. 86.A supplied cache model costs one minute to check. A hit then costs two minutes to fetch; a miss then costs ten minutes to build. Hit probability is 0.75. What is expected total time?

    Show answer and explanation
    1. 10 minutes
    2. 5 minutes
    3. 7.5 minutes
    4. 3 minutes

    Answer: 5 minutes

    A hit costs three minutes total and a miss eleven. The expectation is 0.75×3+0.25×11=5. This is a conditional planning model, not a guarantee of every build's duration.

  87. 87.Three retained artifacts reference chunk sets {a,b},{b,c},{c,d}. Each distinct chunk is ten MiB. Ignoring metadata, what unique chunk storage is required?

    Show answer and explanation
    1. 60 MiB
    2. 30 MiB
    3. 40 MiB
    4. 20 MiB

    Answer: 40 MiB

    The union is {a,b,c,d}, four distinct chunks. Shared chunks are stored once under the supplied deduplication model; summing each artifact's logical size would count the references repeatedly.

  88. 88.Three builds pass through one compiler taking six minutes per build, then one packager taking two. Each resource handles one build at a time, stages may overlap, and all inputs start ready. What is the earliest last-package completion?

    Show answer and explanation
    1. 18 minutes
    2. 20 minutes
    3. 24 minutes
    4. 8 minutes

    Answer: 20 minutes

    Compilation completes at minutes six, twelve, and eighteen. Packaging can finish those builds at eight, fourteen, and twenty. Summing all stage durations ignores permitted overlap; finishing at eighteen omits the final packaging step.

  89. 89.A gate requires shard IDs {a,b,c}. Receipts with successful outcomes name {a,b,b}. The gate checks only that three receipts exist. What required evidence is missing?

    Show answer and explanation
    1. A fourth copy of shard b
    2. Proof that shard a failed
    3. A guarantee that receipt count equals distinct shard coverage
    4. A successful receipt for shard c

    Answer: A successful receipt for shard c

    Coverage is a set requirement, not only a count. Validate the expected unique shard identities and outcomes, with their artifact/attempt scope, so duplicates do not stand in for missing required work.

  90. 90.Two logical release files point to the same immutable blob. One release file is removed, but the other remains required. Under reference-aware storage, what should happen to the shared blob?

    Show answer and explanation
    1. Duplicate it automatically before deleting every original reference.
    2. Retain it while the remaining required reference exists.
    3. Delete it because one filename was removed.
    4. Treat two references as two different byte identities by definition.

    Answer: Retain it while the remaining required reference exists.

    Logical references and physical storage are distinct. Garbage collection should respect all retained roots/referrers so removal of one name does not break another release that still requires the content.

  91. 91.A successful build records environment variables after the process ends, but the process could change its own environment during generation. The account claims exact invocation inputs from that later snapshot. What timing distinction matters?

    Show answer and explanation
    1. A rule excluding environment-dependent behavior from the declared build-input model
    2. Initial/resolved build inputs versus a later process-state snapshot
    3. A guarantee that process termination preserves every historical environment value
    4. Whether a later environment snapshot can be treated as the exact initial invocation without further evidence

    Answer: Initial/resolved build inputs versus a later process-state snapshot

    Capture relevant invocation/environment inputs at the appropriate boundary and distinguish subsequent mutation. A later snapshot does not automatically reconstruct the state that governed an earlier build action.

  92. 92.A build uses wall-clock time as a conditional input: before noon it embeds feature A, afterward feature B. Rebuilds pin source and dependencies but omit this rule's time input. What reproducibility claim needs review?

    Show answer and explanation
    1. A rule excluding time as a behavioral input because only archive headers can depend on it
    2. A guarantee that identical source fixes the result of an uncontrolled time-dependent branch
    3. Only equal executable lengths, treating that as equivalence of embedded feature choices
    4. Whether the declared inputs fully determine the specified output

    Answer: Whether the declared inputs fully determine the specified output

    Time can affect executable behavior, not just metadata. Eliminate or declare/control the relevant input under the build contract; comparing only source and dependencies does not close the stated dependency.

  93. 93.A generated output file is excluded from source review but is copied into the release without running its documented generator. Which relationship must the build evidence establish?

    Show answer and explanation
    1. A guarantee that a checked-in generator proves every nearby file was produced by it
    2. Only the existence of generator instructions in the repository
    3. A rule treating ignored files as impossible build inputs
    4. The identity and approved derivation of the actual copied output

    Answer: The identity and approved derivation of the actual copied output

    Documentation of a transformation is different from execution of that transformation. Constrain and record actual inputs/outputs so the release cannot silently consume stale or substituted generated material.

  94. 94.A build policy permits only dependencies reachable from approved roots. A's edges are A→B and A→C; C→X, and X is disallowed. A validator checks only immediate children B and C. What closure condition was missed?

    Show answer and explanation
    1. Only whether A's immediate dependency count equals the count recorded in its manifest
    2. The transitive dependency X must also be evaluated.
    3. A rule excluding dependencies farther than one edge from the consumer's recursive scope
    4. A guarantee that approved immediate dependencies make all deeper descendants approved

    Answer: The transitive dependency X must also be evaluated.

    Recursive policy scope requires traversing the relevant graph with cycle/identity handling. Checking one level does not establish a property over all reachable materials.

  95. 95.A dependency graph has cycle A→B→A. A naive verifier recursively visits each edge without marking visited identities. What algorithmic issue should it prevent?

    Show answer and explanation
    1. An automatic proof that both nodes are trusted
    2. Nontermination from revisiting the cycle
    3. A guarantee that the two nodes are the same artifact
    4. A rule dropping every shared dependency as a cycle

    Answer: Nontermination from revisiting the cycle

    Graph traversal needs appropriate visited/in-progress state and an explicit cycle policy. A cycle and ordinary shared subgraphs are different cases; neither should cause unbounded recursion or silent authorization.

  96. 96.An organization changes its allowed compiler list after a build was produced. The artifact and provenance remain byte-identical. What can legitimately change?

    Show answer and explanation
    1. The actual source code used in the already completed build
    2. The signature's covered bytes without a new statement
    3. The historical artifact digest solely because policy changed
    4. The consumer's acceptance decision under the new policy

    Answer: The consumer's acceptance decision under the new policy

    Evidence identity and policy evaluation are separate. Preserve historical facts while evaluating the required policy version; unchanged evidence does not imply every later acceptance rule yields the same decision.

  97. 97.A review approves source S and build parameters P, but a release substitutes a prebuilt artifact with no established relation to that invocation. What is the missing link?

    Show answer and explanation
    1. A guarantee that any binary named after S came from that source
    2. Evidence connecting the selected artifact to the approved build inputs/process
    3. A rule equating source approval with all possible artifact outputs
    4. Only confirmation that S exists in version control

    Answer: Evidence connecting the selected artifact to the approved build inputs/process

    Reviewing inputs does not identify arbitrary output bytes. Verify an appropriate source/process-to-artifact relationship for the actual selected object and the consumer's trust assumptions.

  98. 98.A package's provenance names an authorized build service, but the platform allows the workload to choose arbitrary output digests without observing output bytes. What trust question needs assessment?

    Show answer and explanation
    1. A rule assuming the digest field cannot be caller-controlled despite the supplied platform behavior
    2. Whether the builder actually establishes the claimed artifact binding
    3. Only whether the builder ID is a recognized display name
    4. A guarantee that a trusted service name validates every digest a workload chooses to claim

    Answer: Whether the builder actually establishes the claimed artifact binding

    The authority behind a claim must actually observe/enforce the relevant property. Assess how output identities are measured and protected; service identity alone does not validate a workload-authored binding.

  99. 99.A team retains only the latest successful provenance document under each mutable package name. Two deployed releases still use different old content identities. What evidence-retention requirement is at risk?

    Show answer and explanation
    1. Retrieving the evidence bound to each still-relevant artifact revision
    2. A guarantee that current-name provenance describes every earlier artifact sharing that name
    3. A rule discarding old artifact evidence whenever any new build succeeds
    4. Only the latest statement for each mutable name, regardless of retained deployed revisions

    Answer: Retrieving the evidence bound to each still-relevant artifact revision

    Retain evidence by immutable identity for the required live, rollback, and audit scope. Replacing a name's metadata with the latest statement can strand consumers of earlier content without its actual evidence.

  100. 100.A release inventory includes a root manifest and child blobs, but a verifier checks only that each listed filename exists. What stronger relationship should its integrity pass enforce?

    Show answer and explanation
    1. Each required reference resolves to the expected content identity and context.
    2. Matching total file count proves the graph's content bindings.
    3. Every file with the same basename is interchangeable.
    4. A directory listing proves the root manifest's signature is valid.

    Answer: Each required reference resolves to the expected content identity and context.

    Availability by name does not establish graph integrity. Verify required content references and selection context, plus the appropriate authenticated root, rather than count files as a substitute for checking their relationships.

  101. 101.A supplied incremental graph computes h=x+y, g=2h, and output=g+z. Initially x=1,y=2,z=4. Only x changes to three. Which computed nodes need reevaluation, and what is the new output?

    Show answer and explanation
    1. h only; 10
    2. g only; 6
    3. z,output; 14
    4. h,g,output; 14

    Answer: h,g,output; 14

    The changed x affects h, then g, then output; z is unchanged. New h=3+2=5, g=10, and output=10+4=14. The dependency chain, not just directly changed file names, determines which derived nodes require reevaluation.