Skip to content
devopsbymuh_

AIF-C01 practice questions and answers

All 65 questions from Full Practice Test 1 for AWS Certified AI Practitioner, with the correct answer and a full explanation for each — including why the other options are wrong. Free to read, no signup.

What this set covers

Questions are weighted to match the official AIF-C01 exam guide. The real exam is 65 (50 scored) questions in 90 minutes with a pass mark of 700 / 1000.

  • Fundamentals of AI and ML13 q · 20%
  • Fundamentals of GenAI16 q · 24%
  • Applications of Foundation Models18 q · 28%
  • Guidelines for Responsible AI9 q · 14%
  • Security, Compliance, and Governance for AI Solutions9 q · 14%
Question 1Fundamentals of GenAISelect 2

Which two characteristics distinguish a foundation model from a traditional task-specific machine learning model? (Select TWO.)

  • AIt is pre-trained on a very large, broad corpus
  • BIt can be adapted to many downstream tasks without retraining from scratch
  • CIt always requires labelled data for every task it performs
  • DIt can only produce numeric regression outputs
  • EIt must run on a single CPU instance

Correct answer: A, B It is pre-trained on a very large, broad corpus · It can be adapted to many downstream tasks without retraining from scratch

Foundation models are defined by broad pre-training at scale and by adaptability: prompting, RAG, or light fine-tuning steers one base model to many tasks. They notably do not need labelled data for every task, they generate text, images, and other modalities rather than only numbers, and they typically require accelerated hardware.

AWS — What are foundation models
Question 2Fundamentals of AI and ML

A model scores 99% accuracy on the training data and 62% on the held-out test data. What is the most likely explanation?

  • AThe model is underfitting and needs more capacity
  • BThe model is overfitting and has memorised the training data
  • CThe test data is labelled with the same distribution as training
  • DThe learning rate is too low

Correct answer: B The model is overfitting and has memorised the training data

A large gap between strong training performance and weak test performance is the signature of overfitting: the model has memorised noise rather than learning a general pattern. Underfitting would show poor scores on both sets. A matching distribution would produce similar scores, and a low learning rate slows training rather than creating this gap.

AWS — Model fit
Question 3Fundamentals of AI and ML

A logistics company wants a forecast of daily package volume for the next 30 days based on three years of history. Which problem type is this?

  • ABinary classification
  • BTime series forecasting
  • CAnomaly detection
  • DTopic modelling

Correct answer: B Time series forecasting

Predicting a numeric quantity at future timestamps from historical observations ordered in time is exactly time series forecasting. Binary classification predicts one of two categories, anomaly detection flags unusual points rather than projecting future values, and topic modelling groups documents by subject.

AWS — Time series forecasting
Question 4Guidelines for Responsible AI

What does transparency mean as a responsible AI principle for a customer-facing generative feature?

  • APublishing the full model weights to the public
  • BTelling users they are interacting with an AI system and being clear about its limitations
  • CLogging all requests to a private bucket
  • DEncrypting traffic with TLS

Correct answer: B Telling users they are interacting with an AI system and being clear about its limitations

Transparency is about the user understanding that AI is involved and what it can and cannot be trusted to do. Publishing weights is a licensing decision, private logging is an internal audit control, and TLS is a confidentiality measure rather than a disclosure practice.

AWS — Responsible AI
Question 5Applications of Foundation Models

An agent-based application must not delete records even if a user asks it to. Where should this restriction be enforced?

  • AOnly in the system prompt text
  • BIn the IAM permissions and action group definitions backing the agent
  • CBy lowering the temperature
  • DBy shortening the max token limit

Correct answer: B In the IAM permissions and action group definitions backing the agent

A prompt is guidance, not a security boundary, so a destructive capability the agent must never have should simply not be granted in its IAM role or action group. Temperature and token limits are generation settings and provide no authorisation control.

AWS — Agent permissions
Question 6Applications of Foundation Models

A model gives poor answers because retrieved chunks cut sentences in half. Which change should be made first?

  • AAdjust the chunking strategy and add overlap between chunks
  • BIncrease the model temperature
  • CSwitch to a larger context model without changing the index
  • DDisable the knowledge base entirely

Correct answer: A Adjust the chunking strategy and add overlap between chunks

Broken chunks are an ingestion problem, so tuning chunk size and adding overlap so ideas are not split across boundaries fixes the root cause. Temperature does not repair truncated context, a bigger context window still receives the same damaged chunks, and disabling retrieval removes the grounding the application needs.

AWS — Chunking strategies
Question 7Applications of Foundation ModelsSelect 2

Which two techniques reduce hallucination in a production generative AI application? (Select TWO.)

  • AGround answers in retrieved source documents
  • BInstruct the model to answer only from the provided context and say when it does not know
  • CRaise temperature to encourage more creative answers
  • DRemove all system prompts
  • EIncrease the number of concurrent requests

Correct answer: A, B Ground answers in retrieved source documents · Instruct the model to answer only from the provided context and say when it does not know

Grounding in retrieved sources and instructing the model to abstain when the context is silent are the two standard mitigations. Higher temperature increases invention, stripping the system prompt removes the guardrail instructions, and concurrency is a scaling concern with no effect on factuality.

AWS — Reduce hallucinations
Question 8Applications of Foundation Models

