AIInterviewTraining logoAIInterview/Training
AI ENGINEERING · CUSTOMER DEPLOYMENTS

Meta AI Engineer interview questions

Meta runs one of the largest ML engineering organizations anywhere, from ranking and ads to Llama and its business AI products, plus partner engineering that works directly with external teams building on them. The loop is the most classically algorithmic on this list: two medium coding problems per screen, system design, and behavioral, with ML system design added for ML roles. Speed and correctness under a timer count for more here than at most AI companies.

The Meta AI Engineer interview process

Documented
RoleSoftware Engineer, Machine Learning (E4/E5+); the FAIR research division runs a more academic, publication-weighted loopLoop~4-8 weeks; team match happens after the loop
  1. 1
    Recruiter screenLogistics, calibration, and target level.
  2. 2
    Technical phone screenCoding (LeetCode medium-hard) plus light ML.
  3. 3
    Coding rounds (x2)Two rounds emphasizing high-quality execution under time pressure.
  4. 4
    ML system design (1-2 rounds)The signature, most-weighted round at E5+: design a recommendation/ranking/fraud system end-to-end (data, features, model, eval, deployment, monitoring). Often on Excalidraw (talk, do not necessarily draw); recruiters share an MLSD prep guide and the 'Field Guide to Machine Learning'.
  5. 5
    BehavioralCross-functional collaboration and quantified impact.
WHAT THEY'RE EVALUATING
  • The explicit coding + ML-system-design split
  • End-to-end ML systems (recommendation/ranking/fraud) at scale
  • High-quality coding under time pressure
  • E5+ leadership and quantified impact

Compiled from our research and publicly available information (candidate reports and company interview guides). Interview loops change and are continuously iterated, and they vary by team, level, and region. Treat this as directional preparation, not an official spec, and confirm the exact rounds with your recruiter or hiring point of contact.

Questions modeled on Meta loops

406 questions · 42 unlocked for you

More from the tracks Meta's loop tests

The highest-signal questions across Meta's core tracks.

8 questions · 4 unlocked for you

Go deeper on the topics Meta's loop tests

The tracks that map to a Meta AI Engineer loop, in the order to work through them.

The concepts Meta's AI Engineer loop assumes you know

The vocabulary and mental models behind Meta's questions, from our curriculum. Start with the foundations free; the deeper, interview-defining ideas are part of premium.

CODING & ENGINEERING CRAFT

Foundational
Parsing Messy, Real-World DataProduction data arrives messy: formats vary, fields go missing, encodings break, records come malformed, and edge cases appear that you never planned for. Defensive parsing tackles the unhappy path on purpose, checking input, choosing per record whether to skip, default, or fail, and keeping one bad record from taking down the batch. Applied-AI interviews test this (frequently as a coding screen) because feeding documents and data into AI systems is half the work, and fragile parsers built for clean input break the moment they hit production.
Foundational
The Big-O That Actually MattersBig-O complexity counts most where it actually hurts in real AI systems: dodge accidental O(n^2) (all-pairs comparisons, repeated linear scans), reach for hash maps to get O(1) lookups, and understand that vector search stays approximate exactly because exact nearest-neighbor costs O(n) per query. The useful skill is catching the quadratic trap and the data-structure fix, not naming complexity classes. Applied-AI interviews test it because the gap between O(n) and O(n^2) separates a system that scales from one that topples over.
CoreSign in
Testable Design for AI SystemsAI systems resist testing because models are non-deterministic and reach out to external services, so testability must be built in from the start: put the non-deterministic model behind an interface so you can mock it, split deterministic logic (parsing, retrieval, formatting) away from the model call and test it as usual, and check metric tolerances instead of exact outputs. Applied-AI interviews test this because untestable LLM code regresses without warning, and the habit of mocking the model and testing the deterministic pieces is what keeps a system reliable.
CoreSign in
Streaming and BackpressureWhen data is too large to hold in memory or keeps arriving without end, you handle it as a stream, one piece at a time, with bounded memory, rather than pulling it all in. Backpressure is the mechanism that keeps a fast producer from swamping a slow consumer, by signaling 'slow down' instead of buffering without limit until memory runs out. Applied-AI interviews test it because AI pipelines chew through huge datasets and token streams, and the naive load-everything approach OOMs while unbounded buffering crashes under load.

SYSTEM DESIGN FOR AI IN PRODUCTION

Foundational
The LLM GatewayAn LLM gateway is one proxy layer sitting between your application and one or more model providers. It consolidates the cross-cutting concerns every LLM app needs: routing and fallback across models/providers, caching, rate limiting, authentication, cost tracking, observability, and guardrails. By hiding providers behind a single interface, it also guards against vendor lock-in. AI, ML, and GenAI engineer interviews probe it because it forms the backbone of a production LLM platform and holds most operational controls.
Foundational
Latency Budgets and StreamingLLM latency is not a single figure: time-to-first-token (driven by prefill and queueing) and inter-token latency (driven by decode) feel very different to users. Streaming tokens as they generate masks total latency by showing progress right away. Designing to a latency budget means splitting time across retrieval, model, and tools, tracking TTFT and tokens-per-second (not only end-to-end), and applying streaming, caching, and routing to meet it. AI, ML, and GenAI engineer interviews probe it because perceived latency makes or breaks LLM UX.
Foundational
GuardrailsGuardrails are the runtime safety layer around an LLM: input checks (spotting prompt injection, off-topic or disallowed requests, PII) ahead of the model, and output checks (content safety, schema/format validation, grounding, PII/secret leakage) ahead of the user. They combine rules, classifiers, judge models, and validators, plus a defined fail-safe action when one trips. AI, ML, and GenAI engineer interviews probe it because 'add guardrails' is hand-wavy, and it is the concrete input/output checks plus fail-safe behavior that keep a deployment safe.
Foundational
Rate Limiting, Retries, and BackoffLLM systems rely on rate-limited, sometimes-failing providers, so resilient design is essential. Rate limiting (token bucket) shields your service and enforces per-tenant quotas; retries with exponential backoff and jitter absorb transient failures without hammering a struggling dependency; circuit breakers stop sending requests to a failing service so it can recover. AI, ML, and GenAI engineer interviews probe it because LLM calls are slow, expensive, and flaky, and naive retry logic turns a blip into an outage.

