AWS Certified AI Practitioner (AIF-C01) · AWS
Fundamentals of AI and ML
12 practice questions covering 20% of the official AWS Certified AI Practitioner (AIF-C01) blueprint. Every item includes a worked explanation of the correct answer.
View all 5 domains in AWS Certified AI Practitioner (AIF-C01)
Syllabus Coverage & Domain Overview
This topic makes up 20% of the scored content on the AWS Certified AI Practitioner exam. The official outline splits it into three parts: explaining basic AI concepts and terminology, identifying practical use cases for AI, and describing the AI/ML development lifecycle. The exam is aimed at people who use AI/ML on AWS rather than build it, so expect questions about choosing and recognizing the right approach, not about writing code or doing the maths.
The first part is vocabulary and distinctions. You should be able to define AI, machine learning, deep learning, neural networks, computer vision, natural language processing, large language models, generative AI and agentic AI, and explain how they nest and differ. You also need the types of data (labeled and unlabeled, structured and unstructured, tabular, time-series, image, text) and the three learning styles: supervised, unsupervised and reinforcement learning. Know the main inferencing modes too: batch, real-time, asynchronous and serverless, and what makes each suit a given workload. Terms such as bias, fairness and fit (including overfitting and underfitting) sit in this section as well.
The use-case part tests judgment. You must match a business problem to a technique: predicting a number points to regression, assigning a category to classification, and grouping unlabeled records to clustering. You must also recognize common applications such as recommendations, fraud detection, forecasting and speech recognition, and know what the managed services do, for example SageMaker AI, Transcribe, Translate, Comprehend, Lex and Polly. A frequently overlooked objective is knowing when AI/ML is the wrong tool, such as when fixed rules require one exact outcome rather than a prediction, or when the cost does not justify it. The guide also expects you to tell when a traditional ML model is more suitable than a foundation model, for instance because of regulatory limits, explainability needs or operational constraints.
The lifecycle part covers the stages of an ML pipeline, where foundation models come from (open source pre-trained models or custom training), and how a model is used in production, either through a managed API or a self-hosted one. It includes basic MLOps ideas such as repeatable processes, monitoring and retraining. It also covers evaluation: model metrics like accuracy, precision, recall and F1 score, alongside business measures such as cost per user, return on investment and customer feedback.
Questions are usually short scenarios with a stated goal, and the answer depends on one detail. Common traps include picking a service that sounds right but handles a different data type, confusing precision with recall, treating a high training score as proof of a good model, choosing generative AI when a simple classifier or a deterministic rule is enough, and mixing up supervised and unsupervised learning when the data is unlabeled. Multiple-response questions reward careful reading of what is actually asked.
To prepare, build a one-page map linking each problem type to its technique and, where relevant, its AWS service. Write one sentence for each term in the objectives. Work through scenario questions and, for every wrong option, say why it fails. Then read how each service is described by AWS, so you can recognize it from its purpose and not only its name.
In the official AWS Certified AI Practitioner (AIF-C01) examination blueprint, Fundamentals of AI and ML carries a weightage of 20%. Out of the total examination duration of 1 hr 30 min, candidates should budget approximately 18 min for questions from this domain to maintain pace across the paper.
How to Master Fundamentals of AI and ML for AWS Certified AI Practitioner (AIF-C01)
Our 12 published questions in Fundamentals of AI and ML are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the easy difficulty level of the AWS exam:
- Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Fundamentals of AI and ML items and review the step-by-step derivation after each submission.
- Negative Marking Discipline: The AWS Certified AI Practitioner (AIF-C01) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Fundamentals of AI and ML item.
- Benchmark Target: Aim for at least 70% accuracy in Fundamentals of AI and ML drills before moving to full-paper simulations.
Fundamentals of AI and ML worked examples
Fundamentals of AI and ML questions from the AWS Certified AI Practitioner (AIF-C01) syllabus, answered in full. Try each one before opening the explanation.
Example 1 · Fundamentals of AI and ML · medium
A real-estate analytics team wants to predict the exact selling price in US dollars (e.g., $432,500) of residential homes based on square footage, bedroom count, zip code, and school ratings using a historical dataset of 150,000 sold homes. Which supervised machine learning task and evaluation metric fit this problem?
Show answer and explanation
Correct answer: B. Supervised regression evaluated with Root Mean Squared Error (RMSE)
Why
The target here is a continuous numeric value, the exact selling price in dollars, and the team has 150,000 historical homes with known sale prices as labels. Predicting a continuous number from labelled examples is supervised regression. Regression models are scored by how far predictions fall from the true values, and Root Mean Squared Error measures this in the same units as the target (dollars). It squares the errors before averaging, so large misses are penalized more heavily. Mean Absolute Error and R-squared are other common regression metrics. The most common trap is matching on vocabulary instead of the output type. Classification outputs a discrete category, so a candidate who sees labelled data may wrongly pick it. Another trap is picking NLP metrics such as BLEU or ROUGE because they sound like generic quality scores. A quick test is to ask whether the answer is a category or a number, then choose the metric family that matches. Accuracy, precision, recall and F1 belong to classification. RMSE, MAE and R-squared belong to regression.
- A. Binary classification evaluated with BLEU n-gram precision — Binary classification predicts one of two categories, such as sold or unsold, not a dollar amount. BLEU is an n-gram overlap metric for machine translation and text generation, so it is wrong for both the task and the metric.
- C. Unsupervised dimensionality reduction using Principal Component Analysis — Principal Component Analysis is an unsupervised technique that reduces the number of features by projecting data onto fewer components. It does not use a labelled target and does not predict a price, so it cannot answer a supervised prediction question. It could be a preprocessing step, but it is not the task.
- D. Multi-label token classification using ROUGE-L recall — Multi-label token classification assigns several labels to individual tokens in text, which is an NLP sequence task. ROUGE-L measures longest-common-subsequence overlap between generated and reference text, mainly for summarization. Neither applies to predicting a numeric price from tabular features.
Example 2 · Fundamentals of AI and ML · medium
During training of a deep neural network, the training accuracy reaches 99.4%, but the validation accuracy on unseen holdout data drops to 61.2%. What is this phenomenon called, and which technique helps mitigate it?
Show answer and explanation
Correct answer: A. Overfitting; mitigate using Dropout or early stopping
Why
High accuracy (low error) on training data combined with poor generalization (high error) on unseen validation data defines overfitting (high variance). Standard mitigations include regularization (L1/L2, Dropout), early stopping, data augmentation, or simplifying model complexity.
- B. Underfitting; mitigate by removing 90% of the training dataset — Underfitting occurs when training accuracy itself is low, and removing training data worsens overfitting.
- C. Data leakage; mitigate by training for 500 additional epochs — Training for more epochs without early stopping worsens overfitting on memorized training noise.
- D. Catastrophic forgetting; mitigate by setting learning rate to 100 — A learning rate of 100 causes gradient explosion rather than fixing overfitting.
Example 3 · Fundamentals of AI and ML · easy
A customer-experience team wants to analyze 500,000 product reviews stored in Amazon S3 to automatically extract sentiment (Positive, Negative, Neutral, Mixed), key phrases, named entities, and dominant language without managing ML infrastructure. Which AWS AI service provides these natural language processing (NLP) capabilities?
Show answer and explanation
Correct answer: C. Amazon Comprehend for sentiment and entity extraction
Why
Amazon Comprehend is the AWS managed natural language processing service. It analyzes unstructured text and returns sentiment (Positive, Negative, Neutral, Mixed), key phrases, named entities, and the dominant language, which matches every requirement in the scenario. Because it is a fully managed API, the team does not provision or tune any ML infrastructure. For a large archive such as 500,000 reviews in Amazon S3, Comprehend's asynchronous batch analysis jobs can read the documents from S3 and write results back to S3, while real-time calls suit small volumes. The concept to remember is to match the data type to the service: text analytics maps to Comprehend, images and video map to Rekognition, time series maps to Forecast, and search maps to Kendra. The common trap is picking a service because the question mentions documents or enterprise data, such as Kendra, when the actual task is extracting insights from the text rather than searching it.
- A. Amazon Rekognition Custom Labels for object bounding boxes — Amazon Rekognition Custom Labels trains models to detect custom objects and scenes in images, and it returns bounding boxes. It works on visual data, so it cannot derive sentiment, key phrases, or entities from written product reviews.
- B. Amazon Forecast for time-series inventory demand prediction — Amazon Forecast produces predictions from historical time-series data, such as demand or inventory levels. It does not process free-form text, so it cannot extract sentiment or entities from reviews.
- D. Amazon Kendra for enterprise document search indexing — Amazon Kendra is an intelligent enterprise search service that indexes documents so users can ask questions and retrieve relevant answers. It helps find information but does not classify sentiment or extract entities, key phrases, and language in bulk.
Example 4 · Fundamentals of AI and ML · easy
A retail bank wants to group 2 million unlabelled customer credit-card profiles into natural spending-behavior segments without any predefined target category labels. Which machine learning paradigm and algorithm type is appropriate for this task?
Show answer and explanation
Correct answer: B. Unsupervised learning using a K-Means clustering algorithm
Why
The bank has two million customer profiles with no target labels and wants natural groupings to emerge from the data itself. That is the textbook definition of unsupervised learning, and the specific task is clustering. K-Means is a standard clustering algorithm: you choose a number of clusters, and it iteratively assigns each profile to the nearest centroid and recalculates the centroids until the groups stabilise. The result is segments of customers with similar spending behavior, which analysts can then interpret and name. The key exam rule is to look at whether labelled outcomes exist. If every example has a known target, think supervised learning. If there are no labels and the goal is discovering structure or segments, think unsupervised learning. If an agent learns by interacting with an environment and receiving rewards, think reinforcement learning. The most common trap is picking an option that sounds financial, such as fraud, instead of checking whether labels exist and what the output must be.
- A. Supervised binary classification using labelled fraud tags — Binary classification is a supervised task that learns from examples already tagged with a known class, such as fraud or not fraud. The scenario has no labels and wants discovered segments rather than a two-class prediction, so this does not fit.
- C. Reinforcement learning using a robotic reward-penalty loop — Reinforcement learning trains an agent that takes actions in an environment and learns from rewards and penalties over time. Segmenting a static set of customer profiles involves no agent, actions or reward signal, so it is the wrong paradigm.
- D. Supervised linear regression predicting a continuous salary — Linear regression is a supervised method that predicts a continuous numeric value, such as salary, from labelled training examples. The bank has no target value to predict and wants groups rather than a number, so it does not answer the task.
Example 5 · Fundamentals of AI and ML · medium
A medical screening model evaluates 1,000 patients for a rare condition and produces the following confusion matrix: True Positives (TP = 80), False Positives (FP = 20), False Negatives (FN = 20), and True Negatives (TN = 880). What are the model's Precision (TP / (TP + FP)) and Recall (TP / (TP + FN))?
Show answer and explanation
Correct answer: C. Precision = 80% and Recall = 80% (80 / 100 for both metrics)
Why
Precision asks: of everything the model flagged as positive, how many were truly positive? That is TP divided by TP plus FP, which is 80 divided by 100, or 80 percent. Recall asks: of all the patients who truly have the condition, how many did the model find? That is TP divided by TP plus FN, which is also 80 divided by 100, or 80 percent. Both metrics put True Positives in the numerator and ignore True Negatives entirely, which is why they are preferred over accuracy for rare-condition screening where negatives dominate. The common trap is mixing up the denominators or pulling True Negatives into the calculation, which inflates the result. Remember that precision's denominator is all predicted positives (columns of the positive prediction), while recall's denominator is all actual positives. Here both happen to equal 100, so the two metrics coincide and F1 is also 80 percent.
- A. Precision = 96% and Recall = 96% (including True Negatives) — 96 percent is overall accuracy, (TP + TN) / total = 960 / 1000. Accuracy counts True Negatives, but precision and recall do not, so this answer reports a different metric and is misleading for a rare condition.
- B. Precision = 80% and Recall = 8.3% (dividing TP by TP + TN) — Dividing TP by TP + TN is not a standard metric. Recall's denominator is TP + FN, the actual positives, giving 80 percent rather than 8.3 percent, and precision's denominator is TP + FP, so TN does not belong in either formula.
- D. Precision = 50% and Recall = 50% (dividing FP by FP + FN) — A ratio built from FP and FN describes error counts, not the metrics asked about. Precision and recall both have True Positives in the numerator, so the result is 80 percent for each, not 50 percent.
Example 6 · Fundamentals of AI and ML · easy
A mortgage lender receives scanned PDF tax forms and multipage bank statements containing complex tables and handwritten checkboxes. They need an AWS managed AI service that extracts not just raw OCR text, but structured key-value form pairs and tabular row-column cells without training a custom ML model. Which AWS service should they use?
Show answer and explanation
Correct answer: A. Amazon Textract for structured table and form extraction
Why
Amazon Textract is the AWS managed AI service built for document analysis. Beyond basic OCR, which only returns lines and words of text, Textract can detect and return structured relationships: key-value pairs from forms, cells organized into rows and columns for tables, and handwriting and selection elements such as checkboxes. It works on scanned images and PDFs, including multipage documents processed asynchronously, and it is a pretrained service, so the lender does not need to build, label data for, or train a custom model. The underlying concept is matching the data modality to the service: documents and images with text and layout point to Textract, audio input points to Transcribe, text that must become speech points to Polly, and visual scene analysis points to Rekognition. The most common trap is assuming that any service that reads images, such as Rekognition, can parse document structure, or that plain OCR is enough when the requirement explicitly calls for forms and tables.
- B. Amazon Polly for neural text-to-speech audio synthesis — Amazon Polly is a text-to-speech service that turns written text into lifelike spoken audio. It produces audio output and does not read scanned documents or extract form fields and tables, so it is the opposite direction of what the lender needs.
- C. Amazon Transcribe for automatic speech-to-text transcription — Amazon Transcribe is an automatic speech recognition service that converts spoken audio into text transcripts. Its input is audio, not scanned PDFs, and it has no capability to identify key-value pairs or table cells in documents.
- D. Amazon Rekognition Video for celebrity face tracking — Amazon Rekognition Video analyzes video for objects, activities, faces, and celebrities. It is not designed to parse document layout, and celebrity face tracking has no relevance to extracting structured data from tax forms and bank statements.
Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.
All 6 Fundamentals of AI and ML questions with answers
- A real-estate analytics team wants to predict the exact selling price in US dollars (e.g., $432,500) of residential…
- During training of a deep neural network, the training accuracy reaches 99.4%, but the validation accuracy on unseen…
- A customer-experience team wants to analyze 500,000 product reviews stored in Amazon S3 to automatically extract…
- A retail bank wants to group 2 million unlabelled customer credit-card profiles into natural spending-behavior…
- A medical screening model evaluates 1,000 patients for a rare condition and produces the following confusion matrix…
- A mortgage lender receives scanned PDF tax forms and multipage bank statements containing complex tables and…
All Syllabus Domains in AWS Certified AI Practitioner (AIF-C01)
Fundamentals of AI and ML (Current domain)
12 questions · 20%Fundamentals of Generative AI
13 questions · 24%Applications of Foundation Models
13 questions · 28%Guidelines for Responsible AI
12 questions · 14%Security, Compliance, and Governance for AI Solutions
12 questions · 14%
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.