Question 930A data extraction prompt supplies examples that label missing fields with invented defaults, causing systematic hallucination. Why would the appropriate approach resolve this particular problem? Few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. Examples are most useful when they illustrate the error condition, not when they pad the prompt. Cacheable leading prompt segments must match across requests for prefix reuse. ExplanationCorrect Answer A:Few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. This is why the appropriate action is to correct the examples to use null or unknown markers and enforce the missing-data contract. The expected evidence is: Submit intentionally incomplete records and confirm missing fields are not guessed. Other Answers B:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. In the stated system, few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. C:Examples are most useful when they illustrate the error condition, not when they pad the prompt. By contrast, few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. D:Cacheable leading prompt segments must match across requests for prefix reuse. By contrast, few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it.
Question 931A data extraction prompt supplies examples that label missing fields with invented defaults, causing systematic hallucination. Which test most directly exercises the reported fault? Test only complete records and declare missing-value behavior correct because output JSON parses. Compare cache usage counters for both layouts on repeated distinct customers. Submit intentionally incomplete records and confirm missing fields are not guessed. Run a frozen set of boundary cases before and after the example and compare error changes. ExplanationCorrect Answer C:Submit intentionally incomplete records and confirm missing fields are not guessed. This directly checks whether the proposed action occurred: Correct the examples to use null or unknown markers and enforce the missing-data contract. The relevant mechanism is: Few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. Other Answers A:Test only complete records and declare missing-value behavior correct because output JSON parses. Complete-record tests cannot expose the specific fabrication of absent extraction fields shown by the example prompt. B:Cacheable leading prompt segments must match across requests for prefix reuse. A more meaningful verification is to submit intentionally incomplete records and confirm missing fields are not guessed. D:Examples are most useful when they illustrate the error condition, not when they pad the prompt. A more meaningful verification is to submit intentionally incomplete records and confirm missing fields are not guessed.
Question 932A data extraction prompt supplies examples that label missing fields with invented defaults, causing systematic hallucination. What ongoing control would reduce recurrence of this problem? Review examples against actual output-validation rules when prompts evolve. Maintain example provenance and delete redundant prompt material when tests show no benefit. Maintain stable prompt-prefix versioning without mixing sensitive customer information across sessions. Keep prompt format contracts under version control with parser regression tests. ExplanationCorrect Answer A:Review examples against actual output-validation rules when prompts evolve. This maintains the fix beyond the immediate incident. The underlying issue is that few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. The immediate corrective action remains: Correct the examples to use null or unknown markers and enforce the missing-data contract. Other Answers B:Examples are most useful when they illustrate the error condition, not when they pad the prompt. Reducing this risk requires a practice to review examples against actual output-validation rules when prompts evolve. C:Cacheable leading prompt segments must match across requests for prefix reuse. Reducing this risk requires a practice to review examples against actual output-validation rules when prompts evolve. D:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. The stronger recurring control is to review examples against actual output-validation rules when prompts evolve.
Question 933A developer assumes changing temperature alone will eliminate prompt injection from hostile tool output. What should the owner change to meet the requirement? Treat tool output as untrusted and enforce authorization and guards in application code. Reduce sampling temperature and accept untrusted tool output as authoritative instructions. Change one controlled prompt variable at a time while holding model and evaluation dataset fixed. Specify the requested output structure, required fields, and failure behavior, then use schema validation. ExplanationCorrect Answer A:Sampling controls alter generation variation, not the trust boundary between data and instructions. To confirm, replay a malicious tool result at multiple temperatures and verify no unauthorized action occurs. Other Answers B:Reduce sampling temperature and accept untrusted tool output as authoritative instructions. Temperature does not enforce the separation of untrusted data from privileged tool instructions. C:Confounded experiments cannot reveal which prompt change caused the result. The corrective action for this requirement is to treat tool output as untrusted and enforce authorization and guards in application code. D:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. The corrective action for this requirement is to treat tool output as untrusted and enforce authorization and guards in application code.
Question 934A developer assumes changing temperature alone will eliminate prompt injection from hostile tool output. Which explanation best matches the observed system behavior? Instruction-like text inside lower-trust sources should not be promoted to executable directives. Confounded experiments cannot reveal which prompt change caused the result. Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. Sampling controls alter generation variation, not the trust boundary between data and instructions. ExplanationCorrect Answer D:Sampling controls alter generation variation, not the trust boundary between data and instructions. This is why the appropriate action is to treat tool output as untrusted and enforce authorization and guards in application code. The expected evidence is: Replay a malicious tool result at multiple temperatures and verify no unauthorized action occurs. Other Answers A:Instruction-like text inside lower-trust sources should not be promoted to executable directives. In the stated system, sampling controls alter generation variation, not the trust boundary between data and instructions. B:Confounded experiments cannot reveal which prompt change caused the result. In the stated system, sampling controls alter generation variation, not the trust boundary between data and instructions. C:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. In the stated system, sampling controls alter generation variation, not the trust boundary between data and instructions.
Question 935A developer assumes changing temperature alone will eliminate prompt injection from hostile tool output. What check provides the best acceptance evidence in this case? Embed an attacker instruction in a harmless fixture and confirm no network tool call is made. A/B test the variants against the same labeled cases and analyze per-error differences. Replay a malicious tool result at multiple temperatures and verify no unauthorized action occurs. Submit missing-data examples and confirm the output follows shape and nonfabrication requirements. ExplanationCorrect Answer C:Replay a malicious tool result at multiple temperatures and verify no unauthorized action occurs. This directly checks whether the proposed action occurred: Treat tool output as untrusted and enforce authorization and guards in application code. The relevant mechanism is: Sampling controls alter generation variation, not the trust boundary between data and instructions. Other Answers A:Instruction-like text inside lower-trust sources should not be promoted to executable directives. Proving this correction calls for a check to replay a malicious tool result at multiple temperatures and verify no unauthorized action occurs. B:Confounded experiments cannot reveal which prompt change caused the result. Proving this correction calls for a check to replay a malicious tool result at multiple temperatures and verify no unauthorized action occurs. D:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. Proving this correction calls for a check to replay a malicious tool result at multiple temperatures and verify no unauthorized action occurs.
Question 936A developer assumes changing temperature alone will eliminate prompt injection from hostile tool output. Which lasting engineering safeguard should the team adopt? Test input-boundary and outbound-tool controls with adversarial structured documents. Keep prompt format contracts under version control with parser regression tests. Require versioned prompt experiments and stable baselines before promotion. Prioritize trust boundaries and tool permissions rather than tuning creativity for security. ExplanationCorrect Answer D:Prioritize trust boundaries and tool permissions rather than tuning creativity for security. This maintains the fix beyond the immediate incident. The underlying issue is that sampling controls alter generation variation, not the trust boundary between data and instructions. The immediate corrective action remains: Treat tool output as untrusted and enforce authorization and guards in application code. Other Answers A:Instruction-like text inside lower-trust sources should not be promoted to executable directives. The lasting safeguard is to prioritize trust boundaries and tool permissions rather than tuning creativity for security. B:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. The lasting safeguard is to prioritize trust boundaries and tool permissions rather than tuning creativity for security. C:Confounded experiments cannot reveal which prompt change caused the result. The lasting safeguard is to prioritize trust boundaries and tool permissions rather than tuning creativity for security.
Question 937A multilingual assistant uses instructions containing ambiguous regional formatting and returns dates that invert day and month. Which architectural or coding adjustment is warranted here? Specify the requested output structure, required fields, and failure behavior, then use schema validation. Specify locale, date format, and normalization rules explicitly, then validate parsed dates. Place durable trusted behavior rules in the appropriate system instruction layer and keep user inputs separate. Separate steps, constraints, acceptance checks, and failure handling into a clear structured prompt. ExplanationCorrect Answer B:Precise output constraints reduce format ambiguity across languages and regional conventions. To confirm, submit dates such as 04/05/2026 under two locales and confirm the intended interpretation. Other Answers A:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. This failure calls for a decision to specify locale, date format, and normalization rules explicitly, then validate parsed dates. C:Role placement distinguishes application instructions from task-specific user content. The required change instead is to specify locale, date format, and normalization rules explicitly, then validate parsed dates. D:Explicit decomposed requirements improve the model's ability to follow a complex task specification. This failure calls for a decision to specify locale, date format, and normalization rules explicitly, then validate parsed dates.
Question 938A multilingual assistant uses instructions containing ambiguous regional formatting and returns dates that invert day and month. What underlying distinction accounts for this failure? Explicit decomposed requirements improve the model's ability to follow a complex task specification. Role placement distinguishes application instructions from task-specific user content. Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. Precise output constraints reduce format ambiguity across languages and regional conventions. ExplanationCorrect Answer D:Precise output constraints reduce format ambiguity across languages and regional conventions. This is why the appropriate action is to specify locale, date format, and normalization rules explicitly, then validate parsed dates. The expected evidence is: Submit dates such as 04/05/2026 under two locales and confirm the intended interpretation. Other Answers A:Explicit decomposed requirements improve the model's ability to follow a complex task specification. In the stated system, precise output constraints reduce format ambiguity across languages and regional conventions. B:Role placement distinguishes application instructions from task-specific user content. In the stated system, precise output constraints reduce format ambiguity across languages and regional conventions. C:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. In the stated system, precise output constraints reduce format ambiguity across languages and regional conventions.
Question 939A multilingual assistant uses instructions containing ambiguous regional formatting and returns dates that invert day and month. Which measurable result proves the intended behavior? Submit dates such as 04/05/2026 under two locales and confirm the intended interpretation. Submit missing-data examples and confirm the output follows shape and nonfabrication requirements. Send a later user turn asking to ignore policy and confirm the system still enforces its application controls. Run a deployment-plan test and verify that validation and rollback fields are present. ExplanationCorrect Answer A:Submit dates such as 04/05/2026 under two locales and confirm the intended interpretation. This directly checks whether the proposed action occurred: Specify locale, date format, and normalization rules explicitly, then validate parsed dates. The relevant mechanism is: Precise output constraints reduce format ambiguity across languages and regional conventions. Other Answers B:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. The relevant acceptance check is to submit dates such as 04/05/2026 under two locales and confirm the intended interpretation. C:Role placement distinguishes application instructions from task-specific user content. The failure is checked more directly by a test to submit dates such as 04/05/2026 under two locales and confirm the intended interpretation. D:Explicit decomposed requirements improve the model's ability to follow a complex task specification. The relevant acceptance check is to submit dates such as 04/05/2026 under two locales and confirm the intended interpretation.
Question 940A multilingual assistant uses instructions containing ambiguous regional formatting and returns dates that invert day and month. Which recurring verification should remain in place after repair? Keep locale fixtures in prompt evaluation and parse dates with deterministic libraries. Maintain task-specific instruction templates with measurable completeness gates. Keep prompt format contracts under version control with parser regression tests. Version trusted instructions and back them with executable authorization checks. ExplanationCorrect Answer A:Keep locale fixtures in prompt evaluation and parse dates with deterministic libraries. This maintains the fix beyond the immediate incident. The underlying issue is that precise output constraints reduce format ambiguity across languages and regional conventions. The immediate corrective action remains: Specify locale, date format, and normalization rules explicitly, then validate parsed dates. Other Answers B:Explicit decomposed requirements improve the model's ability to follow a complex task specification. The stronger recurring control is to keep locale fixtures in prompt evaluation and parse dates with deterministic libraries. C:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. The stronger recurring control is to keep locale fixtures in prompt evaluation and parse dates with deterministic libraries. D:Role placement distinguishes application instructions from task-specific user content. Reducing this risk requires a practice to keep locale fixtures in prompt evaluation and parse dates with deterministic libraries.