A team wants to compare two foundation models on their own prompts and scoring criteria before choosing one. Which Amazon Bedrock capability supports this?

  • AModel Evaluation jobs, with automatic or human review
  • BProvisioned Throughput
  • CGuardrails
  • DKnowledge bases

Correct answer: A Model Evaluation jobs, with automatic or human review

Model Evaluation runs your prompt dataset against candidate models and scores the results automatically or through a human workforce, which is exactly a model bake-off. Provisioned Throughput reserves capacity, Guardrails filter content, and knowledge bases provide retrieval.

AWS — Model evaluation
Question 9Security, Compliance, and Governance for AI Solutions

Which statement about customer data and Amazon Bedrock base models is correct?

  • APrompts and completions are used to train the base foundation models by default
  • BCustomer content is not used to train the underlying base models, and data is encrypted in transit and at rest
  • CBedrock stores all prompts publicly for research
  • DEncryption must be implemented by the customer at the application layer only

Correct answer: B Customer content is not used to train the underlying base models, and data is encrypted in transit and at rest

AWS states that customer content submitted to Bedrock is not used to train the underlying base models, and the service encrypts data in transit and at rest. The other options misstate both the training policy and the platform's built-in encryption.

AWS — Amazon Bedrock data protection
Question 10Guidelines for Responsible AISelect 2

Which two practices reduce the risk of a model inheriting bias from its training data? (Select TWO.)

  • AAudit the dataset for representation gaps across relevant groups
  • BMeasure model performance separately for each group rather than only in aggregate
  • CTrain for more epochs on the same skewed data
  • DRemove the validation split to speed up training
  • EIncrease the inference temperature

Correct answer: A, B Audit the dataset for representation gaps across relevant groups · Measure model performance separately for each group rather than only in aggregate

Bias mitigation starts with knowing the data's composition and continues with disaggregated evaluation so a strong aggregate score cannot hide a weak subgroup. Longer training on skewed data entrenches the skew, removing validation destroys the evidence, and temperature is unrelated.

AWS — Detect data bias
Question 11Applications of Foundation Models

An application sends the same reference contract with every one of thousands of daily requests. Which optimisation reduces cost most directly?

  • APrompt caching of the shared prefix
  • BIncreasing temperature
  • CAdding more few-shot examples
  • DSwitching to a longer context window model

Correct answer: A Prompt caching of the shared prefix

When a large block of context repeats across requests, caching that prefix avoids paying full input token price to reprocess it every time. Temperature does not affect cost, extra examples add tokens, and a longer context model does nothing to remove the repeated payload.

AWS — Prompt caching
Question 12Fundamentals of GenAI

A developer wants a foundation model to call an internal inventory API and then answer using the result. Which Amazon Bedrock capability supports this?

  • ABedrock Agents
  • BBedrock Model Evaluation
  • CBedrock Provisioned Throughput
  • DBedrock Guardrails

Correct answer: A Bedrock Agents

Agents let a model plan multi-step work and invoke defined action groups backed by APIs or Lambda functions, then compose an answer from the results. Model Evaluation scores model quality, Provisioned Throughput reserves inference capacity, and Guardrails filter unwanted content.

AWS — Agents for Amazon Bedrock
Question 13Fundamentals of AI and ML

What does inference mean in a machine learning workflow?

  • AAdjusting model weights using labelled examples
  • BUsing a trained model to produce a prediction from new input
  • CSelecting which features to include in the dataset
  • DSplitting the dataset into training and test partitions

Correct answer: B Using a trained model to produce a prediction from new input

Inference is the serving step: the trained model receives unseen input and returns a prediction. Adjusting weights from labelled examples is training, choosing features is feature engineering, and splitting the dataset is a data preparation step that happens before training.

AWS — Deploy models for inference
Question 14Security, Compliance, and Governance for AI SolutionsSelect 2

Which two controls help prevent prompt injection from causing damage in an agent-based application? (Select TWO.)

  • AGrant the agent the minimum IAM permissions its legitimate tasks require
  • BValidate and constrain tool inputs and outputs rather than trusting model-generated arguments
  • CTrust any instruction found inside retrieved documents
  • DGive the agent administrator access so it can self-correct
  • EDisable CloudTrail logging to reduce noise

Correct answer: A, B Grant the agent the minimum IAM permissions its legitimate tasks require · Validate and constrain tool inputs and outputs rather than trusting model-generated arguments

Prompt injection is contained by limiting blast radius through least privilege and by treating model-produced tool arguments as untrusted input that must be validated. Trusting instructions embedded in retrieved content is the attack itself, administrator access maximises damage, and disabling logging removes your detection.

AWS — Secure generative AI applications
Question 15Fundamentals of AI and ML

A fraud detection dataset contains 200 fraud cases out of 200,000 transactions. A model predicts "not fraud" for every record. Which metric will most clearly expose this model as useless?

  • AAccuracy
  • BRecall on the fraud class
  • CMean squared error
  • DR-squared

Correct answer: B Recall on the fraud class

Recall on the minority class measures how many actual fraud cases the model caught, and an always-negative model has a recall of zero. Accuracy would read a misleading 99.9% because the classes are so imbalanced. Mean squared error and R-squared are regression metrics and do not apply to a classification output.

