Question 900A developer adds ten unrelated examples after a single formatting error and token usage rises without improving the missed edge case. Which recurring verification should remain in place after repair? 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. Prioritize trust boundaries and tool permissions rather than tuning creativity for security. Review examples against actual output-validation rules when prompts evolve. ExplanationCorrect Answer A:Maintain example provenance and delete redundant prompt material when tests show no benefit. This maintains the fix beyond the immediate incident. The underlying issue is that examples are most useful when they illustrate the error condition, not when they pad the prompt. The immediate corrective action remains: Add a small targeted few-shot example that demonstrates the specific difficult boundary. Other Answers B:Cacheable leading prompt segments must match across requests for prefix reuse. Reducing this risk requires a practice to maintain example provenance and delete redundant prompt material when tests show no benefit. C:Sampling controls alter generation variation, not the trust boundary between data and instructions. The lasting safeguard is to maintain example provenance and delete redundant prompt material when tests show no benefit. D:Few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. The stronger recurring control is to maintain example provenance and delete redundant prompt material when tests show no benefit.
Question 901An invoice extractor treats a quoted email attachment instructing it to override the schema as if the attachment were a system directive. What action would correct this specific behavior? Place durable trusted behavior rules in the appropriate system instruction layer and keep user inputs separate. Treat tool output as untrusted and enforce authorization and guards in application code. Clearly delimit untrusted attachment text and enforce the schema and permissions outside the model. Mark external markup as untrusted data and deny tool actions not explicitly authorized by the application. ExplanationCorrect Answer C:Task data can contain imperative language, but it must not gain trusted-instruction authority. To confirm, place a malicious instruction in a test attachment and verify the application ignores its tool requests. Other Answers A:Role placement distinguishes application instructions from task-specific user content. A more relevant action is to clearly delimit untrusted attachment text and enforce the schema and permissions outside the model. B:Sampling controls alter generation variation, not the trust boundary between data and instructions. This failure calls for a decision to clearly delimit untrusted attachment text and enforce the schema and permissions outside the model. D:Instruction-like text inside lower-trust sources should not be promoted to executable directives. The required change instead is to clearly delimit untrusted attachment text and enforce the schema and permissions outside the model.
Question 902An invoice extractor treats a quoted email attachment instructing it to override the schema as if the attachment were a system directive. Which technical mechanism explains why the intended correction works? Task data can contain imperative language, but it must not gain trusted-instruction authority. Instruction-like text inside lower-trust sources should not be promoted to executable directives. Sampling controls alter generation variation, not the trust boundary between data and instructions. Role placement distinguishes application instructions from task-specific user content. ExplanationCorrect Answer A:Task data can contain imperative language, but it must not gain trusted-instruction authority. This is why the appropriate action is to clearly delimit untrusted attachment text and enforce the schema and permissions outside the model. The expected evidence is: Place a malicious instruction in a test attachment and verify the application ignores its tool requests. Other Answers B:Instruction-like text inside lower-trust sources should not be promoted to executable directives. In the stated system, task data can contain imperative language, but it must not gain trusted-instruction authority. C:Sampling controls alter generation variation, not the trust boundary between data and instructions. In the stated system, task data can contain imperative language, but it must not gain trusted-instruction authority. D:Role placement distinguishes application instructions from task-specific user content. By contrast, task data can contain imperative language, but it must not gain trusted-instruction authority.
Question 903An invoice extractor treats a quoted email attachment instructing it to override the schema as if the attachment were a system directive. How should the implementation be tested against this failure? Replay a malicious tool result at multiple temperatures and verify no unauthorized action occurs. Embed an attacker instruction in a harmless fixture and confirm no network tool call is made. Send a later user turn asking to ignore policy and confirm the system still enforces its application controls. Place a malicious instruction in a test attachment and verify the application ignores its tool requests. ExplanationCorrect Answer D:Place a malicious instruction in a test attachment and verify the application ignores its tool requests. This directly checks whether the proposed action occurred: Clearly delimit untrusted attachment text and enforce the schema and permissions outside the model. The relevant mechanism is: Task data can contain imperative language, but it must not gain trusted-instruction authority. Other Answers A:Sampling controls alter generation variation, not the trust boundary between data and instructions. Proving this correction calls for a check to place a malicious instruction in a test attachment and verify the application ignores its tool requests. B:Instruction-like text inside lower-trust sources should not be promoted to executable directives. A more meaningful verification is to place a malicious instruction in a test attachment and verify the application ignores its tool requests. C:Role placement distinguishes application instructions from task-specific user content. The relevant acceptance check is to place a malicious instruction in a test attachment and verify the application ignores its tool requests.
Question 904An invoice extractor treats a quoted email attachment instructing it to override the schema as if the attachment were a system directive. What durable design rule should be enforced? Include prompt-injection documents in every format and tool-use evaluation suite. Version trusted instructions and back them with executable authorization checks. Prioritize trust boundaries and tool permissions rather than tuning creativity for security. Test input-boundary and outbound-tool controls with adversarial structured documents. ExplanationCorrect Answer A:Include prompt-injection documents in every format and tool-use evaluation suite. This maintains the fix beyond the immediate incident. The underlying issue is that task data can contain imperative language, but it must not gain trusted-instruction authority. The immediate corrective action remains: Clearly delimit untrusted attachment text and enforce the schema and permissions outside the model. Other Answers B:Role placement distinguishes application instructions from task-specific user content. Reducing this risk requires a practice to include prompt-injection documents in every format and tool-use evaluation suite. C:Sampling controls alter generation variation, not the trust boundary between data and instructions. The lasting safeguard is to include prompt-injection documents in every format and tool-use evaluation suite. D:Instruction-like text inside lower-trust sources should not be promoted to executable directives. The stronger recurring control is to include prompt-injection documents in every format and tool-use evaluation suite.
Question 905A prompt asks Claude to summarize a contract and produce a risk score but does not define which evidence or scoring rubric is permitted. What is the most defensible fix under these conditions? Specify the requested output structure, required fields, and failure behavior, then use schema validation. Tell it to cite authorized evidence or state uncertainty, and implement retrieval authorization and value checks. Specify the scoring criteria, authoritative source scope, and explicit abstention for unsupported judgments. Separate style preferences from mandatory content obligations, prioritizing required evidence and fields. ExplanationCorrect Answer C:Undefined criteria encourage inconsistent implicit assumptions and unverifiable output. To confirm, evaluate two identical contracts and confirm the score derives from the stated rubric and citations. Other Answers A:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. The required change instead is to specify the scoring criteria, authoritative source scope, and explicit abstention for unsupported judgments. B:Prompted caution can help communication but does not create missing evidence or tools. A more relevant action is to specify the scoring criteria, authoritative source scope, and explicit abstention for unsupported judgments. D:Surface brevity should not override the application contract for evidence-backed explanations. The required change instead is to specify the scoring criteria, authoritative source scope, and explicit abstention for unsupported judgments.
Question 906A prompt asks Claude to summarize a contract and produce a risk score but does not define which evidence or scoring rubric is permitted. Which engineering principle most directly fits these observations? Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. Surface brevity should not override the application contract for evidence-backed explanations. Prompted caution can help communication but does not create missing evidence or tools. Undefined criteria encourage inconsistent implicit assumptions and unverifiable output. ExplanationCorrect Answer D:Undefined criteria encourage inconsistent implicit assumptions and unverifiable output. This is why the appropriate action is to specify the scoring criteria, authoritative source scope, and explicit abstention for unsupported judgments. The expected evidence is: Evaluate two identical contracts and confirm the score derives from the stated rubric and citations. Other Answers A:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. In the stated system, undefined criteria encourage inconsistent implicit assumptions and unverifiable output. B:Surface brevity should not override the application contract for evidence-backed explanations. In the stated system, undefined criteria encourage inconsistent implicit assumptions and unverifiable output. C:Prompted caution can help communication but does not create missing evidence or tools. In the stated system, undefined criteria encourage inconsistent implicit assumptions and unverifiable output.
Question 907A prompt asks Claude to summarize a contract and produce a risk score but does not define which evidence or scoring rubric is permitted. Which evidence distinguishes success from an unverified claim? Run a complex regulated fixture and verify citations and decision rationale survive concise formatting. Submit missing-data examples and confirm the output follows shape and nonfabrication requirements. Evaluate two identical contracts and confirm the score derives from the stated rubric and citations. Ask about a nonexistent server and verify a truthful unavailable-data response. ExplanationCorrect Answer C:Evaluate two identical contracts and confirm the score derives from the stated rubric and citations. This directly checks whether the proposed action occurred: Specify the scoring criteria, authoritative source scope, and explicit abstention for unsupported judgments. The relevant mechanism is: Undefined criteria encourage inconsistent implicit assumptions and unverifiable output. Other Answers A:Surface brevity should not override the application contract for evidence-backed explanations. Proving this correction calls for a check to evaluate two identical contracts and confirm the score derives from the stated rubric and citations. B:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. Proving this correction calls for a check to evaluate two identical contracts and confirm the score derives from the stated rubric and citations. D:Prompted caution can help communication but does not create missing evidence or tools. A more meaningful verification is to evaluate two identical contracts and confirm the score derives from the stated rubric and citations.
Question 908A prompt asks Claude to summarize a contract and produce a risk score but does not define which evidence or scoring rubric is permitted. Which preventive measure best fits this case? Keep prompt format contracts under version control with parser regression tests. Include unknown-answer and missing-tool tests in the prompt release rubric. Treat mandatory domain fields as schema obligations rather than optional tone preferences. Version rubrics and track unsupported or disputed scoring decisions. ExplanationCorrect Answer D:Version rubrics and track unsupported or disputed scoring decisions. This maintains the fix beyond the immediate incident. The underlying issue is that undefined criteria encourage inconsistent implicit assumptions and unverifiable output. The immediate corrective action remains: Specify the scoring criteria, authoritative source scope, and explicit abstention for unsupported judgments. Other Answers A:Clear format instructions reduce ambiguity, while code validation ensures the consumer gets the expected contract. The lasting safeguard is to version rubrics and track unsupported or disputed scoring decisions. B:Prompted caution can help communication but does not create missing evidence or tools. The stronger recurring control is to version rubrics and track unsupported or disputed scoring decisions. C:Surface brevity should not override the application contract for evidence-backed explanations. The lasting safeguard is to version rubrics and track unsupported or disputed scoring decisions.
Question 909A sales assistant appends customer data before the reusable system prompt and prompt cache hits collapse across otherwise identical requests. Which change should the team prioritize for this problem? Place durable trusted behavior rules in the appropriate system instruction layer and keep user inputs separate. Correct the examples to use null or unknown markers and enforce the missing-data contract. Place stable instructions and examples before variable customer-specific content when caching is supported. Add a small targeted few-shot example that demonstrates the specific difficult boundary. ExplanationCorrect Answer C:Cacheable leading prompt segments must match across requests for prefix reuse. To confirm, compare cache usage counters for both layouts on repeated distinct customers. Other Answers A:Role placement distinguishes application instructions from task-specific user content. A more relevant action is to place stable instructions and examples before variable customer-specific content when caching is supported. B:Few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. The required change instead is to place stable instructions and examples before variable customer-specific content when caching is supported. D:Examples are most useful when they illustrate the error condition, not when they pad the prompt. A more relevant action is to place stable instructions and examples before variable customer-specific content when caching is supported.
Question 910A sales assistant appends customer data before the reusable system prompt and prompt cache hits collapse across otherwise identical requests. Why is the recommended intervention appropriate here? Few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. Cacheable leading prompt segments must match across requests for prefix reuse. Role placement distinguishes application instructions from task-specific user content. Examples are most useful when they illustrate the error condition, not when they pad the prompt. ExplanationCorrect Answer B:Cacheable leading prompt segments must match across requests for prefix reuse. This is why the appropriate action is to place stable instructions and examples before variable customer-specific content when caching is supported. The expected evidence is: Compare cache usage counters for both layouts on repeated distinct customers. Other Answers A:Few-shot examples teach the model patterns, including undesirable fabrication if they demonstrate it. By contrast, cacheable leading prompt segments must match across requests for prefix reuse. C:Role placement distinguishes application instructions from task-specific user content. By contrast, cacheable leading prompt segments must match across requests for prefix reuse. D:Examples are most useful when they illustrate the error condition, not when they pad the prompt. By contrast, cacheable leading prompt segments must match across requests for prefix reuse.