Technical practice
How would you design an end-to-end enterprise RAG pipeline covering ingestion, chunking, retrieval, generation, and systematic evaluation?
What to coverThe candidate should outline data ingestion handling diverse formats, semantic vs. fixed chunking strategies, embedding generation, vector indexing with hybrid search, and LLM generation. They should also detail quantitative evaluation metrics like context relevance, groundedness, and answer faithfulness using frameworks like Ragas or TruLens.
When architecting an agentic workflow using LangGraph or CrewAI, how do you handle state management, tool execution errors, and infinite loops?
What to coverCandidates should explain graph-based state persistence, conditional branching, and deterministic boundary checks. They should discuss graceful failure recovery when tool calls fail, structured output validation using Pydantic, and enforcing strict recursion limits and timeout controls.
What criteria and methodology do you use to evaluate whether a business problem requires RAG, LLM fine-tuning, or a hybrid approach?
What to coverThe candidate should contrast static domain adaptation and style alignment (fine-tuning) against dynamic, factual knowledge retrieval with strict provenance (RAG). They should discuss trade-offs in data preparation cost, latency, hosting requirements, retraining frequency, and risk of catastrophic forgetting.
How do you prepare, validate, and sanitize data for supervised fine-tuning to prevent data contamination and ensure high training quality?
What to coverCandidates should cover data collection pipelines, instruction-response pair formatting, deduplication, and synthetic generation techniques. Key focus areas include strict train/validation splits, leak detection across benchmarks, and data quality checks to filter out toxic, low-entropy, or misaligned examples.
How do you implement and monitor LLM observability and tracing in production using Langfuse?
What to coverThe candidate should describe instrumentation of API calls, agent steps, and tool invocations via SDK integration. They should highlight tracking token expenditure, step-level latency, user feedback capture, and setting up alerts for degradation or guardrail violations.
What prompt engineering techniques and guardrails do you apply to maximize output accuracy and defend against prompt injections?
What to coverCandidates should explain chain-of-thought, few-shot demonstration selection, and dynamic system prompting tailored to function calling. They should also detail input sanitization, delimiter enforcement, and system-level prompt injection detection before requests hit agent logic.
How do you containerize and deploy an enterprise LLM application using Docker and Kubernetes across cloud providers?
What to coverCandidates should walk through multi-stage Docker build optimization, non-root user permissions, handling secrets, and resource constraints for GPU or CPU inference workloads. They should touch on Kubernetes deployment patterns, including health probes, horizontal pod autoscaling, and service mesh routing.
How do you incorporate Responsible AI and explainability principles into generative AI systems for enterprise clients?
What to coverCandidates should explain how to deliver transparent source citations, attribution mechanisms, and confidence scores to enterprise users. They should also discuss automated bias detection, toxicity filtering, compliance governance, and audit logging for model decisions.
Behavioural practice
Describe a scenario where you had to persuade business stakeholders that their desired AI approach was not technically or economically viable.
What to coverFocus on a situation involving a technical trade-off (e.g., opting for RAG over costly fine-tuning). The response should follow the Situation, Action, Result framework, detailing how technical metrics and cost-benefit analysis were communicated to non-technical leaders to achieve consensus.
Can you share an experience where an AI system failed or degraded in production, and how you led the troubleshooting and resolution?
What to coverUsing the STAR method, detail the incident (e.g., latency spikes, hallucination outbreaks, or breaking API changes), the diagnostic steps taken to isolate root causes, the remediation executed, and the systemic guardrails implemented to prevent recurrence.
Tell me about a time you had to set engineering standards or mentor other engineers in adopting emerging frameworks like LangChain or LangGraph.
What to coverStructure an example illustrating senior technical leadership. Highlight identifying gaps in code quality or framework misuse, authoring reference architectures or design patterns, and mentoring team members to build reliable, maintainable AI workflows.
Describe a situation where you had to balance aggressive delivery deadlines with rigorous model evaluation and security requirements.
What to coverExplain a real-world scenario demonstrating technical integrity and prioritization. Address how MVP scope was defined, what automated evaluation shortcuts were avoided, and how security, compliance, and reliability were maintained without missing critical delivery milestones.