AWS — Model evaluation metrics
Question 16Guidelines for Responsible AI

Which AWS capability produces a report describing a model's intended uses, limitations, and evaluation results for governance review?

  • AAmazon SageMaker Model Cards
  • BAmazon CloudWatch dashboards
  • CAWS Cost Explorer
  • DAmazon S3 Inventory

Correct answer: A Amazon SageMaker Model Cards

Model Cards capture intended use, risk rating, training details, and evaluation results in one governance artefact reviewers can sign off on. CloudWatch shows operational metrics, Cost Explorer analyses spend, and S3 Inventory lists objects.

AWS — Amazon SageMaker Model Cards
Question 17Guidelines for Responsible AI

Which AWS service detects bias in training data and in model predictions?

  • AAmazon SageMaker Clarify
  • BAmazon Macie
  • CAWS Config
  • DAmazon Inspector

Correct answer: A Amazon SageMaker Clarify

Clarify computes pre-training and post-training bias metrics across sensitive attributes and also produces explainability reports. Macie discovers sensitive data in S3, Config tracks resource configuration compliance, and Inspector scans workloads for software vulnerabilities.

AWS — SageMaker Clarify bias detection
Question 18Applications of Foundation Models

Which measure best indicates whether a RAG system's retrieval step is working, as opposed to its generation step?

  • AWhether the retrieved chunks actually contain the answer
  • BThe grammatical fluency of the final answer
  • CThe average response latency
  • DThe number of tokens in the system prompt

Correct answer: A Whether the retrieved chunks actually contain the answer

Retrieval quality is judged on whether the right passages came back, which you can check independently of what the model then wrote. Fluency reflects the generator, latency is a performance metric, and system prompt length is a configuration detail.

AWS — Evaluate knowledge base retrieval
Question 19Guidelines for Responsible AI

A hiring model recommends fewer candidates from one demographic group despite comparable qualifications. Which responsible AI dimension does this violate?

  • AFairness
  • BLatency
  • CElasticity
  • DDurability

Correct answer: A Fairness

Systematically different outcomes for comparable candidates across groups is a fairness and bias problem, and it calls for bias measurement and mitigation before deployment. Latency, elasticity, and durability are performance and infrastructure properties with no bearing on this.

AWS — Responsible AI dimensions
Question 20Applications of Foundation Models

A knowledge base returns relevant chunks, but the final answer still omits key details present in those chunks. Which change is most likely to help?

  • AReduce the number of retrieved results to one
  • BRevise the generation prompt to instruct the model to use all supplied context and increase the output token limit
  • CDelete the vector index and rebuild with random embeddings
  • DSet temperature to its maximum value

Correct answer: B Revise the generation prompt to instruct the model to use all supplied context and increase the output token limit

If retrieval is working, the gap is in generation, so the fix is a prompt that tells the model to synthesise across all provided passages plus enough output budget to include them. Cutting retrieval to one result removes information, rebuilding with random embeddings destroys search quality, and maximum temperature makes output less faithful.

AWS — Knowledge base query configuration
Question 21Fundamentals of AI and ML

A team has a labelled dataset of past loan applications and wants to predict whether a new application will default. Which learning type and problem type does this describe?

  • ASupervised learning, classification
  • BSupervised learning, regression
  • CUnsupervised learning, clustering
  • DReinforcement learning, policy optimisation

Correct answer: A Supervised learning, classification

The label exists (defaulted or not) so the training is supervised, and the target is a discrete category, which makes it classification. Regression would apply if the target were a continuous number such as the loss amount. Clustering has no label at all, and reinforcement learning has no labelled history to learn from in this setup.

AWS — Machine learning concepts
Question 22Fundamentals of AI and ML

A retailer wants to group customers into segments without any pre-existing labels describing what those segments should be. Which type of machine learning does this task require?

  • ASupervised learning
  • BUnsupervised learning
  • CReinforcement learning
  • DTransfer learning

Correct answer: B Unsupervised learning

Clustering customers with no labelled target is the definition of unsupervised learning: the algorithm finds structure in unlabelled data. Supervised learning needs labelled examples of the answer, which do not exist here. Reinforcement learning learns from reward signals in an environment, and transfer learning is a technique for reusing a trained model, not a learning paradigm for this task.

AWS — Types of machine learning
Question 23Fundamentals of GenAI

What is an embedding in a generative AI system?

  • AA compressed copy of the original document stored for audit
  • BA numeric vector that represents the meaning of text so similar text sits close together
  • CThe system prompt prepended to every user request
  • DA fine-tuned copy of the base model

Correct answer: B A numeric vector that represents the meaning of text so similar text sits close together

An embedding maps content into a vector space where semantic similarity becomes geometric closeness, which is what makes vector search possible. It is not a retrievable copy of the source text, not the system prompt, and not a model variant.

AWS — Amazon Titan Embeddings
Question 24Security, Compliance, and Governance for AI Solutions

A company must scan an S3 bucket of training data for personally identifiable information before it is used. Which service does this?

  • AAmazon Macie
  • BAmazon GuardDuty
  • CAWS Secrets Manager
  • DAmazon EventBridge

Correct answer: A Amazon Macie

