B Y T E B A R

Study Hub / AWS Certified AI Practitioner (AIF-C01) / Domain 2.0

AWS AI Practitioner (AIF-C01) Domain 2.0: Fundamentals of Generative AI — Explained

Domain 2.0 is the vocabulary of the AI boom: how large language models actually work (tokens, transformers, training), how you adapt them (fine-tuning, RAG, prompt engineering), and what they're good and bad at. Conceptual, not mathematical.

Exam weight: 24% · Free study preview from ByteBar

How LLMs work: tokens to transformers

Adapting models: fine-tuning, RAG, and agents

Prompting shapes behavior. RAG supplies knowledge. Fine-tuning specializes the model. Agents act. Pick the tool by the problem: facts → RAG, style → fine-tune, actions → agents.

Capabilities, limits, and model types

The must-memorize table: adaptation techniques

How to make a foundation model yours.

TechniqueWhat it doesUse when
Prompt engineeringShapes behavior via instructions/examplesQuick adaptation, no training
RAGRetrieves your documents at query timeCurrent/proprietary facts needed
Fine-tuningAdditional training on your examplesConsistent style/behavior/domain
AgentsModel plans and calls tools iterativelyMulti-step workflows

Try it: 4 sample questions

Sample questions to check your understanding of this domain. Answers and full reasoning are tucked under each one.

1. A company's chatbot gives outdated answers about products launched after the model's training cutoff. Retraining is too expensive. What's the standard fix?

  1. A. A. Prompt engineering alone
  2. B. B. RAG — retrieve current product docs at query time and ground answers in them
  3. C. C. Buy a bigger model
  4. D. D. Fine-tune on the old catalog
Show answer & reasoning

B. RAG solves staleness without retraining: the model pulls fresh documents per query and answers from them. Prompting (A) can't supply facts the model never learned; fine-tuning (D) on old data doesn't add new facts efficiently. Cutoff problems → retrieval.

2. What is a token, and why does it matter for cost and context?

  1. A. A. A user login credential
  2. B. B. The unit models read — word pieces; context windows and API pricing are both measured in tokens
  3. C. C. A type of neural network
  4. D. D. An encryption key
Show answer & reasoning

B. Tokenization splits text into model-digestible pieces ("unbelievable" → 2–3 tokens). Two consequences: the context window (how much the model can consider) is a token budget, and providers bill per token. Token math is LLM economics.

3. A team needs their support bot to always answer in the company's exact tone and format, across thousands of queries. Which adaptation fits best?

  1. A. A. RAG
  2. B. B. Fine-tuning — train on examples of the desired style so the behavior is consistent and baked in
  3. C. C. A bigger context window
  4. D. D. Embeddings
Show answer & reasoning

B. Consistent style/behavior across many queries is fine-tuning's job: the pattern becomes the model's default rather than a prompt it might drift from. RAG (A) supplies facts, not style. "Always sound like us" → fine-tune (after trying good prompting first — cheapest wins when it works).

4. A model confidently states a completely fabricated legal citation. What is this phenomenon, and what are the two standard mitigations?

  1. A. A. Overfitting — use more data
  2. B. B. Hallucination — fluent plausible-but-false output; mitigate with RAG grounding and human verification
  3. C. C. Tokenization error — use fewer tokens
  4. D. D. Mode collapse — retrain from scratch
Show answer & reasoning

B. Hallucinations are the core LLM failure mode: the model predicts plausible text, not true text. Mitigations: ground answers in retrieved sources (RAG) and keep humans verifying where accuracy matters. It's not a bug to patch out — it's the architecture's nature to design around.

This was one domain. The simulator drills all 5.

This free preview covered Fundamentals of Generative AI (Domain 2.0, 24%). Not covered here: Applications of Foundation Models (Domain 3.0, 28%); Security, Compliance & Governance for AI Solutions (Domain 5.0, 14%). The applied domains — foundation-model use cases and AI security/governance — stay in the paid guide and practice bank. The ByteBar Practice Exam Simulator drills every domain with 1,000 exam-style questions — $9.99 one-time unlocks all 28 exams. Prefer to read? The full AWS AI Practitioner Study Guide is in the ByteBar shop on Etsy.

Practice Exam Simulator — $9.99 one-time, all 28 exams Full Study Guides on Etsy