FDE Interview Guide: Ontology as the Business Contract Layer
FDE interview questions often feel overwhelming because they span RAG, agents, tool calling, evaluation, permissions, and delivery. This article explains FDE as both a field delivery role and a system carrier, and shows why Ontology—the domain business contract layer—is the main line. It covers the semantics of FDE, the role of Ontology in architecture, modeling and action-contract examples, a five-step delivery loop, a renewal-agent scenario, common pitfalls, and a 60-second interview answer framework.
FDE Interview Questions: Start with the Ontology Main Line
Many candidates suddenly get stuck when asked about FDE in interviews. The reason is often not that they cannot do RAG, agents, tool calling, evaluation, or private deployment. Rather, these technical points are scattered in their minds: retrieval pipelines, vector stores, workflow orchestration, human approval, permission governance, business SOPs, acceptance metrics. Every term is familiar, but when an interviewer asks “What is the core of FDE?”, the answer easily turns into a tool list.
A more reliable answer has only one main line: The core of FDE is not a particular model or process; it is turning on-site business into an executable Ontology. The essence of Ontology is the domain business contract layer. The upper-layer agent, RAG, tool calling, state machine, evaluation, and human fallback are all execution and assurance systems that operate around this contract.
1. Align on Semantics First: What Does FDE Mean?
In interviews, FDE has at least two common meanings. You must clarify them first; otherwise, the discussion can easily go off track.
| Semantics | Meaning | Focus |
|---|---|---|
| FDE as a role | Forward Deployed Engineer / Field Delivery Engineer | Understand requirements on the business site, align terminology, design solutions, integrate, validate, and feed back |
| FDE as a system carrier | Field Delivery Engine / Delivery Framework | Convert business playbooks, SOPs, rules, and constraints into system specifications and form a continuous iteration loop |
The two do not conflict: the role absorbs uncertainty in the field, and the system solidifies reusable parts. If you only talk about the role, the article becomes a job description. If you only talk about the system, it easily becomes disconnected from the business. The valuable answer is to unify both:
FDE is a delivery methodology and system carrier that takes the business site as input, uses Ontology as the semantic core, uses agents as the execution interface, uses evaluation and human fallback as safety boundaries, and uses versioned assets as feedback outputs.
This sentence can serve as an interview opening. Then you can explain “why Ontology is the key.”
2. Why Is Ontology the Business Contract Layer?
Many teams already have knowledge bases and have built retrieval-augmented generation. Why do they still see answers that miss the point, unauthorized operations, skipped workflow steps, and inconsistent definitions? The root cause is not that there are too few documents. It is that there is no “business contract” layer: the system does not truly know which entities exist in the business world, how entities relate, which actions are allowed in which states, what evidence is required to execute an action, and how to roll back or escalate to a human after failure.
Ontology is not a simple “glossary,” nor is it just a few entity-relationship diagrams. More precisely, it defines all of the following at the same time:
- Business entities: customers, contacts, opportunities, contracts, orders, work orders, products, regions, accounts, approval forms, and so on.
- Entity attributes and aliases: how the same business concept is unified across different names in different systems.
- Relationship constraints: relationships between customers and opportunities, contracts and receivables, work orders and equipment, approvals and roles.
- States and lifecycle: for example, “draft, pending approval, active, suspended, terminated,” plus the conditions for state transitions.
- Executable actions: creating tasks, changing owners, submitting approvals, generating renewal plans, initiating follow-ups.
- Preconditions and postconditions: rules that must be satisfied before and after an action is executed.
- Permissions and data boundaries: who can read, write, approve, and export within what scope.
- Evidence requirements: which business materials or structured data must be cited before an action can be executed.
- Versioning and auditing: how the contract evolves, and how changes are regression-tested and canary-released.
From this perspective, Ontology is much like an API contract for domain semantics: it tells the model not only what a field means, but also what the model can do, what it cannot do, what must be satisfied before doing it, and how to verify the result after doing it.
A useful sentence for an interview is:
RAG solves “finding evidence”; agents solve “whether planning and tool calling are possible”; Ontology solves “whether that evidence and those actions are legally, consistently, and auditably valid in the business.” Without Ontology, the stronger the agent, the more easily errors are amplified.
3. Reference Architecture: Where Ontology Sits in the System
The following simplified diagram illustrates the position:
Business site: terminology / SOPs / rules / exceptions / acceptance metrics|v+--------------------------------------+| Ontology business contract layer || entities, relations, constraints, || states, actions, permissions, || evidence |+--------------------------------------+| | |v v vTraceable knowledge Agent/state Tools and businessbase machine interfacesDocuments, FAQs, Planning, Query, write,policies reasoning, approvalexecution\ | /\ v /+------ Evaluation, audit, observability ----+|vHuman approval and exception fallback|vFailure samples and asset feedback
Several key points:
- A knowledge base is not the contract layer. Documents can describe policies, but the entities, states, actions, and constraints in those policies must be structured into Ontology. Otherwise, the model can only “read the text” and cannot execute reliably.
- An agent is not the contract layer. An agent can plan, select tools, and organize answers, but it should not invent business rules on its own. Rules should be explicitly expressed in Ontology, a policy engine, or workflow nodes.
- A tool is not the contract layer. An interface is only responsible for execution. The permissions, preconditions, and audit requirements behind the interface must be constrained by the contract layer.
- Evaluation and observability are not accessories. They verify whether the contract is executed and also drive Ontology iteration in reverse.
4. Ontology Modeling Example: From “Term Definitions” to “Executable Contracts”
The following pseudostructure describes a customer renewal scenario. Note that the example is not an interface from a real product; it illustrates the modeling approach.
{"entity": "Customer","aliases": ["customer", "client", "customer entity"],"attributes": {"customerId": "string","customerName": "string","segment": "enum[KA, SMB, CUSTOM]","ownerId": "string","status": "enum[active, suspended, churned]"},"relations": [{"name": "ownsOpportunity", "target": "Opportunity"},{"name": "signsContract", "target": "Contract"},{"name": "hasContact", "target": "Contact"}],"constraints": ["customer.ownerId cannot be empty","Renewal tasks cannot be created directly for churned customers"]}
An action contract can be written as:
{"action": "createRenewalTask","preconditions": ["contract.status == active","customer.status == active","operator.role in [salesOwner, salesManager]","evidence.contractEndDate has been verified"],"inputSchema": {"customerId": "string","renewalWindow": "dateRange","suggestedPlan": "string"},"postconditions": ["task.type == renewal","task.owner == customer.ownerId","audit.log has been recorded"],"requiresApproval": ["Route to human approval if discounts or non-standard terms are involved"]}
The pseudocode for agent execution can be abstracted as:
function handleUserRequest(session, request):intent = classify(request)entities = linkEntities(request, ontology)evidence = retrieveKnowledge(request, entities, userPermissions)plan = planAction(intent, entities, evidence, ontology)if not validateSchema(plan, ontology):return clarifyOrEscalate(plan)if not checkPreconditions(plan, businessData):return explainMissingCondition(plan)if needsApproval(plan, policy):return submitToHumanApproval(plan, evidence)result = executeAction(plan)verifyPostconditions(result)audit(plan, evidence, result, session)return composeAnswer(result, evidence)
This pseudocode illustrates one point: model output is not directly equal to a business operation. It must go through entity linking, contract validation, permission checks, approval, and auditing. This is the essential difference between an FDE system and a chatbot plus several tools.
5. Five-Step Loop: How FDE Turns the Business Site into Contracts
FDE delivery can be summarized as a five-step loop. Each step uses Ontology as either an input or an output.
1. Domain Alignment
After arriving at the business site, do not rush to connect models or build retrieval. The first task is to align terminology, entities, rules, and constraints.
Outputs should include:
- A business glossary and alias mapping;
- A first draft of core entities, relationships, and state machines;
- A list of SOPs and exception scenarios;
- Differences in definitions across existing systems and master data issues;
- Acceptance metrics and boundary conditions.
For example, what the business calls a “major customer” may correspond to a key account in customer segmentation, or it may mean a contract amount above a certain threshold. Without alignment first, later retrieval and agent operations will suffer from definition drift.
2. Shape the Problem
Turn vague requests such as “we want to build an intelligent assistant” into verifiable questions:
- Who are the target users?
- At which workflow node is it used?
- Does it need to answer, recommend, or execute?
- Which actions must require human approval?
- How large is the POC scope?
- What are the baseline metrics, such as manual handling time, first-contact resolution rate, unauthorized-operation rate, and handoff-to-human rate?
The outputs of this step should include a verifiable POC scope, a minimum Ontology loop, an evaluation sample set, and a risk list.
3. Build & Adapt
Integrate and adapt around standard capabilities:
- Connect business data, knowledge materials, and tool interfaces;
- Build a traceable knowledge base that preserves sources, versions, permissions, and citations;
- Implement Ontology entity linking, rule validation, state machines, and action executors;
- Add approval nodes, idempotency controls, and audit logs for high-risk actions;
- Complete a demo in an isolated environment without directly touching high-risk production write operations.
The key principle is: first run a controlled loop, then expand the scope of automation. Do not start by giving the model unconstrained production write permissions.
4. Ship & Validate
Launch is not the end. You need to establish:
- Offline evaluation: intent recognition, entity linking, retrieval recall, contract validation, and action accuracy;
- Online observability: handoff-to-human rate, tool failure rate, rule interception rate, and user adoption rate;
- Business metrics: handling time, conversion rate, ticket resolution rate, and renewal follow-up timeliness;
- Security metrics: unauthorized access, sensitive data exposure, and unapproved write operations;
- Canary release and rollback mechanisms: ramp by user, tenant, and workflow node.
Acceptance should consider both “whether the answer is fluent” and “whether the business operation is valid.” The latter is more important.
5. Feedback & Productize
Turn common field issues into reusable assets:
- New entity, relationship, constraint, and action templates;
- SOP state machine templates;
- Tool adapters and data mapping rules;
- Evaluation sets, failure samples, and regression cases;
- Industry-specific knowledge packages and permission policy templates;
- Ontology version change records.
Without feedback, FDE is only a one-off project. With feedback, the next project can be delivered faster and more reliably.
6. A Concrete Scenario: Why a Sales Renewal Agent Needs Ontology
Suppose you want to build a renewal follow-up agent for a sales SOP. The business request may be: “Help sales determine which customers should renew and generate follow-up tasks.” If you only do RAG, the system may retrieve renewal policies and generate a suggestion. But if it needs to actually create tasks, change owners, and initiate discount approvals, it must rely on Ontology.
The core contracts to define include:
- Entities such as customers, opportunities, contracts, contacts, products, payment plans, and tasks;
- Transition relationships among contract states, customer states, and task states;
- The rule that “renewal tasks can be created only within the renewal window”;
- The permission that “sales can operate only on customers they own”;
- The policy that “discounts above a threshold must be approved”;
- The requirement to “cite the contract expiration date as evidence”;
- The idempotency constraint that “failed task creation must not write duplicate records.”
When a user asks “Which customers need renewal?”, the system first performs entity recognition and permission filtering, obtains contract expiration information from structured data, retrieves renewal policies from the knowledge base, and then lets the agent organize the answer. When the user says “Create renewal tasks for all these customers,” the system cannot directly perform batch writes. It must go through contract validation, permission validation, risk classification, and necessary approval.
This is also a point that can demonstrate depth in an interview: the value of FDE is not making the model talk better, but making the model “make fewer mistakes, be explainable, be rollbackable, and be auditable” in complex business environments.
7. Common Pitfalls and Checklist
Equating Ontology with a data dictionary.
A data dictionary only describes fields. Ontology must also describe relationships, states, actions, constraints, permissions, and evidence.Putting all SOPs into prompts.
Prompts are suitable for expressing task goals and style, not for carrying many hard rules. Hard rules should go into the contract and validation layer.Doing retrieval only, without entity linking.
Retrieving a document does not mean knowing which customer entity the “customer” in the document refers to. This easily leads to irrelevant answers or unauthorized access.Letting the agent directly execute high-risk write operations.
Write operations must have preconditions, idempotency, approval, auditing, and rollback strategies.No versioning or regression testing.
Ontology changes directly affect agent behavior. They must be versioned and accompanied by evaluation sets.Evaluating only answer quality, not business actions.
Action success rate, violation interception rate, human takeover rate, and business metrics are equally critical.Pursuing a large and complete ontology from the start.
A more reasonable approach is to build a minimum business loop first and iterate around high-frequency, high-value, verifiable scenarios.
8. Interview Answer Framework: Explain It in 60 Seconds
If an interviewer asks “How do you understand FDE?”, you can answer with the following structure:
- Define first: FDE is both a field delivery role and a system carrier that solidifies the delivery methodology.
- Give the conclusion: the core is Ontology, the domain business contract layer.
- Explain why: RAG provides evidence, agents provide planning and execution, and Ontology provides entities, relationships, constraints, states, actions, permissions, and evidence requirements to ensure business consistency and auditability.
- Describe the loop: domain alignment, problem shaping, field adaptation, delivery validation, and feedback productization.
- Give a scenario: in a renewal agent, contract status, renewal window, permissions, and discount approval must all be constrained by contracts.
- Add risks: without a contract layer, the system will suffer from definition drift, unauthorized operations, skipped workflow steps, and unexplainable execution. Evaluation, human fallback, canary release, and auditing must accompany it.
- Close: the ultimate goal of FDE is to turn field uncertainty into versionable, testable, reusable business contract assets.
9. Conclusion
FDE interview questions easily overwhelm people because they span role methodology, agent architecture, knowledge retrieval, business modeling, permission governance, delivery processes, and evaluation systems. But if you grasp the main line, the answer can be very clear:
Ontology is the semantic core of FDE and the contract layer between the business and the agent.
It makes entities, relationships, rules, states, actions, permissions, and evidence in the business world explicit. RAG provides traceable evidence; agents plan and execute within contract boundaries; workflows and human approval control risk; evaluation and observability verify the loop; and feedback mechanisms turn field experience into reusable assets.
Being able to explain this logic clearly is more convincing than listing more tool names. What interviewers really want to confirm is not how many components you remember, but whether you can build a delivery chain from semantic alignment to executable, verifiable, and evolvable delivery in a complex business environment.