Macie uses managed data identifiers to discover and classify sensitive data such as PII in S3 and reports findings. GuardDuty detects threat activity, Secrets Manager stores credentials, and EventBridge routes events.

AWS — What is Amazon Macie
Question 25Fundamentals of GenAI

Which statement about foundation model fine-tuning is accurate?

  • AFine-tuning replaces the need for any prompt engineering
  • BFine-tuning adapts a pre-trained model to a narrower task using a labelled dataset
  • CFine-tuning is always cheaper than prompt engineering
  • DFine-tuning guarantees the model will never hallucinate

Correct answer: B Fine-tuning adapts a pre-trained model to a narrower task using a labelled dataset

Fine-tuning continues training a pre-trained model on task-specific labelled examples so it specialises in a narrower domain or format. Prompts still matter afterwards, fine-tuning carries training and hosting costs that prompt engineering does not, and no training technique eliminates hallucination.

AWS — Customize a model in Amazon Bedrock
Question 26Fundamentals of GenAI

A company wants to generate marketing images from text descriptions. Which capability of a foundation model does this require?

  • AText-to-image generation
  • BNamed entity recognition
  • CSpeech diarisation
  • DOptical character recognition

Correct answer: A Text-to-image generation

Producing an image from a written description is text-to-image generation, offered by image foundation models. Named entity recognition pulls entities out of text, diarisation separates speakers in audio, and OCR reads text out of an existing image rather than creating one.

AWS — Amazon Titan image models
Question 27Security, Compliance, and Governance for AI Solutions

Which practice best governs which foundation models teams across an organisation are allowed to use?

  • AService control policies in AWS Organizations combined with IAM policies naming approved model resources
  • BA wiki page listing approved models
  • CAsking teams to self-report their model usage monthly
  • DSetting a low temperature on all requests

Correct answer: A Service control policies in AWS Organizations combined with IAM policies naming approved model resources

Guardrails that are actually enforced come from policy: SCPs set the organisational ceiling and IAM policies restrict invocation to approved model ARNs. A wiki and self-reporting are documentation rather than controls, and temperature has nothing to do with model authorisation.

AWS — Service control policies
Question 28Fundamentals of GenAI

Which service converts text into lifelike speech for a generative AI voice assistant?

  • AAmazon Polly
  • BAmazon Transcribe
  • CAmazon Lex
  • DAmazon Translate

Correct answer: A Amazon Polly

Polly is the text-to-speech service and turns generated text into audio. Transcribe goes the other direction from speech to text, Lex builds conversational bot flows with intents and slots, and Translate converts text between languages.

AWS — What is Amazon Polly
Question 29Applications of Foundation Models

Which evaluation approach is most appropriate for judging the quality of open-ended generated summaries?

  • AExact string match against a single reference summary
  • BHuman review or a model-based evaluator scoring relevance and faithfulness
  • CMean squared error against the input length
  • DCounting the number of tokens returned

Correct answer: B Human review or a model-based evaluator scoring relevance and faithfulness

Summaries have many acceptable phrasings, so scoring needs judgement about relevance and faithfulness, delivered either by human reviewers or an evaluator model. Exact match fails valid paraphrases, mean squared error against length is meaningless here, and token count measures verbosity rather than quality.

AWS — Model evaluation in Amazon Bedrock
Question 30Fundamentals of GenAI

A prompt includes three worked examples of the desired input and output before the real question. What is this technique called?

  • AZero-shot prompting
  • BFew-shot prompting
  • CContinued pre-training
  • DReinforcement learning from human feedback

Correct answer: B Few-shot prompting

Supplying a handful of demonstrations inside the prompt is few-shot prompting, and it steers format and style without changing model weights. Zero-shot supplies no examples, continued pre-training updates the model on new corpora, and RLHF is a training-time alignment method.

AWS — Prompt engineering guidelines
Question 31Applications of Foundation Models

A support team wants generated answers to always cite the internal article they came from. Which design change achieves this most directly?

  • AIncrease the model temperature
  • BUse a knowledge base with RAG and return source attributions with the response
  • CReduce the max token limit
  • DSwitch to a smaller model

Correct answer: B Use a knowledge base with RAG and return source attributions with the response

A knowledge base returns the retrieved chunks alongside the generated answer, so the application can show exactly which article backed each claim. Temperature affects creativity, a shorter output limit truncates answers, and model size does not create citations.

AWS — Retrieve and generate with citations
Question 32Fundamentals of GenAI

Which factor most directly increases the cost of pre-training a foundation model from scratch compared with fine-tuning an existing one?

  • AThe volume of data and accelerated compute hours required
  • BThe number of API keys issued to developers
  • CThe size of the S3 bucket policy
  • DThe choice of AWS Region for the console

Correct answer: A The volume of data and accelerated compute hours required

Pre-training consumes enormous corpora and thousands of accelerator hours, which is why almost no organisation does it and why fine-tuning or prompting is the normal path. API key counts, bucket policy size, and console Region have no meaningful bearing on training cost.

AWS — Custom model training
Question 33Fundamentals of GenAI

A generative AI application produces a confident answer citing a regulation that does not exist. What is this behaviour called?

  • AOverfitting
  • BHallucination
  • CData drift
  • DGradient explosion

Correct answer: B Hallucination

