Question 160 A project CLAUDE.md grows to 8,000 lines of detailed API examples, increasing context load. What should its owner do? Keep concise universal conventions in CLAUDE.md and move specialized references into scoped rules or skills. Rely on the model to infer the team’s style from filenames. Add every historical incident transcript to the top of CLAUDE.md. Delete all project-specific instructions. Explanation Correct Answer A:Modular guidance reduces irrelevant context while preserving discoverability. Incorrect Answers B:Implicit inference is not a dependable substitute for explicit policy. C:More unrelated text increases attention overhead. D:Critical build and safety conventions would be lost.
Question 161 An integration receives a success HTTP status but the tool result identifies the requested object as not found. What is the correct interpretation? Inspect the operation-level result contract and treat the missing object as an application failure. Treat any 2xx status as proof the object exists. Discard the response body without examination. Invent an object ID to fill the response. Explanation Correct Answer A:Transport success does not guarantee that the requested domain operation succeeded. Incorrect Answers B:The payload may contain an application-level error. C:That loses the actual outcome. D:An invented identifier cannot resolve a missing record.
Question 162 An agent must find all occurrences of calculateTax in source files, not simply list filenames. Which built-in tool should it prefer? Glob alone with a filename wildcard. Write to place a new comment in each file. Grep to search file contents for the symbol. Edit without identifying a file or exact match. Explanation Correct Answer C:Content search answers where a function name appears. Incorrect Answers A:A path matcher cannot find references inside files. B:Mutation is unnecessary for locating existing code. D:A targeted edit needs a located place first.
Question 163 A search tool returns 600 candidate files for a symbol. How should the agent refine discovery? Discard all results and assert the symbol is unused. Paste all 600 files into one prompt. Pick an arbitrary match without examining imports. Filter by package, extension and call-site usage, then inspect a bounded set of authoritative matches. Explanation Correct Answer D:Progressive narrowing controls context and improves relevance. Incorrect Answers A:A broad search yielded evidence of usage. B:That risks truncation and losing key evidence. C:The symbol may be unrelated.
Question 164 A rule for vendor lockfiles matches package.json but not package-lock.json. Why could this be harmful? Lockfiles should always be excluded from source control. Path rules can never match generated files. The UI theme will change unexpectedly. The generated lockfile could be modified without the intended review boundary. Explanation Correct Answer D:Selectors must cover all files for which the convention is mandatory. Incorrect Answers A:Many projects version lockfiles for reproducibility. B:Whether they match depends on the pattern. C:The issue concerns rule coverage, not interface styling.
Question 165 A developer reports that the exam guide mentions a Task tool but the installed Claude SDK exposes an Agent tool. What is the safest implementation decision? Disable all tool permission checks. Assume the older guide naming always overrides runtime APIs. Follow the actual installed SDK tool schema and document the version naming difference. Hard-code both names into every request regardless of availability. Explanation Correct Answer C:Tool names can evolve; runtime integration must use names supported by the deployed version. Incorrect Answers A:Capability gating remains necessary even when a tool is renamed. B:Reference learning materials do not change what an installed SDK accepts. D:Calling nonexistent tools causes errors and can obscure the real integration issue.
Question 166 A batch API returns records in a different order from the submitted requests. How should the consumer map outcomes? Attach the first output to the first input unconditionally. Assign outputs to arbitrary unprocessed tickets. Join each result to its input using the stable request identifier, not array position. Sort by answer length to estimate matching. Explanation Correct Answer C:Asynchronous processing can change completion order. Incorrect Answers A:Positional joining can silently mix customers. B:This destroys provenance. D:Length carries no reliable identity.
Question 167 A CRM MCP tool is called with a nonexistent customer identifier. The transport and JSON-RPC request both succeed. How should the tool express the business failure? Return a tool result with an error indicator and a clear not-found message. Terminate the MCP connection on every missing ID. Erase the original request from the conversation. Return a fabricated empty customer as successful. Explanation Correct Answer A:A tool-level isError response lets the model distinguish absence from transport failure. Incorrect Answers B:An expected lookup miss is not necessarily a protocol transport fault. C:Losing context prevents correction of the identifier. D:A false success can trigger actions against nonexistent data.
Question 168 A security reviewer must inspect code without being permitted to change it. Which permission posture fits? A default to destructive commands for diagnostic speed. Publishing code to a public paste service. A read-only planning or review mode with write tools unavailable. Full write and deploy access with a conversational warning. Explanation Correct Answer C:Capability restrictions protect the repository during an inspection-only task. Incorrect Answers A:Inspection does not require mutation. B:External disclosure is unrelated and may expose proprietary material. D:Prompt guidance is not a strong write boundary.
Question 169 A multi-agent report covers every intended subtopic but repeats whole paragraphs from parallel workers. Which architecture adjustment fits? Delete one entire worker’s findings regardless of uniqueness. Prohibit parallelism for all future reports. Accept duplicated text as proof of independent consensus. Have the coordinator consolidate overlapping evidence and direct synthesis to produce one nonredundant narrative. Explanation Correct Answer D:Integration must de-duplicate related findings after parallel work. Incorrect Answers A:Removing a branch can lose important distinct evidence. B:Parallelism is not the cause; missing integration is. C:Repeated prose may be copied or redundant rather than corroborated.
Question 170 An API responds with HTTP 429 and a Retry-After interval during bulk classification. Which retry pattern is most reliable? Convert each 429 response into a successful classification. Retry every request immediately in parallel. Disable all timeout and retry limits permanently. Respect the retry guidance and use bounded exponential backoff with jitter. Explanation Correct Answer D:Backoff reduces contention and avoids synchronized retry storms. Incorrect Answers A:A transport error is not a semantic result. B:That can amplify rate limiting. C:Unbounded waits can stall the pipeline.