Practice AIF-C01 Generative AI and Foundation Models questions with full explanations on every answer.
Start practicing
Generative AI and Foundation Models — choose a session length
Free · No account required
Click any question to see the full explanation and answer options, or start a focused practice session above.
A 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?
2Which component of the Transformer architecture allows the model to weigh the importance of different words in the input sequence when generating output?
3A 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?
4A 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?
5A 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?
6A 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?
7Which of the following is a key advantage of using a pre-trained foundation model over training a model from scratch?
8A 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?
9A 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?
10Which prompt engineering technique involves providing the model with a few examples of desired input-output pairs before asking it to complete a new instance?
11A 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?
12A 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?
13A 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?
14A 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?
15A developer wants to use Amazon Bedrock to build a text summarization application. Which TWO of the following are required steps?
16A 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?
17Which component of the Transformer architecture allows the model to weigh the importance of different tokens in the input sequence when generating each output token?
18A 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?
19A 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?
20A 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?
21A 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?
22Which 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?
23A 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?
24A 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?
25A 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?
26Which AWS service provides managed foundation models from providers like Anthropic, Meta, and Stability AI through a single API?
27A 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?
28A 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.)
29A 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.)
30A 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.)
31A 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?
32What is the primary role of the self-attention mechanism in the Transformer architecture?
33A 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?
34A 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?
35A 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?
36An 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?
37Which of the following is a key advantage of using a diffusion model for image generation compared to a GAN?
38A 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?
39What is the main purpose of a system prompt in a large language model?
40An 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?
41A 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?
42A 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?
43A 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.)
44A 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.)
45A 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.)
46A 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?
47Which component of the Transformer architecture allows the model to weigh the importance of different words in a sequence when generating output?
48A 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?
49A 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?
50What is the primary purpose of an embedding model in the context of RAG?
51A 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?
52A 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?
53A 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?
54Which AWS service provides access to a wide variety of foundation models from different providers through a single API, without managing underlying infrastructure?
55A 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?
56A 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?
57A 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?
58A 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)
59A 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)
60A 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)
61A 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?
62A 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?
63Which of the following is a key benefit of using foundation models over training a model from scratch for natural language tasks?
64A 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?
65A 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?
66What is the primary purpose of an embedding model in the context of semantic search?
67A 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?
68A 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?
69Which component of the Transformer architecture allows the model to weigh the importance of different words in a sentence when generating output?
70A 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?
71A 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?
72What is the main advantage of using the Amazon Bedrock Converse API over the InvokeModel API for building conversational applications?
73A 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.)
74A 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.)
75A 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.)
76A 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?
77Which component of the Transformer architecture allows the model to weigh the importance of different tokens in the input sequence when generating output?
78A 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?
79A 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?
80A data scientist needs to convert text into numerical vectors for semantic search. Which type of foundation model should they use?
81A 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?
82A 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?
83A 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?
84Which Amazon Bedrock model provider offers the Titan family of models, including Titan Text Lite, Titan Text Express, and Titan Image Generator?
85A developer wants to generate an image of a cat in a spacesuit using Amazon Bedrock. Which model provider should they choose?
86A 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?
87A developer needs to ensure that a generative AI application on Amazon Bedrock does not produce harmful or inappropriate content. Which feature should they configure?
88A 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.)
89A 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.)
90A 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.)
91A 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?
92What is the primary advantage of the transformer architecture over previous RNN-based architectures for natural language processing tasks?
93A 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?
94A 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?
95What does the temperature parameter control in a text generation model?
96A 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?
97A 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?
98A 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?
99An 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?
100Which of the following correctly describes the purpose of pre-training in the context of large language models?
101A 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?
102A 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?
103A 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.)
104A 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.)
105A 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.)
106A 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?
107Which component of the Transformer architecture allows the model to weigh the importance of different words in an input sequence when generating each output token?
108A 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?
109A 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?
110A 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?
111Which Amazon Titan model is specifically designed to convert text into numerical vectors for use in semantic search and Retrieval-Augmented Generation (RAG)?
112A 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.)
113A 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.)
114A 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.)
115A 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.)
116A 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.)
117A 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.)
118A developer is new to Amazon Bedrock and wants to understand the components of tokenization and context windows. Which TWO statements are correct? (Select TWO.)
119A 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.)
120A 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.)
The Generative AI and Foundation Models domain covers the key concepts tested in this area of the AIF-C01 exam blueprint published by Amazon Web Services. Courseiva provides free domain-focused practice, mock exams, missed-question review, and readiness tracking across all AIF-C01 domains — no account required.
The Courseiva AIF-C01 question bank contains 120 questions in the Generative AI and Foundation Models domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Generative AI and Foundation Models domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included