A hallucination is fluent, confident output that is factually wrong or invented, which is what a fabricated citation is. Overfitting describes a training failure measured on held-out data, data drift is a change in input distribution over time, and gradient explosion is a numerical training problem.

AWS — Responsible use of generative AI
Question 34Guidelines for Responsible AI

Which practice best supports accountability for an AI system in production?

  • AMaintaining lineage of datasets, model versions, and approvals for each deployment
  • BAllowing any engineer to deploy models without review
  • CDeleting evaluation results after launch
  • DUsing a shared root account for all training jobs

Correct answer: A Maintaining lineage of datasets, model versions, and approvals for each deployment

Accountability requires being able to say which data and which model version produced a decision and who approved it, which is what lineage and approval records give you. Unreviewed deploys, deleted evaluations, and shared root credentials each destroy that trail.

AWS — ML governance with SageMaker
Question 35Fundamentals of AI and ML

Which AWS service lets business analysts build machine learning predictions from tabular data using a visual interface and no code?

  • AAmazon SageMaker Canvas
  • BAmazon EMR
  • CAWS Glue DataBrew
  • DAmazon Athena

Correct answer: A Amazon SageMaker Canvas

SageMaker Canvas is the no-code visual surface aimed at analysts who want predictions from tabular data without writing training code. EMR runs big data frameworks, Glue DataBrew is a visual data preparation tool that cleans data rather than producing predictions, and Athena runs SQL queries over S3.

AWS — Amazon SageMaker Canvas
Question 36Applications of Foundation Models

Which prompt is most likely to produce a consistent, machine-parseable result?

  • A"Tell me about this customer complaint."
  • B"Classify the complaint into exactly one of billing, delivery, or quality. Reply with only the label."
  • C"What do you think about complaints in general?"
  • D"Write something helpful."

Correct answer: B "Classify the complaint into exactly one of billing, delivery, or quality. Reply with only the label."

A prompt that names the allowed labels and constrains the output format gives the model no room to add prose, which is what downstream parsing needs. The other prompts are open-ended, so the model will return free-form text of unpredictable shape.

AWS — Prompt engineering guidelines
Question 37Fundamentals of AI and ML

A company needs a fully managed service that builds, trains, and deploys custom machine learning models, including notebooks and hosted endpoints. Which AWS service fits?

  • AAmazon SageMaker AI
  • BAmazon Rekognition
  • CAmazon Comprehend
  • DAmazon Q Business

Correct answer: A Amazon SageMaker AI

SageMaker AI is the managed platform for the whole custom ML lifecycle: notebooks, training jobs, tuning, and hosted inference endpoints. Rekognition and Comprehend are pre-trained AI services for images and text that you consume through an API rather than train yourself, and Q Business is a generative AI assistant over enterprise content.

AWS — What is Amazon SageMaker AI
Question 38Applications of Foundation ModelsSelect 2

Which two are valid reasons to stream a foundation model response to the user interface? (Select TWO.)

  • AThe user sees the first tokens sooner, which improves perceived responsiveness
  • BLong answers do not appear frozen while the model is still generating
  • CStreaming reduces the total number of output tokens billed
  • DStreaming removes the need for a guardrail
  • EStreaming makes the model more accurate

Correct answer: A, B The user sees the first tokens sooner, which improves perceived responsiveness · Long answers do not appear frozen while the model is still generating

Streaming is a user experience optimisation: time to first token drops and long answers render progressively. It does not change how many output tokens are produced or billed, it does not replace content filtering, and it has no effect on answer quality.

AWS — Streaming responses
Question 39Fundamentals of GenAI

What is the main cost trade-off of sending a very long context window with every request to a foundation model?

  • AInput tokens are billed, so longer context raises per-request cost and latency
  • BThe model permanently learns the context, increasing storage cost
  • CLong context disables streaming responses
  • DLong context requires a dedicated VPC endpoint

Correct answer: A Input tokens are billed, so longer context raises per-request cost and latency

Foundation model pricing counts input tokens as well as output tokens, so stuffing the window costs money on every call and adds processing latency. The model does not retain the context between calls, streaming still works with long prompts, and no special networking is required.

AWS — Amazon Bedrock pricing
Question 40Fundamentals of GenAI

Which AWS service provides access to foundation models from multiple providers through a single serverless API?

  • AAmazon Bedrock
  • BAmazon SageMaker Ground Truth
  • CAmazon Kendra
  • DAWS Deep Learning AMIs

Correct answer: A Amazon Bedrock

Bedrock is the managed service that exposes foundation models from Amazon and several third-party providers behind one serverless API, with no infrastructure to run. Ground Truth is a data labelling service, Kendra is enterprise search, and Deep Learning AMIs are machine images you would manage yourself on EC2.

AWS — What is Amazon Bedrock
Question 41Fundamentals of GenAI

What does a vector database provide in a Retrieval Augmented Generation architecture?

  • AIt stores model weights for faster loading
  • BIt stores embeddings and returns the chunks most semantically similar to the query
  • CIt caches completed model responses by exact string match
  • DIt converts speech input into text

Correct answer: B It stores embeddings and returns the chunks most semantically similar to the query

The vector store holds embeddings of the document chunks and performs a nearest-neighbour search so the most relevant passages can be injected into the prompt. It does not hold model weights, it matches by meaning rather than exact string, and it performs no speech processing.

