GregLab | Exam Prep

Fundamentals of Generative AI

RAG, Fine-Tuning, and Pretraining Trade-offs

RAG, fine-tuning, and continued pretraining solve different customization problems. RAG is usually best for grounding in changing private knowledge, while fine-tuning is better for behavior, format, or task examples.

Concepts

  • Prompt engineering is low-cost and fast but does not add durable knowledge.
  • RAG grounds responses in retrieved content and is well suited for changing private knowledge.
  • Fine-tuning adjusts model weights to improve behavior, style, or task performance from examples.
  • Continued pre-training updates a model on a large domain corpus and is higher effort than fine-tuning.
  • Model choice balances quality, latency, context window, modality, availability, and cost.

Exam tips

  • Use RAG when source knowledge changes often or must remain external.
  • Fine-tuning changes model weights for selected models and use cases.
  • Continued pretraining is higher effort and uses a broader domain corpus.

Free AWS Certified AI Practitioner prep

Build focused AIF-C01 quizzes from exam domains, topics, and AWS services.

Practice with exam-style multiple-choice and multiple-response questions, clearly labeled supplemental exercises, score breakdowns, explanations, and a compact reference for this lane's official exam domains.

Build a quiz

Exam Weights

Quiz builder

Choose your practice set

Mode

Exam fidelity: AWS lists multiple choice and multiple response for this exam. Ordering, matching, and case-study items are supplemental learning exercises; their results stay in overall study accuracy but do not count toward exam-style accuracy. Difficulty labels describe this site's scenario complexity, not an AWS-published question rating.

Reference

AIF-C01 topics and service map

Study links

AIF-C01 resources