AWS AI Practitioner (AIF-C01) Domain 1: Fundamentals of AI and ML Explained
Domain 1 is worth 20% of the AWS Certified AI Practitioner exam. Learn the AI vocabulary, learning types, inference options, the ML lifecycle, MLOps and the metrics AWS expects you to know, with 10 practice questions.

AWS AI Practitioner (AIF-C01) study series: all 10 posts
- Chapter 1: Fundamentals of AI and ML Explained (you are here)
- Chapter 2: Fundamentals of Generative AI
- Chapter 3: Applications of Foundation Models (RAG, Prompting, Fine-Tuning)
- Chapter 4: Guidelines for Responsible AI
- Chapter 5: Security, Compliance and Governance for AI
- Mock Exam 1: 50 Practice Questions with Answers
- Mock Exam 2: 50 Practice Questions with Answers
- Mock Exam 3: 50 Practice Questions with Answers
- Mock Exam 4: 50 Brand-New Practice Questions
- Mock Exam 5: 50 Brand-New Practice Questions
Domain 1 of the AWS Certified AI Practitioner (AIF-C01) exam, Fundamentals of AI and ML, is worth 20% of the scored content, or about 10 questions. It gives you the vocabulary for everything else in the exam: what AI and ML actually are, when they create business value (and when they don’t), and how a model goes from raw data to a monitored production system.
This post is part 1 of our free AIF-C01 study series. It follows the official exam guide’s three tasks:
- Task 1.1: Explain basic AI concepts and terminologies.
- Task 1.2: Identify practical use cases for AI.
- Task 1.3: Describe the AI/ML development lifecycle.
At the end you’ll find 10 practice questions with answers and explanations.
1.1 Basic AI concepts and terminology
The core terms nest inside one another, and the exam loves to test that order.

- Artificial intelligence (AI) is the broad field of building systems that perform tasks that normally need human intelligence.
- Machine learning (ML) is the subset of AI in which systems learn patterns from data instead of following hand-written rules.
- Deep learning is the subset of ML that uses multi-layer neural networks (layers of connected nodes, loosely inspired by neurons).
- Generative AI (GenAI) is a subset of deep learning that creates new content (text, images, audio, code) rather than only classifying or predicting.
- Agentic AI builds on GenAI: an agent uses a model to reason, plan, call tools and take multi-step actions toward a goal with limited human input.
Terms you must recognize
| Term | What it means | Example |
|---|---|---|
| Model | The trained artifact that maps inputs to outputs | A churn-prediction model |
| Algorithm | The procedure used to learn a model from data | XGBoost, k-means, linear regression |
| Training | Feeding data to an algorithm so it learns parameters | Learning from 3 years of sales history |
| Inference | Using a trained model to make predictions on new data | Scoring today’s transactions for fraud |
| Computer vision | AI that interprets images and video | Detecting defects on a production line |
| Natural language processing (NLP) | AI that understands or generates human language | Sentiment analysis of reviews |
| Large language model (LLM) | A very large transformer model trained on text | Models available in Amazon Bedrock |
| Bias | Systematic error that skews results, often against a group | A hiring model that favors one gender |
| Fairness | Outcomes that are equitable across groups | Equal approval rates for equally qualified applicants |
| Fit | How well a model captures the patterns in data | Overfit, underfit or well fit |
Overfitting vs. underfitting
Fit gets its own exam questions. An overfit model memorizes the training data, noise included. It scores well on training data but poorly on new data (low bias, high variance). An underfit model is too simple to capture the pattern and performs poorly everywhere (high bias, low variance). A well-fit model generalizes.
Exam tip: “99% on training data, 62% on new data” means overfitting. “Bad on both” means underfitting.
Types of inference
| Type | When to use it | AWS example |
|---|---|---|
| Real-time | Low latency, one request at a time, a user is waiting | SageMaker AI real-time endpoint |
| Batch | Large datasets scored on a schedule; no one is waiting | SageMaker AI batch transform |
| Asynchronous | Large payloads or long processing times (minutes); queued requests | SageMaker AI asynchronous inference |
| Serverless | Intermittent or unpredictable traffic; pay only when invoked; tolerates cold starts | SageMaker AI serverless inference |
Types of data
- Labeled vs. unlabeled: labeled data has the correct answer attached (an email tagged “spam”); unlabeled data doesn’t.
- Structured vs. unstructured: structured data fits rows and columns (a database table); unstructured data doesn’t (images, free text, audio, video).
- Time-series: values recorded in time order (daily sales, sensor readings), used for forecasting.
- Image and text: the main inputs for computer vision and NLP.
Types of learning
- Supervised learning trains on labeled data to predict a known target. Two families: classification (predict a category, such as fraud or not fraud) and regression (predict a number, such as a house price).
- Unsupervised learning finds structure in unlabeled data: clustering (customer segmentation), anomaly detection and dimensionality reduction.
- Reinforcement learning trains an agent through trial and error using rewards and penalties (robotics, game playing, AWS DeepRacer). A related technique, reinforcement learning from human feedback (RLHF), aligns LLMs with human preferences.
1.2 Practical use cases for AI
AI adds value when it assists human decision-making (flagging risky loans for review), scales a task beyond human capacity (moderating millions of images) or automates repetitive work (extracting fields from invoices).
When AI is the wrong answer
- A specific, deterministic outcome is required. If a rule can compute the answer exactly (tax calculation, a fixed discount), write code, not a probabilistic model.
- The cost outweighs the benefit. Data collection, training and monitoring may cost more than the value gained.
- There isn’t enough quality data, or the decision must be fully explainable and the model can’t provide that.
Match the technique to the business question
| Business question | Technique |
|---|---|
| How much revenue next quarter? | Regression / forecasting |
| Is this transaction fraudulent? | Binary classification |
| Which product category is this image? | Multi-class classification |
| What natural groups exist among our customers? | Clustering |
| What should we recommend to this user? | Recommendation system |
AWS managed AI services you must know
These services are pre-trained and need no ML expertise: you just call an API.
| Service | What it does | Typical use |
|---|---|---|
| Amazon Transcribe | Speech-to-text | Transcribe call-center recordings |
| Amazon Polly | Text-to-speech | Voice for an IVR or reading app |
| Amazon Translate | Neural machine translation | Localize product descriptions |
| Amazon Comprehend | NLP: sentiment, entities, key phrases, language, PII detection | Analyze customer reviews |
| Amazon Lex | Conversational chatbots (voice and text) | Build a customer-service bot |
| Amazon Rekognition | Image and video analysis | Content moderation, face comparison |
| Amazon Textract | Extract text, forms and tables from documents | Process invoices and tax forms |
| Amazon Personalize | Real-time personalized recommendations | “Customers also bought” |
| Amazon SageMaker AI | Fully managed platform to build, train and deploy custom models | A custom churn model |
Memory hook: Transcribe = ears, Polly = mouth, Translate = interpreter, Comprehend = understanding, Lex = conversation, Rekognition = eyes, Textract = document reader.
Traditional ML vs. foundation models
Choose traditional ML for structured data, a narrow, well-defined prediction, strict regulatory or explainability requirements (credit decisions explained to applicants), or tight latency and cost limits. Choose a foundation model (FM) for open-ended language, content generation, broad general knowledge, or many tasks with little labeled data.
1.3 The AI/ML development lifecycle

