Question 320
An answer has perfect headings but omits a required comparison. What should evaluation and prompt refinement prioritize?
- Mark success because every heading exists.
- Apply a stricter heading-style rule before checking missing information.
- The missing substantive requirement, not formatting alone.
- Score only the sections with content and exclude omissions from the average.
Explanation
Correct Answer
C:The acceptance contract includes substantive comparison content, so cosmetic compliance must not substitute for checking the required decision dimensions.
Incorrect Answers
A:Structural appearance is only part of the acceptance contract.
B:Additional style enforcement does not address the demonstrated omission. The required comparison needs a substantive acceptance check and prompt correction.
D:Excluding a required absent comparison hides a task failure and inflates the score. Evaluation must account for required content that was not produced.
Question 321
A task permits assumptions only when they are clearly labeled. What instruction is useful?
- Label assumptions separately from supplied facts.
- Hide assumptions in confident wording.
- Avoid mentioning any uncertainty.
- Present assumptions as source quotations.
Explanation
Correct Answer
A:This preserves the evidential boundary and lets users assess which conclusions depend on unverified premises. Readers need to distinguish evidence from inference, especially when an assumption would change the recommended action or interpretation.
Incorrect Answers
B:Concealment violates the explicit labeling requirement.
C:That makes the answer less faithful to the available information.
D:That falsely upgrades guesses into evidence.
Question 322
A user requests translation, but product codes must remain unchanged. What should the prompt state?
- Translate every character including codes.
- Invent local-language replacements for codes.
- Remove all codes from the result.
- Translate prose while preserving specified identifiers exactly.
Explanation
Correct Answer
D:The task combines transformation with protected spans; explicit preservation rules reduce accidental identifier changes.
Incorrect Answers
A:That violates the stated exception for identifiers.
B:Identifiers are references, not ordinary prose to paraphrase.
C:Deletion loses required information rather than preserving it.
Question 323
A prompt template reaches the API with the literal placeholder {customer_tier} still present. The model invents a tier. What should the application fix first?
- Validate template substitution before sending the request.
- Treat the placeholder name as the actual customer tier.
- Increase temperature so the invented tier varies less.
- Cache the invented tier as the authoritative account record.
Explanation
Correct Answer
A:The requested variable was never supplied; checking required template inputs catches the assembly defect before the model is asked to reason from incomplete context.
Incorrect Answers
B:The placeholder identifies missing application data, not a valid business value for the customer.
C:Sampling changes do not provide the missing variable and may increase variation rather than repair template construction.
D:Persisting an unsupported guess converts a prompt assembly error into corrupted durable business data.
Question 324
An application needs a decision and a short auditable justification. What output should it request?
- A fabricated transcript of every internal step.
- The model’s hidden internal reasoning verbatim.
- Only an unexplained confidence score.
- The decision, relevant evidence, and a concise explanation of applied criteria.
Explanation
Correct Answer
D:Request concise reasons tied to evidence and decision criteria rather than a purported transcript of hidden internal reasoning.
Incorrect Answers
A:Invented reasoning is not trustworthy audit evidence.
B:Private reasoning is not a dependable application output contract.
C:A number omits the evidence and criteria required for review.
Question 325
A consumer expects JSON but receives ordinary prose. What should happen before accessing required fields?
- Parse safely and route format failure through the defined error path.
- Search for any number and treat it as the whole result.
- Return an empty object and mark it valid despite required fields.
- Evaluate the prose as executable code.
Explanation
Correct Answer
A:The application must establish a valid representation before treating it as a structured object. Run the appropriate parser, validate the resulting structure, and route nonconforming output through an explicit recovery path before reading business fields.
Incorrect Answers
B:Ad hoc extraction does not satisfy the declared schema.
C:A parse fallback cannot silently waive the required schema or turn missing business information into a valid result.
D:Generated text must not become arbitrary execution merely to recover fields.
Question 326
A structured-output request returns a refusal. What must the consumer support?
- Fabricate missing fields to force schema success.
- Treat refusal text as a completed business record.
- A refusal outcome separate from the ordinary data schema.
- Retry endlessly with the identical request.
Explanation
Correct Answer
C:Detect and handle refusal before ordinary schema consumption or record publication. A refusal is a distinct outcome and may not match the requested business data shape.
Incorrect Answers
A:Inventing data conceals the actual outcome.
B:That confuses a declined response with valid extracted data.
D:Unbounded retries do not constitute an appropriate refusal-handling policy.
Question 327
A generated answer cites an existing passage that says refunds are limited to 14 days, but the answer claims 30 days. What must citation validation examine?
- Whether the cited passage supports the specific nearby claim.
- Replace the passage's number with the model's preferred duration.
- Only whether the citation identifier occurs in the source list.
- Only whether the reference uses a professional-looking format.
Explanation
Correct Answer
A:A resolvable identifier establishes source existence, not entailment. The cited policy directly conflicts with the claimed duration, so the answer needs correction before presentation.
Incorrect Answers
B:Changing the evidence to fit the answer reverses the grounding relationship and fabricates source support.
C:The identifier is valid in this scenario. Membership checking alone would accept the unsupported 30-day claim.
D:Formatting does not connect the content of the passage to the truth of the associated statement.
Question 328
A generated object contains the same JSON property twice with conflicting values. Different consumers retain different occurrences. What should the ingestion boundary do?
- Assume every JSON parser retains the first occurrence.
- Forward the raw object to every consumer without validation.
- Reject duplicate properties or enforce a documented unambiguous parsing policy.
- Average the two values regardless of their type.
Explanation
Correct Answer
C:Conflicting repeated keys can be interpreted differently across parsers; one explicit policy prevents inconsistent downstream decisions.
Incorrect Answers
A:Parser behavior is not universally identical, which is the ambiguity demonstrated in the scenario.
B:This preserves the interpretation conflict and allows separate systems to act on different values.
D:Inventing an aggregation rule changes the object's meaning and may be impossible for nonnumeric values.
Question 329
An extraction schema stores a five-character account code such as 00123 as a JSON number. The downstream system requires the exact original code, including leading zeros. What schema change preserves the identifier?
- Use scientific notation for the same numeric value.
- Keep a numeric field and increase its decimal precision.
- Remove leading zeros from the downstream system's lookup input.
- Represent the code as a string with the required format constraints.
Explanation
Correct Answer
D:This field is an identifier, not an arithmetic quantity. A constrained string can preserve all five characters, whereas numeric representation loses the original leading zeros.
Incorrect Answers
A:Scientific notation preserves a numerical value but not the five-character identifier. It would introduce another representation that fails the required exact code format.
B:Precision addresses numerical representation, not the original textual form. The number 123 does not encode how many leading zeros appeared in the source.
C:The contract requires the original code, so changing lookup input can select a different identifier or fail to match. The extractor must preserve the supplied representation.
Question 330
An extraction returns the same source item twice with the same stable identifier. What should the consumer examine?
- Uniqueness constraints and whether duplication is permitted by the task.
- Generate new identifiers to disguise the duplicates.
- Assume every returned row represents a different item.
- Delete arbitrary unrelated rows to preserve count.
Explanation
Correct Answer
A:Repeated records can distort totals; validation should apply the intended identity semantics rather than count blindly.
Incorrect Answers
B:Renaming does not create distinct source entities.
C:Duplicate identifiers contradict that assumption.
D:Count alone does not repair record identity.