aws AIF-C01: AWS Certified AI Practitioner · Practice questions

Domain 1: Fundamentals of AI and ML Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

What is the FIRST step a company should take before starting an ML project?

  1. Buy the largest GPU instances available for training.
  2. Define the business problem and how success will be measured. — Correct
  3. Choose a deep learning framework before looking at the data.
  4. Deploy a model to production to see how users react.

Correct answer

Define the business problem and how success will be measured.

Explanation

A clear business problem and success metric guide all later choices. Buying compute, deploying first, or choosing tools first skips essential planning.

Question 2

A real estate company wants to predict the sale price of houses based on size, location, and age. Which type of machine learning problem is this?

  1. Regression — Correct
  2. Classification
  3. Anomaly detection
  4. Clustering

Correct answer

Regression

Explanation

Predicting a continuous numeric value is regression. Classification predicts categories. Clustering groups data. Anomaly detection finds outliers.

Question 3

A company wants to use AI to read invoices and automatically pull out the vendor name, total amount, and due date. Which AWS service fits BEST?

  1. Amazon Polly with a custom lexicon for invoices
  2. Amazon Translate with a custom terminology file
  3. Amazon Textract with its analyze expense capability — Correct
  4. Amazon Rekognition with celebrity recognition

Correct answer

Amazon Textract with its analyze expense capability

Explanation

Textract AnalyzeExpense extracts fields from invoices and receipts. Polly, Translate, and Rekognition celebrity recognition are unrelated.

Question 4

Which statement describes the difference between AI model training and inference?

  1. Training uses the model to answer user questions in production; inference creates the model from labeled data.
  2. Training and inference are the same process, run on different days of the week.
  3. Training runs only on CPUs and inference runs only on GPUs in every case.
  4. Training builds or updates the model from data; inference uses the trained model to make predictions. — Correct

Correct answer

Training builds or updates the model from data; inference uses the trained model to make predictions.

Explanation

Training learns model parameters, and inference applies the model to new inputs. The other statements are incorrect.

Question 5

A company wants to understand whether a classification model's errors are mostly false positives or false negatives. Which tool shows this breakdown?

  1. A word embedding plot of the input features
  2. A confusion matrix of predictions — Correct
  3. A token count report from the inference logs
  4. A learning rate schedule used during model training

Correct answer

A confusion matrix of predictions

Explanation

A confusion matrix shows true and false positives and negatives. The other tools do not break down classification errors.

Question 6

Which approach helps make an ML model's training reproducible?

  1. Change the algorithm each time to see which one wins by chance.
  2. Store only the final model and delete the training data immediately.
  3. Version the code, data, hyperparameters, and environment used for each training run. — Correct
  4. Use different random data for every run and keep no record of the settings.

Correct answer

Version the code, data, hyperparameters, and environment used for each training run.

Explanation

Versioning everything used in training allows runs to be reproduced. Untracked changes and deleted data prevent reproducibility.

Question 7

A company wants to label thousands of images with bounding boxes by using a mix of human workers and automated labeling. Which AWS service should it use?

  1. Amazon SageMaker Ground Truth — Correct
  2. Amazon SageMaker Clarify
  3. Amazon Rekognition Custom Labels
  4. Amazon SageMaker Model Monitor

Correct answer

Amazon SageMaker Ground Truth

Explanation

Ground Truth creates labeled datasets with human workers and automated labeling. Rekognition Custom Labels trains models from labeled images. Clarify detects bias. Model Monitor watches deployed models.

Question 8

A company wants to translate its support knowledge base into Spanish and keep product names unchanged. Which feature helps with Amazon Translate?

  1. Higher temperature settings for more creative translations
  2. Batch transform jobs on a SageMaker AI endpoint
  3. Custom terminology — Correct
  4. Celebrity recognition to detect product names in text

Correct answer

Custom terminology

Explanation

Custom terminology controls the translation of specific terms such as product names. Temperature is not a Translate setting. Batch transform and celebrity recognition are unrelated.

Question 9

Which statement about Amazon SageMaker AI and Amazon Bedrock is correct?

  1. Both services are identical and can be used interchangeably for every task without differences.
  2. Bedrock offers managed access to foundation models; SageMaker AI provides tools to build, train, and deploy your own models. — Correct
  3. SageMaker AI can be used only for image tasks, and Bedrock can be used only for text tasks.
  4. Bedrock is used only for training models from scratch; SageMaker AI is used only for calling foundation model APIs.

Correct answer

Bedrock offers managed access to foundation models; SageMaker AI provides tools to build, train, and deploy your own models.

Explanation

Bedrock focuses on managed foundation model access, and SageMaker AI covers the full custom ML lifecycle. The other statements are incorrect.

Question 10

A company fine-tuned a model on a small dataset, and the model now repeats phrases from the training data and performs worse on general questions. Which problem is MOST likely?

  1. Too low a temperature at inference
  2. Too much retrieval context
  3. Overfitting to the fine-tuning data — Correct
  4. Too large a context window

Correct answer

Overfitting to the fine-tuning data

Explanation

Training too much on a small dataset can cause overfitting and loss of general ability. The other settings do not cause this pattern.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz