10 questions taken from across the 5 paid practice sets, covering every domain of the exam guide. None of them are in the free exam. Try each one, then open the answer to see why every option is right or wrong.
Question 1 Fundamentals of AI and MLFrom Practice set 1
A grocery chain's pricing app uses a model that was built last year from several years of sales records.
Each morning the app sends the model that day's store, weather and promotion details, and the model returns a demand forecast for each product.
Which term describes this daily use of the finished model?
Choose one answer.
AA. Training, the stage in which the model learns from past data
BB. Inference, using a trained model to predict on new inputs
CC. Feature engineering, turning raw data into model inputs
DD. Hyperparameter tuning, adjusting the training settings
Show the answer and explanation
Answer: B
A. Wrong: Training is the earlier stage, when an algorithm learns patterns from historical records. The model in this scenario is already built, and the app only asks it for forecasts.
C. Wrong: Feature engineering prepares input variables before training, such as turning dates into day-of-week values. It is not the act of receiving forecasts from a finished model.
D. Wrong: Tuning changes the settings that control how a model is trained, to improve its accuracy. It happens during development, not each morning when the app asks for forecasts.
Explanation
Machine learning has two main phases. During training, an algorithm learns patterns from historical data and produces a model. During inference, the trained model receives new inputs and returns predictions, which here are the daily forecasts.
Question 2 Fundamentals of AI and MLFrom Practice set 1
A regional bakery chain wants a model that forecasts tomorrow's sales of each product in each shop.
Which TWO data sources matter MOST for training that model? (Choose two.)
Choose two answers.
AA. Two years of daily sales for each product in each shop, with dates
BB. Daily weather and public holiday calendars for each shop's area
CC. Photos of shop fronts taken for the company's marketing website
DD. Staff contact details and rota schedules kept in the HR system
EE. A list of the company's suppliers and their delivery email addresses
Show the answer and explanation
Answers: A, B
A. Right: Correct. Past sales with dates are the labeled outcomes the model learns from, showing what sold on each day in each shop.
B. Right: Correct. Weather and holidays change how many customers visit and what they buy, so they are useful input features for a sales forecast.
C. Wrong: Shop-front photos show the building, not how much sells on a given day. They add little to a sales forecast.
D. Wrong: Staff details do not describe customer demand. They are needed for rostering, not for forecasting product sales.
E. Wrong: Supplier contacts describe where ingredients come from, not what customers buy. They do not help predict tomorrow's sales.
Explanation
A supervised forecast needs past outcomes, here daily sales for each product and shop, to learn from. Inputs that influence demand, such as weather and public holidays, help the model explain why sales rise and fall. Administrative records such as staff rotas and supplier contacts do not describe demand.
A token is the unit of text a model reads and generates. Context windows, usage limits and prices are all counted in tokens, so the team can estimate cost from text length. Embeddings and credentials are different concepts. This question tests the basic unit that drives model cost.
C. Wrong: Shorter output would reduce the wait, but it cuts the answer length the team wants to keep. The screen would still stay blank until the reply finished.
D. Wrong: Temperature controls randomness in word choice, not generation speed. Raising it can make answers less consistent and does not make them arrive faster.
Explanation
Perceived responsiveness depends on when the user first sees text, not only on when the reply finishes. Streaming delivers the reply as it is generated, which keeps the full answer length while removing the blank wait. Batch, shorter output and temperature do not address the streaming problem.
Question 5 Applications of Foundation ModelsFrom Practice set 3
A public housing office runs an assistant on Amazon Bedrock that sends a long policy handbook with every question.
Traffic is busy from 9 to 5 but almost idle overnight. The first query each morning is slower and costs more than the rest.
What is the MOST likely cause?
Choose one answer.
AA. The cache expired overnight after its time to live ran out.
BB. Prompt caching works only at weekends, when traffic is lower.
CC. The model is retrained each night, which clears any cached content.
DD. Caching applies only to output tokens, which are longer in the morning.
Show the answer and explanation
Answer: A
A. Right: Correct. The default cache time to live is 5 minutes for many models and resets with each hit. With no hits overnight, the cache expires and the first morning request must write it again. Learn more: Prompt caching (opens in a new tab)
B. Wrong: There is no such restriction. The morning behavior is explained by the cache's time to live.
C. Wrong: Base models are not retrained for your account each night, and caching does not depend on retraining.
D. Wrong: Prompt caching applies to repeated input prompts, not to the output the model generates. Output length is not the reason the first request is slower.
Explanation
Prompt caching stores a repeated prompt prefix so later requests can reuse it. The cache has a time to live that resets with each successful hit. If nothing hits the cache within that window, it expires, and the next request must process and write the prefix again.
D. Wrong: RMSE scores numeric predictions such as prices or demand. It does not measure how well a language model predicts text.
Explanation
Perplexity is a standard measure for language models: it reflects how well the model predicts a sample of text, and lower is better. AUC, F1 and RMSE are useful for classification and numeric prediction, but they do not measure how well a language model predicts text.
Question 7 Applications of Foundation ModelsFrom Practice set 3
A claims team asks one long prompt to read a claim, check it against policy rules, calculate the payout and draft a letter.
Answers often go wrong at the calculation step. Reviewers must check each intermediate result, and the team has no budget to train a model.
Which approach fits BEST?
Choose one answer.
AA. Fine-tune a model on past claim letters so it learns the calculations
BB. Add more rules to the same long prompt, so the model sees everything at once
CC. Prompt chaining, with one prompt per subtask and a review step between them
DD. Raise the temperature so the model calculates more creatively
Show the answer and explanation
Answer: C
A. Wrong: Fine-tuning teaches style and patterns from examples. It is costly, and it gives reviewers no checkable result at each step.
B. Wrong: The team's single prompt already fails at the calculation. Adding more to it makes each intermediate result harder to review.
C. Right: Correct. Prompt chaining splits the task into subtasks that run in a set order, with each output feeding the next. Reviewers can check each step, and no training is needed. Learn more: Prompt chaining workflows (opens in a new tab)
D. Wrong: Temperature changes how random the output is. Higher values make results less consistent and do not improve arithmetic.
Explanation
Prompt chaining breaks a complex task into smaller prompts that run in a defined order, so each step is focused and can be checked. It needs no training and no extra model, which suits a team with no budget for fine-tuning. Fine-tuning, a bigger single prompt and higher temperature each miss at least one of these needs.
Question 8 Guidelines for Responsible AIFrom Practice set 4
A bank's chatbot on Amazon Bedrock uses sensitive information filters. Compliance wants account numbers and email addresses handled differently in prompts and responses.
Which TWO statements about these filters are correct? (Choose two.)
Choose two answers.
AA. ANONYMIZE replaces a detected email with a placeholder such as {EMAIL} and keeps the rest of the message.
BB. BLOCK replaces the whole prompt or response with the configured blocked message.
CC. Custom regex patterns support lookaround matching, so they can match text only when it sits next to other words.
DD. The filters check model responses only, so customers' prompts are never checked for personal data.
EE. Setting the action to NONE blocks detected content and writes no detection information to the trace.
B. Right: Correct. BLOCK rejects the entire content when sensitive information is detected and returns the message you configure. Learn more: Learn more (opens in a new tab)
C. Wrong: Wrong. The documentation says custom regex filters do not support lookaround matches. Use a plain pattern such as BK-[0-9]{8} instead. Learn more: Learn more (opens in a new tab)
ANONYMIZE masks detected PII with its entity type and BLOCK rejects the whole request or response, so both statements are correct. Custom regex filters do not support lookaround matching, sensitive filters apply to prompts as well as responses, and NONE returns detection information rather than hiding it.
Question 9 Guidelines for Responsible AIFrom Practice set 2
A bank records each model in an Amazon SageMaker AI model card.
Its model risk team uses the card's status field to track governance.
Put the statuses in the order a model card normally moves through them, first status first.
Put these 4 steps in order.
AA. Approved: the card has been reviewed and approved within the organization
BB. Pending review: the card has been submitted and is waiting for a reviewer
CC. Archived: no more updates are made, but the card can still be exported
DD. Draft: the card is a work in progress that the team is still writing
Show the answer and explanation
Correct order: D, B, A, C
D. Draft: the card is a work in progress that the team is still writing First: a new model card starts as a draft while the team writes and edits its content.
B. Pending review: the card has been submitted and is waiting for a reviewer Second: when the author finishes, the card is submitted and waits for a reviewer's decision. Its content should not change while it waits for review.
A. Approved: the card has been reviewed and approved within the organization Third: once a reviewer has checked the card, its status is set to approved. The approved card becomes the record that the organization relies on for the model.
C. Archived: no more updates are made, but the card can still be exported Fourth: archived is the final status, used once the card should no longer be maintained. No more updates should be made, though the card can still be exported.
Explanation
A model card starts as a draft while it is written, moves to pending review once submitted, becomes approved after review, and is archived when it should no longer change. Archived cards can still be exported for audits. The question tests the normal status flow of a SageMaker AI model card.
Question 10 Security, Compliance, and Governance for AI SolutionsFrom Practice set 5
A team calls Claude through a geographic cross-Region inference profile in Amazon Bedrock.
Its role policy allows bedrock:InvokeModel on the inference profile ARN only. Calls fail with an access error when traffic routes to a destination Region.
Which change fixes this while keeping access limited to that profile?
Choose one answer.
AA. Allow bedrock:InvokeModel on the foundation model ARNs in each destination Region, conditioned on the inference profile ARN.
BB. Grant bedrock:* on all resources in the account, so every Region and profile is covered.
CC. Attach a read-only Bedrock policy, which includes permission to invoke models in every Region.
DD. Create a Bedrock interface VPC endpoint in each destination Region, so calls reach the service privately.
Show the answer and explanation
Answer: A
A. Right: Correct. The policy must also cover the foundation model in each Region the profile routes to. A condition on the inference profile ARN keeps those model permissions tied to calls made through that profile. Learn more: Prerequisites for inference profiles (opens in a new tab)
B. Wrong: This works, but it grants far more than needed. It breaks the requirement to keep access limited to the one profile.
C. Wrong: A read-only policy does not allow invoking any model, so calls would still fail with the same access error in the destination Region.
D. Wrong: A VPC endpoint controls the network path, not authorization. The IAM error would still occur.
Explanation
A cross-Region inference profile needs permissions on the profile and on the foundation model in every Region it can route to. Adding those model permissions, with a condition that matches the profile's ARN, fixes the error and keeps access scoped to that profile. Broad wildcard grants, read-only policies and VPC endpoints do not provide the correct authorization.
The AIF-C01 practice sets: 5 sets, 325 questions in the same style, none of them in the free exam. One payment of$14.99, no subscription, with access for at least 12 months.