AWS AI Practitioner (AIF-C01) Mock Exam 1: 50 Practice Questions with Answers
Full-length AIF-C01 practice test: 50 questions weighted like the real AWS Certified AI Practitioner exam, with answers, explanations and a score-by-domain table.

AWS AI Practitioner (AIF-C01) study series: all 10 posts
- Chapter 1: Fundamentals of AI and ML Explained
- 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 (you are here)
- 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
This is a full-length practice test for the AWS Certified AI Practitioner (AIF-C01) exam. Its 50 questions are weighted exactly like the real exam’s scored content.
How to take this mock exam
- Set a timer for 75 minutes and answer all 50 questions before opening any answers.
- Write your answers on paper or in a notes app. There’s no penalty for guessing, so answer everything.
- Multi-select questions tell you how many to pick, and need every correct option.
- The real exam is scored from 100 to 1,000 and you pass at 700. Aim for 40 of 50 (80%) here.
- Afterwards, use the domain tags in each explanation and the score table at the end to find the chapter to review.

Questions 1–50
Question 1. (Multi-select) Which TWO are advantages of using AWS managed GenAI services? (Choose two.)
- A. Lower barrier to entry
- B. Mandatory upfront GPU purchases
- C. Faster speed to market
- D. Requirement to train models from scratch
- E. Customer data is used to train public models
Show answer and explanation
Answer: A and C. Domain 2: GenAI fundamentals. Managed services lower the barrier to entry and speed time to market. Bedrock does not use customer data to train models.
Question 2. Users complain that a spam filter is blocking too many legitimate emails. Which metric should the team focus on improving?
- A. Recall
- B. R²
- C. RMSE
- D. Precision
Show answer and explanation
Answer: D. Domain 1: AI & ML fundamentals. Blocking legitimate email is a false positive; precision measures how many flagged items were truly spam.
Question 3. Developers want an AWS open-source SDK to build an AI agent in a few lines of Python using a model-driven approach to tool use. Which should they choose?
- A. Strands Agents
- B. Amazon Lex
- C. AWS Glue
- D. Amazon Polly
Show answer and explanation
Answer: A. Domain 2: GenAI fundamentals. Strands Agents is the AWS open-source, model-driven agent SDK.
Question 4. An AI agent must remember a customer’s preferred language across sessions that are weeks apart. Which capability is required?
- A. Stop sequences
- B. Context truncation
- C. Short-term session memory
- D. Long-term memory
Show answer and explanation
Answer: D. Domain 2: GenAI fundamentals. Persisting preferences across sessions requires long-term memory; short-term memory lasts only a session.
Question 5. Which model type is the most inherently interpretable?
- A. A 100-layer deep neural network
- B. A large language model
- C. A decision tree
- D. A diffusion model
Show answer and explanation
Answer: C. Domain 4: Responsible AI. Decision trees expose their logic directly; deep networks, LLMs, and diffusion models are black boxes.
Question 6. A team wants to score thousands of model responses for helpfulness and correctness without a large human review team. Which approach fits?
- A. AWS Config rules
- B. LLM-as-a-judge in Amazon Bedrock Model Evaluation
- C. AWS CloudTrail
- D. Amazon Inspector
Show answer and explanation
Answer: B. Domain 3: Foundation model applications. LLM-as-a-judge in Bedrock Model Evaluation scores outputs at scale without large human teams.
Question 7. A support agent must never issue refunds above $500, and this rule must be enforced outside the agent’s own code and prompts. Which capability fits?
- A. Lowering the temperature
- B. Amazon Translate
- C. Amazon S3 Glacier
- D. Policy in Amazon Bedrock AgentCore
Show answer and explanation
Answer: D. Domain 5: Security & governance. Policy in AgentCore enforces rules on agent actions outside the agent’s code.
Question 8. A team includes a 50-page policy document in every prompt to an FM in Amazon Bedrock. Why does this sharply increase cost?
- A. Bedrock charges per input token
- B. Bedrock charges per user account
- C. Bedrock charges a flat monthly fee per document
- D. Bedrock charges based on the temperature setting
Show answer and explanation
Answer: A. Domain 2: GenAI fundamentals. Bedrock on-demand pricing is per input and output token, so long prompts raise cost on every call.
Question 9. A company wants to run an open-source model on infrastructure it controls, with full freedom to customize the serving container. Which production approach fits?
- A. On-demand managed API in Amazon Bedrock
- B. A self-hosted endpoint on Amazon SageMaker AI
- C. Amazon Polly
- D. AWS Artifact
Show answer and explanation
Answer: B. Domain 1: AI & ML fundamentals. A self-hosted SageMaker AI endpoint gives control over the container and model; Bedrock is a managed API.
Question 10. Users upload large video files that take about 10 minutes each to analyze. Requests should be queued, and users notified when results are ready. Which inference type fits?
- A. Asynchronous inference
- B. Real-time inference
- C. Batch transform on a monthly schedule
- D. Serverless inference with a 1-second timeout
Show answer and explanation
Answer: A. Domain 1: AI & ML fundamentals. Asynchronous inference queues large payloads and long-running requests and notifies on completion.
Question 11. Which metrics best show whether an FM-powered customer-service agent meets business objectives?
- A. Model parameter count
- B. Training loss only
- C. Task completion rate and cost per interaction
- D. GPU utilization
Show answer and explanation
Answer: C. Domain 3: Foundation model applications. Task completion rate and cost per interaction tie the agent to business outcomes.
Question 12. A model accepts a photo and a text question and returns a text answer. What type of model is it?
- A. Multi-modal model
- B. Diffusion-only model
- C. Linear regression model
- D. Rule-based system
Show answer and explanation
Answer: A. Domain 2: GenAI fundamentals. Accepting image and text inputs makes it multi-modal.
Question 13. A prompt ends with “Work through this problem step by step before giving the final answer.” Which technique is this?
- A. Zero-shot prompting
- B. Chain-of-thought prompting
- C. Negative prompting
- D. Few-shot prompting
Show answer and explanation
Answer: B. Domain 3: Foundation model applications. Asking the model to reason step by step is chain-of-thought prompting.
Question 14. Which metric best measures the business value of a GenAI shopping assistant?
- A. Number of GPUs used
- B. Model parameter count
- C. Token vocabulary size
- D. Conversion rate and average revenue per user
Show answer and explanation
Answer: D. Domain 2: GenAI fundamentals. Business value is measured with business metrics such as conversion rate and ARPU, not technical specs.
Question 15. A company wants to control and rotate its own encryption keys for a custom model and knowledge base in Amazon Bedrock. Which service should it use?
- A. AWS Key Management Service (AWS KMS)
- B. AWS Secrets Manager
- C. Amazon Macie
- D. Amazon Inspector
Show answer and explanation
Answer: A. Domain 5: Security & governance. AWS KMS creates and controls customer managed encryption keys used by Bedrock.
Question 16. A team generating marketing slogans finds the outputs bland and repetitive. Which change is most likely to help?
- A. Lower the temperature to 0
- B. Raise the temperature
- C. Reduce the maximum output tokens
- D. Add more stop sequences
Show answer and explanation
Answer: B. Domain 3: Foundation model applications. Higher temperature increases randomness and creativity.
Question 17. (Multi-select) Which TWO are MLOps best practices? (Choose two.)
- A. Versioning models and datasets in a registry
- B. Retraining manually without records
- C. Automated monitoring and retraining pipelines
- D. Deploying straight from a notebook to production without testing
- E. Avoiding experiment tracking to save time
Show answer and explanation
Answer: A and C. Domain 1: AI & ML fundamentals. Versioning in a registry and automated monitoring/retraining are core MLOps. The others create technical debt.
Question 18. An agent’s Lambda function calls a third-party API that requires an API key. Where should the key be stored?
- A. Hard-coded in the function code
- B. AWS Secrets Manager
- C. A public S3 bucket
- D. In the system prompt
Show answer and explanation
Answer: B. Domain 5: Security & governance. AWS Secrets Manager stores and rotates credentials securely. Never hard-code or place secrets in prompts.
Question 19. Which list orders FM customization approaches from LEAST to MOST expensive?
- A. Pre-training, fine-tuning, RAG, prompt engineering
- B. RAG, pre-training, prompt engineering, fine-tuning
- C. Prompt engineering, RAG, fine-tuning, pre-training
- D. Fine-tuning, prompt engineering, pre-training, RAG
Show answer and explanation
Answer: C. Domain 3: Foundation model applications. Prompt engineering < RAG < fine-tuning < pre-training in cost and effort.
Question 20. Which statement correctly describes the relationship between AI terms?
- A. ML is a subset of deep learning
- B. GenAI is a subset of deep learning, which is a subset of ML
- C. AI is a subset of ML
- D. Agentic AI does not use models
Show answer and explanation
Answer: B. Domain 1: AI & ML fundamentals. AI ⊃ ML ⊃ deep learning ⊃ GenAI. Agentic AI builds on GenAI models.
Question 21. A model performs well overall. The team now compares its accuracy separately for each age group. What is this practice called?
- A. Subgroup analysis
- B. Hyperparameter tuning
- C. Chunking
- D. Prompt caching
Show answer and explanation
Answer: A. Domain 4: Responsible AI. Comparing performance across demographic groups is subgroup analysis.
Question 22. A retailer must generate descriptions for 2 million products overnight using Amazon Bedrock, at the lowest cost. Results are not needed in real time. Which option fits?
- A. On-demand real-time invocation
- B. A larger model
- C. Batch inference
- D. Higher temperature
Show answer and explanation
Answer: C. Domain 2: GenAI fundamentals. Bedrock batch inference processes large non-urgent jobs at a lower price than on- demand.
Question 23. A utility wants to predict next month’s electricity demand using five years of hourly meter readings. What kind of problem is this?
- A. Clustering of image data
- B. Time-series forecasting
- C. Unsupervised anomaly labeling
- D. Reinforcement learning
Show answer and explanation
Answer: B. Domain 1: AI & ML fundamentals. Hourly readings in time order used to predict future values is time-series forecasting (a regression problem).
Question 24. A team wants to measure how closely auto-generated summaries match human-written reference summaries. Which metric fits?
- A. BLEU
- B. ROUGE
- C. Accuracy
- D. AUC-ROC
Show answer and explanation
Answer: B. Domain 3: Foundation model applications. ROUGE is the standard metric for summarization; BLEU is for translation.
Question 25. When preparing data to fine-tune an FM, what matters most?
- A. Maximum volume regardless of quality
- B. Curated, high-quality, representative labeled examples
- C. Including real customer PII for realism
- D. Examples from only one category
Show answer and explanation
Answer: B. Domain 3: Foundation model applications. Quality, curation, and representativeness matter more than volume; PII should be removed.
Question 26. A homework-help app for students must block violent and sexual content in both prompts and responses. What should it use?
- A. Amazon Bedrock Guardrails content filters
- B. Amazon Inspector
- C. AWS Budgets
- D. Amazon Polly
Show answer and explanation
Answer: A. Domain 4: Responsible AI. Bedrock Guardrails content filters block harmful categories such as violence and sexual content in inputs and outputs.
Question 27. (Multi-select) Which TWO are the customer’s responsibilities when self-hosting a model on Amazon EC2? (Choose two.)
- A. Patching the guest operating system
- B. Physical security of the data center
- C. Configuring security groups and IAM permissions
- D. Maintaining the hypervisor
- E. Power and cooling
Show answer and explanation
Answer: A and C. Domain 5: Security & governance. On EC2, customers patch the guest OS and configure security groups and IAM. AWS handles physical and hypervisor layers.
Question 28. Which managed Amazon Bedrock capability handles document ingestion, chunking, embedding, and retrieval for RAG?
- A. Amazon Bedrock Knowledge Bases
- B. Amazon SageMaker Ground Truth
- C. AWS Glue DataBrew
- D. Amazon Lex
Show answer and explanation
Answer: A. Domain 3: Foundation model applications. Amazon Bedrock Knowledge Bases is the fully managed RAG capability.
Question 29. A startup wants to deploy an open-source LLM into its own SageMaker AI environment with a few clicks and then fine-tune it. Which feature fits?
- A. Amazon Translate
- B. Amazon SageMaker JumpStart
- C. AWS Artifact
- D. Amazon Macie
Show answer and explanation
Answer: B. Domain 2: GenAI fundamentals. SageMaker JumpStart offers one-click deployment and fine-tuning of pre-trained models.
Question 30. A legal team is concerned that it cannot trace why a GenAI model produced a specific answer. Which limitation is this?
- A. Latency
- B. Interpretability
- C. Scalability
- D. Adaptability
Show answer and explanation
Answer: B. Domain 2: GenAI fundamentals. Not being able to explain why a model answered a certain way is an interpretability limitation.
Question 31. (Multi-select) Which TWO dataset characteristics support responsible AI? (Choose two.)
- A. Diverse and inclusive
- B. Balanced across groups and classes
- C. Collected without consent
- D. From a single unverified source
- E. Contains outdated labels
Show answer and explanation
Answer: A and B. Domain 4: Responsible AI. Diverse, inclusive, and balanced datasets reduce bias. The other options undermine responsible AI.
Question 32. A company needs an FM to consistently respond in a specific brand voice and output format. Prompt engineering alone has not been reliable, and the company has 5,000 labeled example responses. Which approach fits?
- A. Fine-tuning with the labeled examples
- B. Continued pre-training on unlabeled web data
- C. Increasing the temperature
- D. Switching to zero-shot prompts
Show answer and explanation
Answer: A. Domain 3: Foundation model applications. Labeled examples and a need for consistent style/format point to fine-tuning. Continued pre-training uses unlabeled data for domain knowledge.
Question 33. A media company must score 20 million customer records every night. No user waits for the results. Which inference type is most cost-effective?
- A. Real-time inference
- B. Serverless inference
- C. Batch inference
- D. Asynchronous inference
Show answer and explanation
Answer: C. Domain 1: AI & ML fundamentals. Large scheduled jobs with no one waiting suit batch inference, the cheapest option for bulk scoring.
Question 34. An accounts-payable team wants to extract line-item tables and form fields from scanned invoices. Which service should it use?
- A. Amazon Comprehend
- B. Amazon Rekognition
- C. Amazon Textract
- D. Amazon Polly
Show answer and explanation
Answer: C. Domain 1: AI & ML fundamentals. Amazon Textract extracts text, forms, and tables from documents. Comprehend analyzes text; it does not read scans.
Question 35. A business analyst wants to ask natural-language questions about sales data and build dashboards without writing code. Which AWS service fits?
- A. Amazon Quick
- B. Kiro
- C. SageMaker AI training jobs
- D. Amazon EMR
Show answer and explanation
Answer: A. Domain 1: AI & ML fundamentals. Amazon Quick provides natural-language BI and dashboards for business users. Kiro is a developer IDE.
Question 36. Which practice reflects good context engineering for an FM application?
- A. Include the entire company wiki in every request
- B. Supply only the most relevant retrieved information and necessary instructions
- C. Remove all system instructions
- D. Always fill the context window to its maximum
Show answer and explanation
Answer: B. Domain 2: GenAI fundamentals. Context engineering supplies the most relevant information in the fewest tokens.
Question 37. A compliance team needs a record of the full prompts and responses sent to Amazon Bedrock. What should be enabled?
- A. Amazon Bedrock model invocation logging to CloudWatch Logs or Amazon S3
- B. AWS Budgets
- C. AWS Trusted Advisor
- D. Amazon Polly
Show answer and explanation
Answer: A. Domain 5: Security & governance. Model invocation logging captures full prompts and responses. CloudTrail records API calls but not full content.
Question 38. An e-commerce site wants real-time personalized product recommendations without building ML models in- house. Which service fits?
- A. Amazon Personalize
- B. Amazon Lex
- C. Amazon Translate
- D. Amazon Transcribe
Show answer and explanation
Answer: A. Domain 1: AI & ML fundamentals. Amazon Personalize delivers real-time recommendations with no ML expertise.
Question 39. Which AWS resource documents the intended uses, limitations, and responsible-AI design of AWS AI services such as Amazon Rekognition?
- A. AWS Trusted Advisor
- B. AWS AI Service Cards
- C. AWS Cost Explorer
- D. Amazon VPC
Show answer and explanation
Answer: B. Domain 4: Responsible AI. AWS AI Service Cards document intended use cases, limitations, and responsible-AI design choices.
Question 40. A document-processing workflow must send low-confidence predictions to human reviewers. Which service fits?
- A. Amazon Macie
- B. AWS Artifact
- C. Amazon CloudFront
- D. Amazon Augmented AI (Amazon A2I)
Show answer and explanation
Answer: D. Domain 4: Responsible AI. Amazon A2I routes low-confidence predictions to human reviewers.
Question 41. A company builds an agent with Amazon Bedrock Agents that must look up order status in an internal system. What should it configure?
- A. An action group that calls an API or AWS Lambda function
- B. A word filter
- C. Provisioned Throughput
- D. A model card
Show answer and explanation
Answer: A. Domain 3: Foundation model applications. Bedrock Agents call external systems through action groups backed by APIs or Lambda functions.
Question 42. A company self-hosts a model in containers and wants automatic scanning of the container images for software vulnerabilities. Which service fits?
- A. Amazon Comprehend
- B. AWS Artifact
- C. Amazon Inspector
- D. Amazon Translate
Show answer and explanation
Answer: C. Domain 5: Security & governance. Amazon Inspector scans EC2, container images, and Lambda for vulnerabilities.
Question 43. Before creating embeddings for a 300-page manual, a team splits it into smaller passages. What is this step called?
- A. Tokenization
- B. Chunking
- C. Distillation
- D. Quantization
Show answer and explanation
Answer: B. Domain 2: GenAI fundamentals. Chunking splits documents into passages before embedding so retrieval returns focused content.
Question 44. Which neural-network architecture underlies modern LLMs and relies on self-attention?
- A. Convolutional neural network
- B. Decision tree
- C. Transformer
- D. k-nearest neighbors
Show answer and explanation
Answer: C. Domain 2: GenAI fundamentals. Transformers use self-attention and power modern LLMs.
Question 45. A loan-approval training dataset contains 90% of applicants from one region. What is the main risk?
- A. Higher latency
- B. Biased outcomes for underrepresented groups
- C. Higher token costs
- D. Encryption failures
Show answer and explanation
Answer: B. Domain 4: Responsible AI. Unrepresentative data produces biased outcomes for underrepresented groups.
Question 46. (Multi-select) Which TWO metrics are specific to evaluating a RAG application? (Choose two.)
- A. Relevance of the retrieved context
- B. Faithfulness of the answer to the retrieved sources
- C. Number of EC2 instances
- D. Data center power usage effectiveness
- E. Number of training epochs
Show answer and explanation
Answer: A and B. Domain 3: Foundation model applications. RAG is evaluated on retrieval relevance and on answer faithfulness (groundedness) to sources.
Question 47. Training datasets must be retained for seven years at the lowest cost and then deleted automatically. What should the company do?
- A. Store them in Amazon ElastiCache
- B. Use S3 Lifecycle policies to move them to Amazon S3 Glacier and expire them after seven years
- C. Keep them on Amazon EBS volumes
- D. Embed them in prompts
Show answer and explanation
Answer: B. Domain 5: Security & governance. S3 Lifecycle policies move data to S3 Glacier for low-cost retention and expire it on schedule.
Question 48. A prompt contains the line “Do not mention competitor products.” Which prompt element is this?
- A. Output indicator
- B. Few-shot example
- C. Input data
- D. Negative prompt
Show answer and explanation
Answer: D. Domain 3: Foundation model applications. Telling the model what to avoid is a negative prompt.
Question 49. A legal team needs to summarize 400-page contracts in a single request. Which FM selection criterion matters most?
- A. Context window (maximum input length)
- B. Image generation quality
- C. Voice output support
- D. Default temperature
Show answer and explanation
Answer: A. Domain 3: Foundation model applications. Very long documents require a large context window.
Question 50. An attacker hides instructions in a web page that a RAG-enabled agent later retrieves and follows. What is this attack?
- A. Indirect prompt injection
- B. Overfitting
- C. Data drift
- D. Model distillation
Show answer and explanation
Answer: A. Domain 3: Foundation model applications. Malicious instructions hidden in retrieved content are indirect prompt injection.
Mock Exam 1 answer key
| Q | Answer | Domain |
|---|---|---|
| 1 | A and C | GenAI fundamentals |
| 2 | D | AI & ML fundamentals |
| 3 | A | GenAI fundamentals |
| 4 | D | GenAI fundamentals |
| 5 | C | Responsible AI |
| 6 | B | Foundation model applications |
| 7 | D | Security & governance |
| 8 | A | GenAI fundamentals |
| 9 | B | AI & ML fundamentals |
| 10 | A | AI & ML fundamentals |
| 11 | C | Foundation model applications |
| 12 | A | GenAI fundamentals |
| 13 | B | Foundation model applications |
| 14 | D | GenAI fundamentals |
| 15 | A | Security & governance |
| 16 | B | Foundation model applications |
| 17 | A and C | AI & ML fundamentals |
| 18 | B | Security & governance |
| 19 | C | Foundation model applications |
| 20 | B | AI & ML fundamentals |
| 21 | A | Responsible AI |
| 22 | C | GenAI fundamentals |
| 23 | B | AI & ML fundamentals |
| 24 | B | Foundation model applications |
| 25 | B | Foundation model applications |
| 26 | A | Responsible AI |
| 27 | A and C | Security & governance |
| 28 | A | Foundation model applications |
| 29 | B | GenAI fundamentals |
| 30 | B | GenAI fundamentals |
| 31 | A and B | Responsible AI |
| 32 | A | Foundation model applications |
| 33 | C | AI & ML fundamentals |
| 34 | C | AI & ML fundamentals |
| 35 | A | AI & ML fundamentals |
| 36 | B | GenAI fundamentals |
| 37 | A | Security & governance |
| 38 | A | AI & ML fundamentals |
| 39 | B | Responsible AI |
| 40 | D | Responsible AI |
| 41 | A | Foundation model applications |
| 42 | C | Security & governance |
| 43 | B | GenAI fundamentals |
| 44 | C | GenAI fundamentals |
| 45 | B | Responsible AI |
| 46 | A and B | Foundation model applications |
| 47 | B | Security & governance |
| 48 | D | Foundation model applications |
| 49 | A | Foundation model applications |
| 50 | A | Foundation model applications |
Score yourself by domain
| Domain | Questions | Review | Your score |
|---|---|---|---|
| 1. AI & ML fundamentals | 2, 9, 10, 17, 20, 23, 33, 34, 35, 38 | Chapter 1 | ___ / 10 |
| 2. GenAI fundamentals | 1, 3, 4, 8, 12, 14, 22, 29, 30, 36, 43, 44 | Chapter 2 | ___ / 12 |
| 3. Foundation model applications | 6, 11, 13, 16, 19, 24, 25, 28, 32, 41, 46, 48, 49, 50 | Chapter 3 | ___ / 14 |
| 4. Responsible AI | 5, 21, 26, 31, 39, 40, 45 | Chapter 4 | ___ / 7 |
| 5. Security & governance | 7, 15, 18, 27, 37, 42, 47 | Chapter 5 | ___ / 7 |
What your score means
| Score | Readiness |
|---|---|
| 45–50 | Ready. Book the exam. |
| 40–44 | Nearly ready. Review the explanation for every miss and retest in a few days. |
| 35–39 | Borderline. Reread the chapters for your two weakest domains. |
| Below 35 | Not yet ready. Work through the study guide again, focusing on Chapters 2 and 3. |
← Previous: AWS AI Practitioner (AIF-C01) Domain 5: Security, Compliance and Governance for AI
Next: AWS AI Practitioner (AIF-C01) Mock Exam 2: 50 Practice Questions with Answers →
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.