Data analyst interview questions

A data analyst interview usually tests SQL (joins, indexes, slow queries), data cleaning, basic statistics, Python or Excel, and explaining findings to people who are not technical. Interviewers look for careful handling of messy data and honest conclusions. Bring one analysis you did, the question it answered and the decision it changed.

· 10 questions · Questions from the MiraiHire question bank; tips written by the MiraiHire team.

Technical questions

  1. What is the difference between INNER JOIN and LEFT JOIN?

    Foundational

    What the interviewer is looking for: INNER JOIN keeps only matching rows; LEFT JOIN keeps every row from the left table. A two-table example makes it clear.

  2. How do indexes speed up queries, and when can they slow things down?

    Applied

    What the interviewer is looking for: Explain lookups without a full scan, then the trade-offs: slower writes, extra storage and indexes the planner never uses.

  3. How would you investigate a query that became slow after the table grew?

    Advanced

    What the interviewer is looking for: Start with the query plan (EXPLAIN), check indexes and statistics, look for scans and sorts, then test the fix on realistic data.

  4. How would you clean a dataset with missing and inconsistent values before analysis?

    Foundational

    What the interviewer is looking for: Profile the data first, decide per column whether to drop, fill or flag missing values, standardise formats, and document each step.

  5. How do you check whether a difference between two groups is meaningful and not chance?

    Applied

    What the interviewer is looking for: Mention sample size, a suitable statistical test, confidence intervals and effect size, and checking the groups are comparable.

  6. What is the difference between a list and a tuple in Python?

    Foundational

    What the interviewer is looking for: Lists are mutable and tuples are immutable; mention when a tuple is the better choice, such as fixed records or dictionary keys.

  7. How would you profile and speed up a slow Python data-processing job?

    Advanced

    What the interviewer is looking for: Measure first (cProfile or a line profiler), find the hot spot, then vectorise, batch I/O, cache, or parallelise, and measure again.

Behavioural questions

  1. Tell me about a time you improved a process or saved your team time.

    Applied

    What the interviewer is looking for: Quantify the before and after (hours saved, errors reduced) and explain how you got others to adopt the change.

  2. Describe a goal you missed. What happened and what did you learn?

    Applied

    What the interviewer is looking for: Be honest about the cause without blaming others, and show what you now do differently because of it.

Answering behavioural questions

Use STAR: the Situation, your Task, the Actions you took and the Result, ideally with a number. Paste your answer into the free STAR checker to see which part is missing.

Check my answer with STAR →

Situational questions

  1. How would you explain a technical problem to a non-technical stakeholder?

    Foundational

    What the interviewer is looking for: Start with the impact on them, use a simple comparison, avoid jargon, and finish with what you need from them.

Practise these questions

MiraiHire gives you interview practice sets from this question bank, by text or voice, with feedback. Free to start.

Start practising free