AWS — Vector stores for knowledge bases
Question 42Fundamentals of AI and ML

A workload scores millions of records once a week and has no latency requirement between runs. Which inference option is the most cost-effective?

  • AA real-time endpoint running continuously
  • BBatch transform
  • CA serverless endpoint with provisioned concurrency
  • DAn edge deployment on each device

Correct answer: B Batch transform

Batch transform spins up compute, scores the whole dataset, and shuts down, which suits a large periodic job with no online latency need. A continuously running real-time endpoint bills around the clock for a weekly job, provisioned concurrency reserves capacity you would not use, and edge deployment addresses on-device inference rather than bulk scoring.

AWS — Batch transform
Question 43Applications of Foundation Models

Which application is the weakest fit for a generative text model?

  • ADrafting first-pass product descriptions for human review
  • BComputing an exact payroll total that must reconcile to the cent
  • CSummarising long meeting transcripts
  • DRewriting technical text at a simpler reading level

Correct answer: B Computing an exact payroll total that must reconcile to the cent

Exact arithmetic that must reconcile belongs in deterministic code or a database, not a probabilistic text generator. Drafting, summarising, and rewriting are all language tasks where a generative model with human review is a sound fit.

AWS — Generative AI use cases
Question 44Applications of Foundation ModelsSelect 2

Which two signals suggest a workload should use fine-tuning rather than prompt engineering alone? (Select TWO.)

  • AThe task needs a highly specific output style that long prompts fail to enforce reliably
  • BA large, high-quality labelled dataset for the task already exists
  • CThe source documents change several times a day
  • DThe team wants to avoid all training and hosting costs
  • EThe task is a one-off experiment with ten examples

Correct answer: A, B The task needs a highly specific output style that long prompts fail to enforce reliably · A large, high-quality labelled dataset for the task already exists

Fine-tuning earns its cost when behaviour must be baked in and you have enough labelled data to teach it. Rapidly changing facts belong in retrieval rather than weights, a team avoiding training cost should stay with prompting, and ten examples is a few-shot prompt rather than a training set.

AWS — Customize a model
Question 45Applications of Foundation Models

A company must keep inference latency low and volume is high and predictable. Which Amazon Bedrock option gives consistent throughput at a committed price?

  • AOn-demand inference
  • BProvisioned Throughput
  • CBatch inference
  • DModel evaluation jobs

Correct answer: B Provisioned Throughput

Provisioned Throughput reserves model units for a committed term, which is what gives predictable throughput and latency for steady high-volume traffic. On-demand bills per token without a capacity guarantee, batch inference is for offline jobs, and evaluation jobs measure quality rather than serve traffic.

AWS — Provisioned Throughput
Question 46Applications of Foundation Models

Which criterion should drive model selection when a workload needs the lowest possible cost per request and the task is simple classification?

  • AAlways pick the largest available model for accuracy
  • BPick the smallest model that meets the accuracy bar on your evaluation set
  • CPick the model with the largest context window
  • DPick the newest model regardless of measured accuracy

Correct answer: B Pick the smallest model that meets the accuracy bar on your evaluation set

Model selection is an evaluation exercise: measure candidates on your own data and take the cheapest one that clears the bar, because simple tasks rarely need frontier capability. Defaulting to the largest, longest-context, or newest model spends money without evidence that the task requires it.

AWS — Choose a model
Question 47Fundamentals of AI and ML

During model development, what is the purpose of holding back a separate validation dataset from the training data?

  • ATo increase the total volume of training data
  • BTo tune hyperparameters and detect overfitting before final testing
  • CTo label the raw data automatically
  • DTo reduce the cost of the training instance

Correct answer: B To tune hyperparameters and detect overfitting before final testing

A validation set gives an unbiased signal during development so you can compare hyperparameter settings and stop before the model starts memorising the training set. Holding data back reduces rather than increases training volume, it does nothing to label data, and it has no bearing on instance cost.

AWS — Train and validate models
Question 48Security, Compliance, and Governance for AI Solutions

A regulated customer requires that traffic to Amazon Bedrock never traverse the public internet. Which option meets this requirement?

  • AAn interface VPC endpoint powered by AWS PrivateLink
  • BAn internet gateway with a restrictive route table
  • CA NAT gateway in a public subnet
  • DA public Application Load Balancer

Correct answer: A An interface VPC endpoint powered by AWS PrivateLink

A PrivateLink interface endpoint keeps API calls on the AWS network with a private IP inside the VPC, which is the standard answer for no-internet requirements. An internet gateway and a NAT gateway both route traffic out to the internet, and a public ALB exposes an ingress rather than securing egress.

AWS — Bedrock and interface VPC endpoints
Question 49Guidelines for Responsible AI

Which technique helps explain why a tabular model made a particular prediction?

  • AFeature attribution such as SHAP values
  • BIncreasing the batch size
  • CEnabling multi-AZ deployment
  • DCompressing the training dataset

Correct answer: A Feature attribution such as SHAP values

Feature attribution methods like SHAP quantify how much each input pushed the prediction one way or the other, which is the standard explainability tool for tabular models. Batch size, multi-AZ deployment, and dataset compression affect training or infrastructure, not interpretability.

