PracHub
QuestionsPremiumLearningGuidesInterview PrepCoaches
|Home/Machine Learning/Amazon

Explain Transformer and MoE Fundamentals

Last updated: May 30, 2026

Quick Overview

This question evaluates core machine learning fundamentals, specifically the distinction between model training and inference, the Transformer architecture and data flow including feed-forward and self-attention components, and the routing behavior in Mixture-of-Experts models, and is situated in the Machine Learning domain.

  • medium
  • Amazon
  • Machine Learning
  • Machine Learning Engineer

Explain Transformer and MoE Fundamentals

Company: Amazon

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Technical Screen

Answer the following machine learning fundamentals questions: 1. What is the difference between model training and model inference? 2. Explain the core architecture and data flow of a Transformer model. 3. What is the role of the feed-forward network inside a Transformer block? 4. How does self-attention help a model identify or emphasize important words or tokens in an input sequence? 5. Explain how the router works in a Mixture-of-Experts model.

Quick Answer: This question evaluates core machine learning fundamentals, specifically the distinction between model training and inference, the Transformer architecture and data flow including feed-forward and self-attention components, and the routing behavior in Mixture-of-Experts models, and is situated in the Machine Learning domain.

Related Interview Questions

  • Explain Core ML Interview Concepts - Amazon (hard)
  • Evaluate NLP Classification Models - Amazon (easy)
  • Explain overfitting, regularization, and LLM techniques - Amazon (medium)
  • Explain NLP/RL concepts used in LLM agents - Amazon (hard)
  • Design and evaluate a RAG system - Amazon (easy)
Amazon logo
Amazon
May 14, 2026, 12:00 AM
Machine Learning Engineer
Technical Screen
Machine Learning
1
0

Answer the following machine learning fundamentals questions:

  1. What is the difference between model training and model inference?
  2. Explain the core architecture and data flow of a Transformer model.
  3. What is the role of the feed-forward network inside a Transformer block?
  4. How does self-attention help a model identify or emphasize important words or tokens in an input sequence?
  5. Explain how the router works in a Mixture-of-Experts model.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Amazon•More Machine Learning Engineer•Amazon Machine Learning Engineer•Amazon Machine Learning•Machine Learning Engineer Machine Learning
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.