AI Infra Interviews logo

Meta Distributed Training & Parallelism interview questions

Practise distributed training & parallelism for Meta AI Infrastructure Engineer roles. DDP, ZeRO and FSDP, tensor, pipeline, context and expert parallelism, collectives and their cost, MFU, activation checkpointing, elastic and fault-tolerant training, checkpoint economics and the RL post-training stack. Owning the training run at cluster scale. Questions tagged to Meta appear first, followed by additional practice from our Distributed Training & Parallelism track. Company tags indicate preparation relevance, not confirmed interview appearances. Confirm the current interview format with your recruiter.

PREPARATION CONTEXT · LeetCode-medium coding in 45 minutes without execution, plus the practical AI-enabled round. Sources and confidence in the Meta guide →

Distributed Training & Parallelism questions tagged to Meta

20 questions · 7 unlocked for you

Additional Distributed Training & Parallelism practice

These questions cover the same topic and are not tagged to Meta. Use them to practise applying the ideas in a different situation.

6 questions · 3 unlocked for you

Concepts for Distributed Training & Parallelism preparation

These concept explanations cover the ideas used in the questions. Check each card for its access level.

Foundational
Data Parallelism and DDPReplicas combine gradients from different data. Follow a two-worker update, fix unequal-token weighting, and see why queued gradient buckets can leave more than one reduction exposed.
Core
Sign in
ZeRO and FSDPZeRO and FSDP reduce replicated training state by distributing it across workers. The memory saving comes with communication and temporary-buffer costs.
Advanced
🔒 Premium
Tensor ParallelismTensor parallelism splits operations within a layer across GPUs. Derive the column/row matrix split, count training and inference collectives, and choose a group size from memory, latency and actual interconnect performance.
Advanced
🔒 Premium
Pipeline Parallelism and the BubblePipeline parallelism assigns groups of layers to different devices. Microbatches keep stages busy, while the schedule controls idle periods and activation memory.
Advanced
🔒 Premium
Context and Sequence ParallelismContext parallelism distributes a long sequence across devices. Attention then exchanges the information each rank needs instead of keeping the whole sequence locally.
Advanced
🔒 Premium
Expert Parallelism for MoEExpert parallelism places different MoE experts on different devices. Routing tokens between them adds communication and makes uneven expert demand a performance concern.
Foundational
Collective Communication PrimitivesFollow small vectors through all-reduce, reduce-scatter, all-gather and all-to-all. Separate the result each worker needs from the algorithm-specific byte count and measured completion time.
Advanced
🔒 Premium
Ring vs Tree All-ReduceTrace one chunk through a ring, separate byte balance from startup rounds, and compare tree depth without assuming identical bandwidth. Use measured message sizes and topology to choose.
META DISTRIBUTED TRAINING & PARALLELISM FAQ

This collection includes practice questions such as "In data-parallel training, what actually gets communicated between GPUs, and how much is it per step?", "Compare data, tensor and pipeline parallelism. What does each one shard, what does each one communicate, and where does each one live?", "What is MFU, how do you compute it from a running job, and what counts as a good number?". Company tags describe relevance to preparation; they do not confirm that Meta asked these questions. Check each question for answer access.

Other topics for Meta preparation

Explore the other topics mapped to Meta in our preparation guide.

Continue your Meta interview preparation

Continue with related questions and the concept curriculum. Free questions are available in every track; check pricing for full access.

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