Question 330 A pipeline processes ten independent invoices with a known fixed extract-validate-post sequence. What orchestration is proportionate? Validate only the final aggregate total. A new autonomous planning agent for every extraction field. One giant model call combining all invoices without record IDs. A deterministic per-invoice pipeline with parallel jobs and explicit validation gates. Explanation Correct Answer D:The steps are known and do not require a free-form planner on every invoice. Incorrect Answers A:Each invoice needs field-level checks before posting. B:Extra agents add overhead without resolving a planning ambiguity. C:Mixing cases risks cross-record contamination and makes recovery harder.
Question 331 A CI job asks Claude Code to review every commit in full, but costs rise rapidly. What is a targeted optimization? Scope analysis to changed files and relevant dependency context, with a bounded model budget. Send the entire monorepo repeatedly regardless of changes. Run a new review loop forever until the budget is exhausted. Omit the patch and guess the likely changes. Explanation Correct Answer A:The patch and affected interfaces usually carry the review signal. Incorrect Answers B:Full duplication consumes unnecessary context and money. C:Unbounded repetition is inefficient and can create duplicate comments. D:Review needs the actual current diff.
Question 332 An architecture proposal is modified after both reviewers approve it. What is necessary before carrying the approval forward? Delete the change history. Assume changing one sentence cannot affect the threat model. Reuse the earlier approval unchanged regardless of modifications. Recheck the changed claims and affected design decisions against current evidence. Explanation Correct Answer D:Review evidence applies to the version actually inspected, not arbitrary later edits. Incorrect Answers A:Version traceability is needed for accurate release decisions. B:Small wording changes can change requirements or authorization. C:The prior reviews may no longer cover the edited design.
Question 333 An agent reads contradictory dates from two official project documents and must submit a regulatory filing. What is the right escalation? Use whichever document has more pages. Blend the dates into an average. Flag the date conflict with citations and request authoritative resolution before filing. Submit both dates in a single field without explanation. Explanation Correct Answer C:A high-consequence unresolved factual conflict needs an owner decision. Incorrect Answers A:Length does not determine accuracy. B:An average is not a valid filing date. D:That makes the filing ambiguous.
Question 334 A medical literature team needs two workers to search different databases and a third to compare clinical evidence. How should the workflow order these steps? Run independent retrievals concurrently, then compare after their evidence is available. Ask the report writer to fabricate citations until retrieval finishes. Force one database search to wait for the other without a dependency. Run the comparator before either search returns. Explanation Correct Answer A:Evidence synthesis is dependent on both retrieval outputs, while searches can proceed in parallel. Incorrect Answers B:Placeholders can be mistaken for verified evidence. C:Artificial serialization adds latency. D:It cannot evaluate findings it has not received.
Question 335 A tool accepts amount without a currency unit and creates inconsistent reimbursements. Which input-schema improvement is highest priority? Require amount and an explicit ISO currency code with range checks. Always multiply amount by 100 without knowing units. Record the ambiguity only after the payment posts. Guess the currency from the user’s language. Explanation Correct Answer A:Financial magnitude must be interpreted in known units before an irreversible transfer. Incorrect Answers B:Blind conversion can create 100x errors. C:Late logging cannot prevent incorrect funds transfer. D:Language is not a reliable transaction currency.
Question 336 A document classifier emits a category outside the approved five-value taxonomy. What should the downstream application do? Create a new category automatically for every answer. Reject the out-of-enum value and request a bounded schema-conformant correction. Route the document to the most privileged queue. Treat any arbitrary nonempty string as a valid category. Explanation Correct Answer B:Taxonomy enforcement keeps downstream routing deterministic. Incorrect Answers A:Uncontrolled labels break reporting and workflow policy. C:A parsing failure is not authorization. D:That defeats the controlled taxonomy.
Question 337 An automated code-review bot predicts a severe bug but offers no reproducer, relevant line or affected input. How should it be handled? Block every release indefinitely on unsupported speculation. Request concrete evidence or a focused test before treating it as a release blocker. Label the bug proven because the severity sounds serious. Delete all future security findings. Explanation Correct Answer B:Calibrated review separates hypothesis from established defect. Incorrect Answers A:A finding without evidence cannot justify an unconditional veto. C:Severity language is not verification. D:A weak report does not eliminate the need for review.
Question 338 A coordinator receives partial outputs from a timed-out specialist, while other specialists are complete. What should the orchestrator do? Mark the partial branch incomplete and retry or escalate that branch without discarding unaffected findings. Treat the timeout as proof that all branches failed. Label the partial worker’s claims fully verified. Silently omit the missing portion from the final answer. Explanation Correct Answer A:Scoped recovery limits the blast radius and makes the report’s gaps explicit. Incorrect Answers B:Failure in one specialist need not invalidate independent completed work. C:Timeout leaves coverage and completeness unconfirmed. D:A required subtask needs recovery or an explicit limitation.
Question 339 A security review discovers that an MCP server can execute shell scripts not needed for document lookup. What should the team do? Narrow tool exposure to document operations and remove or gate unrelated shell privileges. Tell the model that shell scripts are probably safe. Leave script execution exposed because it is convenient. Hide the script tool from documentation but keep it callable. Explanation Correct Answer A:Least-privilege server design limits the consequences of wrong tool selection. Incorrect Answers B:A prompt does not enforce capability boundaries. C:Unnecessary write or execution powers increase risk. D:Undocumented capability is still available to the runtime.
Question 340 The repository root specifies TypeScript strict mode, while a nested legacy migration directory documents a temporary exception. What should Claude Code do when working inside that directory? Apply the legacy exception to every package in the monorepo. Apply relevant root guidance together with the more specific scoped exception when compatible. Ignore the exception and silently rewrite the migration files. Ignore all root security rules because a nested file exists. Explanation Correct Answer B:Hierarchical context allows local, narrowly targeted behavior without weakening unrelated code. Incorrect Answers A:A narrow exception should not become global policy. C:That would disregard context established for the affected subtree. D:Local guidance is not a blanket deletion of higher-level requirements.