Free AIF-C01 practice test

20 questions for the AWS AI Practitioner (AIF-C01) exam, taken from our 60-question bank and spread across its 5domains by their weighting. No sign-up needed: pick an answer to check it, or open “Show answer & explanation” under any question.

What this test covers

Question 1 · Fundamentals of AI and ML

Which example BEST represents UNSTRUCTURED data?

Show answer & explanation

Correct answer: A

  • A. A collection of customer support call recordings and free-text emails

Audio recordings and free-text emails have no fixed schema — that's unstructured data. A relational table (B) and a typed CSV (C) are structured. A database index (D) is a lookup structure, not a data-type classification.

Question 2 · Fundamentals of AI and ML

In the machine learning lifecycle, which sequence of stages is correct?

Show answer & explanation

Correct answer: C

  • C. Data collection/preparation → model training → evaluation → deployment → monitoring

The ML lifecycle flows from collecting and preparing data, to training a model, evaluating it, deploying it, and then monitoring it in production (often looping back to improve). The other orderings place steps before their prerequisites exist.

Question 3 · Fundamentals of AI and ML

Which statement correctly describes the relationship between artificial intelligence, machine learning, and deep learning?

Show answer & explanation

Correct answer: B

  • B. Deep learning is a subset of machine learning, which is a subset of artificial intelligence

The nesting is: AI is the broadest field (making machines act intelligently); ML is a subset that learns from data; deep learning is a further subset of ML using multi-layered neural networks. The other options invert or scramble this containment.

Question 4 · Fundamentals of AI and ML

A fraud-detection model scores 99% accuracy on its training data but only 70% on new transactions. What problem does this indicate?

Show answer & explanation

Correct answer: A

  • A. Overfitting — the model memorized training data and generalizes poorly

A large gap between strong training performance and weak performance on new data is the signature of overfitting — the model memorized rather than generalized. Underfitting (B) shows poor performance on both training and new data. Option D contradicts the gap described.

Question 5 · Fundamentals of Generative AI

A company wants an AWS generative AI coding assistant to help developers write, explain, and debug code. Which service is designed for this?

Show answer & explanation

Correct answer: A

  • A. Amazon Q Developer

Amazon Q Developer is the generative AI assistant for software development tasks — writing, explaining, and debugging code. Macie (B) discovers sensitive data in S3, QuickSight (D) is BI/dashboards, and Config (C) tracks resource configuration — none is a coding assistant.

Question 6 · Fundamentals of Generative AI

In a large language model, what is a TOKEN?

Show answer & explanation

Correct answer: A

  • A. A unit of text (a word or sub-word) that the model processes; cost and context limits are measured in tokens

LLMs break text into tokens (words or sub-word pieces); usage/pricing and context-window limits are counted in tokens. Option B confuses it with a security credential, and options C and D describe unrelated image and database concepts.

Question 7 · Fundamentals of Generative AI

What are EMBEDDINGS in generative AI?

Show answer & explanation

Correct answer: A

  • A. Numeric vector representations of text (or other data) that capture semantic meaning, enabling similarity search

Embeddings are dense numeric vectors that represent the meaning of text/images so that semantically similar items sit close together — the basis of vector search and RAG retrieval. They are not backups (B), model output text (C), or IAM policies (D).

Question 8 · Fundamentals of Generative AI

Why do the number of tokens matter when using foundation models on Amazon Bedrock?

Show answer & explanation

Correct answer: B

  • B. Pricing is typically per token, and each model has a maximum context window measured in tokens

Token counts drive cost (billing is usually per input/output token) and constrain how much text fits within a model's context window. Options A, C, and D are all incorrect — tokens are not about Regions, image color, or authentication.

Question 9 · Fundamentals of Generative AI

A generative AI chatbot confidently states an incorrect fact that was not in any source. What is this phenomenon called?

Show answer & explanation

Correct answer: A

  • A. Hallucination

When a model generates plausible-sounding but false or unsupported content, it's called a hallucination. Overfitting (B) is a training-generalization issue, data drift (D) is changing input distributions over time, and quantization (C) is a model-compression technique.

Question 10 · Applications of Foundation Models

A prompt asks the model to 'think step by step' and show its reasoning before giving a final answer to a complex problem. Which technique is being used?

Show answer & explanation

Correct answer: D

  • D. Chain-of-thought prompting

Encouraging the model to reason through intermediate steps before answering is chain-of-thought prompting, which often improves performance on complex reasoning tasks. The other options are unrelated: zero-shot classification (A), model compression (B), and dataset preparation (C).

Question 11 · Applications of Foundation Models

Lowering the TEMPERATURE parameter toward 0 when generating a compliance summary has what effect?

Show answer & explanation

Correct answer: A

  • A. More deterministic, focused, and repeatable outputs

