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

A media company wants a foundation model to adopt a very specific brand voice, JSON output schema, and domain-specific shorthand across millions of daily requests, while minimizing GPU memory and training cost during customization. Instead of updating all 70 billion parameters of the base LLM, which Parameter-Efficient Fine-Tuning (PEFT) technique freezes the pretrained model weights and trains only small low-rank adapter matrices?

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

Options

  • AContinued pre-training across all 70 billion weights on raw web crawls
  • BLow-Rank Adaptation (LoRA) parameter-efficient fine-tuningCorrect answer
  • CK-Means unsupervised clustering on the output token vocabulary
  • DDeleting 90% of the Transformer layers without retraining

Answer: B. Low-Rank Adaptation (LoRA) parameter-efficient fine-tuning

Low-Rank Adaptation (LoRA) is the Parameter-Efficient Fine-Tuning technique described in the question. It keeps the pretrained model weights frozen and inserts small trainable low-rank matrices, which are pairs of narrow matrices whose product approximates the weight update, into layers such as the attention projections. Only these adapter parameters receive gradients and optimizer state, so GPU memory use, training time and cost drop sharply compared with updating all 70 billion parameters. The adapters are small and can be stored per task or brand and merged or swapped at inference, which suits learning a specific voice, output schema and shorthand from labeled examples. The common trap is assuming that any form of further training counts as efficient customization. Continued pre-training and full fine-tuning both update every weight and are costly. The exam cue is the wording 'freezes the base weights and trains small adapter matrices', which points to LoRA, in the same family as adapters and prefix or prompt tuning.

Why the other options are wrong

  • A. Continued pre-training across all 70 billion weights on raw web crawls — Continued pre-training is a domain-adaptation method that keeps training the whole model on large unlabeled text, so all 70 billion weights are updated. It is the opposite of parameter-efficient and is also not aimed at teaching a specific output format or voice.
  • C. K-Means unsupervised clustering on the output token vocabulary — K-Means is an unsupervised clustering algorithm for grouping data points, not a way to customize an LLM. It does not modify any model weights or adapters, and it cannot teach a brand voice or JSON schema.
  • D. Deleting 90% of the Transformer layers without retraining — Deleting most Transformer layers without retraining is an arbitrary pruning step that would badly damage the model's quality. It does not add trainable adapters or freeze weights, and it does not adapt the model to a brand style or output schema.

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.