CertSafari

    Free AWS Certified AI Practitioner (AIF-C01) Sample Questions

    35 free sample questions from our bank of 344+, covering every exam domain, with answers and detailed explanations. Updated October 2026.

    Domain 1: Fundamentals of AI and ML

    Subdomain 1.1: Explain basic AI concepts and terminologies.

    1.A manufacturer installs cameras above an assembly line and wants a system that scans each captured photo of a circuit board to automatically flag scratches, missing components, or misalignment before shipping. Which AI capability should the manufacturer use?

    1. A.Computer vision, because it analyzes pixel data in images to detect visual defects and anomalies automatically.
    2. B.Natural language processing, because it interprets the technician notes attached to each shipped product.
    3. C.Time-series forecasting, because it predicts defect rates for the next quarter based on historical trends.
    4. D.Speech recognition, because it converts the factory floor audio recordings into searchable text transcripts.
    Show answer & explanation

    Correct answer: A — Computer vision, because it analyzes pixel data in images to detect visual defects and anomalies automatically.

    • A. This is correct because computer vision is the AI field that analyzes and interprets visual data such as photographs, making it suited to detecting scratches, missing parts, and misalignment in images.
    • B. This is incorrect because the scenario is based on analyzing photographs, not written technician notes, so a text-focused capability does not address the task.
    • C. This is incorrect because the manufacturer needs to flag defects in each individual photo as it is captured, not forecast an aggregate defect rate over a future time period.
    • D. This is incorrect because the input described is image data from cameras, not audio recordings, so converting speech to text does not apply here.

    Subdomain 1.1: Explain basic AI concepts and terminologies.

    2.A company aggregates two datasets: a spreadsheet with defined columns for customer ID, purchase date, and amount, and a folder of free-form written product review text submitted by customers with no fixed structure. Which two data types are being described, respectively? (Select TWO.)(Select 2)

    1. A.Tabular data
    2. B.Unstructured text data
    3. C.Time-series data
    4. D.Labeled data
    5. E.Image data
    Show answer & explanation

    Correct answers: A, B — Tabular data; Unstructured text data

    • A. This is correct because tabular data is organized into rows and defined columns, matching the spreadsheet with customer ID, purchase date, and amount fields.
    • B. This is correct because unstructured text data has no fixed fields or schema, matching the free-form written product review text submitted by customers.
    • C. This is incorrect for this scenario because time-series data is defined by its ordering along a time dimension as the primary organizing factor, which is not how either dataset is described here.
    • D. This is incorrect for this scenario because labeled data specifically refers to examples paired with a known target or output value, and neither dataset is described as having such labels attached.
    • E. This is incorrect for this scenario because image data consists of pixel-based visual files, and neither dataset described here contains images.

    Subdomain 1.2: Identify practical use cases for AI.

    3.A finance team needs an exact, guaranteed calculation of a customer's account balance after a transaction, with no possibility of variation. Why is an ML model not appropriate for this task?

    1. A.The task requires a deterministic outcome, and ML models produce probabilistic predictions instead of guaranteed exact results
    2. B.ML models cannot process any numeric or financial data types
    3. C.Account balance calculations require more storage than any ML model can provide
    4. D.ML models are only capable of analyzing unstructured text and cannot handle structured data
    Show answer & explanation

    Correct answer: A — The task requires a deterministic outcome, and ML models produce probabilistic predictions instead of guaranteed exact results

    • A. Balance arithmetic is a deterministic rule-based calculation with one correct answer, and ML models instead output probabilistic predictions that approximate an outcome rather than guarantee it.
    • B. ML models routinely process numeric and financial data, such as fraud scores or credit risk features, so this is not the limiting factor here.
    • C. Storage capacity is unrelated to why ML is unsuitable; the mismatch is about deterministic versus probabilistic outputs, not resource limits.
    • D. ML models regularly work with structured, tabular data such as transaction records, so this claim about text-only processing is inaccurate.

    Subdomain 1.3: Describe the AI/ML development lifecycle.

    4.A data science team is testing several algorithms and hyperparameter combinations before committing to a production model, tracking each run's metrics for comparison. Which MLOps concept does this describe?

    1. A.Experimentation, the practice of iterating on models and configurations to find the best candidate
    2. B.Model monitoring, the practice of watching a live model's predictions for accuracy over time
    3. C.Technical debt management, the practice of refactoring outdated pipeline code before release
    4. D.Production readiness, the practice of certifying a model meets operational requirements before launch
    Show answer & explanation

    Correct answer: A — Experimentation, the practice of iterating on models and configurations to find the best candidate

    • A. Trying multiple algorithms and hyperparameters while tracking metrics for comparison is the definition of experimentation, an MLOps concept practiced before a model is finalized.
    • B. Model monitoring applies to a model already running in production, not to comparing candidate models before one has been selected.
    • C. Technical debt management addresses accumulated shortcuts in code or process, which is not what is being described when comparing candidate models.
    • D. Production readiness is a certification step that happens after a model is chosen, not the process of comparing multiple candidates.

    Subdomain 1.1: Explain basic AI concepts and terminologies.

    5.An airline generates personalized seat upgrade offers for customers browsing its website and must return a prediction within milliseconds of the request. Which type of inferencing best fits this requirement?

    1. A.Real-time inferencing, because it returns predictions for individual requests with very low latency as they arrive.
    2. B.Batch inferencing, because it groups many requests together and returns predictions on a fixed periodic schedule.
    3. C.Training inferencing, because it recalculates model weights each time a customer loads the website.
    4. D.Offline inferencing, because it stores predictions overnight for the airline to review the next business day.
    Show answer & explanation

    Correct answer: A — Real-time inferencing, because it returns predictions for individual requests with very low latency as they arrive.

    • A. Real-time inferencing is correct because it is designed to serve predictions for single incoming requests with millisecond-scale latency, matching the airline's need for an instant offer.
    • B. Batch inferencing processes large groups of records together on a schedule and is not suited to returning a prediction the moment a single customer loads a page.
    • C. There is no inferencing mode called 'training inferencing'; training adjusts model weights and is a separate phase that happens before inferencing, not on every page load.
    • D. Offline or overnight processing introduces delay that does not meet a millisecond response requirement for an individual browsing customer.

    Subdomain 1.2: Identify practical use cases for AI.

    6.Which AWS AI service uses computer vision to detect objects, scenes, and unsafe content within images and videos?

    1. A.Amazon Textract
    2. B.Amazon Rekognition
    3. C.Amazon Comprehend
    4. D.Amazon Polly
    Show answer & explanation

    Correct answer: B — Amazon Rekognition

    • A. Amazon Textract extracts printed and handwritten text, forms, and tables from scanned documents; it does not analyze image content such as objects or scenes.
    • B. Amazon Rekognition is correct because it applies computer vision to identify objects, scenes, activities, and inappropriate content in images and video.
    • C. Amazon Comprehend performs natural language processing on text, such as sentiment and entity extraction, rather than analyzing image or video content.
    • D. Amazon Polly converts written text into lifelike spoken audio and has no capability for analyzing image or video content.

    1.3 Describe the ML development lifecycle.

    7.A company evaluating a binary classifier for loan default prediction wants a single metric that balances both precision and recall, since the dataset has far more non-default cases than default cases. Which metric should the team prioritize?

    1. A.F1 score
    2. B.Overall accuracy
    3. C.Development cost
    4. D.Customer feedback score
    Show answer & explanation

    Correct answer: A — F1 score

    • A. F1 score is correct because it is the harmonic mean of precision and recall, making it a more informative single metric than accuracy when classes are imbalanced.
    • B. Overall accuracy is incorrect because with a highly imbalanced dataset, a model can achieve high accuracy simply by predicting the majority class and still miss most true defaults.
    • C. Development cost is incorrect because it is a business metric reflecting spending on building the model, not a measure of classification performance.
    • D. Customer feedback score is incorrect because it reflects subjective user satisfaction rather than the statistical balance of precision and recall for a classifier.

    1.3 Describe the ML development lifecycle.

    8.A company's leadership is reviewing whether a newly deployed ML model justifies its ongoing investment. Which of the following are examples of business metrics, as opposed to model performance metrics, that leadership should examine? (Select TWO.)(Select 2)

    1. A.Return on investment
    2. B.Cost per user
    3. C.Area Under the Curve
    4. D.F1 score
    5. E.Accuracy
    Show answer & explanation

    Correct answers: A, B — Return on investment; Cost per user

    • A. Return on investment is correct because it is a business metric that measures the financial value the model generates relative to what was spent to build and run it.
    • B. Cost per user is correct because it is a business metric reflecting the operational expense of serving the model to each user, rather than a statistical measure of prediction quality.
    • C. Area Under the Curve is incorrect because it is a model performance metric describing a classifier's ability to distinguish between classes, not a financial or business measure.
    • D. F1 score is incorrect because it is a model performance metric balancing precision and recall, not a business-level measure of value or cost.
    • E. Accuracy is incorrect because it is a model performance metric describing the proportion of correct predictions, not a business outcome measure.

    Subdomain 1.3: Describe the AI/ML development lifecycle.

    9.Which of the following are core concepts of ML operations (MLOps)? (Select TWO.)(Select 2)

    1. A.Building repeatable, automated processes for training and deploying models.
    2. B.Manually re-creating each model deployment from scratch every release.
    3. C.Continuously monitoring production models and retraining on degradation.
    4. D.Storing all model artifacts on a single unmanaged local workstation.
    5. E.Avoiding any documentation of pipeline steps to save development time.
    Show answer & explanation

    Correct answers: A, C — Building repeatable, automated processes for training and deploying models.; Continuously monitoring production models and retraining on degradation.

    • A. Correct. Building repeatable, automated processes for training and deploying models is a foundational MLOps concept. Automation reduces manual effort and human error, and it makes each model release consistent and reproducible.
    • B. Incorrect. Manually re-creating each deployment from scratch every release is the opposite of MLOps. MLOps favors automation and repeatability, because ad hoc manual work is slow, error-prone, and hard to reproduce.
    • C. Correct. Continuously monitoring production models and retraining them when performance degrades is a core MLOps practice. It addresses issues such as data drift and keeps model quality high over time.
    • D. Incorrect. Storing all model artifacts on a single unmanaged local workstation creates a single point of failure and offers no versioning or tracking. MLOps promotes scalable, managed, and tracked systems such as model registries and artifact stores instead.
    • E. Incorrect. Avoiding documentation of pipeline steps undermines reproducibility, auditability, and team collaboration. This works against the repeatable, well-governed processes that MLOps is built around.

    Domain 2: Fundamentals of GenAI

    Subdomain 2.1: Explain the basic concepts of generative AI (GenAI).

    10.What best describes the token-based pricing model commonly used for foundation model inference?

    1. A.Cost is a flat monthly fee that does not vary with how much the model is used
    2. B.Cost is calculated based on the number of input and output tokens processed for each request
    3. C.Cost is based only on the number of API calls made, regardless of request or response size
    4. D.Cost is determined by the physical storage size of the foundation model's weight files
    Show answer & explanation

    Correct answer: B — Cost is calculated based on the number of input and output tokens processed for each request

    • A. A flat, usage-independent monthly fee describes a subscription model, not the per-token metering that most foundation model inference pricing actually uses.
    • B. This is correct: token-based pricing charges based on the number of input tokens sent and output tokens generated, so longer prompts and responses cost more.
    • C. Charging strictly per API call regardless of size would ignore the actual amount of text processed, which is not how token-based pricing works.
    • D. The size of the model's stored weight files reflects infrastructure hosting costs, not the per-request charge tied to the tokens processed during inference.

    Subdomain 2.2: Understand the capabilities and limitations of GenAI for solving business problems.

    11.A product team deployed a generative AI writing assistant and wants to measure whether it is actually worth the ongoing subscription cost. Which metric would most directly answer that business question?

    1. A.Return on investment (ROI)
    2. B.Number of model parameters
    3. C.Vector embedding dimensionality
    4. D.Token vocabulary size
    Show answer & explanation

    Correct answer: A — Return on investment (ROI)

    • A. Return on investment is correct because it directly compares the value or savings generated by the tool against its cost, answering whether the subscription is worthwhile.
    • B. The number of model parameters is a technical architecture detail that does not measure business value or cost-effectiveness.
    • C. Vector embedding dimensionality is a technical property of how text is represented internally and has no direct link to cost justification.
    • D. Token vocabulary size describes how many distinct tokens a model recognizes, which does not indicate whether the tool delivers business value relative to cost.

    2.1 Explain the basic concepts of GenAI.

    12.A team building a customer-support chatbot is loading hundreds of long PDF manuals into a knowledge base. Before creating embeddings, they split each manual into smaller passages of a few paragraphs each so that relevant sections can be retrieved independently. What is this preprocessing step called?

    1. A.Chunking
    2. B.Fine-tuning
    3. C.Tokenization
    4. D.Diffusion
    Show answer & explanation

    Correct answer: A — Chunking

    • A. Splitting long documents into smaller, retrievable passages before embedding them is called chunking, and it allows a retrieval system to return only the most relevant section instead of an entire manual.
    • B. Fine-tuning refers to further training a foundation model's weights on labeled examples, which is a separate step from breaking documents into passages.
    • C. Tokenization is the process of breaking text into the smaller units (tokens) a model uses internally to process input, which is a different and more granular operation than splitting a manual into paragraph-level passages.
    • D. Diffusion describes an image-generation technique that iteratively removes noise to create pictures, which has no relationship to document preprocessing for a knowledge base.

    2.1 Explain the basic concepts of GenAI.

    13.A product team is documenting which tasks a generative AI foundation model can typically perform out of the box. Which of the following are common generative AI use cases? (Select TWO.)(Select 2)

    1. A.Generating marketing images from text prompts
    2. B.Summarizing long reports into brief overviews
    3. C.Enforcing strict firewall rules across networks
    4. D.Compiling written source code into binaries
    5. E.Optimizing storage layout of database indexes
    Show answer & explanation

    Correct answers: A, B — Generating marketing images from text prompts; Summarizing long reports into brief overviews

    • A. Creating new images from a text description is a well-known generative AI capability, commonly used for marketing and creative content production.
    • B. Condensing long documents into shorter overviews is a core generative AI use case, since foundation models can read lengthy text and produce a concise summary of the key points.
    • C. Enforcing firewall rules is a network-security administration task handled by dedicated security services and configuration, not something a generative foundation model performs.
    • D. Turning source code into executable binaries is handled by a compiler toolchain, a deterministic process unrelated to generative content creation.
    • E. Restructuring how a database stores its indexes is a database-administration optimization task, not a capability generative foundation models are designed to perform.

    Subdomain 2.3: Describe AWS infrastructure and technologies for building GenAI applications.

    14.A retail company wants to quickly add a natural-language customer support chatbot to their website by calling a foundation model through a simple API, without provisioning any servers or managing GPU clusters. Which AWS service should they use?

    1. A.Amazon SageMaker AI
    2. B.Amazon Bedrock
    3. C.AWS Lambda
    4. D.Amazon EC2
    Show answer & explanation

    Correct answer: B — Amazon Bedrock

    • A. SageMaker AI centers on building, training, and hosting custom machine learning models with more infrastructure configuration, which is more than this team needs for calling a pretrained foundation model.
    • B. This is correct because it is a fully managed, serverless service that provides API access to foundation models without any server or cluster management.
    • C. This is a general-purpose serverless compute service for running code in response to events; it is not itself a source of foundation models.
    • D. This requires provisioning and managing virtual servers, which does not match the serverless, no-infrastructure requirement in the scenario.

    Subdomain 2.3: Describe AWS infrastructure and technologies for building GenAI applications.

    15.What best describes Strands Agents?

    1. A.An open-source SDK that lets developers build AI agents using a model-driven approach with only a few lines of code.
    2. B.A fully managed relational database engine used to store transactional agent conversation logs at scale.
    3. C.A proprietary GUI-only tool that requires no code but only supports a single hardcoded foundation model.
    4. D.A network load balancer service that distributes incoming HTTP requests across a fleet of EC2 instances.
    Show answer & explanation

    Correct answer: A — An open-source SDK that lets developers build AI agents using a model-driven approach with only a few lines of code.

    • A. This is correct because it is an open-source SDK that simplifies building AI agents through a model-driven approach with minimal code.
    • B. This describes a managed database engine for storing transactional data, which is not what this lightweight agent-building SDK provides.
    • C. This describes a no-code, single-model tool, which contradicts the SDK's code-based, model-flexible design.
    • D. This describes a load balancing service for distributing network traffic, which is unrelated to building AI agents.

    Subdomain 2.2: Understand the capabilities and limitations of GenAI for solving business problems.

    16.A legal team asks a generative AI assistant to summarize case law and cites a court ruling that does not exist. Which limitation of generative AI does this describe?

    1. A.Hallucination
    2. B.Latency
    3. C.Token pricing
    4. D.Multi-modality
    Show answer & explanation

    Correct answer: A — Hallucination

    • A. A hallucination occurs when a generative model produces confident but fabricated or factually incorrect content, such as citing a court ruling that never existed, and it is a well-known limitation of GenAI.
    • B. Latency refers to the response time of a model and has no bearing on whether the content it generates is factually accurate.
    • C. Token pricing describes how usage is billed based on input and output tokens and does not explain fabricated content in a response.
    • D. Multi-modality refers to a model's ability to process multiple input or output types such as text and images, which is unrelated to generating a false citation.

    Subdomain 2.3: Describe AWS infrastructure and technologies for building GenAI applications.

    17.A data science team wants to browse a catalog of pretrained, open-source models, incrementally fine-tune a selected model, and deploy it directly from within SageMaker Studio. Which capability should the team use?

    1. A.Amazon Bedrock Data Automation
    2. B.Amazon SageMaker JumpStart
    3. C.Amazon Q Developer
    4. D.Amazon Bedrock Guardrails
    Show answer & explanation

    Correct answer: B — Amazon SageMaker JumpStart

    • A. Bedrock Data Automation extracts structured insights from unstructured multimodal content such as documents and images, and does not provide a catalog of pretrained models to fine-tune within SageMaker Studio.
    • B. SageMaker JumpStart is correct because it provides pretrained, open-source models directly inside SageMaker Studio that can be incrementally trained, tuned, and deployed.
    • C. Amazon Q Developer is a coding assistant that helps write and explain code, not a catalog of pretrained models for fine-tuning inside SageMaker Studio.
    • D. Bedrock Guardrails applies content filtering policies to model input and output, and is unrelated to browsing or fine-tuning pretrained models in SageMaker Studio.

    Subdomain 2.1: Explain the basic concepts of generative AI (GenAI).

    18.A team is designing an agentic AI application that can call external APIs, retain relevant details across a multi-turn conversation, and decide the order in which to perform sub-tasks. Which of the following are core capabilities this design relies on? (Select all that apply.)(Select 2)

    1. A.Static configuration files that lock the agent's behavior in place after deployment.
    2. B.Manual human approval required before the model generates each individual output token.
    3. C.Tool usage, letting the agent call external APIs and services to complete its tasks.
    4. D.A fixed, unchangeable sequence of steps that never adapts to the task's needs.
    5. E.Memory management, which lets the agent recall relevant details across conversation turns.
    Show answer & explanation

    Correct answers: C, E — Tool usage, letting the agent call external APIs and services to complete its tasks.; Memory management, which lets the agent recall relevant details across conversation turns.

    • A. Incorrect. Static configuration files that lock behavior in place after deployment conflict with an agent that must adapt its actions to each task. The design needs flexible, task-driven decision making, so this is not a core capability it relies on.
    • B. Incorrect. Requiring manual human approval before each output token is impractical and defeats autonomous multi-step task execution. Generating tokens is the model's normal operation and is not a capability this agentic design depends on.
    • C. Correct. Tool usage lets the agent call external APIs and services, so it can take actions beyond generating text. This directly meets the stem's requirement that the application call external APIs.
    • D. Incorrect. A fixed, unchangeable sequence of steps that never adapts conflicts with the requirement that the agent decide the order of sub-tasks. Agentic designs rely on dynamic planning and reasoning, not rigid scripts.
    • E. Correct. Memory management lets the agent retain and recall relevant details from earlier turns. This meets the stem's requirement to keep context across a multi-turn conversation.

    Domain 3: Applications of Foundation Models

    Subdomain 3.1: Describe design considerations for applications that use foundation models (FMs).

    19.A development team is building a chatbot application on Amazon Bedrock that repeatedly sends the same long system prompt and reference document with every API call. Which foundation model selection criterion primarily addresses reducing the cost and latency of processing this repeated content?

    1. A.Model size
    2. B.Prompt caching
    3. C.Multi-lingual support
    4. D.Output length limit
    Show answer & explanation

    Correct answer: B — Prompt caching

    • A. Model size refers to a model's parameter count and general capacity, not to how repeated prompt content is reprocessed on each call.
    • B. Prompt caching lets a model reuse the processed representation of an unchanged prompt prefix, so repeated system prompts and reference documents are not reprocessed on every call, cutting cost and latency.
    • C. Multi-lingual support describes how many languages a model handles well and has no bearing on reprocessing repeated content.
    • D. An output length limit caps how much text is generated in a response and does not affect the cost of reprocessing repeated input content.

    Subdomain 3.1: Describe design considerations for applications that use foundation models (FMs).

    20.An engineer increases the temperature inference parameter before generating marketing taglines with a foundation model. What effect does this change have on the model's output?

    1. A.Responses become more random and varied
    2. B.Responses become shorter
    3. C.Responses become more deterministic and repetitive
    4. D.Responses are translated into more languages
    Show answer & explanation

    Correct answer: A — Responses become more random and varied

    • A. Raising the temperature parameter increases randomness in token selection, producing more varied and creative outputs, which suits generating diverse marketing taglines.
    • B. Temperature controls output randomness, not output length, so raising it does not shorten the generated text.
    • C. A higher temperature makes outputs less deterministic and less repetitive, which is the opposite of this effect.
    • D. Temperature has no effect on which languages a model can generate; that depends on the model's trained language capabilities.

    Subdomain 3.2: Choose effective prompt engineering techniques.

    21.An engineer discovers that a few-shot prompt template was edited by an unauthorized teammate who inserted several example input-output pairs containing biased and inaccurate answers. Deployed responses now reflect that bias. Which prompt engineering risk best describes this situation?

    1. A.Prompt exposure, where the prompt's internal instructions are leaked to unauthorized users
    2. B.Prompt hijacking, where user input at runtime overrides the original task instructions
    3. C.Prompt poisoning, where malicious or corrupted examples are inserted into the prompt to bias the model's output
    4. D.Jailbreaking, where crafted runtime input bypasses the model's safety guardrails
    Show answer & explanation

    Correct answer: C — Prompt poisoning, where malicious or corrupted examples are inserted into the prompt to bias the model's output

    • A. Exposure is about instructions being leaked outward to users, not about examples being altered inward by an insider. The direction and mechanism of this scenario do not match exposure.
    • B. Hijacking happens through a user's runtime message overriding instructions during a conversation, not through pre-deployment edits to stored few-shot examples. This scenario occurred before any user interaction.
    • C. Poisoning describes exactly this situation: corrupted or biased example pairs were inserted into the prompt template itself, causing the model's future outputs to reflect that bias. The unauthorized edit to stored examples is the defining characteristic of poisoning.
    • D. Jailbreaking involves a user's runtime input crafted to bypass safety restrictions, not an unauthorized edit made to a stored prompt template. No safety guardrail was bypassed in this scenario.

    Subdomain 3.3: Describe the training and fine-tuning process for FMs.

    22.A retailer fine-tunes a customer service model almost entirely on English-language chat transcripts from one region, then deploys it globally and finds it performs poorly on non-English and region-specific queries. Which data preparation issue most directly caused this outcome?

    1. A.Insufficient data labeling across the transcripts used for fine-tuning
    2. B.A lack of representativeness in the training data across languages and regions
    3. C.Overly strict data governance controls applied to the training corpus
    4. D.Excessive reliance on reinforcement learning from human feedback during tuning
    Show answer & explanation

    Correct answer: B — A lack of representativeness in the training data across languages and regions

    • A. Labeling accuracy affects whether examples have correct target outputs, but the described failure — poor performance on non-English and regional queries — stems from what languages and regions were included, not from mislabeled examples.
    • B. A training set drawn almost entirely from one language and region lacks representativeness, so the model never learned patterns needed for other languages or regional phrasing, which explains its poor global performance.
    • C. Strict governance controls affect data access and retention policies, not which languages or regions are represented in the dataset, so this would not directly cause the described performance gap.
    • D. The scenario does not mention any reinforcement learning process being used at all, so RLHF reliance cannot explain a language and region coverage gap in the fine-tuning data.

    Subdomain 3.4: Describe methods to evaluate FM performance.

    23.A team built a retrieval-augmented generation (RAG) application that answers questions using a company knowledge base. During evaluation, they find the generated answers are fluent but frequently unsupported by the retrieved documents. Which aspect of the RAG pipeline should the team focus on evaluating further?

    1. A.Whether the retrieved documents are relevant and sufficient to support the generated answer.
    2. B.Whether the foundation model's inference latency meets the application's response time target.
    3. C.Whether the vector database's storage costs stay within the allocated monthly budget.
    4. D.Whether the prompt template uses consistent formatting across all user requests.
    Show answer & explanation

    Correct answer: A — Whether the retrieved documents are relevant and sufficient to support the generated answer.

    • A. Answers that are fluent but unsupported point directly to a retrieval quality problem, so evaluating whether retrieved documents actually back up the generated answer is the right focus.
    • B. Response time is a performance concern, not the cause of answers being fluent yet factually unsupported by retrieved content.
    • C. Storage cost is a budgeting concern unrelated to why generated answers lack grounding in retrieved documents.
    • D. Formatting consistency affects presentation, not whether the retrieved context actually supports the generated answer's claims.

    Subdomain 3.1: Describe design considerations for applications that use foundation models (FMs).

    24.Which AWS services can be used to store embeddings as the vector store for a Retrieval Augmented Generation solution built with Amazon Bedrock Knowledge Bases? (Select THREE.)(Select 3)

    1. A.Amazon OpenSearch Service
    2. B.Amazon Aurora
    3. C.Amazon Neptune
    4. D.AWS Lambda
    5. E.Amazon CloudFront
    6. F.Amazon Simple Notification Service
    Show answer & explanation

    Correct answers: A, B, C — Amazon OpenSearch Service; Amazon Aurora; Amazon Neptune

    • A. Amazon OpenSearch Service provides vector search capabilities and is a supported vector store for Bedrock knowledge bases, making it correct for this scenario.
    • B. Amazon Aurora, through its PostgreSQL-Compatible edition with the pgvector extension, is a supported vector store for storing and querying embeddings in a Bedrock knowledge base, making it correct.
    • C. Amazon Neptune can store and query embeddings as a vector store, including graph-based retrieval through Neptune Analytics, making it correct for this scenario.
    • D. AWS Lambda is a serverless compute service used to run code in response to events, such as processing files or invoking APIs, and does not store or index vector embeddings, so it is incorrect.
    • E. Amazon CloudFront is a content delivery network that caches and serves content close to users, and it has no capability to store or query vector embeddings, so it is incorrect.
    • F. Amazon Simple Notification Service is a pub/sub messaging service for sending notifications between systems, and it does not provide vector storage or similarity search, so it is incorrect.

    Subdomain 3.2: Choose effective prompt engineering techniques.

    25.Which statement correctly distinguishes prompt poisoning from jailbreaking as risks in prompt engineering?

    1. A.Poisoning corrupts examples or data that shape a model's behavior, while jailbreaking uses crafted prompts to bypass a model's safety instructions at runtime.
    2. B.Poisoning uses crafted prompts to bypass a model's safety instructions at runtime, while jailbreaking corrupts examples or data that shape a model's behavior.
    3. C.Poisoning and jailbreaking both describe an attacker gaining direct access to a model's underlying weights and training infrastructure.
    4. D.Poisoning and jailbreaking both describe a model unintentionally revealing its confidential system prompt to a legitimate user.
    Show answer & explanation

    Correct answer: A — Poisoning corrupts examples or data that shape a model's behavior, while jailbreaking uses crafted prompts to bypass a model's safety instructions at runtime.

    • A. Prompt poisoning corrupts the examples, training data, or few-shot samples that influence a model's behavior, while jailbreaking crafts a runtime prompt designed to bypass the model's built-in safety instructions.
    • B. This reverses the two definitions; poisoning targets the data or examples shaping the model, and jailbreaking targets safety instructions at runtime, not the other way around.
    • C. Neither risk requires gaining direct access to a model's underlying weights or training infrastructure; both are achieved through manipulated inputs rather than infrastructure access.
    • D. Unintentional system prompt exposure describes prompt exposure, a separate risk from poisoning and jailbreaking, which involve corrupting inputs or bypassing safety behavior rather than accidental disclosure.

    Subdomain 3.3: Describe the training and fine-tuning process for FMs.

    26.A financial services firm takes a general-purpose foundation model and further trains it on a large collection of unlabeled financial filings and earnings call transcripts so it becomes fluent in financial terminology and context, without targeting one specific downstream task. Which fine-tuning method does this describe?

    1. A.Transfer learning, which takes a model trained for one task, such as image classification, and reuses it for an unrelated task in a different domain.
    2. B.Adapting the model for a specific domain, which further trains it on domain-specific text so it becomes more fluent in that field's language and context.
    3. C.Instruction tuning, which trains the model on paired instructions and responses so it follows explicit directions more reliably.
    4. D.Reinforcement learning from human feedback, which adjusts the model using a reward signal derived from human preference rankings of its outputs.
    Show answer & explanation

    Correct answer: B — Adapting the model for a specific domain, which further trains it on domain-specific text so it becomes more fluent in that field's language and context.

    • A. This reuses a model across an unrelated task and modality, whereas the scenario keeps the same modality and instead builds deeper fluency within one field.
    • B. This is correct because further training a general-purpose model on a large body of domain-specific, unlabeled text so it becomes fluent in that field's language is exactly what adapting a model for a specific domain means.
    • C. This requires paired instructions and desired responses, but the scenario describes training on unlabeled filings and transcripts with no such paired examples.
    • D. This relies on human preference rankings of model outputs as a reward signal, which is not present in a scenario describing further training on unlabeled documents.

    Subdomain 3.4: Describe methods to evaluate FM performance.

    27.A team built a multi-step agent workflow that calls tools and APIs to complete customer requests. Which approaches are appropriate for evaluating this application's performance? (Select TWO.)(Select 2)

    1. A.Task completion rate, measuring whether the agent resolves the customer's request end-to-end.
    2. B.Human review of the agent's reasoning steps and tool-call trace for correctness and safety.
    3. C.ROUGE score alone, comparing the agent's final message to a single reference summary text.
    4. D.Amazon CloudWatch billing dashboards, measuring only the AWS account's monthly spend totals.
    5. E.Vector database index size, measuring only the storage footprint of the knowledge base.
    Show answer & explanation

    Correct answers: A, B — Task completion rate, measuring whether the agent resolves the customer's request end-to-end.; Human review of the agent's reasoning steps and tool-call trace for correctness and safety.

    • A. Correct. Task completion rate measures whether the agent actually resolved the customer's request from start to finish, which is the central outcome for an agentic workflow. It captures the combined success of planning, tool selection, and API calls rather than the quality of any single step.
    • B. Correct. Multi-step agents make chains of decisions and tool calls that automated text metrics cannot judge for correctness or safety. Human review of the reasoning steps and tool-call trace shows whether the agent chose the right tools, passed valid parameters, and avoided unsafe actions.
    • C. Incorrect. ROUGE measures text overlap with a reference, so using it alone against a single reference summary ignores whether the agent's tool calls and actions were correct. An agent could write a message that overlaps well with the reference yet fail to complete the request, or complete it with different wording and score poorly.
    • D. Incorrect. CloudWatch billing dashboards that show only monthly account spend measure cost, not whether the agent completed customer requests correctly. Cost can be a secondary operational metric, but spend totals say nothing about task success or reasoning quality.
    • E. Incorrect. Vector database index size describes the storage footprint of the knowledge base, which is an infrastructure characteristic. It reveals nothing about whether the agent resolved requests or reasoned and used tools correctly.

    Domain 4: Guidelines for Responsible AI

    Subdomain 4.1: Explain the development of AI systems that are responsible.

    28.A retail company's customer service chatbot, built on Amazon Bedrock, sometimes returns off-topic or toxic replies and occasionally leaks fragments of customers' personal contact details back into the conversation. The company wants a managed, configurable capability that filters harmful content and redacts sensitive information without retraining the underlying foundation model. Which AWS capability should they configure?

    1. A.Amazon Bedrock Guardrails
    2. B.SageMaker Clarify
    3. C.SageMaker Model Monitor
    4. D.Amazon Augmented AI (A2I)
    Show answer & explanation

    Correct answer: A — Amazon Bedrock Guardrails

    • A. Amazon Bedrock Guardrails provides configurable content filters, denied topics, word filters, and sensitive information filters that can block or mask PII and harmful content without changing the underlying model.
    • B. SageMaker Clarify computes bias and explainability metrics for trained models and is not designed to filter live conversational content or redact PII in real time.
    • C. SageMaker Model Monitor tracks data quality, model quality, and bias drift for deployed SageMaker AI endpoints, not conversational content safety in a chatbot.
    • D. Amazon Augmented AI routes low-confidence predictions to human reviewers and does not filter chat content or redact sensitive information in real time.

    Subdomain 4.1: Explain the development of AI systems that are responsible.

    29.A classification model achieves 99% accuracy on its training data but only 61% accuracy on new, unseen validation data. Which effect of bias and variance does this describe?

    1. A.Overfitting
    2. B.Underfitting
    3. C.Fairness violation
    4. D.Data poisoning
    Show answer & explanation

    Correct answer: A — Overfitting

    • A. A large gap between near-perfect training accuracy and much lower validation accuracy is the classic signature of overfitting, where the model memorizes training data rather than generalizing.
    • B. Underfitting shows up as poor performance on both training and validation data, not the high training accuracy seen here.
    • C. A fairness violation involves unequal treatment across demographic groups, which is a different concept from a training-versus-validation accuracy gap.
    • D. Data poisoning refers to deliberately corrupted training data causing malicious behavior, not a natural generalization gap between training and validation accuracy.

    Subdomain 4.2: Recognize the importance of transparent and explainable models.

    30.An insurance company must choose between two models for pricing decisions: a linear model that adjusters can fully explain to customers, and a gradient-boosted ensemble that scores 5% higher on accuracy but cannot be easily explained. Which factor should most directly guide this decision when regulations require customers to receive a clear reason for their premium?

    1. A.The regulatory requirement for clear, customer-facing reasoning should outweigh the small accuracy gain
    2. B.The model with the highest accuracy should always be chosen regardless of any other business requirement
    3. C.The model that trains fastest on the currently available compute infrastructure should be chosen instead
    4. D.The model requiring the smallest storage footprint for its serialized artifact should be selected
    Show answer & explanation

    Correct answer: A — The regulatory requirement for clear, customer-facing reasoning should outweigh the small accuracy gain

    • A. When a legal requirement mandates that customers receive clear reasons for a decision, an explainable model that satisfies that obligation should take priority over a modest accuracy improvement from an unexplainable ensemble.
    • B. Always choosing the highest-accuracy model ignores the stated regulatory obligation to provide customers with a clear, explainable reason for their premium.
    • C. Training speed is an operational convenience that does not address the regulatory need for customer-facing explainability.
    • D. Artifact storage size is an infrastructure cost consideration that has no bearing on whether the model can satisfy the explainability regulation.

    Subdomain 4.2: Recognize the importance of transparent and explainable models.

    31.Which of the following reflect human-centered design principles for explainable AI? (Select TWO.)(Select 2)

    1. A.Tailor the depth and format of an explanation to the knowledge level and needs of the person receiving it
    2. B.Provide a way for end users to give feedback on whether an explanation actually helped them understand a decision
    3. C.Present the exact same explanation format to every user regardless of their role or familiarity with the model
    4. D.Remove any mention of model limitations from user-facing explanations to keep the interface simple
    5. E.Optimize only for the shortest possible training time when designing the explanation interface
    Show answer & explanation

    Correct answers: A, B — Tailor the depth and format of an explanation to the knowledge level and needs of the person receiving it; Provide a way for end users to give feedback on whether an explanation actually helped them understand a decision

    • A. Human-centered explainable AI design calls for adapting explanation depth and format to the audience, since a regulator, a clinician, and an end user need different levels of detail.
    • B. Collecting user feedback on whether an explanation was actually understood is a core human-centered practice, since it lets the explanation interface be improved based on real user comprehension.
    • C. Using one fixed explanation format for every user ignores differences in expertise and needs, which runs counter to human-centered design rather than reflecting it.
    • D. Hiding known model limitations from users undermines trust and transparency, which is the opposite of what human-centered explainable AI design aims to achieve.
    • E. Training time is a model-development concern unrelated to how understandable an explanation is to the person receiving it, so it is not a human-centered design principle.

    Domain 5: Security, Compliance, and Governance for AI Solutions

    Subdomain 5.1: Explain methods to secure AI systems.

    32.What is the primary purpose of tracking data lineage for datasets used to train an AI model?

    1. A.To document where data originated and how it was transformed on its path to the model
    2. B.To compress training data so it consumes less storage
    3. C.To automatically improve the accuracy of the trained model
    4. D.To encrypt training data using a customer-managed key
    Show answer & explanation

    Correct answer: A — To document where data originated and how it was transformed on its path to the model

    • A. Data lineage tracks the origin of data and every transformation it undergoes, giving teams traceability and accountability for what fed into a model.
    • B. Data lineage is a traceability and documentation practice; it has no relationship to reducing the storage footprint of data.
    • C. Tracking where data came from does not itself change model behavior or improve accuracy; it is a governance and traceability practice.
    • D. Lineage tracking documents data movement and transformation history; encryption is a separate data protection control, not a lineage function.

    Subdomain 5.1: Explain methods to secure AI systems.

    33.A company wants to protect the confidentiality of the datasets it stores for model training and of the traffic it sends to a managed AI service. Which combination correctly describes standard AWS mechanisms for encryption at rest and encryption in transit?

    1. A.Encrypt stored data using AWS KMS-managed keys, and protect data moving over the network using TLS
    2. B.Encrypt stored data using TLS certificates, and protect data moving over the network using AWS KMS keys
    3. C.Rely on IAM password policies to encrypt stored data, and use VPC route tables to encrypt network traffic
    4. D.Rely on Amazon CloudWatch alarms to encrypt stored data, and use security group rules to encrypt network traffic
    Show answer & explanation

    Correct answer: A — Encrypt stored data using AWS KMS-managed keys, and protect data moving over the network using TLS

    • Encrypt stored data using AWS KMS-managed keys, and protect data moving over the network using TLS. AWS KMS manages the encryption keys used to protect data at rest in services like S3 and SageMaker, while TLS is the standard protocol used to encrypt data in transit between clients and AWS services.
    • Encrypt stored data using TLS certificates, and protect data moving over the network using AWS KMS keys. This swaps the two mechanisms; TLS is the transport-layer protocol for data in transit, and KMS keys are used for encrypting stored data, not the reverse.
    • Rely on IAM password policies to encrypt stored data, and use VPC route tables to encrypt network traffic. IAM password policies govern user credential strength and route tables direct network paths; neither mechanism performs encryption of stored data or network traffic.
    • Rely on Amazon CloudWatch alarms to encrypt stored data, and use security group rules to encrypt network traffic. CloudWatch alarms monitor metrics and trigger notifications, and security groups act as network traffic filters; neither one applies cryptographic encryption to data at rest or in transit.

    Subdomain 5.2: Recognize governance and compliance regulations for AI systems.

    34.A compliance team wants a single AWS service that continuously evaluates whether their S3 buckets and EC2 security groups remain compliant with an internal encryption-at-rest and open-port policy, flags any resource that drifts out of compliance, and lets them see what the resource's settings looked like six months ago. Which AWS service should they configure to meet this requirement?

    1. A.AWS Config with custom rules and configuration history
    2. B.AWS Artifact with downloaded compliance reports
    3. C.Amazon Inspector with vulnerability scan findings
    4. D.AWS Trusted Advisor with cost optimization checks
    Show answer & explanation

    Correct answer: A — AWS Config with custom rules and configuration history

    • AWS Config with custom rules and configuration history. AWS Config rules continuously evaluate resource settings such as encryption status and security group ports against defined conditions and flag noncompliant resources, while its configuration history lets the team view settings from months earlier. This combination of continuous rule evaluation plus historical lookback matches every part of the requirement.
    • AWS Artifact with downloaded compliance reports. AWS Artifact provides static, pre-generated compliance documents about AWS's own infrastructure rather than continuously evaluating a customer's individual S3 buckets or security groups. It offers no mechanism for tracking a customer resource's configuration history.
    • Amazon Inspector with vulnerability scan findings. Amazon Inspector focuses on scanning compute resources and container images for software vulnerabilities and network reachability issues, not on evaluating encryption settings against a custom internal policy or storing configuration history. Its findings are vulnerability-oriented rather than configuration-drift-oriented.
    • AWS Trusted Advisor with cost optimization checks. Trusted Advisor offers point-in-time best-practice recommendations across several categories but does not continuously evaluate custom internal policies or retain a historical record of a resource's past configuration. It lacks the customizable rule and history features the scenario requires.

    Subdomain 5.2: Recognize governance and compliance regulations for AI systems.

    35.A marketing team subscribes to a third-party SaaS application that has generative AI features built in, and the team has no ability to customize the underlying model or access its training data. According to the Generative AI Security Scoping Matrix, which perspective should the organization adopt when assessing risk for this use case?

    1. A.A buyer's perspective focused on reviewing the vendor's data handling terms and enterprise agreement
    2. B.A builder's perspective focused on threat modeling the model architecture the team controls
    3. C.A builder's perspective focused on securing the training pipeline the team operates
    4. D.A buyer's perspective focused on patching vulnerabilities in the model's underlying infrastructure
    Show answer & explanation

    Correct answer: A — A buyer's perspective focused on reviewing the vendor's data handling terms and enterprise agreement

    • A. For an off-the-shelf application where the organization cannot customize the model, the scoping matrix recommends a buyer's perspective centered on reviewing the vendor's data handling terms and enterprise agreement rather than the underlying technology.
    • B. A builder's perspective involving threat modeling applies to more customized or internally developed use cases where the organization controls the model, which does not describe a subscribed third-party SaaS feature.
    • C. Securing a training pipeline is only relevant when the organization actually operates that pipeline, which is not the case for a purchased SaaS application with an embedded model.
    • D. Patching underlying infrastructure is the vendor's responsibility in an off-the-shelf SaaS scenario, and a buyer in this scope focuses on contractual and data governance review rather than infrastructure patching.

    Want the full experience?

    These are just samples. Practice the full AWS Certified AI Practitioner (AIF-C01) question bank in quiz mode — free, no signup, with domain practice and exam simulation.