Walk into your next interview ready.

The LuxDevHQ interview guide for data and software roles: what to prepare, how to structure your answers, model answers you can adapt, and a timed simulator to practise until it feels natural.

practice questions
98
practice questions
model answers
26
model answers
categories
9
categories

Before the interview

The preparation playbook

Interviews reward preparation more than talent. Work through these eight habits and you will already be ahead of most candidates.

Research the company

  • Understand its mission, values, products and users
  • Read recent news, its engineering blog or LinkedIn posts
  • Tailor your answers to what the company cares about

Know the job description inside out

  • Highlight every skill and tool it mentions
  • Match each requirement to a project or experience
  • Prepare to explain any gaps honestly

Practise every question type

  • Behavioural: real stories structured with STAR
  • Technical: core concepts and problem-solving out loud
  • Situational: how you would handle realistic scenarios

Prepare your own questions

  • Ask about the team, upcoming projects and growth
  • Good questions show genuine interest in the role
  • Write them down and bring them with you

Dress for the culture

  • Choose clean, professional clothes that suit the company
  • When in doubt, slightly overdressed beats underdressed
  • For video calls, dress fully — it changes how you sit and speak

Mind your body language

  • Sit up straight, make eye contact (look at the camera online)
  • Smile and show genuine enthusiasm
  • Keep your hands relaxed and avoid fidgeting

Practise makes perfect

  • Run mock interviews with a friend, mentor or this page’s simulator
  • Record yourself to spot filler words and body language
  • Repeat until your stories feel natural, not memorised

Stay calm and confident

  • Take slow, deep breaths before you start
  • It is fine to pause and think before answering
  • Remember you are also deciding whether the company suits you

The six stages you will go through

  1. 1

    Application and CV screen

    A recruiter checks your CV, GitHub and portfolio against the role. Lead with projects that match the job description.

  2. 2

    Recruiter call

    20–30 minutes on your background, motivation and availability. Have your two-minute introduction ready.

  3. 3

    Technical assessment

    A timed test, take-home project or live coding. Read instructions twice and explain your reasoning.

  4. 4

    Technical interview

    Walk through a project, solve a problem together or design a small system. Think aloud.

  5. 5

    Behavioural interview

    Teamwork, conflict, failure and ownership. Answer with real stories using STAR.

  6. 6

    Offer and negotiation

    Get the offer in writing, compare the full package and respond professionally within the agreed time.

Structure beats nerves

Four frameworks for any question

When you have a structure, you never have to wonder what to say next. Learn these four and you can answer almost anything clearly.

STAR

Behavioural questions: “Tell me about a time…”

  1. S

    Situation

    Set the scene in one or two sentences.

  2. T

    Task

    Your responsibility or the problem to solve.

  3. A

    Action

    The specific steps you took. Say “I”, not only “we”.

  4. R

    Result

    The outcome and what you learned.

Present · Past · Future

“Tell me about yourself”

  1. P

    Present

    Who you are and what you do now.

  2. P

    Past

    The experience and training that got you here.

  3. F

    Future

    Why this role is your natural next step.

Claim · Proof · Value

Strengths and “Why should we hire you?”

  1. C

    Claim

    State one strength clearly.

  2. P

    Proof

    Back it up with a specific example.

  3. V

    Value

    Explain how it helps this team.

Clarify · Plan · Solve · Test

Technical and coding problems

  1. C

    Clarify

    Restate the problem and confirm inputs, outputs and edge cases.

  2. P

    Plan

    Describe your approach before writing code.

  3. S

    Solve

    Write the solution while thinking aloud.

  4. T

    Test

    Walk through examples and discuss complexity.

Learn by example

Model answers to the questions everyone gets

Each answer shows the structure, an example you can adapt, and the trap to avoid. Replace anything in [brackets] with your own details.

Only tell stories that really happened. Interviewers ask follow-up questions, and an honest answer about a smaller project beats an impressive one you cannot explain.

How to structure it

  1. 1Present: who you are and what you do now
  2. 2Past: the training, projects or roles that built your skills
  3. 3Future: why this role is the natural next step
Example answerI’m a data engineer who recently completed an intensive programme at LuxDevHQ, where I built batch and streaming pipelines with Python, SQL, Airflow and Kafka. Before that I worked in [previous field], which taught me to communicate with non-technical stakeholders. My capstone project ingested [data source] into a cloud warehouse and powered a dashboard that [result]. I’m excited about this role because your team works with data at a scale where I can keep growing, and I can contribute from day one on pipeline work.

