Question 160
A design meeting for a customer platform platform concludes that two isolated services require different behavior: one must keep deployment behavior stable while evaluating new model releases separately, and another must keep external tool connectors compatible after client upgrades. Which arrangement meets the specification?
- First component: Pin a tested model identifier. Second component: Store API keys in managed secret storage.
- First component: Keep environment-specific settings external. Second component: Track MCP server versions and contracts.
- First component: Store API keys in managed secret storage. Second component: Keep environment-specific settings external.
- First component: Pin a tested model identifier. Second component: Track MCP server versions and contracts.
Explanation
Correct Answer
D:The first proposal fits its assigned role because explicit model versions support reproducibility and controlled migrations, while the second proposal fits its assigned role because declared versions and integration tests expose resource or schema changes before deployment; their respective acceptance criteria are to keep deployment behavior stable while evaluating new model releases separately and to keep external tool connectors compatible after client upgrades.
Incorrect Answers
A:The first proposal fits its assigned role because explicit model versions support reproducibility and controlled migrations, while the second proposal serves the different purpose to rotate production credentials without committing new source code instead of the assigned second role because central secret management supports scoped access, auditing, and key rotation; their respective acceptance criteria are to keep deployment behavior stable while evaluating new model releases separately and to keep external tool connectors compatible after client upgrades.
B:The first proposal serves the different purpose to deploy the same application build to staging and production with distinct endpoints instead of the assigned first role because configuration injection separates environment differences from immutable application artifacts, while the second proposal fits its assigned role because declared versions and integration tests expose resource or schema changes before deployment; their respective acceptance criteria are to keep deployment behavior stable while evaluating new model releases separately and to keep external tool connectors compatible after client upgrades.
C:The first proposal serves the different purpose to rotate production credentials without committing new source code instead of the assigned first role because central secret management supports scoped access, auditing, and key rotation, while the second proposal serves the different purpose to deploy the same application build to staging and production with distinct endpoints instead of the assigned second role because configuration injection separates environment differences from immutable application artifacts; their respective acceptance criteria are to keep deployment behavior stable while evaluating new model releases separately and to keep external tool connectors compatible after client upgrades.
Question 161
The acceptance criteria for a tool integration change state that it must serve approved tools to multiple distributed client environments. Which implementation aligns with that criterion?
- Expose an MCP resource for reference content
- Apply authorization inside the MCP server
- Use a remote HTTP transport for shared MCP access
- Expose an MCP tool for an external action
- Expose an MCP prompt template
Explanation
Correct Answer
C:An HTTP-based endpoint supports remotely hosted servers with authentication and network controls; this behavior directly supports the need to serve approved tools to multiple distributed client environments. A local-only subprocess transport does not provide central network access.
Incorrect Answers
A:Resources provide identifiable data that clients can fetch for model context; despite being useful when a service must make a versioned product catalog available for read-oriented context retrieval, it is not a solution to serve approved tools to multiple distributed client environments; treating static content as a privileged executable tool unnecessarily expands authority.
B:For the alternate objective to prevent a valid MCP client from reading another tenant's resources, the server must enforce caller identity and resource scope on each operation; the feature here must serve approved tools to multiple distributed client environments, and tool discovery is not proof that a user may invoke a capability on all records.
D:When an application needs to let multiple compatible clients request a controlled shipment lookup, MCP tools advertise callable operations with named parameters and schemas across client integrations; the current capability must instead serve approved tools to multiple distributed client environments, while a resource intended only for reading context does not perform arbitrary commands.
E:Prompts describe reusable message templates or workflows offered by the server; the supported outcome is to share a repeatable analyst workflow across supported clients, whereas this scenario requires the ability to serve approved tools to multiple distributed client environments; a prompt template does not itself execute a database update.
Question 162
A technical specification for a token economics application assigns two jobs to separate modules: module A must simplify authentication, serialization, and response typing in a Python service, and module B must avoid rejecting tool schemas because serialized values are invalid. Which two-part solution is appropriate?
- First component: Use the official SDK for standard requests. Second component: Use the Messages count_tokens capability.
- First component: Send the correct API authentication header. Second component: Use JSON-safe types in request bodies.
- First component: Use the Messages count_tokens capability. Second component: Send the correct API authentication header.
- First component: Use the official SDK for standard requests. Second component: Use JSON-safe types in request bodies.
Explanation
Correct Answer
D:The first proposal fits its assigned role because maintained client libraries wrap the HTTP API and expose structured response objects, while the second proposal fits its assigned role because structured request encoding enforces objects, arrays, strings, booleans, and numeric representations; their respective acceptance criteria are to simplify authentication, serialization, and response typing in a Python service and to avoid rejecting tool schemas because serialized values are invalid.
Incorrect Answers
A:The first proposal fits its assigned role because maintained client libraries wrap the HTTP API and expose structured response objects, while the second proposal serves the different purpose to estimate model-token input demand before launching a large processing job instead of the assigned second role because token counting helps check input budgets before generation and cost planning; their respective acceptance criteria are to simplify authentication, serialization, and response typing in a Python service and to avoid rejecting tool schemas because serialized values are invalid.
B:The first proposal serves the different purpose to avoid unauthenticated model requests from a backend worker instead of the assigned first role because the API validates the provided credential before accepting a request, while the second proposal fits its assigned role because structured request encoding enforces objects, arrays, strings, booleans, and numeric representations; their respective acceptance criteria are to simplify authentication, serialization, and response typing in a Python service and to avoid rejecting tool schemas because serialized values are invalid.
C:The first proposal serves the different purpose to estimate model-token input demand before launching a large processing job instead of the assigned first role because token counting helps check input budgets before generation and cost planning, while the second proposal serves the different purpose to avoid unauthenticated model requests from a backend worker instead of the assigned second role because the API validates the provided credential before accepting a request; their respective acceptance criteria are to simplify authentication, serialization, and response typing in a Python service and to avoid rejecting tool schemas because serialized values are invalid.
Question 163
A production-readiness check for a data pipeline component requires the service to rotate production credentials without committing new source code. Which approach passes this check?
- Version prompt templates alongside code
- Roll out configuration through reviewed changes
- Pin a tested model identifier
- Store API keys in managed secret storage
Explanation
Correct Answer
D:Central secret management supports scoped access, auditing, and key rotation; this behavior directly supports the need to rotate production credentials without committing new source code. A plain-text config checked into a repository is an inappropriate credential store.
Incorrect Answers
A:Source-controlled prompt assets make rollbacks, diffs, and evaluations possible; this applies to the different goal to trace a quality regression to the exact instruction revision used, not the requirement to rotate production credentials without committing new source code; editing prompts in an unversioned dashboard hides causal history.
B:When an application needs to prevent an untested tool-allowlist edit from reaching all developers immediately, change review and versioning provide accountability and a tested rollback path; the current capability must instead rotate production credentials without committing new source code, while undocumented local overrides create configuration drift.
C:Explicit model versions support reproducibility and controlled migrations; the supported outcome is to keep deployment behavior stable while evaluating new model releases separately, whereas this scenario requires the ability to rotate production credentials without committing new source code; a floating alias can change behavior without an application code change.
Question 164
An architecture review of a token economics product lists two distinct outcomes: the first subsystem must reduce setup overhead when a service sends many short requests, and a second subsystem must avoid unauthenticated model requests from a backend worker. Which pair delivers these outcomes?
- First component: Use direct HTTP REST integration for unsupported runtimes. Second component: Send the correct API authentication header.
- First component: Use the official SDK for standard requests. Second component: Use direct HTTP REST integration for unsupported runtimes.
- First component: Use connection pooling for repeated HTTP calls. Second component: Use the official SDK for standard requests.
- First component: Use connection pooling for repeated HTTP calls. Second component: Send the correct API authentication header.
Explanation
Correct Answer
D:The first proposal fits its assigned role because reusable clients avoid unnecessary connection establishment under compatible networking conditions, while the second proposal fits its assigned role because the API validates the provided credential before accepting a request; their respective acceptance criteria are to reduce setup overhead when a service sends many short requests and to avoid unauthenticated model requests from a backend worker.
Incorrect Answers
A:The first proposal serves the different purpose to call the Messages endpoint from a language without a mature provider SDK instead of the assigned first role because a standards-based HTTP client can send JSON requests with the correct headers and decode responses, while the second proposal fits its assigned role because the API validates the provided credential before accepting a request; their respective acceptance criteria are to reduce setup overhead when a service sends many short requests and to avoid unauthenticated model requests from a backend worker.
B:The first proposal serves the different purpose to simplify authentication, serialization, and response typing in a Python service instead of the assigned first role because maintained client libraries wrap the HTTP API and expose structured response objects, while the second proposal serves the different purpose to call the Messages endpoint from a language without a mature provider SDK instead of the assigned second role because a standards-based HTTP client can send JSON requests with the correct headers and decode responses; their respective acceptance criteria are to reduce setup overhead when a service sends many short requests and to avoid unauthenticated model requests from a backend worker.
C:The first proposal fits its assigned role because reusable clients avoid unnecessary connection establishment under compatible networking conditions, while the second proposal serves the different purpose to simplify authentication, serialization, and response typing in a Python service instead of the assigned second role because maintained client libraries wrap the HTTP API and expose structured response objects; their respective acceptance criteria are to reduce setup overhead when a service sends many short requests and to avoid unauthenticated model requests from a backend worker.
Question 165
A production-readiness check for a production API component requires the service to keep a downstream parser from crashing when a request returns no usable text block. Which approach passes this check?
- Handle empty and partial model responses
- Test interface-specific instruction behavior
- Place durable behavior instructions in the system parameter
- Keep user tasks in the user message
Explanation
Correct Answer
A:Content-aware response handling checks block types, stop reasons, and required values before proceeding; this behavior directly supports the need to keep a downstream parser from crashing when a request returns no usable text block. Assuming every message contains a single complete text string is unsafe.
Incorrect Answers
B:Different Claude surfaces have different configuration and context mechanisms; an integration must supply its own instructions; despite being useful when a service must avoid assuming a Claude Code repository setting automatically affects a direct Messages API call, it is not a solution to keep a downstream parser from crashing when a request returns no usable text block; files intended for a coding agent do not magically change API behavior.
C:For the alternate objective to ensure an API assistant consistently uses a defined support role across requests, system-level guidance supplies application-wide instruction context, separate from each user's task content; the feature here must keep a downstream parser from crashing when a request returns no usable text block, and a string placed in retrieved documents has no authority to redefine the application policy.
D:Explicit message roles distinguish requested work from higher-priority operational framing; this applies to the different goal to separate an end user's request from the developer's stable operating instructions, not the requirement to keep a downstream parser from crashing when a request returns no usable text block; merging everything into one unstructured prompt weakens provenance.
Question 166
Engineers are splitting a data pipeline service into two independently tested functions. Function A must return an answer to a short user request through a backend service, while function B must avoid assuming a custom local database function runs inside Anthropic infrastructure. Which plan is sound?
- First component: Call the Messages API with explicit model and max_tokens. Second component: Differentiate client and server tool execution.
- First component: Handle message_stop and final usage events. Second component: Supply a tool definition with input schema.
- First component: Call the Messages API with explicit model and max_tokens. Second component: Handle message_stop and final usage events.
- First component: Supply a tool definition with input schema. Second component: Differentiate client and server tool execution.
Explanation
Correct Answer
A:The first proposal fits its assigned role because a message request identifies the target model, a message list, and an output-token ceiling, while the second proposal fits its assigned role because the integration owns execution of client tools, while supported server tools are performed by the provider; their respective acceptance criteria are to return an answer to a short user request through a backend service and to avoid assuming a custom local database function runs inside Anthropic infrastructure.
Incorrect Answers
B:The first proposal serves the different purpose to record complete streamed output and token usage accurately instead of the assigned first role because the final stream events signal completion and deliver accumulated metadata beyond individual text fragments, while the second proposal serves the different purpose to let Claude request a read-only inventory lookup with typed arguments instead of the assigned second role because a declared tool name, description, and schema constrain the interface offered to the model; their respective acceptance criteria are to return an answer to a short user request through a backend service and to avoid assuming a custom local database function runs inside Anthropic infrastructure.
C:The first proposal fits its assigned role because a message request identifies the target model, a message list, and an output-token ceiling, while the second proposal serves the different purpose to record complete streamed output and token usage accurately instead of the assigned second role because the final stream events signal completion and deliver accumulated metadata beyond individual text fragments; their respective acceptance criteria are to return an answer to a short user request through a backend service and to avoid assuming a custom local database function runs inside Anthropic infrastructure.
D:The first proposal serves the different purpose to let Claude request a read-only inventory lookup with typed arguments instead of the assigned first role because a declared tool name, description, and schema constrain the interface offered to the model, while the second proposal fits its assigned role because the integration owns execution of client tools, while supported server tools are performed by the provider; their respective acceptance criteria are to return an answer to a short user request through a backend service and to avoid assuming a custom local database function runs inside Anthropic infrastructure.
Question 167
A design meeting for an output validation platform concludes that two isolated services require different behavior: one must avoid invented contract dates when the uploaded document lacks them, and another must prevent a customer message from overriding the application's escalation rules. Which arrangement meets the specification?
- First component: Delimit untrusted source material. Second component: Use explicit refusal and escalation instructions.
- First component: Specify the handling of missing information. Second component: Separate system policy from user content.
- First component: Use explicit refusal and escalation instructions. Second component: Separate system policy from user content.
- First component: Specify the handling of missing information. Second component: Delimit untrusted source material.
Explanation
Correct Answer
B:The first proposal fits its assigned role because an explicit unknown or null rule makes uncertainty visible in the requested output, while the second proposal fits its assigned role because stable higher-priority instructions should be represented in the designated instruction channel; their respective acceptance criteria are to avoid invented contract dates when the uploaded document lacks them and to prevent a customer message from overriding the application's escalation rules.
Incorrect Answers
A:The first proposal serves the different purpose to let the model summarize a hostile email without obeying its embedded commands instead of the assigned first role because clear source boundaries and explicit treatment as quoted evidence help reduce instruction confusion, while the second proposal serves the different purpose to prevent a customer-facing assistant from making final legal determinations without review instead of the assigned second role because clear boundaries describe when to abstain or route to a qualified person; their respective acceptance criteria are to avoid invented contract dates when the uploaded document lacks them and to prevent a customer message from overriding the application's escalation rules.
C:The first proposal serves the different purpose to prevent a customer-facing assistant from making final legal determinations without review instead of the assigned first role because clear boundaries describe when to abstain or route to a qualified person, while the second proposal fits its assigned role because stable higher-priority instructions should be represented in the designated instruction channel; their respective acceptance criteria are to avoid invented contract dates when the uploaded document lacks them and to prevent a customer message from overriding the application's escalation rules.
D:The first proposal fits its assigned role because an explicit unknown or null rule makes uncertainty visible in the requested output, while the second proposal serves the different purpose to let the model summarize a hostile email without obeying its embedded commands instead of the assigned second role because clear source boundaries and explicit treatment as quoted evidence help reduce instruction confusion; their respective acceptance criteria are to avoid invented contract dates when the uploaded document lacks them and to prevent a customer message from overriding the application's escalation rules.
Question 168
A technical lead requests a solution that can route uncertain medical-style recommendations to an authorized human instead of issuing final decisions within a Claude application project. Which design should be chosen?
- Design an explicit escalation path
- Keep user tasks in the user message
- Handle empty and partial model responses
- Return user-friendly error states
- Validate semantic business constraints after parsing
Explanation
Correct Answer
A:Risk-based thresholds separate assistance from decisions reserved for accountable staff; this behavior directly supports the need to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions. Increasing model confidence language is not a control for consequential actions.
Incorrect Answers
B:When an application needs to separate an end user's request from the developer's stable operating instructions, explicit message roles distinguish requested work from higher-priority operational framing; the current capability must instead route uncertain medical-style recommendations to an authorized human instead of issuing final decisions, while merging everything into one unstructured prompt weakens provenance.
C:Content-aware response handling checks block types, stop reasons, and required values before proceeding; the supported outcome is to keep a downstream parser from crashing when a request returns no usable text block, whereas this scenario requires the ability to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions; assuming every message contains a single complete text string is unsafe.
D:This approach serves the separate need to explain service limits or tool outages without leaking stack traces or secrets because structured error mapping presents actionable feedback while retaining detailed diagnostics in protected logs; it does not establish the outcome to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions, and returning a raw exception can expose internal infrastructure details.
E:Application logic must enforce business rules even after schema-valid output is produced; despite being useful when a service must reject a numeric quote that is syntactically valid but outside the permitted range, it is not a solution to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions; valid JSON does not prove that an amount is permitted or accurate.
Question 169
An architecture review of an engineering workstation product lists two distinct outcomes: the first subsystem must continue an interrupted refactor while retaining relevant prior decisions, and a second subsystem must expose approved project-specific actions without copying credentials into prompts. Which pair delivers these outcomes?
- First component: Review and resume a saved session. Second component: Use a project-level CLAUDE.md file.
- First component: Use a project-level CLAUDE.md file. Second component: Create a reusable Skill.
- First component: Create a reusable Skill. Second component: Connect an MCP server to Claude Code.
- First component: Review and resume a saved session. Second component: Connect an MCP server to Claude Code.
Explanation
Correct Answer
D:The first proposal fits its assigned role because session continuation can reestablish conversational state without restarting the task from scratch, while the second proposal fits its assigned role because an MCP integration declares external capabilities and their transport while access remains controlled by the server; their respective acceptance criteria are to continue an interrupted refactor while retaining relevant prior decisions and to expose approved project-specific actions without copying credentials into prompts.
Incorrect Answers
A:The first proposal fits its assigned role because session continuation can reestablish conversational state without restarting the task from scratch, while the second proposal serves the different purpose to share coding conventions with every collaborator entering the same repository instead of the assigned second role because a checked-in memory file supplies persistent project context across relevant coding sessions; their respective acceptance criteria are to continue an interrupted refactor while retaining relevant prior decisions and to expose approved project-specific actions without copying credentials into prompts.
B:The first proposal serves the different purpose to share coding conventions with every collaborator entering the same repository instead of the assigned first role because a checked-in memory file supplies persistent project context across relevant coding sessions, while the second proposal serves the different purpose to make a specialised review procedure available as task-specific instructions and assets instead of the assigned second role because a Skill packages a repeatable capability that Claude can load when relevant to the work; their respective acceptance criteria are to continue an interrupted refactor while retaining relevant prior decisions and to expose approved project-specific actions without copying credentials into prompts.
C:The first proposal serves the different purpose to make a specialised review procedure available as task-specific instructions and assets instead of the assigned first role because a Skill packages a repeatable capability that Claude can load when relevant to the work, while the second proposal fits its assigned role because an MCP integration declares external capabilities and their transport while access remains controlled by the server; their respective acceptance criteria are to continue an interrupted refactor while retaining relevant prior decisions and to expose approved project-specific actions without copying credentials into prompts.
Question 170
A model platform team owns two independent components. The first must reduce variation when a service maps documents into consistent categories; the second must avoid confusing allowable prompt size with maximum generated response length. Which paired plan fulfills both?
- First component: Use low-temperature generation for repeatable extraction. Second component: Distinguish input from output token limits.
- First component: Recognize next-token generation. Second component: Distinguish input from output token limits.
- First component: Use low-temperature generation for repeatable extraction. Second component: Reduce reasoning effort on trivial routing.
- First component: Reduce reasoning effort on trivial routing. Second component: Recognize next-token generation.
Explanation
Correct Answer
A:The first proposal fits its assigned role because lower randomness often improves consistency for narrow, constrained tasks, while the second proposal fits its assigned role because the context budget constrains total material considered while output ceilings bound what a single generation can emit; their respective acceptance criteria are to reduce variation when a service maps documents into consistent categories and to avoid confusing allowable prompt size with maximum generated response length.
Incorrect Answers
B:The first proposal serves the different purpose to explain why a plausible answer can still contain an unsupported factual claim instead of the assigned first role because the model predicts likely continuations conditioned on context rather than querying an authoritative truth database by default, while the second proposal fits its assigned role because the context budget constrains total material considered while output ceilings bound what a single generation can emit; their respective acceptance criteria are to reduce variation when a service maps documents into consistent categories and to avoid confusing allowable prompt size with maximum generated response length.
C:The first proposal fits its assigned role because lower randomness often improves consistency for narrow, constrained tasks, while the second proposal serves the different purpose to shorten latency and spend on tasks that need only basic categorization instead of the assigned second role because lower effort can suit predictable work where deeper reasoning adds little measurable quality; their respective acceptance criteria are to reduce variation when a service maps documents into consistent categories and to avoid confusing allowable prompt size with maximum generated response length.
D:The first proposal serves the different purpose to shorten latency and spend on tasks that need only basic categorization instead of the assigned first role because lower effort can suit predictable work where deeper reasoning adds little measurable quality, while the second proposal serves the different purpose to explain why a plausible answer can still contain an unsupported factual claim instead of the assigned second role because the model predicts likely continuations conditioned on context rather than querying an authoritative truth database by default; their respective acceptance criteria are to reduce variation when a service maps documents into consistent categories and to avoid confusing allowable prompt size with maximum generated response length.