AWS AI Practitioner AIF-C01 · Applications of Foundation Models · hard

A mobile-app company uses a massive 405-billion-parameter teacher LLM on Amazon Bedrock that achieves 95% accuracy on intent classification, but its inference latency (2.8 seconds) and per-token cost are too high for 50 million daily requests. Which technique transfers the knowledge of the large teacher model into a much smaller, faster, and cheaper student model (e.g., an 8B model) by training the student on the teacher's synthetic outputs/logits?

Published · Last updated · checked before publication — how we verify questions

Options

  • AIncreasing the 405B model's context window from 32K to 200K tokens
  • BModel Distillation from the 405B teacher model to an 8B student modelCorrect answer
  • CSwitching from RAG vector search to uncompressed CSV table scans
  • DRunning the 405B model with temperature set to 1.0 on each call

Answer: B. Model Distillation from the 405B teacher model to an 8B student model

Model Distillation (available natively in Amazon Bedrock Model Distillation) uses a large, highly capable teacher model to generate high-quality synthetic responses from prompts and fine-tunes a smaller, lower-latency student model from the same family to match the teacher's task performance at a fraction of the cost and latency.

Why the other options are wrong

  • A. Increasing the 405B model's context window from 32K to 200K tokens — Expanding context window length increases memory and latency rather than shrinking the model.
  • C. Switching from RAG vector search to uncompressed CSV table scans — Scanning CSV files does not reduce the 405B foundation model's parameter count or inference latency.
  • D. Running the 405B model with temperature set to 1.0 on each call — Changing sampling temperature does not change model size, parameter count, or per-token pricing.

All Applications of Foundation Models questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.