Avoid: Reciting your whole CV or sharing personal details that have nothing to do with the job.

Practise out loud

Mock interview simulator

Pick a category, start the timer and answer out loud as if the interviewer were in front of you. Check the hint afterwards, not before.

Choose a category

Behavioural · Question 1 of 98

Tell me about yourself.

Hint: Present, past, future: what you do now, the experience that got you here, and why this role is the logical next step. Keep it under two minutes.

2:00

Answered this session: 0

Tip: record yourself on your phone while you practise, then listen back for filler words and rambling.

Question bank

98 questions interviewers actually ask

Behavioural, situational and technical questions for data and software roles. Open any question to see how to approach it.

Showing 98 of 98 questions

Behavioural

18

How you work with people, handle pressure and learn.

  1. 1Tell me about yourself.

    Present, past, future: what you do now, the experience that got you here, and why this role is the logical next step. Keep it under two minutes.

  2. 2What is your greatest strength?

    Pick one strength the job needs and prove it with a short, specific example.

  3. 3What is your biggest weakness?

    Name a real, non-critical weakness and the concrete steps you are taking to improve it.

  4. 4Describe a challenge you faced and how you overcame it.

    Use STAR. Spend most of the answer on the actions you personally took.

  5. 5How do you handle tight deadlines?

    Show a method: break the work down, agree priorities early, communicate risks before they become surprises.

  6. 6How do you prioritise your tasks when you have multiple deadlines?

    Mention impact versus urgency, checking priorities with your manager, and a tool you use to track work.

  7. 7Give an example of a time you had to learn a new technology or tool quickly.

    Explain how you learned (docs, small prototype, asking experts) and what you delivered with it.

  8. 8How do you ensure data quality in your projects?

    Validation at ingestion, automated tests, monitoring for anomalies, and clear ownership when something breaks.

  9. 9How do you stay up to date with trends in data and software?

    Name real sources you use — newsletters, communities, side projects — and something you recently learned.

  10. 10Describe a time you worked with a difficult team member.

    Focus on understanding their view and the professional steps you took. Never criticise the person.

  11. 11Why do you want to work for our company?

    Reference something specific: a product, their users, a talk or engineering blog post. Link it to your goals.

  12. 12Tell me about a time you led a project.

    Leadership is not a title. Show how you set direction, unblocked others and delivered the result.

  13. 13How do you handle feedback and criticism?

    Give an example of feedback you received, what you changed, and the improvement it led to.

  14. 14Describe a situation where you had to troubleshoot a complex problem.

    Walk through your process: reproduce, isolate, form hypotheses, test, fix, prevent recurrence.

  15. 15How do you manage stress and pressure at work?

    Planning ahead, clear communication with the team and healthy habits outside work. Keep it practical.

  16. 16Why are you looking for a new opportunity?

    Stay positive and forward-looking: growth, new challenges, the kind of work you want to do more of.

  17. 17What are you most passionate about?

    Be genuine. Connect the passion to how you solve problems or the impact you want to make.

  18. 18Why is communication with co-workers important to you?

    It prevents rework, surfaces problems early and builds trust. Give a moment where it made a difference.

Situational

8

Hypothetical “what would you do if…” scenarios.

  1. 1What would you do if you realised you could not meet a deadline?

    Tell your manager early, explain why, and offer options: reduced scope, extra help or a new date.

  2. 2Your manager gives you a task with unclear requirements. What do you do?

    Ask clarifying questions, write down your understanding, confirm it, and check in early with a draft.

  3. 3You find a serious bug in code that has already been released. What next?

    Assess impact, inform the team, fix or roll back, then write up the cause so it does not recur.

  4. 4A stakeholder asks for a change in the middle of a sprint. How do you respond?

    Acknowledge it, assess the effort and trade-off, and let the product owner decide on priorities.

  5. 5You disagree with a technical decision your team has made. What do you do?

    Raise it respectfully with evidence. If the team still decides otherwise, commit fully to the decision.

  6. 6You are asked to work with a tool you have never used. How do you start?

    Official docs, a small proof of concept, and asking a colleague who knows it. Share what you learn.

  7. 7A teammate keeps missing their part of a shared task. How do you handle it?

    Speak to them privately first; they may be blocked. Offer help, then escalate only if it continues.

  8. 8You notice a colleague handling customer data insecurely. What do you do?

    Raise it promptly and calmly through the right channel. Protecting users comes before avoiding awkwardness.

