Question 160
A document-extraction service must report the state of every processed page. A required identity field is missing from the extracted record. Which approach satisfies the stated constraint?
- Return an explicit missing-required-field failure
- Return valid page results and flag page nine for targeted correction
- Return expected and observed totals with a validation-failure code
- Report passed, failed, and needs-review counts separately
- Use document identity to prevent reuse of unrelated cached outputs
Explanation
Correct Answer
A:A ledger-ready record must satisfy required business fields; a syntactically partial result cannot silently pass to commit.
Incorrect Answers
B:This measure fits a different trigger: eight pages are parsed, but page nine contains unreadable characters. In that setting, Page-level status avoids losing successful extraction while preventing the unreadable page from being misrepresented as verified; it does not resolve the present need to block automatic posting of incomplete data.
C:Specific diagnostics help corrective steps distinguish arithmetic conflict from parser failure or missing pages; this is useful for a semantic validator detects inconsistent tax arithmetic, but it leaves the stated requirement to block automatic posting of incomplete data unmet.
D:Accurate status aggregation ensures that human-review items remain visible instead of being included in successful automation totals; it protects against the case where a final report says all invoices passed even though a few were escalated, rather than the failure described here: a required identity field is missing from the extracted record.
E:Cached success for a different input is not a valid substitute; identity-bound artifacts prevent accidental data contamination; that applies when a conversion worker crashes but a coordinator has cached its last successful output from another document, whereas this case requires a response to a required identity field is missing from the extracted record.
Question 161
A research MCP server uses structured errors and pagination. An upstream search endpoint times out after several seconds. Which mechanism should be selected?
- Return successful index results plus per-source error statuses
- Return a distinct expired-cursor error with a restart strategy
- Return an unsupported-format status with the detected media type
- Return a timeout category with correlation ID and bounded retry guidance
Explanation
Correct Answer
D:Time limits protect system capacity; reporting an empty search result would conceal that no reliable search completed.
Incorrect Answers
A:A mixed outcome should retain usable evidence while informing the coordinator that coverage is incomplete; that applies when only one of five federated indexes fails while others succeed, whereas this case requires a response to an upstream search endpoint times out after several seconds.
B:This measure fits a different trigger: a returned cursor has expired between paginated requests. In that setting, An invalid cursor is not 'no more results'; preserving the error prevents a partial search from appearing complete; it does not resolve the present need to preserve timeout as a failure mode.
C:A format mismatch needs a different parser or workflow, not repeated identical calls to an unavailable feature; this is useful for an article is accessible but its content type is not supported by the parser, but it leaves the stated requirement to preserve timeout as a failure mode unmet.
Question 162
An engineering organization maintains Claude Code commands and Skills. The team wants Claude to choose a documentation procedure when a related task appears. What should be implemented at the appropriate boundary?
- Update references and run a small invocation test
- Keep the project's command or skill files under repository review
- Make the long routine explicitly invocable rather than persistent root memory
- Describe when the skill should be used and its expected workflow
Explanation
Correct Answer
D:A clear purpose helps capability discovery; a generic name and vague summary can cause missed or incorrect invocation.
Incorrect Answers
A:Reusable workflows depend on accessible files; broken references cause failures even if the top-level description is correct; that applies when a Skill refers to resources moved during a repository refactor, whereas this case requires a response to the team wants Claude to choose a documentation procedure when a related task appears.
B:This measure fits a different trigger: a project-specific release command should be reviewed with code changes. In that setting, A reviewed definition lets the team examine behavior changes and use the same release routine across contributors; it does not resolve the present need to give a skill a discriminating description.
C:Optional procedures belong in reusable commands or Skills; always-loaded instructions should stay concise and broadly relevant; it protects against the case where a custom command contains a long fixed prompt that every task automatically loads, rather than the failure described here: the team wants Claude to choose a documentation procedure when a related task appears.
Question 163
A research agent must explore conflicting hypotheses with limited resources. An initial article may reveal unknown organizations that require follow-up queries. Which option best meets the operational need?
- Assign explicit confirmation and challenge tasks before the final synthesis
- Track completed task intents and reuse valid existing findings
- Allow a bounded agent loop to generate follow-ups from validated findings
- Enumerate documents and allocate bounded extraction tasks to each
Explanation
Correct Answer
C:Uncertain discovery benefits from adaptive next steps; the budget and tools still require host control. The relevant requirement is to use evidence-driven branching in discovery, and this measure operates at that decision point.
Incorrect Answers
A:Separate search objectives reduce confirmation bias and give the coordinator grounds to compare conflicting material; this is useful for an answer requires independently checking both supportive and contradictory evidence, but it leaves the stated requirement to use evidence-driven branching in discovery unmet.
B:Deduplicating work prevents an apparent multi-agent design from simply repeating the same investigation; that applies when the coordinator keeps asking new workers for the same question, whereas this case requires a response to an initial article may reveal unknown organizations that require follow-up queries.
D:This measure fits a different trigger: the search space has a fixed list of ten known documents. In that setting, A finite inventory can be processed predictably without an autonomous planner deciding what to look at next; it does not resolve the present need to use evidence-driven branching in discovery.
Question 164
A support team exposes several similar billing tools through an MCP server. A refund tool accepts order IDs but its schema describes an untyped free-form string. What is the most appropriate design choice?
- Declare meaningful JSON Schema types, required fields, and relevant constraints
- Return a concise typed result with the required fields and stable meanings
- Write descriptions stating purpose, side effects, eligibility, and safe-use boundaries
- Differentiate names, descriptions, required inputs, and result semantics by real capability
Explanation
Correct Answer
A:Clear argument schemas improve generated calls and let the host reject malformed or missing identifiers before sensitive execution.
Incorrect Answers
B:A narrow result format saves context and keeps downstream reasoning focused on validated data rather than incidental service metadata; it protects against the case where a tool returns a large raw object although callers need just three fields, rather than the failure described here: a refund tool accepts order IDs but its schema describes an untyped free-form string.
C:This measure fits a different trigger: Claude often confuses a read-only balance lookup with a credit-issuance action. In that setting, Tool descriptions guide model selection; explicit mutation semantics reduce accidental use of a credit action for an informational request; it does not resolve the present need to make parameter requirements machine-checkable.
D:Precise boundaries are more effective than extra prompt reminders when Claude must select between overlapping functions; that applies when two tools have nearly identical names and descriptions despite different output formats, whereas this case requires a response to a refund tool accepts order IDs but its schema describes an untyped free-form string.
Question 165
A multi-agent study summarizes academic papers and compares their claims. A paper has a methods section that must be checked before its conclusion is summarized. Which response is most reliable?
- Make methods extraction a prerequisite for the evaluation stage
- Create a conflict record containing both definitions and their source contexts
- Block publication of claims lacking linked evidence or flag them for review
- Cache safe read-only metadata results keyed by source and version
- Attach a document identifier and version to evidence handed to the writer
Explanation
Correct Answer
A:A conclusion without methods context can overstate reliability; dependency ordering preserves critical evaluation evidence.
Incorrect Answers
B:Numerical reconciliation is not meaningful if the measurements refer to different constructs; definitions must be resolved first; that applies when a review worker finds two incompatible definitions of the same metric, whereas this case requires a response to a paper has a methods section that must be checked before its conclusion is summarized.
C:A synthesis should not invent authority; a claim-to-source mapping makes unsupported assertions detectable; this is useful for the final report contains a claim that no specialist can support, but it leaves the stated requirement to force methods review ahead of conclusions unmet.
D:Reusing verified immutable metadata reduces repeated calls without treating dynamic or personalized search results as permanently correct; it protects against the case where the research workload includes ten identical metadata lookups, rather than the failure described here: a paper has a methods section that must be checked before its conclusion is summarized.
E:This measure fits a different trigger: search and synthesis agents disagree over which paper version they cited. In that setting, Versioned citations prevent claims from drifting when preprints or revised papers differ in important findings; it does not resolve the present need to force methods review ahead of conclusions.
Question 166
An internal knowledge system is being exposed through the Model Context Protocol. The assistant needs to read the contents of a stable policy document. What should the team do to resolve this particular gap?
- Expose the query as an MCP tool with a defined input schema
- Publish a parameterized MCP prompt for the triage workflow
- Handle MCP content blocks according to their declared type instead of flattening everything to text
- Expose the document as an MCP resource with suitable identity and content type
Explanation
Correct Answer
D:Resources are suited to retrievable data; they do not by themselves encode an arbitrary side-effecting invocation. The relevant requirement is to publish reference content without treating it as an action, and this measure operates at that decision point.
Incorrect Answers
A:This measure fits a different trigger: Claude must actively run a database query with parameters. In that setting, Tools are callable actions with arguments; a parameterized database operation is not just a static document resource; it does not resolve the present need to publish reference content without treating it as an action.
B:Prompts package reusable instructions and messages, whereas a tool would imply executable service behavior; this is useful for a team wants a reusable suggested workflow template for incident triage, but it leaves the stated requirement to publish reference content without treating it as an action unmet.
C:Typed content lets a client interpret data faithfully and prevents binary or structured outputs from being silently mangled; that applies when a connection returns JSON records and images through multiple content parts, whereas this case requires a response to the assistant needs to read the contents of a stable policy document.
Question 167
A multi-agent research controller launches short-lived specialists. A writing specialist receives the entire private search history, including unrelated leads. Which control is most directly relevant?
- Require status, result, and unresolved-work fields in each worker handoff
- Assign each worker a purpose-specific allowed-tool set
- Pass a curated task brief and the approved evidence only
- Set agent-level execution limits and monitor per-task consumption
Explanation
Correct Answer
C:Specialized workers benefit from an explicit information boundary; inherited unrelated history can confuse task scope and expose sensitive data.
Incorrect Answers
A:A typed completion status allows the parent to distinguish finished evidence collection from a partial exploratory result; that applies when the coordinator cannot tell whether a worker finished or merely started searching, whereas this case requires a response to a writing specialist receives the entire private search history, including unrelated leads.
B:This measure fits a different trigger: a finance analyst must not obtain the searcher's CRM write tool. In that setting, Tool permissions should follow delegated duties, not the maximum privileges of the parent or another worker; it does not resolve the present need to avoid unnecessary shared conversation history.
D:Budget limits stop a narrow delegated task from silently exhausting the resources allocated to the entire orchestration; this is useful for a worker is likely to call an expensive external tool excessively, but it leaves the stated requirement to avoid unnecessary shared conversation history unmet.
Question 168
A software team builds a two-pass architecture for Claude-generated code changes. The reviewer says 'looks good' without checking the actual diff. How should the workflow be adjusted?
- Compare both claims to the public API contract and escalate unresolved risk
- Return specific failing criteria and request a bounded patch update
- Require maintainer authorization after automated review and testing
- Provide the concrete patch, affected code, and measurable review checklist
Explanation
Correct Answer
D:A reviewer needs artifact evidence and evaluation standards to assess behavior, not a vague description from the writer.
Incorrect Answers
A:Conflicting model opinions should be resolved using independent criteria and executable evidence, not majority fluency; that applies when two reviewers produce conflicting assessments of a breaking API change, whereas this case requires a response to the reviewer says 'looks good' without checking the actual diff.
B:A corrective loop improves only if the generator receives actionable evidence rather than a generic negative verdict; this is useful for a reviewer flags missing tests but the generator reruns without using the feedback, but it leaves the stated requirement to make reviewer criteria and inputs explicit unmet.
C:Automation may gather evidence, but the stated governance rule makes a person accountable for promotion to production; it protects against the case where the final release decision must be owned by a named maintainer, rather than the failure described here: the reviewer says 'looks good' without checking the actual diff.
Question 169
A document agent selects tools based on the phase of work. A PDF has already been parsed and needs only schema validation. Which implementation decision is the best fit?
- Make file-type detection available without enabling write or submission tools
- Allow targeted page reads rather than forcing a full-document re-extraction
- Use a dedicated schema checker on the extracted object
- Apply a workflow state gate before exposing the final submission action
Explanation
Correct Answer
C:Validation checks structure and semantics of existing data; another extraction pass does not directly prove that the object satisfies the contract.
Incorrect Answers
A:This measure fits a different trigger: the team is exploring file types before deciding how to parse them. In that setting, Discovery should determine the appropriate downstream parser without changing the source document or external records; it does not resolve the present need to select the validator rather than reparse the original.
B:The narrowest retrieval operation reduces cost and avoids perturbing already verified fields from unrelated pages; that applies when a correction requires retrieving one missing page from a previously parsed document, whereas this case requires a response to a PDF has already been parsed and needs only schema validation.
D:A phase-aware grant keeps irreversible posting separate from exploration and validation; this is useful for a record passes validation and needs to be submitted to a ledger, but it leaves the stated requirement to select the validator rather than reparse the original unmet.
Question 170
An MCP service encounters errors while fetching customer records. A requested account number is well formed but does not exist. What should the architect specify in the design?
- Return a structured rate-limit error and retry-after guidance
- Return a structured validation error identifying the affected field
- Return a permission-denied outcome and require an authorized path
- Classify the issue as transient unavailable and provide a safe diagnostic identifier
- Return a distinct not-found status without recommending blind retries
Explanation
Correct Answer
E:A genuinely missing resource is different from transient infrastructure failure; retrying unchanged identifiers adds load without resolving it.
Incorrect Answers
A:This measure fits a different trigger: a backend returns HTTP 429 with a retry window. In that setting, Throttling is transient and should be handled with bounded delay, not treated as an absent customer record; it does not resolve the present need to report a terminal not-found outcome.
B:A field-specific error supports a corrected retry, whereas generic failure text makes it hard to choose an appropriate next action; it protects against the case where an invalid date format fails argument validation before tool execution, rather than the failure described here: a requested account number is well formed but does not exist.
C:A permission error cannot be fixed by repeating the same call; it needs identity correction or escalation without leaking account details; that applies when a tool call is rejected because the caller lacks access to the account, whereas this case requires a response to a requested account number is well formed but does not exist.
D:Clear error categorization lets orchestration retry selectively while keeping internal stack traces out of model-facing content; this is useful for a database loses connectivity during a lookup, but it leaves the stated requirement to report a terminal not-found outcome unmet.