AWS Certified AI Practitioner (AIF-C01) Exam-style mock test
AWS Certified AI Practitioner (AIF-C01) Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Fundamentals of AI and ML
A retail bank scores overnight mortgage files in a single scheduled run each night, and latency per file does not matter as long as all files finish by morning. Which inferencing style fits this workload most economically?
・Real-time inferencing behind a persistent endpoint
Incorrect. A persistent real-time endpoint bills for idle uptime and targets per-request latency the bank does not need here.
・Streaming inferencing on each keystroke
Incorrect. Streaming per keystroke serves live typing, not a once-a-night bounded file run.
・Interactive inferencing through a chat prompt
Incorrect. Interactive chat inferencing answers ad hoc human prompts rather than scoring a fixed nightly dataset.
✓Batch inferencing over the nightly file set
Correct. Batch inferencing processes a bounded dataset in one scheduled job, so it suits latency-insensitive overnight scoring at lower cost.
Explanation
When a bounded dataset must be scored on a schedule and per-item latency is irrelevant, batch inferencing avoids paying for idle endpoints.
Example2 · Fundamentals of Generative AI
A wealth-management assistant converts each client question into a numeric vector so that semantically similar questions sit close together in that space. What are these numeric representations called?
✓Embeddings of the text
Correct. Embeddings map text to vectors where semantic similarity corresponds to closeness in the vector space.
・Guardrails over the prompt
Incorrect. Guardrails filter or constrain content; they are not numeric representations of meaning.
・Hyperparameters of training
Incorrect. Hyperparameters configure training runs and are not per-text meaning vectors.
・Checkpoints of the weights
Incorrect. Checkpoints are saved model weights, not vector encodings of individual inputs.
Explanation
Vector encodings that place semantically similar text nearby are embeddings, the foundation for semantic search and RAG retrieval.
Example3 · Applications of Foundation Models
A bank must let its assistant answer questions grounded in constantly changing internal policy PDFs without retraining the model each time a document changes. Which approach meets this need with the least ongoing model work?
・Fine-tune the base model nightly on every document change
Incorrect. Nightly fine-tuning on each change is costly and slow compared with retrieving fresh text at query time.
・Pre-train a new model whenever a PDF is edited
Incorrect. Re-pretraining per edit is extreme and unnecessary for keeping answers current.
✓Retrieval Augmented Generation over the policy documents
Correct. RAG retrieves the current policy text at query time and grounds the answer, so documents can change without retraining.
・Hard-code every policy answer into the prompt
Incorrect. Hard-coding every answer does not scale and breaks whenever a policy changes.
Explanation
RAG keeps answers current by retrieving live documents at inference time, avoiding repeated retraining as content changes.
Example4 · Guidelines for Responsible AI
A hospital must stop its patient-facing assistant from returning hateful or sexual content and from discussing certain restricted topics, enforced consistently across every model it calls. Which AWS capability applies these content policies centrally?
・Amazon CloudWatch
Incorrect. CloudWatch monitors metrics and logs; it does not filter model content.
・AWS Budgets
Incorrect. AWS Budgets tracks spend, not content policy.
✓Amazon Bedrock Guardrails
Correct. Bedrock Guardrails enforce content and topic policies consistently across models.
・Amazon Route 53
Incorrect. Route 53 is DNS; it has no role in content filtering.
Explanation
Amazon Bedrock Guardrails centrally enforce content filters and denied topics across the models an application uses.
Example5 · Security, Compliance, and Governance for AI Solutions
A reviewer finds that a hospital's Bedrock-calling service runs with an IAM role granting full administrator access "to keep things simple." Which security principle is this setup violating?
・Data residency
Incorrect. Data residency concerns where data is stored, not over-broad permissions.
✓Least privilege
Correct. Granting far more access than needed violates the principle of least privilege.
・Horizontal scaling
Incorrect. Horizontal scaling is a capacity concept, not an access principle.
・Token-based pricing
Incorrect. Token pricing is a billing model, not a security principle.
Explanation
Least privilege requires granting only the permissions a workload needs; a full-admin role for one task violates it.
Example6 · Fundamentals of AI and ML
A hospital data scientist lists the inputs feeding several clinical models: scanned chest X-ray images, free-text discharge notes, and a spreadsheet of lab values in rows and columns. Which description of these three inputs is correct?
・All three are structured tabular data because each is stored in a database
Incorrect. Images and free-text notes are not tabular, and storage location does not define data type.
✓Image data, unstructured text, and structured tabular data respectively
Correct. Images are image data, free-text notes are unstructured text, and row-and-column lab values are tabular.
・The X-rays are time-series, the notes are labeled, and the spreadsheet is image data
Incorrect. X-rays are not time-series and a lab spreadsheet is not image data; the mapping is wrong.
・All three are unstructured data because they happen to come from different source systems
Incorrect. A row-and-column spreadsheet is structured tabular data, not unstructured.
Explanation
AI inputs come in distinct data types: images, unstructured text, and structured tabular data each have different shapes and handling.
Example7 · Fundamentals of AI and ML
An online marketplace feeds returns data into a model: product photos uploaded by sellers, buyer complaint messages typed in free text, and a sales ledger arranged as rows and columns. A new analyst labels all three inputs as structured data. Where is that analyst wrong?
✓The photos and complaint text are unstructured; only the ledger is structured
Correct. Images and free-text messages lack a predefined tabular schema and are unstructured, whereas the row-and-column ledger is structured data.
・All three are unstructured because they feed one machine learning model
Incorrect. Feeding data to a model does not change its nature; the ledger remains structured regardless.
・The ledger is unstructured because a spreadsheet has no fixed schema at all
Incorrect. A row-and-column ledger follows a fixed schema, which is the defining trait of structured data.
・Only the photos are structured, since images have fixed pixel grids
Incorrect. A fixed pixel grid is not a business schema; raw images are treated as unstructured data.
Explanation
Structured data sits in a predefined schema such as table rows and columns; raw images and free-text sit outside any such schema and are unstructured.
Example8 · Fundamentals of AI and ML
A retailer's recommendation team has only a huge log of past purchases with no target column marking which products are 'similar', and they want the model to surface natural groupings of shoppers by buying behavior on its own. Which learning paradigm fits this absence of labels?
・Supervised learning, since purchase logs already act as labels
Incorrect. Supervised learning needs an explicit target label per record, which this log lacks.
・Reinforcement learning, driven by reward signals from each purchase
Incorrect. Reinforcement learning optimizes actions against rewards from an environment, not static grouping of logs.
・Semi-supervised transfer from a pre-labeled fraud dataset
Incorrect. Borrowing a fraud dataset's labels does not match grouping shoppers by their own behavior without labels.
✓Unsupervised learning, which finds structure without target labels
Correct. Unsupervised learning discovers patterns and natural groupings in unlabeled data such as this purchase log.
Explanation
When data carries no target labels and the goal is to discover inherent groupings, unsupervised learning is the appropriate paradigm.
Example9 · Fundamentals of AI and ML
A logistics manager asks an engineer to set up inference where the warehouse uploads one large file of pending shipments each evening and retrieves all route predictions by the next shift, with no need for any single result to come back quickly. Which inferencing style best serves this pattern?
✓Batch inference over the whole uploaded file
Correct. Batch inference processes a large collection of records together on a schedule, matching an evening file with next-shift delivery.
・Real-time inference behind a low-latency endpoint
Incorrect. Real-time endpoints optimize per-request latency, which this scheduled bulk job does not require.
・Streaming inference reacting to each record instantly
Incorrect. Streaming reacts to records as they arrive one by one, not to a single nightly bulk file.
・Edge inference running on each delivery scanner
Incorrect. Edge inference runs locally on devices and does not describe a scheduled bulk file job.
Explanation
A scheduled, bulk, latency-tolerant workload over a whole file is the textbook case for batch inference.
Example10 · Fundamentals of GenAI
A manufacturer's maintenance assistant runs on a token-priced foundation model. The team notices that queries pasting in full equipment manuals cost several times more per call than short one-line questions, and asks why. Which explanation of token-based pricing is correct?
✓Cost scales with the input and output tokens, so longer manuals mean more tokens and higher cost
Correct. Token-based pricing bills by tokens processed, so pasting long manuals adds input tokens and raises cost.
・Pricing is a flat fee per call, so the pasted manual length cannot change the cost
Incorrect. Token pricing is not flat per call; it tracks the volume of tokens processed.
・Only the output tokens are ever billed, so pasting a very long input manual is effectively always free
Incorrect. Input tokens are billed too, so long pasted manuals are not free.
・Cost depends on wall-clock time alone, so the length of the pasted text is completely irrelevant to billing
Incorrect. Billing is by tokens, not purely wall-clock time, so text length does affect cost.
Explanation
Token-based pricing charges for the tokens in both the prompt and the response, so longer inputs such as full manuals increase token count and cost per call.
Example11 · Fundamentals of AI and ML
An automotive supplier trains a model to read vibration traces and output one of three gear-wear states, using thousands of historical traces that a technician already tagged with the correct state. A new engineer calls this unsupervised learning. Why is that label wrong?
・Because numeric inputs such as vibration traces can only ever drive reinforcement learning, not any other paradigm at all
Incorrect. Numeric inputs do not force reinforcement learning; the presence of labels is what matters here.
✓Because the technician's known correct states act as labels, which makes this a supervised learning setup instead
Correct. The technician's tagged states are labels the model learns to reproduce, which is supervised learning.
・Because any model that outputs three separate categories must by strict definition be doing clustering rather than classification
Incorrect. Producing categories is classification, and it is supervised when the categories are known in advance.
・Because vibration readings from machines can only support unsupervised anomaly detection and never a labeled task
Incorrect. Vibration data can feed supervised models whenever labeled outcomes exist, as they do here.
Explanation
Learning from inputs paired with known correct outputs is supervised learning; the pre-tagged wear states are the labels, so the unsupervised claim is incorrect.
Example12 · Fundamentals of AI and ML
A city's benefits portal must decide, the instant a resident submits an eligibility form, whether to route the case to fast-track approval while the resident waits on the page. Which inferencing style does this on-submit decision require?
✓Real-time inference returning a result synchronously per request
Correct. A synchronous answer needed immediately per submission is the defining case for real-time inference.
・Batch inference run once each night over the day's forms
Incorrect. A nightly batch job cannot answer while the resident is still waiting on the submission screen.
・Asynchronous inference the resident is notified about later
Incorrect. Asynchronous inference defers the result and notifies later, which breaks the on-screen flow.
・Edge inference running on the resident's own device
Incorrect. Edge inference shifts compute to the device and does not fit a central portal decision here.
Explanation
Real-time inference serves low-latency, per-request predictions that must return while a user waits.
Example13 · Fundamentals of AI and ML
A transit agency trains a model on years of trips where each record is tagged with the actual arrival delay in minutes, and the model learns to map trip features to that known delay figure. A new analyst insists this is unsupervised learning. Why is that claim incorrect?
・Because any model that predicts a continuous number must by definition be unsupervised
Incorrect. Predicting a number is regression, a supervised task, not something inherently unsupervised.
・Because unsupervised learning is the only approach that is allowed to use historical trip data
Incorrect. Both supervised and unsupervised methods can use historical data; history alone decides nothing.
✓Because each record carries a known target delay, which makes this supervised learning
Correct. Learning from examples that each include a known target value is supervised learning, not unsupervised.
・Because supervised learning cannot ever predict a continuous quantity measured in minutes
Incorrect. Supervised learning routinely predicts continuous quantities through regression.
Explanation
Supervised learning trains on labeled examples carrying known targets; here the recorded delays are those labels.
Example14 · Fundamentals of AI and ML
A video streaming platform must label the single thumbnail of each new upload the instant the file finishes processing, and the latency team says a user should never wait on a queued batch window. Which inferencing mode matches this requirement?
・Batch inference that groups files into a nightly run
Incorrect. Grouping files into a nightly run adds exactly the queued delay the team wants to avoid.
✓Real-time inference serving each request as it arrives
Correct. Real-time inference returns a prediction per request on arrival, so each new upload is labeled right away.
・A manual review queue staffed by moderators each morning
Incorrect. Human moderation is slow and does not describe an inference mode at all.
・Scheduled retraining that refreshes the model weekly
Incorrect. Retraining updates the model and is unrelated to how fast a single prediction is served.
Explanation
Real-time (synchronous) inference answers each request on demand with low latency, which fits an upload that must be labeled immediately.
Example15 · Fundamentals of AI and ML
A news aggregator holds millions of articles with no topic tags and wants the system to discover natural groupings of similar stories on its own, so editors can later name each cluster. Which learning approach fits?
・Supervised learning trained on hand-labeled topic tags
Incorrect. Supervised learning needs labeled examples, but the articles carry no topic tags.
✓Unsupervised learning that finds structure without labels
Correct. Unsupervised learning groups unlabeled data by similarity, which is exactly clustering stories into natural topics.
・Reinforcement learning driven by editor reward signals
Incorrect. Reinforcement learning optimizes actions against rewards, not grouping of unlabeled content.
・A rules engine that keyword-matches fixed categories
Incorrect. A fixed keyword rules engine imposes preset categories instead of discovering them.
Explanation
Clustering is an unsupervised task: with no labels, the model groups items by similarity so editors can interpret the resulting clusters.
▶ Try 10 free questions (graded)