Technical practice
How do you choose and tune document chunking strategies for a RAG pipeline?
What to coverSuggested practice question based on the RAG and search pipelines requirement. Address trade-offs between small chunks (higher retrieval precision, risk of losing surrounding context) and large chunks (richer context, higher token cost and noise), plus how overlap and document structure guide your approach.
When optimizing vector search in RAG, how do you diagnose whether poor answers come from retrieval or generation?
What to coverSuggested practice question based on RAG optimization and hallucination validation duties. Explain how to inspect top-k retrieved chunks and similarity scores independently before adjusting system prompts, and discuss techniques like metadata filtering or hybrid search to improve retrieval quality.
What factors determine when you select commercial LLM APIs (OpenAI, Claude, Gemini) versus an open-source model like Llama?
What to coverSuggested practice question based on the requirement to integrate commercial and open-source APIs. Compare trade-offs across latency, cost, data privacy, context length, and native structured-output support, and explain how to abstract provider clients in Python so switching models is low-friction.
How do you design system prompts, in-context examples, and structured outputs to improve response accuracy?
What to coverSuggested practice question based on prompt and context engineering duties. Discuss separating system instructions from untrusted user input, selecting diverse few-shot examples, and enforcing schema validation or retries when model outputs deviate from expected JSON formats.
How do you systematically evaluate a GenAI proof-of-concept and validate outputs against reference sources to minimize hallucinations?
What to coverSuggested practice question based on prototyping, testing, and reference-source validation requirements. Describe building an evaluation test set, instructing the model to cite or ground claims strictly in retrieved passages, and checking faithfulness rather than relying solely on manual spot checks.
How would you structure a modular FastAPI or Flask service that connects an LLM pipeline with both SQL and Vector databases?
What to coverSuggested practice question based on software integration and API duties. Address separating API routing, prompt templates, retrieval logic, and database access layers in Python, as well as handling async calls, timeouts, and external API rate-limit errors cleanly.
What basic guardrails and reliability checks do you put in place when exposing an LLM feature in an application?
What to coverSuggested practice question based on service reliability and basic guardrails duties. Cover input validation (length limits, prompt-injection boundaries), output checks (schema compliance, fallback responses on API failure), and logging latency and token usage for monitoring.
Behavioural practice
Tell me about a time you built a rapid proof-of-concept (POC) and had to transition or clean up the code for reliability.
What to coverSuggested practice question aligned with rapid POC prototyping and clean, modular Python duties. Use Situation, Action, and Result to explain how you balanced speed during experimentation with refactoring, testing, and documentation afterward.
Describe a situation where an AI model or software feature produced inaccurate or unreliable outputs, and how you systematically diagnosed and fixed it.
What to coverSuggested practice question aligned with prompt refinement, evaluation testing, and hallucination reduction. Walk through the specific failure pattern, how you isolated the root cause using test cases or reference checks, and the measurable improvement achieved.
Tell me about a time you worked under senior mentorship or used code review feedback to improve your implementation.
What to coverSuggested practice question aligned with participating in code reviews and working under senior mentorship. Focus on a concrete technical suggestion you received, how you incorporated it into your codebase or documentation, and what you learned from the collaboration.
Describe a time you had to integrate multiple external APIs or data stores into a single backend workflow.
What to coverSuggested practice question aligned with connecting AI models, REST APIs, and SQL/Vector databases. Highlight how you managed differing API behaviors, handled failure modes, and kept the integration maintainable via Git/GitHub.