Data Engineering

15

Pipelines, platforms, modelling and data quality.

  1. 1What is Apache Spark, and how does it differ from Hadoop MapReduce?

    Spark keeps intermediate data in memory and offers high-level APIs (SQL, DataFrames, streaming); MapReduce writes to disk between steps, so it is slower for iterative work.

  2. 2Explain the differences between ETL and ELT.

    ETL transforms before loading; ELT loads raw data into the warehouse first and transforms there, which suits scalable cloud warehouses.

  3. 3What are the key components of a data pipeline?

    Sources, ingestion, storage, transformation, orchestration, serving, plus monitoring and data quality checks throughout.

  4. 4How do you optimise SQL queries for performance?

    Read the execution plan, index filtered and joined columns, avoid SELECT *, filter early and partition large tables.

  5. 5What is data partitioning, and why is it important?

    Splitting data by a key such as date so queries scan only what they need — faster and cheaper, and easier to reprocess.

  6. 6Describe the star and snowflake schemas.

    Star: a fact table surrounded by denormalised dimensions. Snowflake: dimensions normalised into sub-tables, saving space at the cost of more joins.

  7. 7How do you handle data versioning in your projects?

    Immutable raw data, dated snapshots or table formats with time travel (Delta, Iceberg), and transformation code in Git.

  8. 8What are the benefits of cloud data warehouses like Snowflake or Redshift?

    Separation of storage and compute, elastic scaling, managed maintenance and pay-for-use pricing.

  9. 9Explain data lakes and their advantages.

    Cheap storage for raw data in any format, schema-on-read flexibility, and a single source for analytics and ML.

  10. 10How do you implement data validation and quality checks in pipelines?

    Schema checks, null and uniqueness tests, row-count and freshness checks, using tools like dbt tests or Great Expectations.

  11. 11What is the role of a data engineer in a machine learning project?

    Reliable training data, feature pipelines, data versioning and serving data to models in production.

  12. 12Describe your experience with CI/CD in data engineering.

    Automated tests on pull requests, linting SQL, deploying DAGs and dbt models through a pipeline rather than by hand.

  13. 13How do you manage and monitor workflows with Apache Airflow?

    DAGs with clear dependencies, retries, SLAs and alerting; idempotent tasks so reruns are safe.

  14. 14What data governance practices do you follow?

    Access control, data catalogues and lineage, ownership, retention policies and handling personal data lawfully.

  15. 15Explain structured, semi-structured and unstructured data.

    Tables with fixed schemas; JSON or XML with flexible structure; free text, images and audio with no predefined model.

Data Engineering Scenarios

10

Design and troubleshooting problems you talk through.

  1. 1How would you design a data pipeline for real-time analytics?

    Event source → message broker (Kafka) → stream processor (Spark Streaming, Flink) → low-latency store → dashboard. Discuss late data and failures.

  2. 2Describe how you would migrate data from an on-premises system to the cloud.

    Inventory and assess, choose a migration pattern, migrate in phases, validate counts and checksums, then cut over with a rollback plan.

  3. 3Your data pipeline fails in production. What do you do?

    Communicate impact, check logs and recent changes, fix or roll back, backfill missing data, then add a test or alert for next time.

  4. 4How would you ensure data security and compliance?

    Encryption in transit and at rest, least-privilege access, masking personal data, audit logs and following laws like the Kenya Data Protection Act or GDPR.

  5. 5How would you optimise a slow-running ETL job?

    Profile to find the bottleneck, process incrementally, push filters down, partition, parallelise and right-size compute.

  6. 6How would you integrate data from multiple sources with different formats?

    Land raw data as-is, standardise into a common schema, map keys between systems and document every transformation.

  7. 7How would you design a data architecture for a new product feature?

    Start with the questions the business needs answered, then events to track, storage, models and who consumes the data.

  8. 8What strategies would you use to reduce cloud storage costs?

    Lifecycle rules to cheaper tiers, compression and columnar formats, deleting unused data and partition pruning.

  9. 9You discover a significant data discrepancy. How do you handle it?

    Quantify it, trace lineage back to the source, inform affected users, fix the root cause and add a reconciliation check.

  10. 10How would you scale a pipeline for growing data volumes?

    Incremental processing, partitioning, distributed compute, autoscaling and removing single-machine bottlenecks.

SQL & Database Design

10

