Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Free Resources

Difficulty IndexLearn — Free ChaptersIT GlossaryFree Tools & LabsStudy GuidesCareer RoadmapsBrowse by VendorCisco Command ReferenceCCNA Scenarios

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

HomeCertificationsAIF-C01DomainsGenerative AI and Foundation Models
AIF-C01Free — No Signup

Generative AI and Foundation Models

Practice AIF-C01 Generative AI and Foundation Models questions with full explanations on every answer.

120questions

Start practicing

Generative AI and Foundation Models — choose a session length

10 questions~10 min20 questions~20 min30 questions~30 min50 questions~50 min

Free · No account required

AIF-C01 Domains

Applications of Foundation ModelsAI and ML FundamentalsSecurity, Compliance, and Governance for AI SolutionsFundamentals of AI and MLFundamentals of Generative AIGenerative AI and Foundation ModelsGuidelines for Responsible AISecurity, Compliance and Governance for AI Solutions

Practice Generative AI and Foundation Models questions

10Q20Q30Q50Q

All AIF-C01 Generative AI and Foundation Models questions (120)

Start session

Click any question to see the full explanation and answer options, or start a focused practice session above.

1

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?

2

Which component of the Transformer architecture allows the model to weigh the importance of different words in the input sequence when generating output?

3

A 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?

4

A 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?

5

A 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?

6

A 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?

7

Which of the following is a key advantage of using a pre-trained foundation model over training a model from scratch?

8

A 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?

9

A 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?

10

Which prompt engineering technique involves providing the model with a few examples of desired input-output pairs before asking it to complete a new instance?

11

A 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?

12

A 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?

13

A 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?

14

A 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?

15

A developer wants to use Amazon Bedrock to build a text summarization application. Which TWO of the following are required steps?

16

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?

17

Which component of the Transformer architecture allows the model to weigh the importance of different tokens in the input sequence when generating each output token?

18

A 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?

19

A 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?

20

A 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?

21

A 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?

22

Which 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?

23

A 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?

24

A 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?

25

A 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?

26

Which AWS service provides managed foundation models from providers like Anthropic, Meta, and Stability AI through a single API?

27

A 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?

28

A 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.)

29

A 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.)

30

A 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.)

31

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?

32

What is the primary role of the self-attention mechanism in the Transformer architecture?

33

A 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?

34

A 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?

35

A 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?

36

An 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?

37

Which of the following is a key advantage of using a diffusion model for image generation compared to a GAN?

38

A 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?

39

What is the main purpose of a system prompt in a large language model?

40

An 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?

41

A 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?

42

A 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?

43

A 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.)

44

A 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.)

45

A 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.)

46

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?

47

Which component of the Transformer architecture allows the model to weigh the importance of different words in a sequence when generating output?

48

A 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?

49

A 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?

50

What is the primary purpose of an embedding model in the context of RAG?

51

A 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?

52

A 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?

53

A 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?

54

Which AWS service provides access to a wide variety of foundation models from different providers through a single API, without managing underlying infrastructure?

55

A 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?

56

A 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?

57

A 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?

58

A 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)

59

A 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)

60

A 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)

61

A 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?

62

A 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?

63

Which of the following is a key benefit of using foundation models over training a model from scratch for natural language tasks?

64

A 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?

65

A 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?

66

What is the primary purpose of an embedding model in the context of semantic search?

67

A 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?

68

A 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?

69

Which component of the Transformer architecture allows the model to weigh the importance of different words in a sentence when generating output?

70

A 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?

71

A 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?

72

What is the main advantage of using the Amazon Bedrock Converse API over the InvokeModel API for building conversational applications?

73

A 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.)

74

A 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.)

75

A 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.)

76

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?

77

Which component of the Transformer architecture allows the model to weigh the importance of different tokens in the input sequence when generating output?

78

A 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?

79

A 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?

80

A data scientist needs to convert text into numerical vectors for semantic search. Which type of foundation model should they use?

81

A 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?

82

A 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?

83

A 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?

84

Which Amazon Bedrock model provider offers the Titan family of models, including Titan Text Lite, Titan Text Express, and Titan Image Generator?

85

A developer wants to generate an image of a cat in a spacesuit using Amazon Bedrock. Which model provider should they choose?

86

A 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?

87

A developer needs to ensure that a generative AI application on Amazon Bedrock does not produce harmful or inappropriate content. Which feature should they configure?

88

A 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.)

89

A 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.)

90

A 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.)

91

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?

92

What is the primary advantage of the transformer architecture over previous RNN-based architectures for natural language processing tasks?

93

A 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?

94

A 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?

95

What does the temperature parameter control in a text generation model?

96

A 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?

97

A 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?

98

A 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?

99

An 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?

100

Which of the following correctly describes the purpose of pre-training in the context of large language models?

101

A 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?

102

A 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?

103

A 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.)

104

A 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.)

105

A 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.)

106

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?

107

Which component of the Transformer architecture allows the model to weigh the importance of different words in an input sequence when generating each output token?

108

A 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?

109

A 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?

110

A 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?

111

Which Amazon Titan model is specifically designed to convert text into numerical vectors for use in semantic search and Retrieval-Augmented Generation (RAG)?

112

A 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.)

113

A 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.)

114

A 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.)

115

A 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.)

116

A 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.)

117

A 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.)

118

A developer is new to Amazon Bedrock and wants to understand the components of tokenization and context windows. Which TWO statements are correct? (Select TWO.)

119

A 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.)

120

A 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.)

Practice all 120 Generative AI and Foundation Models questions

Other AIF-C01 exam domains

Applications of Foundation ModelsAI and ML FundamentalsSecurity, Compliance, and Governance for AI SolutionsFundamentals of AI and MLFundamentals of Generative AIGuidelines for Responsible AISecurity, Compliance and Governance for AI Solutions

Frequently asked questions

What does the Generative AI and Foundation Models domain cover on the AIF-C01 exam?

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.

How many Generative AI and Foundation Models questions are in the AIF-C01 question bank?

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.

What is the best way to practice Generative AI and Foundation Models for AIF-C01?

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.

Can I practice only Generative AI and Foundation Models questions for AIF-C01?

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.

Free forever · No credit card required

Track your AIF-C01 domain progress

Save your results, see per-domain analytics, and get readiness scores — free, for every certification.

Sign Up Free

Free forever · Every certification included

Practice Session

10 questions20 questions30 questions50 questions

Study Resources

All DomainsPractice TestMock ExamFlashcardsStudy Guide