Amazon Web Services · Free Practice Questions · Last reviewed May 2026
30real exam-style questions organised by domain, each with the correct answer highlighted and a plain-English explanation of why it's right — and why the others are wrong.
A healthcare company is using Amazon Bedrock to summarize patient notes. The compliance team requires that no patient data is used to improve the underlying foundation model. Which configuration should the team choose?
Enable data encryption in transit and at rest.
Use a different foundation model from a different provider.
Disable model training data logging in the AWS console.
This setting prevents prompts and completions from being used for model improvement.
Configure a VPC endpoint for Amazon Bedrock.
A marketing firm uses Amazon Bedrock to generate ad copy. They notice that the generated text often includes factual inaccuracies about their products. Which technique would most effectively reduce these inaccuracies?
Implement Retrieval-Augmented Generation (RAG) with a product knowledge base.
RAG enables the model to retrieve and cite authoritative information, reducing hallucinations.
Use longer, more detailed prompts.
Increase the temperature parameter to 0.9.
Fine-tune the model on a dataset of previous ad copies.
A developer is using Amazon Bedrock to build a chatbot that answers customer queries. The chatbot must only respond based on the provided company documentation. Which approach best meets this requirement?
Use prompt engineering to instruct the model to only use documentation.
Use a RAG architecture with the company documentation as the knowledge base.
RAG ensures responses are based on retrieved documents.
Fine-tune a foundation model on the company documentation.
Use a text classification model to filter responses.
A financial services company is deploying a foundation model to analyze customer sentiment from call transcripts. The model outputs must be consistent and deterministic for auditing purposes. Which parameter configuration should the company use?
Set temperature to 0.1 and top_p to 0.9.
Set temperature to 0.7 and top_p to 1.0.
Set temperature to 0.5 and top_p to 0.5.
Set temperature to 0 and top_p to 1.
Temperature 0 makes the model deterministic.
An e-commerce company is using a foundation model to generate product descriptions. They want to reduce costs by caching frequently requested descriptions. Which AWS service should they use to implement a cache?
Amazon CloudFront
Amazon DynamoDB
Amazon S3
Amazon ElastiCache
ElastiCache provides low-latency caching for frequently used data.
A company wants to use a foundation model to automatically moderate user-generated content. The model must filter out inappropriate content with high accuracy. Which Amazon service is best suited for this task?
Amazon Translate
Amazon Rekognition
Amazon Polly
Amazon Comprehend
Comprehend offers content moderation features.
Want more Applications of Foundation Models practice?
Practice this domainA data scientist wants to quickly build a supervised learning model for binary classification on a tabular dataset with 10,000 rows and 200 features. The dataset has some missing values and requires minimal code. Which AWS service should the data scientist use?
Amazon SageMaker Studio Lab
Amazon SageMaker Clarify
Amazon SageMaker Autopilot
Autopilot automates model building for tabular data.
Amazon SageMaker JumpStart
An ML team is deploying a real-time inference endpoint for a computer vision model using Amazon SageMaker. The model requires GPU acceleration for low latency. Which instance type should the team choose to minimize cost while meeting the GPU requirement?
ml.g5.xlarge
ml.c5.xlarge
ml.p3.2xlarge
P3 provides GPU acceleration and is cost-effective for inference.
ml.p4d.24xlarge
A company is training a deep learning model on Amazon SageMaker using a custom Docker container. The training job fails with the error 'CannotStartContainerError: API error (500): failed to create shim task'. The team verifies that the container image is compatible with the selected instance type. What is the most likely cause of this error?
The instance type does not have enough memory for the container
Insufficient memory is a common cause of container startup failures.
The training data is stored in the wrong S3 bucket
The container image does not have the correct entry point
The GPU drivers are outdated
A machine learning engineer is using Amazon SageMaker to train a model and wants to automatically stop the training job if the loss does not improve for 10 consecutive epochs. Which SageMaker feature should be used?
SageMaker built-in algorithms with early stopping
Built-in algorithms support early stopping parameters.
SageMaker Training Compiler
SageMaker Debugger
SageMaker Experiments
A company needs to store large amounts of unstructured training data (images, videos) in a cost-effective manner while ensuring low-latency retrieval for training jobs running on Amazon SageMaker. Which storage solution should be used?
Amazon EFS
Amazon S3
S3 is the best fit for storing unstructured data with low-latency access via S3 endpoints.
Amazon RDS
Amazon EBS
An organization wants to detect anomalies in real-time streaming data from IoT devices. The data includes sensor readings, and the team plans to use a machine learning model. Which AWS service should be used to build and deploy the model with minimal operational overhead?
Amazon SageMaker
SageMaker offers end-to-end ML capabilities and can deploy real-time endpoints.
AWS Glue
Amazon QuickSight
Amazon Kinesis Data Analytics
Want more Fundamentals of AI and ML practice?
Practice this domainA company is building a chatbot using Amazon Bedrock and wants to ensure that the model generates responses consistent with its brand voice. Which technique should be used to provide the model with examples of desired responses without fine-tuning the model?
Fine-tune the model on a dataset of brand-compliant conversations.
Use prompt chaining to break down the conversation into multiple steps.
Implement a Retrieval Augmented Generation (RAG) system with brand documents.
Include few-shot examples in the system prompt to demonstrate the desired tone.
In-context learning via few-shot examples guides model behavior without retraining.
A data scientist is using Amazon SageMaker to train a large language model from scratch. Which AWS service is most suitable for managing the training infrastructure, including automatic scaling and spot instance recovery?
AWS Lambda function.
Amazon SageMaker Notebook instance.
Amazon SageMaker Training job.
SageMaker Training manages infrastructure, automatically recovers from spot interruptions, and scales.
Amazon EC2 with a custom setup.
A team is using Amazon Bedrock to generate images from text prompts. The generated images often contain artifacts and do not match the prompt description. Which combination of steps should the team take to improve image quality?
Fine-tune the model using SageMaker Ground Truth and increase the training epochs.
Increase the max token count and use a larger model variant.
Refine the prompt with more descriptive language and adjust the CFG scale and inference steps.
Better prompts and tuning inference parameters directly improve image quality.
Use a different foundation model and increase the image resolution.
A developer is creating a generative AI application using Amazon Bedrock and needs to ensure that responses do not include toxic or harmful content. Which feature should be enabled?
Amazon CloudWatch Logs for prompt logging.
Amazon Virtual Private Cloud (VPC) for network isolation.
Amazon Bedrock Guardrails.
Guardrails enforce content policies, filter toxic content, and block denied topics.
AWS Identity and Access Management (IAM) policies.
A company is using Amazon SageMaker JumpStart to deploy a pre-trained text generation model. After deployment, the model produces slow inference responses. Which action is most likely to improve inference latency?
Quantize the model weights to FP16 or INT8.
Deploy the model on a more powerful instance type with higher GPU memory.
More compute resources reduce inference time per request.
Fine-tune the model on a smaller dataset.
Increase the batch size for inference requests.
An organization is using Amazon Bedrock to power a customer service chatbot. They notice that the chatbot occasionally generates hallucinated information about product specifications. Which strategy should be implemented to reduce hallucinations?
Fine-tune the model on a dataset of product specification conversations.
Integrate a Retrieval Augmented Generation (RAG) system with the product catalog.
RAG provides up-to-date, factual context to the model, reducing hallucinations.
Use more detailed prompts with explicit instructions to avoid speculation.
Increase the temperature parameter to make outputs more conservative.
Want more Fundamentals of Generative AI practice?
Practice this domainA financial services company uses Amazon Rekognition to verify customer identities. To ensure responsible AI practices, which measure should the company prioritize?
Use only black-box models to protect intellectual property
Increase model complexity to improve accuracy
Minimize the amount of training data collected
Regularly audit the model for demographic bias
Bias audits are essential for fairness.
A healthcare startup deploys a model to predict patient readmission risk using Amazon SageMaker. After deployment, the model shows higher false-positive rates for a specific age group. What is the most responsible first step?
Increase the prediction threshold for the affected group
Use Amazon SageMaker Clarify to detect bias in predictions
Clarify provides bias metrics to inform next steps.
Retrain the model with more data from the affected group
Immediately retire the model to prevent harm
A company uses an AI system to automate loan approvals. The model uses demographic features and achieves high accuracy, but the company wants to ensure compliance with responsible AI guidelines. Which practice best balances performance and fairness?
Use demographic features but with minimal monitoring
Use a complex black-box model and rely on post-hoc explanations
Remove sensitive attributes and monitor for proxy bias
Removing attributes reduces direct bias, monitoring detects proxies.
Optimize the model solely for accuracy on historical data
A retail company uses a recommendation system that occasionally suggests inappropriate products to minors. Which responsible AI practice should be applied?
Implement human review of flagged recommendations
Human-in-the-loop ensures responsible oversight.
Rely solely on user feedback to improve
Disable the recommendation system entirely
Increase the volume of training data
A company uses Amazon Comprehend to analyze customer sentiment. They discover the model performs poorly on text with slang from underrepresented groups. What is the most responsible action?
Restrict model use to only standard English
Remove slang from input before inference
Adjust the confidence threshold only for those groups
Collect more representative training data including slang
Representative data reduces bias.
A bank uses an AI system to detect fraudulent transactions. The model has high precision but low recall for small transactions, potentially missing fraud. Which approach aligns with responsible AI?
Send all flagged transactions to customers for confirmation
Focus only on precision to minimize false positives
Tune the model to achieve an acceptable balance between recall and precision
Balancing metrics is a responsible approach.
Increase the detection threshold to reduce false positives
Want more Guidelines for Responsible AI practice?
Practice this domainA healthcare company is deploying a machine learning model on Amazon SageMaker to analyze patient records. The model requires access to a DynamoDB table containing patient data. Which combination of AWS services and features should the company use to restrict access to only the necessary resources?
Attach a DynamoDB resource-based policy to the table allowing access from the SageMaker notebook
Create an IAM role with a policy granting read-only access to the specific DynamoDB table and attach it to the SageMaker notebook instance
This follows least-privilege principle and uses temporary credentials via IAM roles.
Store AWS access keys in the notebook and use those credentials to access DynamoDB
Launch the SageMaker notebook in a VPC with a security group that allows access to DynamoDB
A company uses Amazon Rekognition to analyze images stored in an S3 bucket. The security team requires that all image analysis be logged to AWS CloudTrail for auditing. What is the minimum configuration needed to meet this requirement?
Enable Rekognition logging in the AWS Management Console
Enable CloudTrail management events for the S3 bucket
Enable S3 server access logs on the bucket
Enable CloudTrail data events for the S3 bucket to capture GetObject API calls
Data events capture object-level operations; Rekognition calls GetObject when reading images.
A financial services company is building a predictive model using Amazon SageMaker. The model training data contains personally identifiable information (PII). The company must ensure that the data is encrypted at rest and in transit, and that access to the data is logged. Which combination of AWS services meets these requirements?
Use S3 server-side encryption with S3-managed keys (SSE-S3) and enable CloudTrail trail for S3 data events
Use S3 server-side encryption with AWS KMS (SSE-KMS), enable SageMaker inter-container traffic encryption, and enable CloudTrail data events for the S3 bucket
SSE-KMS provides encryption at rest with key control, inter-container traffic encryption provides transit encryption, and CloudTrail data events log access to objects.
Use S3 client-side encryption and configure SageMaker to use HTTPS for inter-container traffic
Enable S3 default encryption with AES-256 and use AWS CloudTrail for S3 data events
A data scientist needs to grant an IAM user access to a specific Amazon SageMaker notebook instance. The user should only be able to start and stop the notebook instance, but not delete it. Which IAM policy statement should be used?
{"Effect":"Allow","Action":["sagemaker:Start*","sagemaker:Stop*"],"Resource":"*"}
{"Effect":"Allow","Action":["sagemaker:StartNotebookInstance","sagemaker:StopNotebookInstance"],"Resource":"arn:aws:sagemaker:us-east-1:123456789012:notebook-instance/MyNotebook"}
Grants only start and stop on the specific resource.
{"Effect":"Allow","Action":"sagemaker:*","Resource":"*"}
{"Effect":"Allow","Action":"sagemaker:*","Resource":"arn:aws:sagemaker:us-east-1:123456789012:notebook-instance/MyNotebook"}
A company is using Amazon Comprehend to extract entities from customer support tickets. The compliance team requires that the text sent to Comprehend be encrypted in transit and that Comprehend does not store any data beyond the processing time. How should the company configure the API call?
Encrypt the text using AWS KMS before sending it to Comprehend
Use the AWS SDK with server-side encryption enabled for the API call
Create a VPC endpoint for Comprehend and send requests over the private network
Use the HTTPS endpoint for the DetectEntities API and rely on Comprehend's stateless design
HTTPS provides encryption in transit; Comprehend does not store data after processing.
A company uses Amazon SageMaker to host a real-time inference endpoint. The model was trained on sensitive data, and the company wants to ensure that the data sent to the endpoint is encrypted in transit. Additionally, the company wants to restrict access to the endpoint to only traffic originating from a specific VPC. Which configuration meets these requirements?
Create the SageMaker endpoint in a VPC, associate a security group that allows inbound HTTPS from the VPC CIDR, and configure the endpoint to use HTTPS
VPC placement restricts network access; HTTPS encrypts data in transit.
Configure the SageMaker endpoint to use mutual TLS (mTLS) with client certificates
Place the SageMaker endpoint behind an Amazon CloudFront distribution with an origin access identity
Use AWS STS to generate temporary credentials and require the client to sign requests with them
Want more Security, Compliance and Governance for AI Solutions practice?
Practice this domainThe AIF-C01 exam has 50 questions and must be completed in 90 minutes. The passing score is 700/1000.
Scenario-based questions covering exam objectives with detailed answer explanations.
The exam covers 5 domains: Applications of Foundation Models, Fundamentals of AI and ML, Fundamentals of Generative AI, Guidelines for Responsible AI, Security, Compliance and Governance for AI Solutions. Questions are weighted by domain — higher-weight domains appear more on your actual exam.
No. These are original exam-style practice questions written against the official Amazon Web Services AIF-C01 exam objectives. They are not copied from the real exam. Courseiva focuses on genuine understanding, not memorisation of braindumps.
Courseiva tracks your accuracy per domain and routes you toward weak areas automatically. Free, no account required.