EVALUATION & ML FOUNDATIONS

CoreSign in
Information Theory for MLML rests on four information-theoretic quantities: entropy (how uncertain a distribution is), cross-entropy (the cost of modeling the true distribution with your predicted one, the classification loss), KL divergence (the gap between two distributions), and mutual information (how much one variable reveals about another). You meet them as the loss you minimize, the regularizer inside VAEs and RLHF, and the split criterion in decision trees. AI, ML, and GenAI engineer interviews test this because cross-entropy and KL sit under training, distillation, and alignment.
Foundational
Probability Distributions You Should KnowA small set of distributions covers most modeling situations: Bernoulli and binomial for yes/no outcomes and counts of successes, normal for sums and measurement noise, Poisson for event counts in a window, and exponential for waiting times. AI, ML, and GenAI engineer interviews probe this because the distribution you assume is the loss you minimize: Bernoulli yields cross-entropy, normal yields mean-squared error, and naming that link shows you grasp what a model is actually fitting.
CoreSign in
MLE, MAP, and Bayesian vs FrequentistMaximum likelihood chooses the parameters that make the observed data most probable; MAP adds a prior and chooses the most probable parameters given the data. MAP reduces to MLE when the prior is flat, and the prior serves as regularization. AI, ML, and GenAI engineer interviews probe this to check whether you know where priors enter your models, why L2 regularization is a Gaussian prior in disguise, and the practical split between point estimates and full posteriors.
CoreSign in
CLT, Sampling, and Confidence IntervalsThe central limit theorem says a sample mean is approximately normal no matter the underlying distribution, which is why so much inference relies on the normal curve. Standard error captures how much a sample mean wobbles and shrinks as sample size grows, unlike standard deviation. AI, ML, and GenAI engineer interviews probe this because it fixes how wide a confidence interval is and therefore how long an A/B test must run.

BEHAVIORAL & PROJECT DEEP-DIVES

Foundational
Requirements DiscoveryThe priciest AI errors trace back to building the wrong thing, and the reason is nearly always discovery that got skipped. Requirements discovery is surfacing the real problem hiding behind the stated request: who the user is, what success means, what the data actually looks like, and the constraints, all before you build. The central skill is asking the right questions and reasoning backwards from the user's outcome rather than their proposed solution. AI, ML, and GenAI engineer interviews probe it because understanding the problem is the half of the job most engineers under-train.
Foundational
Scoping Under AmbiguityReal AI projects begin ambiguous: fuzzy goals, unknown data, requirements that shift. Scoping under ambiguity means advancing regardless, locating the smallest version that delivers value (an MVP), ranking work by impact, stating assumptions openly, and de-risking the unknowns early instead of holding out for perfect clarity. AI, ML, and GenAI engineer interviews probe it because trimming a fuzzy problem to a shippable first slice, and acting decisively without full information, is what sets senior engineers apart.
Foundational
Translating Technical Trade-offsAI, ML, and GenAI engineers constantly translate between technical reality and business stakeholders: explaining the accuracy-latency-cost triangle, why the model cannot be 100% reliable, and what a trade-off means for the user, in the stakeholder's language rather than jargon. The skill is framing decisions as business impact and risk, and staying honest about uncertainty. These interviews probe it because the best technical answer is worthless if you cannot help a non-technical decision-maker choose, and AI's probabilistic nature makes this translation essential.
Foundational
Communicating with Non-Technical StakeholdersA large share of AI, ML, and GenAI engineering work is explaining complex systems to non-technical people: executives, customers, domain experts. The skill is meeting the audience where they are, leading with the outcome and the 'so what', favoring analogies over jargon, staying honest about limitations, and tailoring depth to who is listening. These interviews probe it because making an AI system understandable and trustworthy to a non-expert is half the job, and explaining a model's behavior to a skeptical stakeholder is a routine task.
META INTERVIEW FAQ
What is the Meta AI Engineer interview process?

Software Engineer, Machine Learning (E4/E5+); the FAIR research division runs a more academic, publication-weighted loop. Typical loop: ~4-8 weeks; team match happens after the loop. Stages: Recruiter screen → Technical phone screen → Coding rounds (x2) → ML system design (1-2 rounds) → Behavioral. Key focus: The explicit coding + ML-system-design split. Compiled from public reports; loops change over time, so confirm the exact rounds with your recruiter.

Does Meta hire AI and ML engineers?
What does the Meta interview test?
What does Meta pay engineers?

Prep the whole Meta loop, not just one round

Every question, in a sequenced journey, with answers that get offers, plus the curriculum behind them. Free questions and concepts in each track, no card needed.

Independent and not affiliated with Meta. All trademarks belong to their owners.