A low temperature reduces randomness, producing more deterministic, focused, and consistent outputs — desirable for compliance summaries. Higher temperature increases creativity/variety (B). Temperature affects inference, not training (C) or fine-tuning (D).

Question 12 · Applications of Foundation Models

A company wants its generative AI assistant to answer questions using its own up-to-date internal documents WITHOUT retraining the model. Which approach should it use?

Show answer & explanation

Correct answer: B

  • B. Retrieval-Augmented Generation (RAG), retrieving relevant documents and adding them to the prompt at query time

RAG grounds responses by retrieving relevant internal documents and injecting them into the prompt at inference time — no model retraining needed, and easy to keep current. Continued pre-training (D) is heavyweight and unnecessary. Temperature (C) and GPU count (A) don't give the model access to internal knowledge.

Question 13 · Applications of Foundation Models

What role does a VECTOR DATABASE play in a Retrieval-Augmented Generation solution?

Show answer & explanation

Correct answer: A

  • A. It stores embeddings so the system can find semantically similar content to retrieve as context

A vector database stores embeddings and enables similarity search, so a RAG system can retrieve the most relevant chunks to ground the model. It doesn't store model weights (B), replace the model (C), or handle network encryption (D).

Question 14 · Applications of Foundation Models

Which AWS capability makes it easy to implement RAG by connecting foundation models to your data sources and managing the retrieval pipeline?

Show answer & explanation

Correct answer: D

  • D. Amazon Bedrock Knowledge Bases

Amazon Bedrock Knowledge Bases provides managed RAG — ingesting your data, creating embeddings, storing them in a vector store, and retrieving relevant context for the model. EC2 Spot (A), AWS Backup (C), and Route 53 (B) are compute, backup, and DNS services, unrelated to RAG.

Question 15 · Guidelines for Responsible AI

What is the purpose of EXPLAINABILITY in responsible AI?

Show answer & explanation

Correct answer: A

  • A. To help humans understand WHY a model produced a given output or decision

Explainability provides insight into why a model reached a decision, supporting trust, debugging, and compliance. It is not about speed (B), cost (D), or encryption (C), which are performance and security concerns.

Question 16 · Guidelines for Responsible AI

Which statement about responsible AI and human oversight is MOST accurate?

Show answer & explanation

Correct answer: A

  • A. For high-stakes decisions, keeping humans in the loop to review AI outputs is a recommended responsible-AI practice

Human-in-the-loop review of AI outputs is a recommended safeguard for high-stakes decisions. Full autonomy in high-stakes settings (C) is risky, human review doesn't replace evaluation (B), and responsible AI spans fairness, transparency, safety, and more — not accuracy alone (D).

Question 17 · Guidelines for Responsible AI

A generative AI application must prevent users from eliciting instructions for dangerous activities. Which approach directly enforces this at the application layer on Bedrock?

Show answer & explanation

Correct answer: A

  • A. Configure Bedrock Guardrails to deny those topics and filter harmful content

Bedrock Guardrails let you define denied topics and content filters that block unsafe requests and responses. Max tokens (D), Region (C), and S3 Transfer Acceleration (B) are unrelated to content safety enforcement.

Question 18 · Security, Compliance, and Governance for AI Solutions

For monitoring an AI application's operational metrics (latency, errors, invocation counts) and setting alarms, which AWS service is appropriate?

Show answer & explanation

Correct answer: C

  • C. Amazon CloudWatch

Amazon CloudWatch collects operational metrics and logs and supports alarms and dashboards for monitoring workloads. Artifact (A) is compliance docs, Textract (D) extracts text from documents, and Snowball (B) is data transfer hardware — none is the monitoring service.

Question 19 · Security, Compliance, and Governance for AI Solutions

Under the AWS shared responsibility model applied to a managed AI service like Amazon Bedrock, which is the CUSTOMER's responsibility?

Show answer & explanation

Correct answer: A

  • A. Managing data, access permissions (IAM), and how the service is configured and used

Customers are responsible for their data, access control (IAM), and secure configuration/use of the service ('security IN the cloud'). AWS handles the infrastructure — physical servers, datacenters, hypervisor ('security OF the cloud'), which options B, C, and D describe.

Question 20 · Security, Compliance, and Governance for AI Solutions

Which AWS service controls WHO can access foundation models and AI resources by defining permissions and enforcing least privilege?

Show answer & explanation

Correct answer: A

  • A. AWS Identity and Access Management (IAM)

IAM defines users, roles, and policies that grant least-privilege access to AWS resources, including Bedrock and SageMaker. CloudFront (C) is a CDN, SNS (B) is messaging, and Global Accelerator (D) is network routing — none is the access-control service.

Pick an answer on each question to check it. 20 questions in this test.

40 more AIF-C01 questions

Sign up free to start practising, or subscribe (from $4.97/mo) for the full 60-question bank, flashcards.

AWS AI Practitioner course overview and study guides →