Queries, schemas and database internals.

  1. 1Write a SQL query to find the second-highest salary in a table.

    SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees); or use DENSE_RANK() and filter for rank 2.

  2. 2Explain the differences between OLTP and OLAP systems.

    OLTP handles many small, fast transactions (orders, payments); OLAP handles large analytical queries over historical data.

  3. 3How do you design a database schema for a new application?

    Identify entities and relationships, normalise, choose keys and constraints, then index for the main access patterns.

  4. 4What are the advantages and disadvantages of NoSQL databases?

    Flexible schemas and horizontal scaling, but weaker joins and often relaxed consistency. Choose by access pattern.

  5. 5Describe the process of normalising a database.

    1NF atomic values, 2NF no partial dependencies, 3NF no transitive dependencies — reducing duplication and update anomalies.

  6. 6How do you approach indexing, and why is it important?

    Indexes speed up reads on filtered, joined and sorted columns but slow down writes and use space. Index for real queries.

  7. 7Explain the ACID properties.

    Atomicity, Consistency, Isolation, Durability — the guarantees that keep transactions reliable even when things fail.

  8. 8What are the different types of SQL joins, and when would you use each?

    INNER for matches only, LEFT/RIGHT to keep all rows from one side, FULL for everything, CROSS for every combination.

  9. 9How do you implement sharding in a distributed database?

    Split data across nodes by a shard key; choose a key that spreads load evenly and keeps related data together.

  10. 10Describe database replication and failover strategies.

    Primary-replica replication for read scaling and backup; automatic failover promotes a replica when the primary fails.

Data Analytics & Science

10

Analysis, statistics, dashboards and ML basics.

  1. 1What is the difference between WHERE and HAVING?

    WHERE filters rows before grouping; HAVING filters groups after aggregation.

  2. 2A dataset has missing values and duplicates. How do you clean it?

    Profile first, then decide per column to drop, impute or flag. Remove duplicates and document every decision.

  3. 3Explain a p-value to a non-technical manager.

    How likely results this extreme would be if there were no real effect. It does not measure how big the effect is.

  4. 4Sales dropped 15% last month. How would you investigate?

    Verify the data, segment by region, product and channel, check seasonality, then recommend an action.

  5. 5How do you choose between precision and recall?

    Precision when false positives are costly, recall when false negatives are costly; F1 to balance them.

  6. 6How would you design an A/B test?

    Define one metric and hypothesis, calculate sample size, randomise users, run for a full cycle and check significance.

  7. 7What is overfitting and how do you prevent it?

    A model that memorises training data. Use cross-validation, simpler models, regularisation and more data.

  8. 8How do you choose the right chart for your data?

    Line for trends over time, bar for comparisons, scatter for relationships, and avoid pie charts with many slices.

  9. 9What makes a good dashboard?

    Built for one audience and decision, a few key metrics at the top, consistent definitions and no clutter.

  10. 10Explain correlation versus causation with an example.

    Ice cream sales and drowning both rise in summer; heat drives both. Only experiments establish cause.

Software Engineering

12

Coding, the web, APIs and system design.

  1. 1Find two numbers in an array that add up to a target.

    Start with the O(n²) loop, then improve to O(n) with a hash map of values already seen.

  2. 2What happens when you type a URL into a browser?

    DNS, TCP and TLS, HTTP request, server response, then parsing, styling and rendering the page.

  3. 3Explain authentication versus authorisation.

    Authentication proves who you are; authorisation decides what you may do.

  4. 4How would you design a URL shortener?

    Clarify requirements, define the API, generate short codes, store mappings, cache popular links and plan for scale.

  5. 5Walk me through a project you built.

    Problem, your role, stack choices, one hard decision or bug, and what you would improve.

  6. 6How do you test your code?

    Unit, integration and end-to-end tests, run automatically in CI before merging.

  7. 7What is the difference between a process and a thread?

    A process has its own memory; threads share their process's memory, making them lighter but needing care with shared state.

  8. 8Explain REST and the main HTTP methods.

    Resources identified by URLs; GET reads, POST creates, PUT/PATCH update, DELETE removes; responses use status codes.

  9. 9How would you optimise a slow web page?

    Measure first, then compress and lazy-load images, reduce JavaScript, cache assets and fix slow API calls.

  10. 10What is the difference between SQL and NoSQL from an application's view?

    SQL gives schemas, joins and transactions; NoSQL gives flexible documents and easy scaling for simple access patterns.

  11. 11Explain Git merge versus rebase.

    Merge preserves history with a merge commit; rebase rewrites commits onto a new base for a linear history. Never rebase shared branches.

  12. 12How would you optimise a database query for faster performance?

    Check the query plan, add the right index, fetch only needed columns, avoid N+1 queries and cache repeated reads.

Python

8

Language fundamentals interviewers love to probe.

  1. 1What is the difference between a list and a tuple?

    Lists are mutable; tuples are immutable, hashable when their contents are, and slightly faster.

  2. 2Explain list comprehensions and give an example.

    A concise way to build lists: [x * 2 for x in nums if x > 0]. Readable for simple cases only.

  3. 3What are *args and **kwargs?

    *args collects extra positional arguments into a tuple; **kwargs collects extra keyword arguments into a dict.

  4. 4What is a generator, and why use one?

    A function that yields values lazily, one at a time — memory-efficient for large or infinite sequences.

  5. 5How do you handle exceptions in Python?

    try/except for specific exceptions, else for success, finally for cleanup; never use a bare except.

  6. 6What is the difference between == and is?

    == compares values; is checks whether two names point to the same object.

  7. 7How would you read a large CSV file that does not fit in memory?

    Stream it with the csv module or pandas read_csv(chunksize=...), processing one chunk at a time.

  8. 8Explain decorators.

    Functions that wrap another function to add behaviour, such as logging, caching or access checks.

Leadership & Management

7

For senior, lead and management roles.

  1. 1Give an example of a time you had to make a difficult decision.

    Explain the options, how you weighed them, who you consulted, the decision and what happened.

  2. 2How would you describe your leadership style?

    Name it plainly and back it with an example of how it helped a team deliver.

  3. 3How do you mentor junior team members?

    Regular one-to-ones, pairing, stretch tasks with support, and helping them set their own goals.

  4. 4Tell me about a time you had to give difficult feedback.

    Private, specific, about behaviour not personality, with agreed next steps and follow-up.

  5. 5How do you resolve conflict between team members?

    Hear each side separately, find the root cause, agree a shared goal and a way forward together.

  6. 6How do you handle an underperforming team member?

    Find the cause first, set clear expectations, offer support and track progress fairly.

  7. 7Describe your day-to-day responsibilities as a team lead.

    Planning and prioritising work, unblocking the team, reviews, stakeholder communication and developing people.

Get ready

Your four-week preparation plan

About an hour a day is enough to walk in confident. Adjust the pace to the time you have.

  1. Week 1

    Foundations and story

    • Update your CV, LinkedIn and GitHub README
    • Write your two-minute introduction
    • Revise core fundamentals for your track
  2. Week 2

    Daily technical practice

    • Solve 1–2 SQL or coding problems every day
    • Explain each solution out loud
    • Review topics you got wrong
  3. Week 3

    Projects and behavioural

    • Prepare walkthroughs of two portfolio projects
    • Write five STAR stories from real experience
    • Research your target companies
  4. Week 4

    Mock interviews

    • Do at least two timed mock interviews
    • Record one and review it honestly
    • Prepare questions for the interviewer

Interview day

Tick it off as you go

Your progress is saved in this browser, so you can come back to it on the day.

Your readiness

0 / 15

The day before
One hour before
During the interview
Afterwards

Avoid these

Common interview mistakes

Jumping straight into code

Restate the problem and confirm inputs, outputs and edge cases first.

Staying silent

Interviewers can only credit reasoning they hear. Think aloud.

Memorising answers word for word

Know your stories well, but tell them naturally in your own words.

Exaggerating or inventing experience

Follow-up questions expose it quickly. Honesty about gaps builds trust.

Speaking badly of past employers

It makes interviewers wonder what you would say about them.

Not researching the company

Know what they build, who their users are and why you want to join.

Rambling answers

Aim for one to two minutes, then stop and let them ask more.

Having no questions at the end

It can look like low interest. Always prepare two or three.

Your turn

Questions to ask them

The role

  • What would success look like in the first three months?
  • What is the first thing you would like me to focus on?
  • What does a typical week look like in this role?

The team

  • How does the team review and share work?
  • Who would I work with most closely?
  • What learning and mentorship opportunities are there?

The company

  • What are the company’s plans for the next few years, and how could this role help?
  • What is the biggest challenge the team is facing right now?

Next steps

  • How many stages are there in the hiring process?
  • When can I expect to hear back?

The best interview answers come from real projects.

LuxDevHQ programmes combine instructor-led training with hands-on projects you can confidently walk interviewers through.