Question 10 A model extracts dates consistently from English invoices but fails on European day-month formats. What should examples add? Only more US-format dates. A direction to ignore ambiguous dates silently. Locale-diverse dates with normalized ISO outputs and explicit ambiguity handling. An arbitrary default month for every number. Explanation Correct Answer C:Examples should cover the format variation causing errors. Incorrect Answers A:Those do not teach day-month parsing. B:Silent omission hides source uncertainty. D:Guessed conversions can be wrong.
Question 11 A team repeatedly requests the same structured release-note format. What Claude Code extension is a natural reusable entry point? A command that modifies all repository files automatically. A new global system prompt pasted manually every time. A production deploy tool triggered whenever the word release appears. A project skill or custom command invoked by an explicit slash name. Explanation Correct Answer D:Reusable workflow instructions avoid rewriting the same prompt for each release. Incorrect Answers A:The stated task is document generation, not broad code mutation. B:Manual repetition is harder to maintain and standardize. C:Formatting release notes does not authorize deployment.
Question 12 A service workflow must finish with exactly one customer notification even if downstream steps are retried. How should the final handoff work? Erase delivery state after each attempt. Make notification delivery idempotent using a durable event identifier and confirmed status. Ask the language model to promise it will never retry. Send a new notification on every workflow poll. Explanation Correct Answer B:Retries cannot create duplicate notifications when the side effect is deduplicated. Incorrect Answers A:Without durable state, a retry cannot distinguish new from already delivered work. C:Network and process failures can produce repeated submissions independent of intent. D:Polling is not a unique business event.
Question 13 An assistant regularly overfills its context with old command output. What compaction rule best retains reliability? Always delete all source references. Treat abbreviated notes as authorization for new actions. Keep stable facts, source references, verified results and unresolved decisions; discard redundant raw output that can be re-read. Keep only the most recent model response. Explanation Correct Answer C:A source-backed operational summary is more useful than an unbounded transcript. Incorrect Answers A:The next session cannot verify claims. B:Context compression cannot grant permissions. D:That may omit durable constraints and unfinished work.
Question 14 An MCP tool works interactively but fails in CI because its server expects an interactive login. What is the deployment issue? The agent’s final response is too short. The tool description uses the word server. The prompt contains insufficient enthusiasm. The noninteractive runner lacks a supported authentication and startup path. Explanation Correct Answer D:CI needs explicit service identity or appropriate environment credentials. Incorrect Answers A:Length is unrelated to server startup. B:Naming does not explain the authentication dependency. C:Instructions cannot complete an unavailable interactive login.
Question 15 Claude Code implements a parser, then the test suite reports one failing edge case. What should the next iteration use as its primary input? A new broad prompt that discards the failure output. A complete repository rewrite regardless of the failed assertion. An assumption that the test was wrong because code compiled. The specific failure trace and current code to make a focused correction. Explanation Correct Answer D:Evidence-driven iteration avoids unrelated rewrites. Incorrect Answers A:Without the failing case, the agent may repeat the defect. B:A targeted failure rarely justifies wholesale mutation. C:Compilation does not guarantee behavior.
Question 16 An agent must call a payment-check tool with customer_id and period fields. What helps guarantee the shape of tool arguments? Use the tool input schema with strict validation when supported. Infer parameters from the final prose after executing the call. Remove the customer identifier requirement. Allow arbitrary nested objects and guess field meanings. Explanation Correct Answer A:Typed tool inputs prevent missing or malformed parameters reaching the business operation. Incorrect Answers B:Validation after execution is too late. C:The backend still needs to know which account to inspect. D:Unbounded schemas weaken integration reliability.
Question 17 A research worker finds contradictory census figures and wants to change the whole report’s conclusion. What is the appropriate authority boundary? Return the conflict and evidence to the coordinator for cross-source adjudication. Stop all other workers without examining their results. Allow the worker to bypass all other evidence and publish directly. Hide the conflict so the report remains consistent. Explanation Correct Answer A:A specialist should report its findings rather than unilaterally rewrite a global conclusion. Incorrect Answers B:Other work may help resolve the discrepancy and should not be discarded. C:Single-worker authority breaks the coordinator’s synthesis responsibility. D:Suppressing contradictory sources would mislead readers.
Question 18 A tool_choice setting forces use of one extraction tool for an email that needs only a greeting. What is the design problem? The model cannot ever produce a text-only answer. Overconstrained tool selection is creating unnecessary calls for tasks that need no tool. The extraction tool should gain write permissions. A greeting necessarily requires document extraction. Explanation Correct Answer B:Forced tool usage should be limited to requests where evidence or action is required. Incorrect Answers A:Text-only responses are possible when tool choice permits them. C:Additional rights do not fix overuse. D:No document evidence is needed for this request.
Question 19 A command called /prepare-release unexpectedly publishes artifacts. What should its name and contract make clear? That publication logs can be discarded. That all commands implicitly publish by default. Whether it only prepares a release or performs the separate authorized publication action. That command names need not reflect their behavior. Explanation Correct Answer C:User invocation must not conceal an irreversible external side effect. Incorrect Answers A:Traceability remains necessary for deployment workflows. B:A generic slash invocation is not consent for release. D:Misleading names cause unintended operations.
Question 20 A report agent receives partial results from three subtasks, one of which timed out. What should it do? Treat the timeout as a negative finding. Mark that segment incomplete and present only verified conclusions, including the timeout. Report all three as fully completed because two succeeded. Copy the preceding segment’s conclusion into the missing one. Explanation Correct Answer B:Partial aggregation must not imply comprehensive coverage. Incorrect Answers A:No result is not evidence of absence. C:That misstates completeness. D:That creates unsupported content.