LLM Data Agent Interview: A Deep Dive into Three Rounds of Follow-Up Questions
This article breaks down the three-round interview process for LLM-based data agent roles, focusing on what each round is designed to evaluate. It covers semantic layer modeling and metric definitions in the first round, tool orchestration, context handling, and cost control in the second, and evaluation, observability, and responsibility boundaries in the third. Readers will find common follow-up questions, sample semantic layer and orchestration code, and a pre-interview checklist for answering with clear boundaries, trade-offs, and metrics.
1. Why Data Agent Interviews Get More Detailed Each Round
Over the past two years, agents with data analysis capabilities have become a frequent focus of LLM adoption. The challenge is not writing a single query. It is mapping natural language intent to structured data reliably, while keeping semantics consistent and results verifiable across multiple turns. For this reason, interviews for these roles often follow a clear funnel structure: the first round checks whether you have actually done the work, the second checks whether you understand trade-offs, and the third checks whether you can take responsibility for results.
This article does not target any specific product. It discusses general technical capabilities and engineering practices across the industry. The typical follow-up path is: first, scenarios and boundaries; then, architecture and data flow; finally, failure cases and measurement. Candidates who can explain failure cases clearly usually go further.
2. Round One: Scenario Clarification and Semantic Layer Modeling
The first round is not about algorithms. It is about problem definition. Common follow-up questions include:
- Is the metric definition unique in the question raised by the business side? Can the same metric name mean different things in different departments?
- How are time dimensions, organizational dimensions, currencies, and units handled?
- Where are the permission boundaries, and how are row-level and column-level permissions pushed down to the query layer?
A strong answer starts by building a semantic layer that abstracts physical tables into entities, dimensions, metrics, and relationships. Queries are then generated from the semantic layer. Example:
entity: orderdimensions: [region, channel, dt]metrics:- name: gmvexpr: sum(pay_amount)filters: [status = 'paid']policy:row_level: region in user.allowed_regions
With this layer in place, the model does not need to memorize table structures. It only handles intent parsing and parameter filling, which significantly improves maintainability.
3. Round Two: Tool Orchestration, Context, and Cost Control
The second round goes straight into engineering details. Typical questions include: How are multi-step tasks decomposed? How are tool failures retried? What happens when the context grows too long? How do you avoid repeated queries and infinite loops?
A reusable approach is to make the flow explicit: intent recognition → entity and metric binding → query plan generation → execution → result validation → explanation generation. Each step has a maximum step count and a timeout. On failure, the flow falls back to a clarification question instead of continuing to guess.
for step in range(MAX_STEPS):plan = planner.next(context)if plan.type == "clarify":return ask_user(plan.question)result = executor.run(plan)if validator.ok(result):return explain(result)context = context.append(result.diagnosis)
For cost control, cache results of frequent questions, return aggregated results instead of large result sets, and compress long history into structured summaries. These are general engineering practices that do not depend on any specific platform.
4. Round Three: Evaluation, Observability, and Responsibility Boundaries
The third round is the most easily overlooked, yet it distinguishes candidates the most. Follow-up questions focus on: How is accuracy defined? How is the evaluation set constructed? How are issues detected in production?
A three-layer evaluation approach is recommended: an offline test set covering definitions, boundaries, and ambiguity; online sampling with manual review; and regression comparison to ensure changes do not introduce degradation. Metrics should include at least intent hit rate, metric definition accuracy, execution success rate, and manual takeover rate. Logging services and monitoring alerts should also be integrated, with thresholds set for empty results, timeouts, and abnormally slow queries.
Responsibility boundaries must also be clear: the agent provides analysis assistance, and key decisions still require human confirmation. When sensitive data is involved, follow the principle of minimum necessity and retain audit records.
5. Turning Follow-Up Questions into a Checklist
Pre-interview self-check: Can you draw the data flow? Can you explain how a failure was located? Can you provide before-and-after comparison data for a release? When you can answer every question with the three-part structure of “boundaries — trade-offs — measurement,” the depth of follow-up questions is no longer pressure, but a stage for demonstrating engineering maturity.