AWS — SageMaker Clarify explainability
Question 50Guidelines for Responsible AI

A model deployed a year ago now performs noticeably worse on live traffic although the code has not changed. What is the most likely cause?

  • AData drift, as real-world input has shifted away from the training distribution
  • BThe instance type was deprecated
  • CThe S3 bucket became versioned
  • DThe IAM role gained a new permission

Correct answer: A Data drift, as real-world input has shifted away from the training distribution

A static model degrading over time on unchanged code is the classic signature of drift in the incoming data or the relationship it models, which is why monitoring and periodic retraining matter. Instance deprecation, bucket versioning, and extra IAM permissions do not change prediction quality.

AWS — SageMaker Model Monitor
Question 51Fundamentals of GenAI

Raising the temperature parameter on a foundation model request has what effect on the output?

  • AThe output becomes more deterministic and repetitive
  • BThe output becomes more varied and creative
  • CThe maximum output length increases
  • DThe model retrieves more documents from the knowledge base

Correct answer: B The output becomes more varied and creative

Temperature flattens the probability distribution over the next token, so higher values make the model more likely to pick less probable words and produce varied output. Lower temperature is what makes output deterministic, output length is controlled by a separate max tokens parameter, and retrieval depth is a retrieval setting, not a sampling one.

AWS — Inference parameters
Question 52Applications of Foundation Models

Which AWS service builds a generative AI assistant over enterprise data sources such as SharePoint and S3 with built-in connectors and access control?

  • AAmazon Q Business
  • BAmazon SageMaker Studio
  • CAmazon Personalize
  • DAWS Glue

Correct answer: A Amazon Q Business

Amazon Q Business is the managed enterprise assistant with connectors to common content systems and permission-aware retrieval so users only see what they are entitled to. SageMaker Studio is an ML development environment, Personalize builds recommendations, and Glue is an ETL service.

AWS — What is Amazon Q Business
Question 53Applications of Foundation Models

A developer needs the model to reason through a multi-step calculation before answering. Which prompting technique is designed for this?

  • AChain-of-thought prompting
  • BNegative prompting
  • CToken truncation
  • DBeam width tuning

Correct answer: A Chain-of-thought prompting

Chain-of-thought prompting asks the model to work through intermediate steps, which measurably improves multi-step reasoning. Negative prompting steers away from unwanted content, truncation cuts text, and beam width affects decoding search rather than reasoning structure.

AWS — Prompt engineering guidelines
Question 54Security, Compliance, and Governance for AI Solutions

Which AWS service should be used to control which IAM principals can invoke a specific foundation model in Amazon Bedrock?

  • AAWS IAM identity-based policies
  • BAmazon CloudFront signed URLs
  • CAWS Shield Advanced
  • DAmazon Route 53 health checks

Correct answer: A AWS IAM identity-based policies

Access to Bedrock model invocation is authorised through IAM policies that name the model resource and the InvokeModel actions. CloudFront signed URLs protect content distribution, Shield Advanced mitigates DDoS, and Route 53 health checks monitor endpoints.

AWS — Amazon Bedrock IAM
Question 55Security, Compliance, and Governance for AI Solutions

Which service records who called a Bedrock API, when, and from where, for audit purposes?

  • AAWS CloudTrail
  • BAWS Trusted Advisor
  • CAmazon QuickSight
  • DAWS Batch

Correct answer: A AWS CloudTrail

CloudTrail is the API audit log across AWS services and captures the identity, time, source IP, and parameters of each management and data event it supports. Trusted Advisor gives best-practice checks, QuickSight visualises business data, and Batch runs compute jobs.

AWS — Log Bedrock API calls with CloudTrail
Question 56Fundamentals of AI and ML

A team wants to extract entities, key phrases, and sentiment from customer support emails without training a model. Which AWS service should they use?

  • AAmazon Comprehend
  • BAmazon Textract
  • CAmazon Transcribe
  • DAmazon Polly

Correct answer: A Amazon Comprehend

Comprehend is the managed natural language processing service and returns entities, key phrases, sentiment, and language detection from raw text with no training required. Textract extracts text and structure from scanned documents, Transcribe converts speech to text, and Polly converts text to speech.

AWS — What is Amazon Comprehend
Question 57Security, Compliance, and Governance for AI Solutions

Which service provides on-demand access to AWS compliance reports such as SOC and ISO certifications?

  • AAWS Artifact
  • BAWS Organizations
  • CAmazon Detective
  • DAWS Systems Manager

Correct answer: A AWS Artifact

AWS Artifact is the self-service portal for compliance reports and agreements, which auditors typically ask for. Organizations manages multi-account structure, Detective investigates security findings, and Systems Manager operates instances and configuration.

AWS — What is AWS Artifact
Question 58Security, Compliance, and Governance for AI Solutions

A company wants encryption of a custom fine-tuned model artifact using a key it controls and can revoke. Which option meets this?

  • AA customer managed AWS KMS key
  • BAn AWS owned key with no customer visibility
  • CClient-side base64 encoding
  • DAn IAM permissions boundary

Correct answer: A A customer managed AWS KMS key

A customer managed KMS key gives the company control over rotation, policy, and revocation, which is the requirement here. An AWS owned key offers no such control, base64 is an encoding rather than encryption, and a permissions boundary limits IAM privileges without encrypting anything.

