CertSafari

    Free LangChain Certified Agent Engineer Sample Questions

    35 free sample questions from our bank of 497+, covering every exam domain, with answers and detailed explanations. Updated November 2026.

    Domain 1: Build

    Subdomain 1.1: Differences between create_agent and deepagents

    1.Which statement correctly describes the relationship between the deepagents package and create_agent?

    1. A.deepagents is a separate package that extends create_agent, reusing its core building blocks to add higher-level capabilities.
    2. B.deepagents is a newer package that supersedes create_agent, which is now deprecated in favor of deepagents' own agent loop.
    3. C.deepagents is an independent package that implements its own agent loop alongside create_agent, sharing none of its code.
    4. D.deepagents is a lower-level package that create_agent wraps, adding convenience defaults on top of its core agent loop.
    Show answer & explanation

    Correct answer: A — deepagents is a separate package that extends create_agent, reusing its core building blocks to add higher-level capabilities.

    • A. deepagents is documented as a separate package that builds on create_agent's foundational building blocks and layers extra capabilities on top. create_agent stays a distinct, lower-level foundation that deepagents reuses.
    • B. deepagents does not supersede create_agent, and create_agent is not deprecated. It remains the recommended choice for lightweight, low-level agent building, and deepagents is built on it rather than replacing it.
    • C. deepagents does not implement a separate agent loop. It is built on create_agent's core building blocks, so the two packages share a foundation and are not parallel, independent implementations.
    • D. This reverses the dependency. create_agent is the standalone, lower-level builder, and deepagents depends on it as a foundation. create_agent does not wrap deepagents or sit on top of it.

    Subdomain 1.1: Differences between create_agent and deepagents

    2.A platform team is building their own opinionated agent framework on top of LangChain and wants to assemble every component themselves rather than inherit a pre-built harness. Which builder aligns with that goal?

    1. A.create_agent, which starts from a minimal model-and-tools loop and leaves the team to choose which middleware and tools to add on top.
    2. B.deepagents, which bundles planning, filesystem and sub-agent middleware so the team can build its framework by customizing a ready harness.
    3. C.create_agent, which ships with built-in filesystem tools, skills loading and sub-agent spawning that the team must strip out first.
    4. D.deepagents, which exposes the underlying LangGraph runtime for custom graphs while create_agent keeps that layer closed to the team.
    Show answer & explanation

    Correct answer: A — create_agent, which starts from a minimal model-and-tools loop and leaves the team to choose which middleware and tools to add on top.

    • A. create_agent gives a bare agent loop built from a model and tools, with middleware added only when chosen. That fits a platform team that wants to put its own opinionated framework together from the ground up.
    • B. deepagents is itself an opinionated harness, with planning, filesystem access and sub-agent delegation already included. Customizing it means starting from someone else's harness, which is what the team wants to avoid.
    • C. create_agent does not include filesystem tools, skills loading or sub-agent spawning. Those belong to the deepagents harness, so the team has nothing to strip out of create_agent before building its own components.
    • D. create_agent returns a LangGraph graph too, so the runtime is not hidden from the team. deepagents also adds a pre-built harness on top, which runs against the goal of assembling components independently.

    Subdomain 1.2: Middleware

    3.An agent is configured with two middleware instances, registered in the order `[AuthMiddleware, LoggingMiddleware]`, each implementing both `before_model` and `after_model` hooks. In what order do the `after_model` hooks execute relative to each other?

    1. A.`LoggingMiddleware.after_model` runs first, then `AuthMiddleware.after_model`; the outer middleware is the last to finish.
    2. B.`AuthMiddleware.after_model` runs first, then `LoggingMiddleware.after_model`; both hook phases follow registration order.
    3. C.`AuthMiddleware.after_model` runs right after its own `before_model`; `LoggingMiddleware` then runs its hooks the same way.
    4. D.Only `LoggingMiddleware.after_model` runs; the last-registered middleware owns the final handling of the model response.
    Show answer & explanation

    Correct answer: A — `LoggingMiddleware.after_model` runs first, then `AuthMiddleware.after_model`; the outer middleware is the last to finish.

    • A. Middleware wraps the model call like layers. `before_model` hooks run in registration order on the way in, and `after_model` hooks unwind on the way out. The last-registered middleware's hook therefore runs first, and the first-registered one, which is the outermost, finishes last.
    • B. Registration order is the order for `before_model` hooks only. `after_model` hooks run in the reverse direction, so the last-registered middleware responds first. Assuming both phases use the same order is a common mistake, and it is wrong here.
    • C. The model call sits between the two phases. Both middleware instances run their `before_model` hooks before the call, and both run their `after_model` hooks after it. A middleware's `after_model` hook therefore cannot follow its own `before_model` hook directly, and the hooks are not grouped one middleware at a time.
    • D. Both middleware instances implement `after_model`, and each registered middleware's hook runs after the model call. Being registered last gives a middleware no exclusive handling of the response. It only means its hook runs first in the unwinding order, and the `after_model` hook of the earlier-registered middleware still runs.

    Subdomain 1.2: Middleware

    4.A fintech agent handles customer chats that may contain account numbers, executes a `wire_transfer` tool that should require human approval, and must not let a single conversation trigger unlimited transfer attempts. Which middleware components should the team combine to meet all three requirements? (Select all that apply.)(Select 3)

    1. A.`PIIMiddleware` with an account-number detector and the `redact` strategy on chat messages
    2. B.`HumanInTheLoopMiddleware` with `interrupt_on` set for calls to the `wire_transfer` tool
    3. C.`ToolCallLimitMiddleware` with `tool_name` set to `wire_transfer` and a `thread_limit`
    4. D.`ModelFallbackMiddleware` with a backup model that takes over when the primary call fails
    5. E.`LLMToolEmulator` with `tools` set to `wire_transfer` and a model that simulates its output
    6. F.`ToolRetryMiddleware` with `tools` set to `wire_transfer` and `max_retries` for failed calls
    Show answer & explanation

    Correct answers: A, B, C — `PIIMiddleware` with an account-number detector and the `redact` strategy on chat messages; `HumanInTheLoopMiddleware` with `interrupt_on` set for calls to the `wire_transfer` tool; `ToolCallLimitMiddleware` with `tool_name` set to `wire_transfer` and a `thread_limit`

    • A. Correct. `PIIMiddleware` with a detector for account-number patterns and the `redact` strategy removes those numbers from the chat messages. This covers the requirement for handling customer chats that may contain account numbers.
    • B. Correct. `HumanInTheLoopMiddleware` with `interrupt_on` set for `wire_transfer` pauses each call to that tool until a person approves it. This covers the human-approval requirement, and other tools are not interrupted.
    • C. Correct. `ToolCallLimitMiddleware` set to `wire_transfer` with a `thread_limit` caps how many times that tool can be called within one thread. Once the cap is reached, further transfer attempts in that conversation are blocked.
    • D. Incorrect. `ModelFallbackMiddleware` switches to another model when the primary model call fails, which helps availability. It does not redact account numbers, require approval for `wire_transfer`, or cap how often the tool is called.
    • E. Incorrect. `LLMToolEmulator` replaces the real `wire_transfer` execution with model-generated output, so no actual transfer would run. The agent has to execute that tool, and the emulator adds no redaction, approval step or call cap.
    • F. Incorrect. `ToolRetryMiddleware` re-runs `wire_transfer` calls that fail, which adds attempts instead of limiting them. It sets no cap across a conversation, and it provides neither account-number redaction nor human approval.

    Subdomain 1.4: AGENTS.md and SKILL.md

    5.A team member creates a new skill directory named `pdf-summarizer` but writes `name: pdf_summarizer` in the SKILL.md frontmatter. At agent startup, the skill fails validation. What is the most likely cause?

    1. A.The `name` value contains an underscore, but names take only lowercase letters, digits and hyphens and must equal the folder name.
    2. B.The `description` field is absent from the frontmatter, and the loader rejects a skill without one before it looks at the `name`.
    3. C.The directory name is the problem: skill folders must use underscores, so `pdf-summarizer` has to be renamed to match the frontmatter.
    4. D.The `allowed-tools` field is missing from the frontmatter, and the agent refuses to load a skill that doesn't pre-approve its tools.
    Show answer & explanation

    Correct answer: A — The `name` value contains an underscore, but names take only lowercase letters, digits and hyphens and must equal the folder name.

    • A. A skill's `name` may contain only lowercase letters, digits and hyphens, and it must be identical to the parent directory name. `pdf_summarizer` uses an underscore, so it is an invalid name and also differs from `pdf-summarizer`, which fails validation at startup.
    • B. A `description` is required, but nothing in the scenario says it is missing. The only discrepancy described is the spelling of `name` against the directory name, which is the more likely reason validation fails.
    • C. Skill folder names follow the same rule as the `name` field: lowercase letters, digits and hyphens. Underscores are not allowed, so `pdf-summarizer` is the valid spelling and the frontmatter value is what has to change.
    • D. `allowed-tools` is an optional field for pre-approving tools, and no rule makes it mandatory. A skill without it still loads, so leaving it out cannot explain a failure that comes from the `name` differing from the directory.

    Subdomain 1.4: AGENTS.md and SKILL.md

    6.To avoid bloating the system prompt when dozens of skills are configured, only two frontmatter fields are injected into the system prompt for every skill at agent startup, with the rest of each SKILL.md loaded only if that skill is triggered. Which two fields are these?

    1. A.`name` and `description`
    2. B.`name` and `allowed-tools`
    3. C.`description` and `license`
    4. D.`license` and `metadata`
    Show answer & explanation

    Correct answer: A — `name` and `description`

    • A. Only the `name` and `description` fields are injected into the system prompt for every configured skill at startup, which lets the agent discover skills without paying the token cost of every full body.
    • B. `allowed-tools` is not part of the startup metadata injection; it governs which tools a skill may call once it has been activated and its body has been read.
    • C. `description` is one of the two startup fields, but `license` is not. It holds licensing terms or points to a bundled license file, and it is only read once the skill is triggered and its full body is loaded. The pair therefore fails on the second field.
    • D. Neither field is part of the startup injection. `license` states licensing terms, and `metadata` is an optional map of extra key-value properties such as author or version. Both are read only after the skill is triggered, so this pair misses both fields that are injected for every skill.

    Subdomain 1.3: Context engineering for long-running agents

    7.In LangChain's context-engineering guidance for long-running agents, what is the key architectural difference between message trimming and the `SummarizationMiddleware` summarization approach?

    1. A.Trimming cuts older messages from a single model call and leaves state as is, while summarization replaces them in state with a generated summary.
    2. B.Trimming removes older messages from state for good, while summarization condenses them only in the prompt of a single model call and keeps state as is.
    3. C.Trimming asks a model to choose which older messages to drop, while summarization cuts older messages by token count and stores no summary in their place.
    4. D.Both change only the prompt sent on each model call and leave state as is, with summarization using an extra model call to write the replacement text.
    Show answer & explanation

    Correct answer: A — Trimming cuts older messages from a single model call and leaves state as is, while summarization replaces them in state with a generated summary.

    • A. Trimming is a transient adjustment: older messages are left out of one model call while the stored message history stays intact. Summarization is persistent: it replaces older messages in state with a generated summary, so later turns see the summary instead of the originals.
    • B. This reverses the two mechanisms. Trimming never deletes anything from state, because it only shapes what a single model call receives. Summarization is the approach that writes a lasting change, replacing older messages in state with a summary.
    • C. This swaps how each approach works. Trimming uses simple rules, such as keeping the most recent messages or a token budget, and makes no model call. Summarization uses a model to write a condensed summary that takes the place of the older messages.
    • D. Summarization does not stop at editing the prompt. It writes the generated summary back into state in place of the older messages, so the change persists across turns. Only trimming is limited to the individual call.

    Subdomain 1.3: Context engineering for long-running agents

    8.A team debugging a long-running support agent notices that after several summarization cycles, the agent contradicts facts stated at the very start of the conversation, while still performing well on tasks from recent turns. Which explanations are consistent with how `SummarizationMiddleware` operates? (Select 2)(Select 2)

    1. A.Messages that fall outside the `keep` window are represented only by the generated summary, so fine-grained details from them can drop out of the context.
    2. B.The summary replaces the older messages in the agent's stored state, so details it left out cannot be restored from that state on later turns.
    3. C.The summarization model sees only the messages inside the `keep` window, so the opening turns are dropped at the first cycle without being summarized.
    4. D.Messages inside the `keep` window are condensed along with the older ones, so even the latest turns reach the model only as paraphrased summary text.
    5. E.The summary is stored in a separate state field outside the message list and is not sent to the model, so early details vanish once a cycle completes.
    Show answer & explanation

    Correct answers: A, B — Messages that fall outside the `keep` window are represented only by the generated summary, so fine-grained details from them can drop out of the context.; The summary replaces the older messages in the agent's stored state, so details it left out cannot be restored from that state on later turns.

    • A. Once messages are older than the preserved window, the model sees them only through the summary text. Any nuance the summarizer left out is missing from what the agent reads, which explains the lost early details.
    • B. Summarization removes the older messages from the stored message list and puts the summary in their place. A detail the summary omitted therefore has no copy left in state to recover it from on later turns.
    • C. The summarization model is given the older messages that are about to be removed, not the preserved window. The opening turns are summarized, not skipped, so they are condensed rather than dropped unseen.
    • D. Messages inside the `keep` window stay in their original form and are not condensed. The agent handling tasks from the latest turns well fits this, and the lost early details come from older messages being summarized.
    • E. The summary is inserted into the message history as a message the model reads on later turns. It is not held in a hidden field, so early information survives in condensed form rather than vanishing, and only the summary's gaps are lost.

    Subdomain 1.5: Sandboxing

    9.An agent's sandbox integration is implemented as a subclass that only overrides `execute()`, relying on `BaseSandbox` for everything else, yet the agent still gets working `ls`, `grep`, and `edit_file` tools. Which explanation accounts for this?

    1. A.`BaseSandbox` generates a script for each filesystem operation and runs it by calling the subclass's `execute()` method
    2. B.The model provider supplies `ls`, `grep`, and `edit_file` as built-in tools that run alongside `execute()`
    3. C.`BaseSandbox` implements each filesystem operation with the provider's file API and uses `execute()` for commands
    4. D.`BaseSandbox` runs these tools on the host filesystem and mirrors the changes into the sandbox through `execute()`
    Show answer & explanation

    Correct answer: A — `BaseSandbox` generates a script for each filesystem operation and runs it by calling the subclass's `execute()` method

    • A. `BaseSandbox` builds the scripts for operations such as `ls`, `grep`, and `edit_file` and runs them through the single `execute()` method. A subclass that implements only `execute()` therefore gets working filesystem tools.
    • B. These filesystem tools belong to the sandbox backend abstraction and are built on `execute()`. A model provider does not supply them separately, so they would not explain why overriding `execute()` is enough.
    • C. The subclass overrides only `execute()`, so no provider file API is available to `BaseSandbox`. The base class gets file operations by running generated scripts through `execute()`, not through a separate file API.
    • D. These tools act on the sandbox's own filesystem and do not run on the host and sync afterwards. `BaseSandbox` sends the generated scripts to `execute()`, and they run in the sandbox. No mirroring step exists.

    Subdomain 1.5: Sandboxing

    10.A security review of a sandboxed coding agent concludes that the sandbox successfully stops the agent from touching the host filesystem or host processes. The reviewer still flags a residual risk: a malicious document the agent reads during a task could instruct it to run destructive commands inside the sandbox itself. Why does sandboxing not eliminate this risk?

    1. A.The sandbox separates the agent from the host, but it cannot govern what the agent decides to run within its own environment, so instructions planted in a document it reads can still drive harmful commands there.
    2. B.The sandbox mainly limits outbound network traffic and does not inspect file contents, but the agent treats text it reads as data, so instructions planted in a document are not run inside the environment.
    3. C.The sandbox routes commands through `execute()`, which screens each one for malicious intent and blocks destructive ones before they run, so a poisoned document cannot cause damage within the environment.
    4. D.The sandbox sanitizes untrusted document content before the agent reads it, so context injection cannot occur once it is configured and the reviewer's concern does not apply to this setup.
    Show answer & explanation

    Correct answer: A — The sandbox separates the agent from the host, but it cannot govern what the agent decides to run within its own environment, so instructions planted in a document it reads can still drive harmful commands there.

    • A. Correct. A sandbox isolates the agent from the host filesystem and host processes. It does not control which commands the agent decides to run inside its own environment. Instructions planted in a document the agent reads can steer it into destructive commands there, so the residual risk remains.
    • B. Incorrect. A sandbox is about filesystem and process isolation, not just outbound network limits. The agent does not treat document text as inert data: instructions it reads can steer what it does. The reviewer's scenario is exactly that, with the agent running destructive commands inside the sandbox.
    • C. Incorrect. The `execute()` primitive is a generic command-execution method with no built-in screening for malicious intent. It runs whatever command it receives and returns the output, so it does not block destructive commands that a poisoned document induces. The in-sandbox risk therefore stays.
    • D. Incorrect. A sandbox does not sanitize or strip untrusted document content before the agent reads it. Context injection stays possible with a sandbox configured, so the reviewer's concern still applies. Content the agent reads must be treated as untrusted and paired with further controls.

    Domain 2: Test

    Subdomain 2.1: Code-based evaluators vs. LLM-as-judge

    11.A team needs a judge that scores agent responses against a rubric specific to their internal compliance policy, which no prebuilt template covers. They write a Python function that returns a configured judge with their own prompt and scoring schema. What are they building?

    1. A.A custom judge factory function that produces an LLM-as-judge evaluator tailored to their compliance rubric
    2. B.A code-based evaluator function that checks compliance keywords using regular expression pattern matching rules
    3. C.An automation rule that filters production traces by a compliance tag and also sets a sampling rate
    4. D.A pairwise comparative evaluator that ranks two compliance-review prompts against each other for scoring
    Show answer & explanation

    Correct answer: A — A custom judge factory function that produces an LLM-as-judge evaluator tailored to their compliance rubric

    • A. Writing a function that returns a configured judge with a custom prompt and scoring schema is the definition of a custom judge factory function for an LLM-as-judge evaluator.
    • B. Regular expression keyword matching is a deterministic code-based check and does not involve returning a configured model-backed judge with its own rubric.
    • C. An automation rule filters and samples production traffic for online scoring and is unrelated to authoring a judge's prompt and scoring schema.
    • D. Ranking two prompts against each other describes a comparative evaluator, not a factory function that produces a rubric-based judge for a single output.

    Subdomain 2.2: Online vs. offline evaluators

    12.A team is building a continuous production quality-monitoring workflow and wants to know which capabilities of online evaluators directly support it. Select all that apply.(Select 3)

    1. A.Scoring live traces shortly after they are logged, with no separate dataset to assemble first
    2. B.Judging whole multi-turn conversation threads as a unit, in addition to individual runs
    3. C.Applying a newly created evaluator to earlier traces, using the apply-to-past-runs option
    4. D.Comparing experiment results side by side on a curated dataset, to pick the strongest app version
    5. E.Comparing a trace's output with a stored reference answer, to compute a correctness score
    Show answer & explanation

    Correct answers: A, B, C — Scoring live traces shortly after they are logged, with no separate dataset to assemble first; Judging whole multi-turn conversation threads as a unit, in addition to individual runs; Applying a newly created evaluator to earlier traces, using the apply-to-past-runs option

    • A. Correct: online evaluators run on production traces shortly after they are logged, without a dataset being built first, which is what makes continuous monitoring possible.
    • B. Correct: online evaluators can work at thread level, so a monitoring workflow can judge a full multi-turn conversation as a unit and not only individual runs.
    • C. Correct: the apply-to-past-runs option lets a newly created evaluator score earlier traces as a background job, so monitoring coverage extends back over existing production data.
    • D. Incorrect: side-by-side experiment comparison is an offline workflow that runs candidate versions against a curated dataset. It is not a capability of online evaluators scoring live production traffic.
    • E. Incorrect: live production traces have no stored reference answer, so online evaluators are designed to score a trace's inputs and outputs without one. Reference-based comparison belongs to offline evaluation on datasets.

    Subdomain 2.2: Online vs. offline evaluators

    13.Which statement most accurately distinguishes offline evaluation from online evaluation in LangSmith?

    1. A.Offline evaluation scores a curated dataset with reference outputs, typically before deployment, while online evaluation scores production traces that have none.
    2. B.Offline evaluation scores production traces against stored reference outputs, while online evaluation scores a curated dataset, typically before deployment.
    3. C.Offline evaluation scores a curated dataset before deployment, while online evaluation reruns that dataset after deployment, with reference outputs in both modes.
    4. D.Offline evaluation scores a curated dataset with LLM-as-judge evaluators, while online evaluation scores production traces with human review and reference outputs.
    Show answer & explanation

    Correct answer: A — Offline evaluation scores a curated dataset with reference outputs, typically before deployment, while online evaluation scores production traces that have none.

    • A. Offline evaluation runs an application over a curated dataset whose examples carry reference outputs, usually before release. Online evaluation scores real production traces, which hold only inputs and outputs, so no reference outputs exist to compare against.
    • B. Offline evaluation runs over a curated dataset, not over production traces. Online evaluation is what scores production traces, and it does so without reference outputs. Production traces have no stored ground truth to score against.
    • C. Online evaluation does not rerun a fixed dataset after deployment. It scores production traces as they are logged. Those traces have no reference outputs, so reference outputs do not apply in both modes.
    • D. The two modes differ in their data source and in whether reference outputs exist, not in the type of evaluator. Online evaluators run automatically on production traces, can also be LLM-as-judge, and have no reference outputs. Human review is a separate workflow.

    Subdomain 2.1: Code-based evaluators vs. LLM-as-judge

    14.A team is testing an agent that extracts a customer's account number from a support ticket. The dataset examples include exact expected account numbers, and the team wants a fast, deterministic pass/fail signal for every run. Which evaluator approach best fits this requirement?

    1. A.A code-based evaluator that matches the extracted value to the stored account number, returning a pass or fail score
    2. B.An LLM-as-judge evaluator that compares the extracted value to the stored account number, returning a pass or fail verdict
    3. C.A pairwise evaluator that compares two agent versions' extracted values on each example, returning a win or loss verdict
    4. D.An online evaluator that samples live production traces for extracted values, returning a pass or fail score per trace
    Show answer & explanation

    Correct answer: A — A code-based evaluator that matches the extracted value to the stored account number, returning a pass or fail score

    • A. A code-based check that compares the extracted value with the stored account number runs locally with no model call. It gives the same pass or fail result on every run, which is the fast, repeatable signal the team wants.
    • B. A model-based judge can return pass or fail, but each verdict needs a model call. That adds latency and cost, and the verdict can vary between runs. A single known string needs no judgment, so this does not give a fast, repeatable signal.
    • C. A pairwise evaluator reports which of two agent versions produced the preferred output. It does not report whether one run extracted the correct account number, so it cannot give a per-run pass or fail against the known value.
    • D. An online evaluator scores sampled live traffic, where no expected account number is attached. It does not score the dataset examples that carry exact reference values, so it does not give a pass or fail on every test run.

    Subdomain 2.4: Evaluator alignment

    15.What does the alignment score in the Evaluator Playground represent?

    1. A.The share of reviewed examples where the evaluator's verdict agrees with the human-assigned label
    2. B.The share of reviewed examples where the evaluator returns the same verdict across repeated runs
    3. C.The share of reviewed examples where the evaluator's output parses into the expected score schema
    4. D.The share of reviewed examples where the evaluator gives the application's output a passing score
    Show answer & explanation

    Correct answer: A — The share of reviewed examples where the evaluator's verdict agrees with the human-assigned label

    • A. The alignment score compares the evaluator's verdict on each labeled example with the label a human assigned, and reports the share that agree. Raising it means the evaluator is moving closer to human judgment.
    • B. Getting the same verdict on repeated runs measures run-to-run stability. An evaluator can be perfectly consistent and still disagree with the human labels, so this says nothing about alignment with them.
    • C. Output that parses into the expected schema is a formatting check. An evaluator can return well-formed scores that contradict the human labels, so this does not measure agreement with them.
    • D. The share of examples receiving a passing score is the evaluator's pass rate. It is computed without reference to human labels, so a high pass rate can coexist with poor agreement with reviewers.

    Subdomain 2.4: Evaluator alignment

    16.A team maintains two workflows: one evaluator scores runs from a fixed dataset with reference outputs, and another scores live traces without reference outputs. When sending each to human labeling, what should they expect?

    1. A.The two workflows reach an annotation queue through different UI entry points, experiments versus tracing projects
    2. B.Tracing project runs can be queued for annotation in the UI, while dataset experiment results are labeled offline
    3. C.Both workflows must be merged into one dataset first, with tracing runs added as examples before labeling starts
    4. D.Dataset experiment results can be queued in the UI, but tracing project runs need reference outputs added first
    Show answer & explanation

    Correct answer: A — The two workflows reach an annotation queue through different UI entry points, experiments versus tracing projects

    • A. Dataset experiments and tracing projects are surfaced in different parts of the UI. Sending runs from each to an annotation queue therefore starts from a different place, even though both end in human labeling.
    • B. Dataset experiment results can also be sent to an annotation queue from the UI. Offline labeling is not required for the fixed-dataset workflow, so this split between the two workflows does not exist.
    • C. Neither workflow has to be merged into a shared dataset before labeling. Runs from a tracing project can be queued directly, and forcing live traces into a dataset would mix runs that have reference outputs with runs that have none.
    • D. Tracing project runs can be queued for human labeling without reference outputs. Reviewers add feedback to the run itself, so the live-trace workflow is not blocked by the missing reference outputs.

    Subdomain 2.3: Running and interpreting experiments

    17.A team runs the same agent configuration twice on an identical dataset and gets noticeably different pass rates between the two runs, even though nothing was changed in the code or prompt. What most plausibly explains this?

    1. A.Sampling randomness in the model's generations produces different outputs on each pass, so scores drift between repeated runs
    2. B.Examples were added or edited in the dataset between the two runs, so the second pass was scored on different data
    3. C.Provider-side prompt caching kicked in on the second pass and altered the model's answers, so scores shifted between runs
    4. D.Parallel execution of examples returned results in a different order, so the pass rate was averaged differently between runs
    Show answer & explanation

    Correct answer: A — Sampling randomness in the model's generations produces different outputs on each pass, so scores drift between repeated runs

    • A. LLM generations are sampled, so the same configuration can produce different outputs for the same examples on each run. Those output differences lead to different pass/fail outcomes and a different overall pass rate.
    • B. Both runs used the same dataset, so a changed example set cannot account for the gap. Nothing in the scenario points to edits, and ordinary generation variance explains the difference without assuming the data changed.
    • C. Prompt caching on the provider side reduces latency and cost for repeated prompt prefixes, but it does not change what the model generates. It cannot explain different pass rates between two runs of the same configuration.
    • D. The pass rate is the share of examples that passed, so the order in which results come back does not affect it. Reordering cannot move the metric between two otherwise identical runs; only different per-example outcomes can.

    Subdomain 2.5: Adding examples to a dataset

    18.A team is auditing why their evaluator keeps passing cases it should be failing, and traces the issue back to how the underlying dataset was built. Which dataset-building mistakes are plausible contributors to this problem? (Select all that apply)(Select 3)

    1. A.Most examples were sampled from traces in which the application had already succeeded.
    2. B.Expected outputs were copied from earlier responses without confirming they were right.
    3. C.Examples were drawn from a mix of hand-written cases and a CSV import of older tests.
    4. D.Examples were divided into named splits, such as training and validation subsets.
    5. E.A large share of the examples were near-duplicates of a few repeated test inputs.
    Show answer & explanation

    Correct answers: A, B, E — Most examples were sampled from traces in which the application had already succeeded.; Expected outputs were copied from earlier responses without confirming they were right.; A large share of the examples were near-duplicates of a few repeated test inputs.

    • A. Sampling mostly from traces where the application already succeeded leaves the dataset with few failing cases. The evaluator is rarely tested on the outputs it should reject, so weak grading goes unnoticed.
    • B. Expected outputs copied from earlier responses without confirmation can carry wrong answers. The evaluator then treats flawed outputs as the standard and passes responses it should fail.
    • C. Combining hand-written cases with imported CSV rows only changes where examples come from. It does not change what the examples contain or whether their expected outputs are right, so it does not make the evaluator pass bad responses.
    • D. Named splits only group examples so that subsets can be run or compared separately. They do not change the examples or their reference outputs, so they do not explain an evaluator passing cases it should fail.
    • E. When many examples are near-duplicates of a few inputs, the dataset covers little of the application's behavior. Failure modes outside those inputs are never tested, so the evaluator's blind spots stay hidden.

    Subdomain 2.5: Adding examples to a dataset

    19.Which of the following statements accurately describe how dataset versioning and organization work in LangSmith? (Select all that apply)(Select 4)

    1. A.Adding or editing examples creates a new dataset version without a manual save step.
    2. B.Version tags can mark milestones so a CI pipeline can target a specific historical version.
    3. C.Splits are named subsets used to organize examples, separate from per-example metadata tags.
    4. D.Examples need to be assigned to a split before an evaluation run can include them in its results.
    5. E.Metadata key/value pairs can be used to filter examples by group without creating a split.
    Show answer & explanation

    Correct answers: A, B, C, E — Adding or editing examples creates a new dataset version without a manual save step.; Version tags can mark milestones so a CI pipeline can target a specific historical version.; Splits are named subsets used to organize examples, separate from per-example metadata tags.; Metadata key/value pairs can be used to filter examples by group without creating a split.

    • A. LangSmith records a new dataset version each time examples are added or edited. The version history builds up with no separate manual save or publish action.
    • B. Tagging a version marks a meaningful point in the dataset's history, and CI pipelines can target that tag to run against a fixed, known example set.
    • C. Splits are a distinct organizational feature from per-example metadata, used to group examples into named subsets such as training or validation groups.
    • D. Splits are optional. An evaluation can run on the whole dataset, so examples with no split assignment are still evaluated. A split only narrows a run to a chosen subset.
    • E. Metadata key/value pairs support filtering and grouping examples by tag without requiring the more structural step of assigning them to a split.

    Domain 3: Deploy

    Subdomain 3.1: Deployment terminology: graph, deployment, revision, assistant, thread, run

    20.A platform team is documenting how graphs and deployments relate to each other in Agent Server. Which of the following statements are accurate? (Select all that apply.)(Select 3)

    1. A.A deployment is a graph's code running under a specific configuration.
    2. B.The same graph's code can be the starting point for several separate deployments.
    3. C.A deployment provides the control plane and data plane infrastructure for a graph.
    4. D.A graph cannot exist until at least one deployment has been created from it.
    5. E.A deployment's version number has to match the version of its graph's source code.
    6. F.A graph's code can serve as the basis for only one deployment at a time.
    Show answer & explanation

    Correct answers: A, B, C — A deployment is a graph's code running under a specific configuration.; The same graph's code can be the starting point for several separate deployments.; A deployment provides the control plane and data plane infrastructure for a graph.

    • A. A deployment is what results from taking a graph's code and running it under a specific configuration. That turns a workflow definition into a running instance.
    • B. One graph's code can be the basis for several deployments, for example separate staging and production instances, each with its own configuration.
    • C. A deployment supplies the control plane and data plane infrastructure that the graph runs on, so it can handle configuration and execute requests.
    • D. A graph is a code-level workflow definition that exists on its own before any deployment is created from it, so it does not require a deployment to exist first.
    • E. A deployment keeps its own revision history and version numbering. Nothing requires it to equal a version attached to the graph's source code, so the two are tracked separately.
    • F. A graph is not limited to one deployment. The same graph code can back several deployments at once, such as staging and production, each with its own configuration.

    Subdomain 3.4: Authentication vs. authorization

    21.Which of the following resources are scoped by returning a metadata filter dictionary (e.g. `{"owner": ctx.user.identity}`) from an `@auth.on` search or list handler? (Select all that apply)(Select 3)

    1. A.Threads
    2. B.Assistants
    3. C.Crons
    4. D.Store
    5. E.Deployment revisions
    6. F.Tracing projects
    Show answer & explanation

    Correct answers: A, B, C — Threads; Assistants; Crons

    • A. Threads are scoped through the standard metadata-filter pattern, where a search or list handler returns a dictionary matched against thread metadata.
    • B. Assistants are also scoped through the standard metadata-filter pattern used by resource search and list handlers.
    • C. Crons follow the same metadata-filter pattern as threads and assistants for scoping search and list results.
    • D. The Store resource is authorized differently: its handlers rewrite the mutable `namespace` field to scope access, rather than returning a metadata filter dictionary.
    • E. Deployment revisions are managed through the deployment platform's own release process and are not one of the resources exposed to `@auth.on` handlers.
    • F. Tracing projects are LangSmith observability resources, and access to them is governed by LangSmith workspace roles. They are not a resource type exposed to `@auth.on` handlers, so no handler returns a metadata filter for them.

    Subdomain 3.3: Secret handling

    22.Which of the following are recommended practices for handling API keys and tokens used by a deployed LangGraph agent? (Select all that apply.)(Select 3)

    1. A.Load keys from environment variables or a secrets manager instead of embedding them in the agent's code.
    2. B.Store production secrets in the deployment platform's settings, scoped to each revision of the agent.
    3. C.Keep production keys in a `.env` file in the private repository, readable only by the agent's maintainers.
    4. D.Rotate a key and redeploy the agent as soon as there are signs the value may have been exposed.
    5. E.Log the full outbound request headers, authorization values included, for tracing failed model calls.
    6. F.Reuse one long-lived key for development, staging and production, keeping the configuration identical.
    Show answer & explanation

    Correct answers: A, B, D — Load keys from environment variables or a secrets manager instead of embedding them in the agent's code.; Store production secrets in the deployment platform's settings, scoped to each revision of the agent.; Rotate a key and redeploy the agent as soon as there are signs the value may have been exposed.

    • A. Reading credentials from environment variables or a secrets manager keeps sensitive values out of the source code. It is the standard pattern for a deployed agent.
    • B. Production secrets set in the deployment platform's settings and scoped to a revision stay out of the codebase. Changing one goes through a controlled redeploy, so it is tracked.
    • C. A private repository still puts production keys into version control. They stay in the commit history after the file is removed and reach every clone and backup. Secrets belong in a secrets manager or the platform's settings.
    • D. Rotating the key and redeploying once exposure is suspected makes the leaked value useless and shortens the window in which an attacker can use it. Waiting for proof of misuse leaves that window open.
    • E. Request headers carry the bearer tokens and API keys themselves. Writing them to logs copies the secrets to everyone with log access, and logs are usually retained and shipped to other systems. Failed calls can be traced without recording credentials.
    • F. One long-lived key shared by development, staging and production means a leak in a low-security environment exposes production. Separate, rotatable credentials per environment limit that blast radius.

    Subdomain 3.3: Secret handling

    23.Which statements about how LangGraph Platform handles secrets across deployment revisions are accurate? (Select all that apply.)(Select 3)

    1. A.Secrets are configured per revision, so a new revision can add a credential or change an existing credential's value.
    2. B.Credential rotation goes through a new revision, so a redeploy is typically needed rather than a live in-place edit.
    3. C.Secrets are shared across the deployment, so a change made in a later revision also reaches earlier revisions.
    4. D.Earlier revisions keep their own environment, so runs and threads created under them still reflect those secret values.
    5. E.Secrets are kept in the checked-in `langgraph.json`, so each revision reads the values committed with its code.
    Show answer & explanation

    Correct answers: A, B, D — Secrets are configured per revision, so a new revision can add a credential or change an existing credential's value.; Credential rotation goes through a new revision, so a redeploy is typically needed rather than a live in-place edit.; Earlier revisions keep their own environment, so runs and threads created under them still reflect those secret values.

    • A. Secrets are scoped to a revision. A new revision can therefore introduce a credential or give an existing one a different value without affecting earlier revisions.
    • B. Secret changes take effect through a new revision, not by patching the running deployment. Rotating a credential therefore normally means triggering a redeploy.
    • C. Secrets are not shared backward across revisions. A change made in a later revision does not reach earlier ones, because each revision keeps the environment it was deployed with.
    • D. Runs and threads created under an earlier revision keep that revision's environment. An older run can therefore still reflect a credential that was later rotated.
    • E. Secret values are set through the deployment settings and managed by the platform. They are not stored in the checked-in `langgraph.json`, so committing code does not determine what each revision reads.

    Subdomain 3.2: Multi-region serving

    24.EU-based users report elevated latency when using an agent whose Cloud deployment was created without specifying `LANGGRAPH_HOST_URL`. What is the most likely cause and fix?

    1. A.The deployment is serving from the default non-EU hosting endpoint; redeploying with LANGGRAPH_HOST_URL set to the EU endpoint moves new traffic to EU infrastructure.
    2. B.The queue worker pool is undersized for the deployment's load; raising the worker count in the current region cuts the queueing delay that EU users experience.
    3. C.The auth type is misconfigured and adds a validation round-trip to each call; setting LANGSMITH_AUTH_TYPE to noop removes that step and speeds up EU requests.
    4. D.The graph runs with durability set to sync, which blocks each step on a checkpoint write; switching to exit persists state at completion and lowers EU latency.
    Show answer & explanation

    Correct answer: A — The deployment is serving from the default non-EU hosting endpoint; redeploying with LANGGRAPH_HOST_URL set to the EU endpoint moves new traffic to EU infrastructure.

    • A. A Cloud deployment created without LANGGRAPH_HOST_URL is hosted on the default non-EU endpoint, so EU users' requests cross continents. Redeploying with the EU endpoint set places the serving infrastructure closer to them.
    • B. Worker count governs how fast queued runs are processed. Under-provisioning would slow users everywhere, not only EU users, and it leaves the distance between EU users and the non-EU hosting region unchanged.
    • C. LANGSMITH_AUTH_TYPE selects how requests are authenticated. It has no bearing on where the deployment is hosted, so changing it cannot remove the geographic delay that only EU users see.
    • D. The durability mode decides when checkpoint writes are persisted during a run. Sync mode adds the same per-step cost for users in every region, and switching to exit does not shorten the network path between EU users and non-EU hosting.

    Subdomain 3.4: Authentication vs. authorization

    25.In the context of a LangSmith Deployment (Agent Server), what is the core conceptual distinction between authentication and authorization?

    1. A.Authentication establishes who sent the request, while authorization determines which actions that caller is permitted.
    2. B.Authentication determines which resources a caller may access, while authorization checks that the caller's token is still valid.
    3. C.Authentication scopes which threads a caller can list, while authorization checks the network origin of the request.
    4. D.Authentication verifies identity before a run starts, while authorization verifies identity again once the run completes.
    Show answer & explanation

    Correct answer: A — Authentication establishes who sent the request, while authorization determines which actions that caller is permitted.

    • A. Authentication is the step that establishes the caller's identity on a request. Authorization handlers then use that identity to decide what the caller can do with threads, assistants, and crons.
    • B. This swaps the two roles. Validating a caller's credentials is part of authentication. Deciding which resources the caller can access is the job of authorization.
    • C. Limiting which threads a caller can see is a permission decision made by authorization handlers on resources. Authentication establishes identity. Authorization is not a network-origin check.
    • D. Authorization does not verify identity a second time after a run. It takes the identity authentication has already established and applies permission rules to the resource being accessed. It does so as the request is handled, not after a run finishes.

    Subdomain 3.5: Storage durability

    26.During local development a team configures their agent with `durability="sync"` and `InMemorySaver` to test crash recovery. After killing and restarting the process, the thread's prior state is gone. Why?

    1. A.`InMemorySaver` keeps its checkpoints in the memory of the killed process, so the restarted process starts from an empty checkpoint store.
    2. B.`durability="sync"` is honoured only by database-backed checkpointers such as `PostgresSaver`, so the run with `InMemorySaver` saved no checkpoints.
    3. C.The restart call omitted the original `thread_id`, so the saved checkpoints were never looked up even though they survived in the store.
    4. D.`InMemorySaver` writes a checkpoint only when a graph run completes, so the killed run left nothing in the store for the restart to load.
    Show answer & explanation

    Correct answer: A — `InMemorySaver` keeps its checkpoints in the memory of the killed process, so the restarted process starts from an empty checkpoint store.

    • A. The durability mode only sets when checkpoints are written relative to graph execution. It does not change where they are stored. An in-memory checkpointer lives inside the process, so killing the process discards every checkpoint it held.
    • B. Sync durability works with any checkpointer implementation, `InMemorySaver` included. The checkpoints were written during the run. They were lost because the in-memory store disappeared with the process, not because sync mode needs a database.
    • C. Checkpoints held by `InMemorySaver` cannot survive in the store after the process is killed, because the memory holding them is released. Passing the correct `thread_id` would find nothing, so the lookup is not the cause.
    • D. With sync durability, checkpoints are written step by step as the graph runs, not only at completion, and `InMemorySaver` receives each one. The state was saved, but it was lost when the process died and its memory was cleared.

    Subdomain 3.5: Storage durability

    27.What does the checkpointer in LangGraph persist by default, and at what granularity does it write during a run?

    1. A.A snapshot of graph state under a thread ID, written after each superstep once its scheduled nodes have finished.
    2. B.The final state of the thread, written as a single record when the graph reaches its end node and the run completes.
    3. C.Conversation history merged across a user's threads, written to a shared namespace whenever a node updates memory.
    4. D.The compiled graph structure with its nodes and edges, written once at compile time, before a run begins.
    Show answer & explanation

    Correct answer: A — A snapshot of graph state under a thread ID, written after each superstep once its scheduled nodes have finished.

    • A. The default checkpointer saves a snapshot of the graph state for a given thread ID at each superstep boundary, after the nodes scheduled in that step have finished. These checkpoints are what make resuming, replaying and recovering from a mid-run failure possible.
    • B. Checkpoints are written repeatedly during execution, once per superstep, not as a single record at the end. A single end-of-run write would leave nothing to resume from after a mid-run failure, which is the purpose of checkpointing.
    • C. Merging data across a user's threads into a shared namespace is the job of the store, which holds long-term memory. The checkpointer is scoped to a single thread, and each of its snapshots belongs to one thread ID.
    • D. The checkpointer does not save the graph's nodes and edges, and it does not write at compile time. It records runtime state, which changes as supersteps complete, so the writes happen during execution.

    Domain 4: Monitor

    Subdomain 4.2: Grouping traces into threads

    28.Which metadata keys does LangSmith recognize when grouping traces into a thread? (Select all that apply.)(Select 2)

    1. A.thread_id
    2. B.session_id
    3. C.conversation_id
    4. D.trace_id
    5. E.correlation_id
    6. F.run_id
    Show answer & explanation

    Correct answers: A, B — thread_id; session_id

    • A. `thread_id` is the primary metadata key LangSmith looks for when grouping related traces into a single thread.
    • B. `session_id` is recognized as a fallback metadata key, used to group traces into a thread when `thread_id` is not present.
    • C. `conversation_id` is not a metadata key LangSmith looks for when assembling threads, even though it sounds semantically similar to conversation grouping.
    • D. `trace_id` identifies an individual trace, not the higher-level thread that groups multiple traces together, so it is not used for thread grouping.
    • E. `correlation_id` is a common pattern in distributed tracing generally, but it is not one of the keys LangSmith checks for thread grouping.
    • F. `run_id` identifies a single run within a trace, not the conversation-level grouping that thread metadata provides.

    Subdomain 4.1: Reading traces

    29.A developer notices that a nested tool-call run inside a trace shows no latency value, while its parent chain run and sibling LLM run both show latency normally. What is the most likely explanation?

    1. A.The tool run never received an end timestamp, so LangSmith has no finish time to subtract from its start time.
    2. B.The tool run was traced in streaming mode, so LangSmith reports time to first token in place of its total latency.
    3. C.The trace passed its run limit before the tool run was recorded, so LangSmith kept the run but skipped its duration.
    4. D.The tool run finished in under a millisecond, so LangSmith rounds its duration to nothing and shows no value.
    Show answer & explanation

    Correct answer: A — The tool run never received an end timestamp, so LangSmith has no finish time to subtract from its start time.

    • A. Latency is the difference between a run's recorded start and end times. A run that never gets an end event, for example because an unhandled exception skipped the close step in the tool wrapper, has no computable duration. Its closed parent and sibling still show theirs.
    • B. Time to first token is a metric for streamed model output and is shown next to latency, not instead of it. A tool run has no token stream, and the streaming setting does not remove a run's total duration. The missing value therefore points to missing timing data on this run.
    • C. A trace that exceeds its run limit stops accepting additional runs. It does not keep a run in the tree and remove only its duration. The tool run is still visible with its data, and its parent and sibling are timed normally, so the limit does not explain a blank duration.
    • D. Durations are stored as timestamp differences, and a very short run still gets a small value rather than a blank. Run speed does not decide whether latency is displayed. A blank value means the run lacks the timing data needed to compute one.

    Subdomain 4.1: Reading traces

    30.In LangSmith's terminology, what does a trace represent, stated most precisely?

    1. A.The tree of runs under one top-level invocation.
    2. B.The single run that logs one LLM call and its output.
    3. C.The set of traces linked in one conversation thread.
    4. D.The collection of runs stored in one tracing project.
    Show answer & explanation

    Correct answer: A — The tree of runs under one top-level invocation.

    • A. In LangSmith, a trace is the tree of runs under one top-level invocation. The root run and the nested runs it triggers during that single execution belong to the same trace.
    • B. A run is the unit that logs one step, such as a single LLM call with its output. A trace is the tree built from many such runs, so a single run is only one node in it.
    • C. A thread groups separate traces from a multi-turn conversation by a shared identifier. That is a level above a trace, which covers just one top-level invocation and the runs nested under it.
    • D. A tracing project is the container that holds the traces and runs logged by an application. It spans many invocations, whereas a trace covers only one top-level invocation and its nested runs.

    Subdomain 4.2: Grouping traces into threads

    31.A team runs `list_threads` against a project to review conversations from a marketing campaign that ran two weeks ago, but the call returns no results even though the traces clearly exist. What is the most likely explanation?

    1. A.`list_threads` looks back 24 hours by default; set `start_time` earlier so the older threads are included.
    2. B.`list_threads` returns one page of recent threads by default; raise the result limit to reach the older threads.
    3. C.`list_threads` excludes archived threads by default; restore the older threads from archive before querying.
    4. D.`list_threads` reads from a thread index refreshed daily by default; trigger a manual re-index for older threads.
    Show answer & explanation

    Correct answer: A — `list_threads` looks back 24 hours by default; set `start_time` earlier so the older threads are included.

    • A. `list_threads` only searches the last 24 hours unless told otherwise, so a campaign from two weeks ago falls outside the window. Setting `start_time` earlier brings those threads into the query.
    • B. A result limit only truncates what the query already matched. It cannot turn a query that matches threads into an empty response. Nothing is being cut off here: the two-week-old threads sit outside the default time window, and only `start_time` changes that.
    • C. The threads are not archived. The traces are still visible in the project, and no restore step exists for them. The call returns nothing because the default 24-hour window leaves them out, which a wider `start_time` fixes.
    • D. `list_threads` has no separate daily-refreshed index that needs a manual rebuild. The older threads are already queryable, and widening `start_time` past the default 24-hour window makes them appear.

    Subdomain 4.3: Tracking costs and user sentiment

    32.A team wants total prompt-token spend across a project for the past 30 days, ignoring completion costs entirely. In a custom Dashboard chart, which token-type filter and aggregation combination should they select?

    1. A.Filter to Input, aggregated with Sum
    2. B.Filter to Total, aggregated with Sum
    3. C.Filter to Input, aggregated with Average
    4. D.Filter to Total, aggregated with Maximum
    Show answer & explanation

    Correct answer: A — Filter to Input, aggregated with Sum

    • A. Filtering the token metric to Input isolates prompt-side spend, and summing across the 30-day window produces the total prompt-token cost the team wants, excluding completion costs.
    • B. Summing does produce a 30-day total, but the Total token type counts prompt and completion tokens together. The team wants prompt-side spend only, so completion tokens would inflate the figure.
    • C. Input does isolate prompt tokens, but Average returns the mean per observation. It shows typical request size, not the cumulative prompt-token spend across the 30 days.
    • D. Total includes completion tokens, which the team wants left out. Maximum reports only the single largest value in the period, so it is neither prompt-only nor a cumulative total.

    Subdomain 4.3: Tracking costs and user sentiment

    33.After each agent response, users can click a thumbs-up or thumbs-down icon in the product UI. When that click is forwarded to LangSmith, what does it become?

    1. A.A feedback score logged on the run that produced the response, stored as a numeric value for that run
    2. B.An automation rule created on the project, sending the rated run to an annotation queue for review
    3. C.A dataset example created from the run that produced the response, holding the rating as its output
    4. D.A tag added to the trace that produced the response, marked positive or negative for filtering views
    Show answer & explanation

    Correct answer: A — A feedback score logged on the run that produced the response, stored as a numeric value for that run

    • A. A thumbs-up or thumbs-down click is sent to LangSmith as feedback on the run it refers to. It is stored as a feedback score, a numeric value under a feedback key, so it can be filtered, charted and monitored alongside that run.
    • B. A feedback click creates no automation rule. Rules, including ones that send runs to an annotation queue, are set up separately in the project and may use feedback as a filter condition. The click itself is only recorded as a feedback score on the run.
    • C. Forwarding a click does not create a dataset example. Datasets are built deliberately, by adding runs manually or through rules. The click is stored as a feedback score on the existing run, with no new example and no rating used as an output.
    • D. Tags are free-form labels set on runs by the developer or application. A forwarded click is not stored that way. It is recorded as a feedback score on the run, and that score is what views and dashboards filter and aggregate on.

    Subdomain 4.4: Online Evals vs. Insights

    34.A customer-support agent runs as a multi-turn conversation, and the team wants an online evaluator that judges the overall quality of the entire conversation thread rather than any single LLM call in isolation. What should they configure?

    1. A.A multi-turn evaluator, which grades a thread's messages together with a prompt
    2. B.A run-level evaluator, which grades each run's inputs and outputs with a prompt
    3. C.An Insights report, which groups conversation traces by topic and failure mode
    4. D.An alert rule on latency, which notifies the team when a threshold is crossed
    Show answer & explanation

    Correct answer: A — A multi-turn evaluator, which grades a thread's messages together with a prompt

    • A. LangSmith online evaluations offer multi-turn evaluators that receive a whole conversation thread and judge it with an LLM prompt. That fits a quality score over the full support conversation, which no per-call evaluator can give.
    • B. A run-level evaluator is a real online evaluator, but it sees one run's inputs and outputs at a time, such as a single LLM call. It cannot judge how well the whole multi-turn conversation went, which is the stated goal.
    • C. An Insights report clusters traces into usage patterns and failure modes for exploration. It does not run an evaluator on each conversation, so it produces no quality judgment of a thread as required.
    • D. A latency alert watches a numeric metric and notifies the team when a threshold is crossed. It says nothing about the semantic quality of a conversation, so it cannot serve as an evaluator of the thread.

    Subdomain 4.5: Alerting

    35.A team ships a new prompt version and wants an automatic notification if average user thumbs-down ratings on the `answer_helpfulness` feedback key start trending down. What must they configure for this alert to work correctly?

    1. A.A Feedback Score alert with `answer_helpfulness` named as the feedback key, set to fire when the average score drops below a chosen threshold.
    2. B.An Errors alert with `answer_helpfulness` entered as a tag filter, set to fire when the error count rises above a chosen threshold.
    3. C.A Run Count alert with Percentage aggregation, set to fire when the share of runs in the project falls below a chosen threshold.
    4. D.A Latency alert with Average aggregation, set to fire when the average response time of the traced runs rises above a chosen threshold.
    Show answer & explanation

    Correct answer: A — A Feedback Score alert with `answer_helpfulness` named as the feedback key, set to fire when the average score drops below a chosen threshold.

    • A. A Feedback Score alert must name the feedback key it monitors. With `answer_helpfulness` selected, the alert averages that rating and fires when the score trends below the threshold.
    • B. An Errors alert counts failed runs, and a tag filter only narrows which runs are counted. It does not reference a feedback key, so it fires on failures and never on a decline in helpfulness ratings.
    • C. Run Count measures how many runs occur. A falling share of runs reflects traffic or usage rather than how users rate answers, so it carries no information about the `answer_helpfulness` trend.
    • D. Latency measures how long runs take to execute. Response time is not tied to user ratings, so a latency alert can fire or stay quiet regardless of how the `answer_helpfulness` scores move.

    Want the full experience?

    These are just samples. Practice the full LangChain Certified Agent Engineer question bank in quiz mode — free, no signup, with domain practice and exam simulation.