- Business problem framing: define the goal and success metric.
- Data collection: Amazon S3, AWS Glue, AWS Data Exchange.
- Data preparation and exploratory analysis: AWS Glue DataBrew, SageMaker Data Wrangler.
- Feature engineering: SageMaker Feature Store.
- Model training: SageMaker AI training jobs.
- Hyperparameter tuning: SageMaker automatic model tuning.
- Evaluation: measure on held-out data.
- Deployment: SageMaker AI endpoints.
- Monitoring: detect data drift and quality decay with SageMaker Model Monitor, then retrain.
Where models come from
- Open-source pre-trained models (Hugging Face, SageMaker JumpStart): fastest start, no training cost.
- Proprietary FMs via API (Amazon Bedrock: Amazon Nova, Anthropic Claude, Meta Llama and others).
- Custom models trained from scratch: the most control, the highest cost, and they need large datasets.
Running a model in production
- Managed API service (Amazon Bedrock): no infrastructure to manage, pay per use.
- Self-hosted API (SageMaker AI endpoints, Amazon EC2, ECS or EKS): more control and customization, more operational overhead.
Other services in the exam guide: Amazon Quick (AI-powered BI, research and automation workspace for business users, including Quick Sight dashboards) and Kiro (AWS’s agentic, spec-driven IDE).
MLOps fundamentals
MLOps applies DevOps discipline to ML. Its goals: support experimentation (track runs), build repeatable processes (pipelines; version control for data, code and models), run scalable systems, manage technical debt, reach production readiness, monitor for drift and retrain automatically. On AWS: SageMaker Pipelines, Model Registry, Model Monitor and Experiments.
Model performance metrics

