AIF-C01 · domain
Generative AI and Foundation Models
Practise AWS Certified AI Practitioner AIF-C01 Generative AI and Foundation Models practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.
Focused practice
Practice Generative AI and Foundation Models questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about Generative AI and Foundation Models
Generative AI and Foundation Models questions test whether you can apply the concept in context, not just recognise a definition.
How the topic appears in realistic exam-style scenarios.
Which detail in the question changes the correct answer.
How to eliminate plausible but wrong options.
How to connect the question back to the wider exam objective.
Watch out for
Common Generative AI and Foundation Models exam traps
- ▸Answering from memory before reading the full scenario.
- ▸Missing a constraint such as cost, availability, security, scope or command context.
- ▸Choosing a broad answer when the question asks for the most specific fix.
- ▸Ignoring why the wrong options are tempting.
Question index
All Generative AI and Foundation Models questions (120)
Click any question to see the full explanation, or start a practice session above.
A data scientist needs to convert text into numerical vectors for semantic search. Which type of foundation model should they use?
Easy2Which Amazon Bedrock feature allows you to invoke a model and receive the response token by token as it is generated, reducing perceived latency for the end user?
Easy3A developer needs to ensure that a generative AI application on Amazon Bedrock does not produce harmful or inappropriate content. Which feature should they configure?
Medium4A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
Medium5A company uses Amazon Bedrock with Anthropic Claude for a question-answering system. They want to reduce costs while maintaining acceptable latency. Which TWO actions would help achieve this? (Choose two.)
Medium6A retail company uses Amazon Bedrock with Anthropic Claude to generate personalized marketing emails. They want to include dynamic content such as the customer's name and recent purchase history. Which API should they use to enable multi-turn conversations with context management?
Hard7A practitioner is using Amazon Bedrock to invoke Anthropic Claude for a text generation task. They need the model to output a JSON object with specific keys, and they have observed that the model occasionally produces malformed JSON. Which parameter adjustment is MOST likely to improve JSON formatting consistency?
Hard8A company needs to generate high-quality product images from textual descriptions for an e-commerce catalog. They want to use a foundation model on AWS that specializes in text-to-image generation. Which model provider should they use through Amazon Bedrock?
Medium9Which of the following correctly describes the purpose of pre-training in the context of large language models?
Easy10A company is building a real-time document analysis tool using Amazon Bedrock. Their documents average 15,000 tokens each. Users submit a document and ask a single question about it. The team wants to minimize latency while maintaining answer quality. Which approach is MOST suitable?
Hard11Which of the following is a key advantage of using a diffusion model for image generation compared to a GAN?
Easy12A data science team is using Amazon Bedrock to generate synthetic data for training a new model. They need to ensure the generated data is diverse and covers edge cases. Which THREE parameters should they adjust to maximize diversity? (Select THREE.)
Hard13A company is fine-tuning an Amazon Titan Text model on custom data using Amazon Bedrock. They want to ensure the fine-tuned model retains general language capabilities while learning domain-specific knowledge. Which THREE best practices should they follow? (Select THREE.)
Hard14A developer is using Amazon Bedrock to generate product descriptions. The developer notices that the model sometimes outputs descriptions that contradict the provided product specifications. Which parameter adjustment would MOST directly reduce factual inconsistencies?
Medium15A data scientist wants to compare the text embeddings generated by Amazon Titan Embeddings for a set of product descriptions. Which metric is MOST appropriate to measure the semantic similarity between two embedding vectors?
Medium16Which component of the Transformer architecture allows the model to weigh the importance of different tokens in the input sequence when generating output?
Easy17A company is using Amazon Bedrock to build a multilingual support chatbot. They need a model that can understand and generate text in multiple languages without requiring separate fine-tuning per language. Which model capability is MOST important?
Medium18A developer wants to use Amazon Bedrock to build a text summarization application. Which TWO of the following are required steps?
Easy19Which prompt engineering technique involves providing the model with a few examples of desired input-output pairs before asking it to complete a new instance?
Easy20A company is selecting a foundation model on Amazon Bedrock for a real-time text generation application that requires the lowest possible latency. Which TWO model providers are MOST suitable for this requirement? (Choose TWO.)
Medium21A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
Medium22A data scientist is using Amazon Bedrock to generate product descriptions. They discover that the model frequently repeats phrases and produces overly deterministic outputs. Which parameter adjustment would MOST likely introduce more diversity?
Medium23A company is using Amazon Bedrock with a foundation model for a text summarization task. They want to evaluate the quality of the summaries. Which TWO metrics are appropriate for evaluating the quality of generated summaries? (Select TWO)
Easy24A company uses Amazon Titan Text Express to summarize customer support tickets. The model often misses key details when the ticket exceeds 4,000 tokens. The team needs to process tickets up to 8,000 tokens without losing important information. Which strategy is MOST effective?
Hard25A developer is selecting a foundation model on Amazon Bedrock for a real-time text summarization application. Which THREE factors should they consider when choosing the model? (Choose three.)
Easy26A data scientist is using Amazon Bedrock to generate product descriptions. They want to ensure the output is creative but still relevant. Which parameter adjustment would MOST directly control the randomness of the model's responses?
Medium27Which AWS service provides managed foundation models from providers like Anthropic, Meta, and Stability AI through a single API?
Easy28A developer is using the Amazon Bedrock Converse API to build a multi-turn conversation application. The developer wants the model to adopt a specific persona and follow strict formatting rules for all responses. Which approach should the developer take?
Medium29A developer is using the Amazon Bedrock Converse API to build a conversational agent. The agent needs to maintain context across multiple turns of dialogue. Which parameter should be used to provide the conversation history?
Hard30A company is using a RAG system with Amazon Titan Text Express for question answering. They notice that the model frequently ignores the retrieved context and generates answers based on its pre-training knowledge, leading to incorrect responses. Which change would MOST directly address this issue?
Hard31A machine learning team is using prompt engineering to guide a large language model on Amazon Bedrock. They want the model to follow a specific reasoning process step-by-step. Which THREE prompt engineering techniques are most relevant? (Select THREE.)
Medium32A developer is building an application that generates personalized workout plans using Amazon Bedrock. The application must ensure that generated plans follow safety guidelines and never include dangerous exercises. Which prompt engineering technique is MOST effective for enforcing these constraints?
Medium33A team is using a prompt engineering technique where they provide a few examples of desired input-output pairs in the prompt to guide the model's response. Which technique are they using?
Medium34A company is using Amazon Bedrock to generate personalized marketing emails. They notice that the model sometimes produces outputs that are off-brand or contain factual errors about their products. Which TWO prompt engineering techniques would be MOST effective to address these issues? (Choose TWO.)
Hard35A developer is using prompt engineering techniques to improve the performance of a text generation model on Amazon Bedrock. Which TWO techniques are examples of prompt engineering? (Select TWO.)
Medium36A company uses Amazon Bedrock with Anthropic Claude. They want to generate code explanations that include step-by-step reasoning. Which prompt engineering technique is BEST suited for this?
Medium37A developer is using Amazon Bedrock to build a chatbot that answers questions about a large internal knowledge base. The knowledge base contains documents with varying lengths, some exceeding 10,000 tokens. The chatbot must provide accurate answers and handle queries about multiple topics. Which THREE strategies should the developer implement? (Select THREE)
Hard38What is the primary purpose of an embedding model in the context of RAG?
Easy39A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
Medium40Which component of the Transformer architecture allows the model to weigh the importance of different words in the input sequence when generating output?
Easy41A company uses a diffusion model on Amazon Bedrock to generate marketing images. They notice that the generated images often contain artifacts and lack fine details, especially when the prompt is complex. The team wants to improve image quality without increasing inference time significantly. Which parameter adjustment is MOST likely to help?
Hard42A data scientist is building a text classification system using Amazon Bedrock. They want to evaluate different foundation models for accuracy and latency. Which TWO approaches are appropriate for comparing models? (Select TWO.)
Medium43Which component of the Transformer architecture allows the model to weigh the importance of different words in a sentence when generating output?
Easy44A developer is using Amazon Titan Text Express via the Bedrock InvokeModel API to summarize long documents. The documents are approximately 6,000 tokens each, but the model's context window is 4,000 tokens. What is the BEST approach to handle this?
Medium45Which of the following is a key benefit of using foundation models over training a model from scratch for natural language tasks?
Easy46A data scientist is preparing to fine-tune an Amazon Titan model for a domain-specific text classification task. Which THREE components are essential for the fine-tuning process on Amazon Bedrock? (Choose THREE.)
Medium47A company uses Amazon Bedrock with Anthropic Claude to generate customer-facing content. They must ensure the model does not produce harmful or biased outputs. Which THREE approaches should they implement? (Select THREE.)
Hard48A company is deploying a generative AI application on Amazon Bedrock that must meet strict latency requirements for real-time user interactions. Which THREE factors should they consider when selecting a foundation model? (Select THREE.)
Hard49Which Amazon Bedrock model provider offers the Titan family of models, including Titan Text Lite, Titan Text Express, and Titan Image Generator?
Easy50A data scientist is fine-tuning a large language model on a custom dataset of legal documents. The dataset contains 100,000 documents, each with an average length of 5,000 tokens. The model has a context window of 8,192 tokens. What is the MOST important consideration for preparing the data for fine-tuning?
Medium51Which component of the Transformer architecture allows the model to weigh the importance of different words in a sequence when generating output?
Easy52A company is deploying a generative AI application on Amazon Bedrock that must comply with strict data privacy regulations. They need to ensure that no customer data is used to improve the underlying foundation model. Which THREE measures should they implement? (Select THREE.)
Hard53A company wants to use Amazon Bedrock to build a multilingual customer support chatbot. The chatbot must answer questions in English, Spanish, and French. Which TWO actions should the company take to achieve this? (Select TWO.)
Medium54A developer is building a multimodal application that needs to process both text and images to generate a description. Which Amazon Bedrock model provider offers a multimodal foundation model capable of accepting images and text as input?
Medium55A startup wants to generate high-quality images from text descriptions for a marketing campaign. They need to control the style, composition, and avoid generating inappropriate content. Which Amazon Bedrock model and feature combination is MOST suitable?
Medium56A data scientist is using a pre-trained LLM for a text summarization task. They notice the model sometimes includes hallucinations (false information) in the summaries. Which THREE prompt engineering techniques can help reduce hallucinations? (Select THREE.)
Medium57A developer is using the Amazon Bedrock InvokeModel API with streaming enabled. They want to process partial results as they arrive. Which THREE steps are necessary to implement streaming correctly? (Select THREE.)
Hard58A machine learning engineer is fine-tuning an Amazon Titan Text Premier model on a dataset of 50,000 legal contracts. The average token length per contract is 4,500 tokens. The model has a maximum context window of 8,000 tokens. What is the MOST efficient way to prepare the training data?
Hard59A developer is building an image generation application using Stability AI's Stable Diffusion model on Amazon Bedrock. The application needs to generate high-resolution images (1024x1024) with consistent style across multiple prompts. Which approach should they use?
Medium60A company is using Amazon Bedrock's Converse API to build a conversational agent. They want the agent to maintain context across multiple turns. The agent should also be able to call external APIs to retrieve real-time data when needed. Which combination of features should they use?
Medium61A team is fine-tuning an Amazon Titan Text model on a small dataset of legal documents. After fine-tuning, the model produces outputs that are factually incorrect and sometimes contradicts the training data. What is the most likely cause?
Hard62Which of the following is a key advantage of using a pre-trained foundation model over training a model from scratch?
Easy63A developer is new to Amazon Bedrock and wants to understand the components of tokenization and context windows. Which TWO statements are correct? (Select TWO.)
Easy64A developer is building an application that uses Amazon Bedrock to answer questions based on a large internal knowledge base. The knowledge base contains PDFs, Word documents, and web pages. Which TWO AWS services are commonly used together to implement a Retrieval-Augmented Generation (RAG) architecture on AWS? (Select TWO.)
Easy65A financial services company needs to use Amazon Bedrock to generate customer-facing content that must comply with strict regulatory guidelines. The company wants to minimize the risk of the model generating non-compliant content. Which technique should the company implement?
Medium66A startup wants to generate high-quality images from text descriptions using Amazon Bedrock. They need to create realistic images of products for an e-commerce catalog. Which model provider should they choose?
Medium67A company is using Amazon Bedrock to generate embeddings for a semantic search application. They want to ensure that semantically similar phrases (e.g., "car" and "vehicle") produce similar vector representations. Which type of model should they use?
Medium68A team is fine-tuning a Meta Llama 2 model on Amazon Bedrock for a legal document classification task. After fine-tuning, the model performs well on the training set but poorly on the validation set. Which adjustment is MOST likely to reduce overfitting?
Hard69What is the primary purpose of an embedding model in the context of semantic search?
Easy70A healthcare company is building a medical diagnosis assistant using Amazon Bedrock. They need to ensure the model’s responses are based on the latest medical research and do not include outdated information. The company also wants to minimize costs. Which TWO actions should they take? (Select TWO)
Medium71A data scientist needs to select an Amazon Bedrock model for a real-time chat application that requires low latency and high throughput. The responses must be generated as the user types. Which model invocation approach is MOST suitable?
Medium72What is the main purpose of a system prompt in a large language model?
Easy73Which Amazon Titan model is specifically designed to convert text into numerical vectors for use in semantic search and Retrieval-Augmented Generation (RAG)?
Easy74A company is building a text classification system using embeddings. They need to choose between Amazon Titan Text Embeddings and Cohere Embed. The documents are in multiple languages, and the team requires strong cross-lingual performance without additional training. Which model is optimized for multilingual use cases?
Hard75A developer is using Amazon Bedrock to generate text responses. They want to reduce the randomness of the output and make the model more deterministic. Which parameter should the developer decrease?
Medium76A developer needs to choose a model on Amazon Bedrock for a text summarization task. The summaries must be accurate and concise, and the input documents are up to 5,000 tokens. Which model selection criteria should be prioritized?
Medium77A company wants to use Amazon Bedrock to generate product descriptions in multiple languages. They need the model to produce English, Spanish, and French descriptions with equal quality. Which model selection BEST meets this requirement?
Medium78A company needs to generate high-quality images from text descriptions for a marketing campaign. They need to ensure the images are photorealistic and that the model can generate variations of a given image. Which type of model should they use?
Hard79A machine learning engineer is implementing a RAG system using Amazon Bedrock and a vector database. They need to chunk a large set of PDF documents before embedding. Which THREE considerations are important for chunking strategy? (Select THREE.)
Medium80A company uses Amazon Bedrock to deploy a foundation model for a real-time chat application. Users report that responses are slow. Which optimization is MOST likely to reduce latency without degrading quality?
Hard81What does the temperature parameter control in a text generation model?
Easy82A startup is building a semantic search system over their product catalog using Amazon Bedrock. They want to convert product descriptions into vector embeddings and store them in a vector database for similarity search. Which TWO actions should they take? (Select TWO.)
Medium83A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
Medium84A financial services firm needs an LLM-powered application that analyzes customer transaction data and generates compliance reports. The data contains personally identifiable information (PII). The firm must ensure that no training data includes PII, and that the LLM never outputs PII. Which combination of AWS services and practices should they use?
Hard85A financial services company needs to deploy a chatbot that answers customer inquiries about account balances and transaction history. The chatbot must never reveal sensitive information from other customers. Which security measure should be implemented in the prompt?
Medium86A data scientist is evaluating whether to use fine-tuning or Retrieval-Augmented Generation (RAG) for a legal document analysis application. Which TWO statements correctly describe when to use each approach?
Medium87A team is designing a RAG system on Amazon Bedrock. They need to chunk a large set of PDF documents into smaller pieces for embedding. Which THREE considerations should guide their chunking strategy? (Choose three.)
Hard88An AI practitioner is fine-tuning an Amazon Titan Text model on a dataset of customer support conversations to improve response accuracy. After training, the model's perplexity on the validation set is low, but during inference, the model frequently generates off-topic or nonsensical responses to real customer queries. What is the most likely cause?
Hard89What is the primary role of the self-attention mechanism in the Transformer architecture?
Easy90A company is using Amazon Bedrock to build an application that requires very low latency responses (under 100ms). They are currently using a large model but need faster inference. Which model selection strategy is MOST appropriate?
Medium91A company is building a legal document search system. They need to find relevant documents based on natural language queries. Which TWO AWS services or features should they combine to implement this? (Select TWO.)
Medium92A developer is using the Amazon Bedrock Converse API to build a multi-turn chatbot. They notice that after several exchanges, the model starts to forget earlier context. What is the MOST likely cause?
Medium93A data scientist is using Amazon Bedrock to generate product descriptions. They notice the output is often repetitive and lacks creativity. Which combination of parameter adjustments is MOST likely to produce more diverse and less repetitive output?
Hard94An organization needs to generate high-quality images from text prompts for a marketing campaign. They require the ability to edit specific regions of an image (inpainting) and extend images beyond their original boundaries (outpainting). Which AWS service or model should they choose?
Medium95A company is building a search application that retrieves relevant documents based on semantic meaning rather than exact keyword matches. Which combination of services would BEST enable this capability?
Medium96A data scientist is using Amazon Bedrock to generate product descriptions. The current prompt produces inconsistent results; sometimes the descriptions are too verbose, other times too short. The scientist wants to reduce output variability and set a consistent tone. Which combination of parameters should be adjusted?
Hard97Which component of the Transformer architecture allows the model to weigh the importance of different tokens in the input sequence when generating each output token?
Easy98A company wants to use Amazon Bedrock to generate product images. They need to control the style (e.g., watercolor, oil painting) and ensure the images are safe for work (no inappropriate content). Which TWO features should they use? (Select TWO.)
Medium99A media company uses Amazon Bedrock to generate image captions. They notice that the output quality degrades when the input image contains text in non-Latin scripts. Which model type is MOST likely being used, and what is the likely cause?
Hard100What is the main advantage of using the Amazon Bedrock Converse API over the InvokeModel API for building conversational applications?
Easy101A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
Medium102A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
Medium103A developer is using Amazon Bedrock to generate responses from a foundation model and wants to receive the output as a stream to improve user experience. Which TWO statements about streaming responses are correct? (Select TWO.)
Medium104Which component of the Transformer architecture allows the model to weigh the importance of different words in an input sequence when generating each output token?
Easy105A startup is building a medical diagnosis assistant. They have a small dataset of doctor-patient conversations. Which approach should they take to minimize cost while ensuring the model understands medical terminology?
Medium106An AI practitioner is evaluating foundation models on Amazon Bedrock for a text summarization task. The input documents average 6,000 tokens. The model must process the entire document in a single pass without chunking. Which model capability is MOST critical for this requirement?
Medium107A developer wants to generate an image of a cat in a spacesuit using Amazon Bedrock. Which model provider should they choose?
Medium108A company needs to transcribe and summarize customer support calls in real time. They want to use a large language model (LLM) for summarization but the audio input is streaming. Which approach should they use?
Hard109A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
Medium110A developer wants to use Amazon Bedrock to build a chatbot that can maintain context across multiple turns of conversation. Which API should they use to simplify multi-turn interactions?
Medium111A company is using Amazon Bedrock to build a chatbot that must comply with data residency regulations. All data must remain in a specific AWS region. Which action is MOST important to meet this requirement?
Hard112A company needs to fine-tune a foundation model on a large dataset of proprietary documents. They are concerned about data privacy and want to ensure that no data leaves their AWS account. Which Amazon Bedrock feature should they use?
Hard113A developer is using the Amazon Bedrock Converse API to build a multi-turn conversational AI. They need to send a user message along with system instructions and previous conversation history. How should they structure the API request to include both system prompt and message history?
Medium114A company uses Amazon Bedrock to run a question-answering system over a large internal knowledge base. They currently use a RAG approach with Titan Embeddings to index documents and a separate LLM for generation. The team notices that the retrieval often returns irrelevant chunks, causing the LLM to produce incorrect answers. Which action would MOST directly improve retrieval relevance?
Medium115What is the primary advantage of the transformer architecture over previous RNN-based architectures for natural language processing tasks?
Easy116A developer is using the Amazon Bedrock Converse API to build a chat application. They want the model to maintain context across multiple turns. Which parameter should they set to ensure the conversation history is included?
Medium117A company is deploying a chatbot using Amazon Bedrock and wants to ensure that the model does not generate offensive or inappropriate content. Which THREE measures can they apply?
Hard118Which AWS service provides access to a wide variety of foundation models from different providers through a single API, without managing underlying infrastructure?
Easy119A company uses Amazon Titan Text Express for a real-time chat application. Users report that responses are too slow. The application uses the InvokeModel API with default settings. Which change is MOST likely to reduce latency?
Medium120A developer is using the Amazon Bedrock InvokeModel API with a model that has a context window of 8,000 tokens. The developer sends a prompt that is 7,500 tokens long and expects a response of about 1,000 tokens. The API call fails with an error indicating the input exceeds the model's context window. Why did this happen?
HardOther domains
All AIF-C01 exam domains
Frequently asked questions
- What does the Generative AI and Foundation Models domain cover on the AIF-C01 exam?
- Generative AI and Foundation Models questions test whether you can apply the concept in context, not just recognise a definition.
- How many questions are in this domain?
- This page lists all 120 Generative AI and Foundation Models questions in the AIF-C01 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Generative AI and Foundation Models questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.