Pre-Winter Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

A Claude application is producing outputs that drift away from the expected JSON format after several conversation turns. The first few turns produce correctly formatted output, but later turns gradually lose structure.

How would you address the drift?

A.

Identify the failure mode as format drift, examine how the conversation context evolves over turns, and address the drift through context management or output validation.

B.

Truncate every response to the first few characters, validate that the truncated output matches the expected JSON structure, and log any mismatches for review.

C.

Restart the application after every turn and monitor whether the format remains consistent across subsequent interactions.

D.

Switch to a smaller Claude model and re-test the application to determine whether the drift persists across conversation turns.

You are building an agent that needs to call several internal APIs and a database in a structured, repeatable way. Your team has decided to use the Claude Agent SDK rather than build a custom loop. You are setting up the agent's tool definitions and execution loop.

How would you set up the tools and execution loop?

A.

Use the SDK's tool interface and let the SDK handle the loop, dispatch, and history.

B.

Call the Messages API directly and let the model format its tool calls in plain text.

C.

Use the SDK's tool interface and loop, with conversation history stored in a separate team database.

D.

Use the SDK's tool interface and write the loop and history layer in the team's own code.

You are building a Claude application that processes 10,000 customer emails overnight to extract structured data. The work is non-interactive, runs once daily, and has a flexible completion window of several hours. Which Claude API would you use?

A.

The Batch API, which is designed for non-interactive workloads with flexible completion windows.

B.

The streaming responses API to process each email and return partial results to a database as the model generates them.

C.

The real-time Messages API, processing the emails one at a time sequentially to ensure consistent ordering of results.

D.

The real-time Messages API with concurrent requests to process the emails as fast as possible during the overnight window.

Your Claude application has been running for several conversation turns, and you notice the model occasionally references information that was discussed many turns ago but is no longer relevant. You suspect context drift is causing the model to weight stale content too heavily.

How would you address the drift?

A.

Increase the context window size so all turns of the conversation remain visible to the model in full detail.

B.

Reset the conversation after every turn so the model loses all prior turns when generating a response.

C.

Apply compaction to summarize older portions of the conversation so the gist remains while the specifics carry less weight.

D.

Truncate the conversation so the model sees only the most recent turn during each subsequent response.

Your Claude agent has access to a tool that retrieves customer records. A teammate has noticed that the agent occasionally calls the tool with arguments the schema does not declare, and the tool's downstream service returns an error each time. The teammate proposes loosening the schema so the tool accepts whatever arguments the model produces.

How would you respond?

A.

Add a system prompt instruction telling the model to produce schema-conforming arguments, treating the prompt instruction as the primary mechanism for keeping the agent's tool calls valid.

B.

Keep the schema strict, validate arguments before dispatching, and return a structured error so the agent can retry.

C.

Remove the schema entirely and rely on the downstream service to reject invalid calls, treating the downstream service as the team's primary enforcement layer.

D.

Loosen the schema as the teammate proposed so the downstream service receives every call the agent makes during normal operation.

The product team has described a new Claude feature in business terms: "agents should help our analysts produce client memos faster." You need to convert this into actionable technical requirements for the engineering team.

Your first step would be to...

A.

Ask the analysts about the current memo production process to see where they think Claude could be introduced as a prompt-driven drafting step.

B.

Assess what similar agent-based features have been built internally or in the industry and use those precedents to scope the technical approach.

C.

Examine what model capabilities and tier options are available and determine which best supports the memo drafting workflow described by the product team.

D.

Interpret the functional and infrastructure requirements implied by the business goal.

You are building a Claude application that needs to deliver model output to end users as it is generated, instead of waiting for the full response to complete.

The Claude API mechanism you would use is...

A.

Structured JSON output, which delivers responses only after the model has finalized the JSON shape across the entire response.

B.

Streaming responses, which deliver tokens incrementally as the model generates them so users see output progressively.

C.

The Batch API, which delivers full responses after a delay suitable for non-interactive workloads.

D.

Prompt caching, which speeds up the cost profile of future requests and does not affect the delivery timing of the first response.

Your Claude application is deployed to development, staging, and production environments. Each environment uses a different model version, different prompt versions, and different plugin dependencies, but the configuration is currently scattered across environment variables, hardcoded values, and undocumented setup scripts.

How would you manage the configuration?

A.

Use the latest available model version everywhere and stop pinning model versions, on the grounds that pinning adds maintenance overhead the team should aim to reduce.

B.

Move all configuration into hardcoded application code to reduce reliance on external configuration sources that are difficult to track over time.

C.

Consolidate the configuration into a version-controlled system documenting model version pinning, prompt versioning, and plugin dependencies for each environment.

D.

Standardize all environments to use the same configuration values to eliminate the differences between development, staging, and production.