- Accuracy = correct predictions ÷ all predictions. Misleading on imbalanced data.
- Precision = true positives ÷ all predicted positives. Prioritize when false positives are costly (spam filters blocking real email).
- Recall (sensitivity) = true positives ÷ all actual positives. Prioritize when false negatives are costly (cancer screening, fraud).
- F1 score = harmonic mean of precision and recall. Use when you need balance, especially on imbalanced data.
- AUC-ROC: how well the model separates classes across thresholds.
- Regression: mean absolute error (MAE), root mean squared error (RMSE), R².
Business metrics judge whether the model is worth it: cost per user, development cost, customer feedback and return on investment (ROI).
Domain 1 cheat sheet
- AI ⊃ ML ⊃ deep learning ⊃ GenAI. Agentic AI uses GenAI to act.
- Labeled data → supervised. No labels → unsupervised. Rewards → reinforcement.
- A number = regression. A category = classification. Groups = clustering.
- Unpredictable traffic = serverless inference. Huge payloads or long jobs = asynchronous. Nightly scoring = batch.
- Costly false negatives → recall. Costly false positives → precision.
- Need an exact, rule-based answer? AI is the wrong tool.
Practice questions (with answers)
Answer all 10 first, then open each answer to check your reasoning. Multi-select questions need every correct option.
Question 1. A retailer wants to group customers into segments based on purchase behavior. No predefined segment labels exist. Which approach should it use?
- A. Classification
- B. Regression
- C. Clustering
- D. Reinforcement learning
Show answer and explanation
Answer: C. Clustering. Grouping unlabeled data into natural segments is unsupervised clustering. Classification and regression require labels; reinforcement learning uses rewards.
Question 2. A model achieves 99% accuracy on training data but 62% on new data. What is the most likely problem?
- A. Underfitting
- B. Overfitting
- C. Data leakage into production
- D. Insufficient inference capacity
Show answer and explanation
Answer: B. Overfitting. The model memorized the training data (high variance) and does not generalize. Underfitting would show poor performance on both sets.
Question 3. A company needs to convert thousands of recorded support calls into text for analysis. Which AWS service should it use?
- A. Amazon Polly
- B. Amazon Transcribe
- C. Amazon Translate
- D. Amazon Lex
Show answer and explanation
Answer: B. Amazon Transcribe converts speech to text. Polly does the reverse (text to speech), Translate converts between languages, and Lex builds chatbots.
Question 4. A hospital’s model screens scans for a serious disease. Missing a true case is far worse than a false alarm. Which metric should the team prioritize?
- A. Precision
- B. Recall
- C. Accuracy
- D. Mean absolute error
Show answer and explanation
Answer: B. Recall. Recall measures how many actual positives the model catches, minimizing false negatives. MAE is a regression metric.
Question 5. A company calculates employee overtime pay using a fixed formula defined by law. Should it use ML?
- A. Yes, regression is ideal for pay
- B. Yes, use an LLM for flexibility
- C. No, a deterministic rule gives the exact required outcome
- D. No, because the data is unstructured
Show answer and explanation
Answer: C. When an exact, rule-defined outcome is required, traditional code is cheaper, more accurate, and fully explainable. ML produces probabilistic predictions.
Question 6. A model receives unpredictable bursts of traffic with long idle periods, and the business wants to pay only when requests arrive. Which inference option fits best?
- A. Real-time endpoint
- B. Batch transform
- C. Serverless inference
- D. Asynchronous inference
Show answer and explanation
Answer: C. Serverless inference scales to zero when idle and charges only for use. It tolerates occasional cold-start latency.
Question 7. (Multi-select) Which TWO of the following are examples of supervised learning? (Choose two.)
- A. Predicting house prices from labeled sales data
- B. Segmenting website visitors with no labels
- C. Classifying emails as spam using tagged examples
- D. Training a robot through rewards
- E. Reducing the number of features with PCA
Show answer and explanation
Answer: A and C. Both use labeled data (regression and classification). B and E are unsupervised; D is reinforcement learning.
Question 8. A bank must explain every loan decision to regulators and applicants. Its data is structured tabular data. Which approach is most appropriate?
- A. A large foundation model with a long prompt
- B. A traditional, interpretable ML model
- C. A diffusion model
- D. An agentic AI system
Show answer and explanation
Answer: B. Regulatory and explainability requirements on structured data favor traditional, interpretable ML models (for example, logistic regression or decision trees) over opaque foundation models.
Question 9. Which stage of the ML lifecycle detects that live input data has drifted from training data?
- A. Feature engineering
- B. Hyperparameter tuning
- C. Model monitoring
- D. Data labeling
Show answer and explanation
Answer: C. Model monitoring (for example, Amazon SageMaker Model Monitor) detects data and quality drift and can trigger retraining.
Question 10. A business analyst with no ML experience wants to extract key phrases and sentiment from customer reviews with minimal effort. What should the analyst use?
- A. Train a custom model in SageMaker AI
- B. Amazon Comprehend
- C. Amazon Rekognition
- D. Amazon Textract
Show answer and explanation
Answer: B. Amazon Comprehend is a pre-trained NLP service for sentiment, key phrases, entities, and more. Rekognition analyzes images; Textract extracts text from documents.
Frequently asked questions
How many questions come from Domain 1?
Domain 1 is 20% of scored content, which is about 10 of the 50 scored questions on the AIF-C01 exam.
Do I need to know how to code ML models?
No. The exam targets people who use AI on AWS. You need to recognize concepts, services and trade-offs, not write training code or tune hyperparameters.
What’s the difference between SageMaker AI and the managed AI services?
The managed services (Comprehend, Rekognition, Textract and the rest) are pre-trained APIs for common tasks. SageMaker AI is a full platform for building, training and hosting your own custom models.
Ready to test yourself? Take a full, timed AIF-C01 mock exam once you’ve finished all five chapters.
Next: AWS AI Practitioner (AIF-C01) Domain 2: Fundamentals of Generative AI →
This is an independent study guide, not produced, endorsed or sponsored by Amazon Web Services. Practice questions are original and aren’t actual exam questions. AWS services change often, so check the AWS documentation and the official AIF-C01 exam guide before you rely on details here.