AWS — Encryption of custom models
Question 59Fundamentals of GenAI

A company wants a chatbot to answer questions using its private policy documents, which change weekly. The company does not want to retrain a model. Which approach fits best?

  • AFine-tune a foundation model each week on the new documents
  • BRetrieval Augmented Generation over an indexed document store
  • CPre-train a new foundation model from scratch
  • DIncrease the temperature so the model is more creative

Correct answer: B Retrieval Augmented Generation over an indexed document store

RAG retrieves the relevant passages at request time and passes them to the model as context, so refreshing the index is all that a weekly document change requires. Weekly fine-tuning is expensive and slow for content that changes constantly, pre-training from scratch is orders of magnitude more costly, and temperature has nothing to do with factual grounding.

AWS — Knowledge bases for Amazon Bedrock
Question 60Fundamentals of AI and ML

Which situation is a poor fit for a machine learning solution?

  • APredicting equipment failure from years of sensor readings
  • BApplying a fixed, well-documented tax rule that never changes
  • CRecommending products from historical purchase behaviour
  • DDetecting defective parts from thousands of labelled photographs

Correct answer: B Applying a fixed, well-documented tax rule that never changes

A deterministic rule that is fully specified and stable should be implemented as ordinary code, where it is cheaper, exact, and auditable. The other three involve patterns learned from large volumes of historical data that would be impractical to express as hand-written rules, which is where machine learning earns its cost.

AWS — When to use machine learning
Question 61Guidelines for Responsible AI

A generative AI feature is used in a medical triage context. Which control most directly reflects the responsible AI principle of human oversight?

  • AA clinician reviews and approves every recommendation before it reaches a patient
  • BThe model runs on a larger instance type
  • CThe output is cached for reuse
  • DThe endpoint is deployed in two Availability Zones

Correct answer: A A clinician reviews and approves every recommendation before it reaches a patient

Human-in-the-loop review before a high-stakes action is exactly what human oversight means in a safety-critical domain. Bigger instances, caching, and multi-AZ deployment improve performance and availability but add no human judgement to the decision.

AWS — Responsible AI
Question 62Fundamentals of GenAI

What is a token in the context of a large language model?

  • AAn authentication credential passed with the API request
  • BA chunk of text, often a word fragment, that the model reads and generates
  • CA numeric weight inside a neural network layer
  • DA unit of GPU memory consumed during training

Correct answer: B A chunk of text, often a word fragment, that the model reads and generates

Language models operate over tokens, which are subword chunks produced by a tokenizer, and both input and output length are billed in tokens. The word also means an auth credential elsewhere in computing, but in an LLM context it refers to text units, not credentials, model weights, or memory.

AWS — Amazon Bedrock inference parameters
Question 63Applications of Foundation Models

A summarisation feature must never expose customer account numbers in its output. Which Amazon Bedrock feature enforces this at inference time?

  • AGuardrails with sensitive information filters
  • BProvisioned Throughput
  • CModel Evaluation
  • DCustom model import

Correct answer: A Guardrails with sensitive information filters

Guardrails apply configurable filters, including sensitive information detection and redaction, to both prompts and responses at request time. Provisioned Throughput is a capacity feature, Model Evaluation is an offline scoring tool, and custom model import brings your own weights without adding content controls.

AWS — Guardrails for Amazon Bedrock
Question 64Fundamentals of AI and MLSelect 2

Which two statements correctly describe the relationship between artificial intelligence, machine learning, and deep learning? (Select TWO.)

  • AMachine learning is a subset of artificial intelligence
  • BDeep learning is a subset of machine learning that uses multi-layer neural networks
  • CArtificial intelligence is a subset of deep learning
  • DDeep learning and machine learning are unrelated fields
  • EMachine learning always requires a neural network

Correct answer: A, B Machine learning is a subset of artificial intelligence · Deep learning is a subset of machine learning that uses multi-layer neural networks

The nesting runs AI to ML to deep learning: ML is one way of building AI, and deep learning is the branch of ML built on multi-layer neural networks. AI is the outermost set, not a subset of deep learning, the fields are directly related, and many ML algorithms such as decision trees and linear regression use no neural network at all.

AWS — What is artificial intelligence
Question 65Fundamentals of GenAISelect 2

Which two are legitimate business risks of deploying a generative AI chatbot to external customers? (Select TWO.)

  • AThe model may produce factually incorrect statements presented confidently
  • BThe model may reproduce biased language present in its training data
  • CThe model will always refuse to answer any question
  • DThe model cannot be integrated with any API
  • EThe model automatically deletes customer data after each request

Correct answer: A, B The model may produce factually incorrect statements presented confidently · The model may reproduce biased language present in its training data

Hallucinated facts and inherited bias are the two headline risks that responsible AI controls are designed to mitigate. Blanket refusal is not a general behaviour, foundation models integrate with APIs routinely through agents and tools, and data handling depends on the service configuration rather than being an automatic deletion guarantee.

AWS — Responsible AI

Ready to try it under exam conditions?

Reading answers is not the same as recalling them with a clock running. Take the same 65 questions as a timed mock exam — 90 minutes, no feedback until you submit, then a score broken down by exam domain so you know what to study.

Start the timed AIF-C01 test →