Question 60
A repository mixes photographs, transcripts, and spreadsheets. The ingestion design uses one plain-text parser for every object. What is the principal improvement?
- Use the longest filename as document content
- Discard every object that is not already prose
- Change all object MIME types to text/plain
- Route content through modality-appropriate extraction and compatible embeddings
Explanation
Correct Answer
D:Different inputs require different interpretation paths. A modality-aware pipeline preserves useful information instead of assuming every binary object contains extractable prose.
Incorrect Answers
A:Names do not represent the substantive image, recording, or worksheet. Such indexing would support only filename matching.
B:This would omit required business evidence. Appropriate processing can support the mixed repository without silently narrowing its scope.
C:Relabeling does not transform content. A photograph remains an image even if its metadata falsely declares plain text.
Question 61
A public upload area feeds a trusted internal knowledge base without review. Which change best protects the trustworthiness of retrieved evidence?
- Separate untrusted uploads and require source validation before promotion
- Increase similarity scoring precision
- Use HTTPS as the only source-quality check
- Mark every uploaded file as approved automatically
Explanation
Correct Answer
A:A controlled boundary prevents arbitrary submissions from becoming authoritative context. Record provenance and review decisions so suspicious changes can be traced and reversed.
Incorrect Answers
B:A relevant malicious passage can score highly. Ranking quality does not replace controls over which sources may enter the corpus.
C:Transport encryption protects transmission but does not establish that the content is accurate, authorized, or free from malicious instructions.
D:An approval label generated without verification has no evidentiary value. Attackers could publish misleading instructions into the trusted corpus.
Question 62
An extraction job fails after processing most objects. Restarting creates duplicates for completed objects. Which processing design is needed?
- Discard all failed-job diagnostics
- Checkpoint progress and make writes idempotent using stable record keys
- Increase generation output tokens
- Assign a new random identity on every retry
Explanation
Correct Answer
B:Replay should converge on the intended index state. Checkpoints reduce repeated work, and idempotent writes prevent completed records from multiplying.
Incorrect Answers
A:Removing progress evidence makes targeted recovery harder. It does not prevent repeated writes from creating duplicates.
C:The failure concerns ingestion state and replay semantics. Completion capacity has no control over duplicate destination records.
D:Random identities make retries look like new records. They directly increase duplicate entries in the destination.
Question 63
A multilingual corpus displays replacement characters after ingestion, although the source text is correct. Which check should come first?
- Choose a model with a larger completion limit
- Delete language metadata from every object
- Verify character decoding and normalization at the extraction boundary
- Re-encode already corrupted extracted text without inspecting the original source bytes
Explanation
Correct Answer
C:Incorrect decoding can irreversibly corrupt words before embedding. Inspect intermediate text to locate the first stage where valid characters become damaged.
Incorrect Answers
A:Output capacity does not reconstruct the original encoding. The source-processing path needs correction.
B:Language labels do not cause byte-decoding errors. Removing them may make routing and quality checks less reliable.
D:Once decoding has replaced or lost characters, another encoding pass may preserve the corruption. Identify and correct the extraction boundary that first misinterpreted the source.
Question 64
A pipeline changes document access labels but leaves content unchanged. What must validation confirm after synchronization?
- The retrieval layer enforces the revised metadata without relying on old labels
- That no retrieval tests are necessary
- That the generator now has more parameters
- That all document content has changed
Explanation
Correct Answer
A:Metadata affects eligibility even when text is identical. A successful content comparison alone cannot establish that access-related attributes were updated correctly.
Incorrect Answers
B:A completed job does not itself prove the new filter behavior. Tests should cover both allowed and denied scopes.
C:Model size does not determine whether stored access metadata was refreshed. The issue lies in retrieval eligibility.
D:A metadata correction need not alter prose. Requiring text changes would add unnecessary content mutation to an access update.
Question 65
A custom parser produces useful passages but discards their source URI and page reference. Which capability is most directly impaired?
- The numerical dimensionality of embeddings
- Traceable attribution and investigation of source-specific answer errors
- The model's ability to sample tokens at all
- The ability to encrypt network traffic
Explanation
Correct Answer
B:Content without provenance cannot easily be linked back to its authority. Preserve source references through extraction, chunking, and indexing for reviewable answers.
Incorrect Answers
A:Provenance fields do not determine vector length. A correctly sized embedding can still lack a usable source reference.
C:Generation can run without citations. The missing capability is accountable evidence tracing, not basic next-token prediction.
D:Transport encryption is configured independently. Losing page metadata does not prevent TLS communication with inference services.
Question 66
An extractor upgrade passes file-format checks but begins omitting footnotes containing exceptions. Which quality gate would detect this regression?
- Check only that output files are nonempty
- Count source objects without inspecting extracted content
- Check only that the parser process exits successfully
- Compare extracted evidence against labeled representative documents including exceptions
Explanation
Correct Answer
D:Format validity does not establish semantic completeness. Labeled extraction tests reveal missing business-critical text before it becomes an indexing and answer-quality problem.
Incorrect Answers
A:A nonempty result can omit every important exception. Presence of some text is a weak completeness signal.
B:Object counts remain unchanged even when each extraction loses footnotes. The gate must examine what the parser preserved.
C:A successful process can implement the wrong transformation. Operational success does not prove extracted content is complete.
Question 67
A vector index expects 1,024-dimensional values, but a new embedding configuration emits 512 dimensions. What must the migration address?
- Use a compatible index schema and re-embed content consistently
- Change only the generation model
- Increase result count to bypass shape validation
- Pad arbitrary zeros and assume semantic equivalence
Explanation
Correct Answer
A:Vector shape is part of the index contract. A migration must align stored and query representations rather than mixing dimensions in the existing field.
Incorrect Answers
B:The generator does not define the retrieval vector field. Its replacement leaves the indexing mismatch unresolved.
C:A retrieval count controls returned candidates, not vector schema compatibility. Invalid dimensions remain invalid regardless of requested quantity.
D:Matching length does not prove equivalent geometry. An ad hoc transformation can produce invalid similarity relationships between documents and queries.
Question 68
Two embedding models produce vectors of equal length. Why is it unsafe to replace only the query embedder?
- Every equal-length vector has identical meaning
- The generation temperature automatically aligns vector spaces
- Equal dimensions do not imply a shared semantic coordinate system
- A higher database connection limit repairs semantic mismatch
Explanation
Correct Answer
C:Representations from different models can occupy incompatible spaces. Rebuild or migrate document embeddings and validate retrieval before switching query production.
Incorrect Answers
A:Length specifies the number of coordinates, not what those coordinates represent. Semantic compatibility requires more than shape equality.
B:Sampling controls output token choices. It does not transform stored document vectors into another embedding model's coordinate system.
D:More connections change throughput capacity, not representation meaning. Retrieval can become faster while remaining semantically incorrect.
Question 69
A replacement vector index must be introduced without interrupting search. Which migration strategy best preserves a recovery path?
- Mix old and new incompatible vectors in one field
- Delete the current index before creating its replacement
- Build and validate a parallel index, then switch routing with rollback
- Switch traffic after only the first document is indexed
Explanation
Correct Answer
C:Parallel preparation permits completeness and quality checks before cutover. Retaining the earlier index temporarily supports recovery if production behavior differs from tests.
Incorrect Answers
A:Combining incompatible representations makes similarity results unreliable. Availability alone does not preserve retrieval correctness.
B:Destructive sequencing removes the working retrieval path. Any build failure would leave the application without its required evidence service.
D:A partially populated index may miss most required sources. Cutover needs evidence of representative completeness and acceptable retrieval behavior.
Question 70
A custom retrieval filter compares publicationDate numerically, but ingestion stored dates inconsistently as strings. What should be standardized?
- Only the filter's display label, while retaining mixed numeric and string date values
- A documented metadata schema with consistent field types and date representation
- Only the generator's instruction to interpret every retrieved date consistently
- Only a larger top-k value while comparing inconsistent date types
Explanation
Correct Answer
B:Filters depend on predictable values and operators. A shared schema prevents ingestion producers from creating attributes that cannot be compared reliably.
Incorrect Answers
A:A display label does not alter stored field types or comparison semantics. Ingestion and querying must agree on the actual metadata representation.
C:The generator cannot recover records excluded by a malformed date predicate. The metadata schema needs repair before retrieval selection.
D:A larger result cap does not correct an invalid or mismatched range predicate. Standardize values and types used by the filter.