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

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.

← Fundamentals of Generative AI practice sets

AIF-C01 Fundamentals of Generative AI • Complete Question Bank

AIF-C01 Fundamentals of Generative AI — All Questions With Answers

Complete AIF-C01 Fundamentals of Generative AI question bank — all 0 questions with answers and detailed explanations.

117
Questions
Free
No signup
Certifications/AIF-C01/Practice Test/Fundamentals of Generative AI/All Questions
Question 1mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

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

Question 2easymultiple choice
Read the full Fundamentals of Generative AI explanation →

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?

Question 3hardmultiple choice
Read the full NAT/PAT explanation →

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?

Question 4easymultiple choice
Read the full Fundamentals of Generative AI explanation →

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?

Question 5mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

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?

Question 6hardmultiple choice
Read the full NAT/PAT explanation →

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?

Question 7easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is using Amazon Bedrock's Claude model to summarize long documents. The developer notices that the summaries sometimes miss key points. Which parameter adjustment is most likely to improve summary completeness?

Question 8mediummulti select
Read the full Fundamentals of Generative AI explanation →

A company is building a generative AI application using Amazon Bedrock and needs to ensure that the model does not generate outputs containing personally identifiable information (PII). Which TWO actions should the company take? (Choose 2)

Question 9hardmulti select
Read the full Fundamentals of Generative AI explanation →

A research team is using Amazon SageMaker to fine-tune a large language model. They want to optimize training cost and time without sacrificing model quality. Which THREE strategies should they implement? (Choose 3)

Question 10mediummulti select
Read the full Fundamentals of Generative AI explanation →

A company is deploying a generative AI model on Amazon Bedrock and needs to monitor for potential misuse. Which THREE measures should they implement? (Choose 3)

Question 11mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is building a chatbot using Amazon Bedrock. They want to ensure the model's responses are grounded in their internal knowledge base and avoid generating information outside that scope. Which feature should they use?

Question 12hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A data scientist is fine-tuning a large language model on Amazon SageMaker for a text summarization task. The training loss decreases steadily but the validation loss starts increasing after a few epochs. What should the scientist do to address this issue?

Question 13easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A startup wants to generate product descriptions from a few keywords using a foundation model. They need a fully managed serverless solution that requires no infrastructure setup. Which AWS service should they use?

Question 14mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is using the Amazon Bedrock API to generate text. They notice that the model sometimes returns harmful content despite setting safety parameters. What is the BEST way to add an additional layer of content filtering?

Question 15hardmultiple choice
Read the full NAT/PAT explanation →

A team is deploying a generative AI model for medical report generation. They must ensure patient data privacy and comply with HIPAA. Which AWS service feature is essential for de-identifying protected health information (PHI) before sending data to a foundation model?

Question 16easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A company wants to use a pre-trained generative AI model to analyze customer feedback. They need to adjust the model for their specific domain without retraining from scratch. Which approach is MOST suitable?

Question 17hardmulti select
Read the full Fundamentals of Generative AI explanation →

A company is using Amazon Bedrock to generate creative marketing copy. They want to reduce the randomness of the output while maintaining diversity. Which TWO parameters should they adjust?

Question 18mediummulti select
Read the full Fundamentals of Generative AI explanation →

A data science team is evaluating foundation models for a code generation task. They need a model that is fine-tuned for code and can be deployed on Amazon SageMaker. Which THREE criteria are important to consider when selecting a model?

Question 19hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer attached this IAM policy to a role used by an application that invokes Claude v2 in us-east-1. The application receives an access denied error. What is the MOST likely cause?

Exhibit

Refer to the exhibit.

```
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "bedrock:InvokeModel",
      "Resource": "arn:aws:bedrock:us-east-1:123456789012:model/anthropic.claude-v2"
    },
    {
      "Effect": "Deny",
      "Action": "bedrock:InvokeModel",
      "Resource": "arn:aws:bedrock:us-east-1:123456789012:model/anthropic.claude-v2",
      "Condition": {
        "StringNotEquals": {
          "aws:RequestedRegion": "us-east-1"
        }
      }
    }
  ]
}
```
Question 20mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is using the Amazon Bedrock InvokeModel API with the above request to summarize meeting notes. The response is a single word repeated many times. Which parameter is MOST likely causing this issue?

Exhibit

Refer to the exhibit.

```
{
  "modelId": "amazon.titan-text-lite-v1",
  "contentType": "application/json",
  "accept": "application/json",
  "body": {
    "inputText": "Summarize the following meeting notes: ...",
    "textGenerationConfig": {
      "maxTokenCount": 100,
      "stopSequences": [],
      "temperature": 0,
      "topP": 0.9
    }
  }
}
```
Question 21hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A financial services company is deploying a generative AI model on Amazon SageMaker for real-time fraud detection. The model, a fine-tuned Llama 2 7B, must respond to transaction requests within 500 milliseconds. The team has deployed the model using a SageMaker real-time endpoint with a single ml.g5.2xlarge instance. During load testing, the endpoint achieves an average latency of 450 ms at 10 requests per second (RPS), but the latency spikes to over 2 seconds at 20 RPS. The team needs to maintain sub-500 ms latency at up to 50 RPS. The model is too large to fit on a single GPU, so they are using CPU instances. They considered using a larger instance type but want to minimize cost. What should the team do to meet the latency requirement cost-effectively?

Question 22mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A media company is using Amazon Bedrock to generate captions for images. They have a batch processing pipeline that sends thousands of images daily to the Bedrock API using the Titan Image Generator G1 model. Recently, they started receiving ThrottlingException errors during peak hours. The team needs to process all images within 24 hours without changing the model or the application code. The current account has a default quota of 10 requests per second (RPS) for the Titan model in us-east-1. The team estimates they need 50 RPS during peak hours. They have already implemented exponential backoff in the client, but the errors persist. What is the MOST effective solution to resolve the throttling issue?

Question 23easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A company wants to generate product descriptions from a few keywords without managing infrastructure. Which AWS service provides a serverless API for accessing foundation models?

Question 24mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A data scientist is evaluating foundation models for a text summarization task and wants to use a standard metric. Which metric is commonly used to assess the quality of generated summaries?

Question 25hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is building a chatbot that must provide accurate answers based on internal documents without retraining the model. Which approach should they use?

Question 26easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer wants to test different foundation models quickly without setting up infrastructure. Which AWS service allows interactive prompting and comparison of multiple models?

Question 27mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A machine learning engineer notices that a generative AI model occasionally produces biased outputs. Which AWS feature can automatically filter harmful content before it reaches users?

Question 28hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A team is using Amazon Bedrock with a Claude model and wants to ensure responses adhere to a specific output format such as JSON. Which technique should be applied?

Question 29easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A startup wants to integrate a generative AI chatbot into their mobile app with minimal latency. Which AWS service is purpose-built for deploying foundation models with low latency and high throughput?

Question 30mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company wants to personalize its generative AI model for its specific domain without sharing data with third-party model providers. Which method should they use?

Question 31hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is using Amazon Bedrock's Converse API to build a multi-turn conversation. They notice the model forgets earlier context after a few exchanges. What is the most likely cause?

Question 32easymulti select
Read the full NAT/PAT explanation →

Which TWO actions are best practices for reducing hallucinations in generative AI models? (Choose 2)

Question 33mediummulti select
Read the full Fundamentals of Generative AI explanation →

Which THREE are key capabilities of Amazon Bedrock? (Choose 3)

Question 34hardmulti select
Read the full Fundamentals of Generative AI explanation →

Which TWO factors are most important when selecting a foundation model for a sentiment analysis task? (Choose 2)

Question 35easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer runs this AWS CLI command to invoke a model in us-west-2 but receives an error: 'An error occurred (ModelNotFoundException) when calling the InvokeModel operation: Model not found'. What is the most likely cause?

Network Topology
body '{"prompt": "Human: Summarize the following: ..."}'aws bedrock-runtime invoke-modelmodel-id "anthropic.claude-v2"content-type "application/json" region us-west-2Refer to the exhibit.```
Question 36mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A user has this IAM policy and attempts to invoke the model in the us-west-2 region. They receive an AccessDenied error. What is the reason?

Exhibit

Refer to the exhibit.
```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "bedrock:InvokeModel",
      "Resource": "arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-v2"
    }
  ]
}
```
Question 37hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer deployed this guardrail to block sensitive topics and sexual content. However, the model still generates responses about a specific sensitive topic that is not in the TopicPolicy. What should the developer do to prevent this?

Exhibit

Refer to the exhibit.
```yaml
Resources:
  MyGuardrail:
    Type: AWS::Bedrock::Guardrail
    Properties:
      Name: my-guardrail
      TopicPolicy:
        Topics:
          - Name: sensitive-topic
            Definition: "Do not discuss sensitive topics."
            Type: DENY
      ContentPolicy:
        Filters:
          - Type: SEXUAL
            InputStrength: HIGH
            OutputStrength: HIGH
```
Question 38easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is building a customer service chatbot using Amazon Bedrock. Which component of a foundation model determines the creativity and randomness of the generated responses?

Question 39mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A retail company wants to generate product descriptions from catalog data. The data includes structured attributes (e.g., price, brand) and unstructured reviews. The team needs to ensure factual accuracy. Which approach is most appropriate?

Question 40hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A data scientist is deploying a fine-tuned Mistral model on Amazon Bedrock. After deployment, inference latency is too high for real-time applications. Which configuration change can reduce latency without significantly impacting output quality?

Question 41easymultiple choice
Read the full Fundamentals of Generative AI explanation →

Which AWS service provides a serverless experience for building and scaling generative AI applications with access to various foundation models?

Question 42mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A startup is building an AI-powered code assistant using a large language model (LLM). They want to ensure the model generates syntactically correct code and avoids security vulnerabilities. Which technique should they prioritize?

Question 43hardmultiple choice
Read the full NAT/PAT explanation →

A bank is using Amazon Bedrock to summarize customer support transcripts. The summaries often contain factual inaccuracies (hallucinations). Which approach is most effective for reducing hallucinations?

Question 44mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A media company uses a foundation model on Amazon Bedrock to generate article summaries. The model occasionally omits important details. Which prompt engineering technique is most likely to improve completeness?

Question 45hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A company fine-tunes a foundation model using SageMaker to create a domain-specific chatbot. After deployment on Bedrock, the model shows high confidence in incorrect answers. What is the most likely cause and its solution?

Question 46easymultiple choice
Read the full Fundamentals of Generative AI explanation →

What is a foundation model?

Question 47mediummulti select
Read the full Fundamentals of Generative AI explanation →

Which TWO strategies can help reduce inference costs when using Amazon Bedrock? (Select TWO.)

Question 48hardmulti select
Read the full Fundamentals of Generative AI explanation →

Which TWO practices help ensure responsible AI when deploying generative AI applications? (Select TWO.)

Question 49mediummulti select
Read the full Fundamentals of Generative AI explanation →

Which THREE steps are typically involved in fine-tuning a foundation model? (Select THREE.)

Question 50hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

Refer to the exhibit. A developer runs the CLI command to summarize text using Claude v2 in Bedrock. The output is shorter than expected. Which change should the developer make to allow a longer response?

Exhibit

aws bedrock-runtime invoke-model \
  --model-id anthropic.claude-v2 \
  --body '{"prompt":"\n\nHuman: Summarize the following text: ...\n\nAssistant:","max_tokens_to_sample":200}' \
  --cli-binary-format raw-in-base64-out \
  --region us-east-1 \
  output.json

The output.json file contains:
{"completion": " The summary is...", "stop_reason": "stop_sequence"}
Question 51mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

Refer to the exhibit. A company sets up a knowledge base for a customer support chatbot using Amazon Bedrock. Users report that the chatbot misses relevant details from long documents. Which change to the data source configuration would most likely improve retrieval?

Exhibit

AWS CloudFormation template snippet:
Resources:
  BedrockKnowledgeBase:
    Type: AWS::Bedrock::KnowledgeBase
    Properties:
      Name: support-kb
      RoleArn: arn:aws:iam::123456789012:role/BedrockKnowledgeBaseRole
      KnowledgeBaseConfiguration:
        Type: VECTOR
        VectorKnowledgeBaseConfiguration:
          EmbeddingModelArn: arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-embed-text-v1
      StorageConfiguration:
        Type: OPENSEARCH_SERVERLESS
        OpensearchServerlessConfiguration:
          CollectionArn: arn:aws:aoss:us-east-1:123456789012:collection/abc123
          FieldMapping:
            MetadataField: metadata
            TextField: text
  DataSource:
    Type: AWS::Bedrock::DataSource
    Properties:
      KnowledgeBaseId: !Ref BedrockKnowledgeBase
      Name: s3-source
      DataSourceConfiguration:
        Type: S3
        S3Configuration:
          BucketArn: arn:aws:s3:::my-docs-bucket
      VectorIngestionConfiguration:
        ChunkingConfiguration:
          ChunkingStrategy: FIXED_SIZE
Question 52hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

Refer to the exhibit. A developer receives an error when trying to invoke the Claude Instant model from an application. The application uses the IAM role 'MyAppRole'. Which IAM policy statement should be added to the role to resolve the error?

Exhibit

Error log from Amazon Bedrock:
{
  "error": "AccessDeniedException",
  "message": "User: arn:aws:iam::123456789012:role/MyAppRole is not authorized to perform: bedrock:InvokeModel on resource: arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-instant-v1"
}
Question 53easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A company wants to build a generative AI application that can summarize customer support tickets. They need to ensure the model stays up-to-date with the latest product documentation without retraining. Which AWS service would best support this requirement?

Question 54hardmultiple choice
Read the full NAT/PAT explanation →

A healthcare startup is using Amazon Bedrock to generate clinical notes. They must prevent the model from outputting any personally identifiable information (PII) such as patient names. What is the most effective approach?

Question 55easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is testing different prompts for a text generation model on Amazon Bedrock. Which parameter controls the randomness of the model's output?

Question 56mediummulti select
Read the full Fundamentals of Generative AI explanation →

A company is using Amazon Bedrock to generate marketing copy. They want to ensure the output is safe and appropriate. Which TWO actions should they take? (Choose 2.)

Question 57hardmulti select
Read the full Fundamentals of Generative AI explanation →

An organization is evaluating different foundation models (FMs) on Amazon Bedrock for a legal document analysis task. Which THREE factors should they consider when selecting a model? (Choose 3.)

Question 58easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer invoked an Amazon Bedrock model and received this output. What does the stopReason field indicate?

Exhibit

Refer to the exhibit.

Exhibit:
```
{
  "outputText": "The quick brown fox...",
  "stopReason": "max_tokens"
}
```
Question 59hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A data scientist is unable to invoke the Claude v2 model from an EC2 instance with IP 10.0.1.5. What is the most likely reason?

Exhibit

Refer to the exhibit.

Exhibit:
```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "bedrock:InvokeModel",
      "Resource": "arn:aws:bedrock:us-east-1:123456789012:model/anthropic.claude-v2",
      "Condition": {
        "IpAddress": {"aws:SourceIp": "10.0.0.0/8"}
      }
    }
  ]
}
```
Question 60mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company wants to use Amazon Bedrock to generate images from text descriptions. Which model should they use?

Question 61hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A machine learning team is fine-tuning a foundation model using Amazon SageMaker. They need to optimize training time and cost. Which approach should they take?

Question 62mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

An application uses this configuration to enable RAG. What is required for the knowledge base to function?

Exhibit

Refer to the exhibit.

Exhibit:
```json
"KnowledgeBaseConfiguration": {
  "type": "SEMANTIC",
  "vectorKnowledgeBaseConfiguration": {
    "embeddingModelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-embed-text-v1"
  }
}
```
Question 63easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer wants to test different prompt variations for a chatbot without making repeated API calls. Which Amazon Bedrock feature can help compare model responses?

Question 64mediummulti select
Read the full Fundamentals of Generative AI explanation →

A company is deploying a customer-facing chatbot using Amazon Bedrock. They want to reduce the risk of generating biased or harmful responses. Which TWO measures should they implement? (Choose 2.)

Question 65mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer invoked an Amazon Bedrock model and received the following error: 'ValidationException: 1 validation error detected: Value 'claude-instant-v1' at 'modelId' failed to satisfy constraint: Member must satisfy enum value set: [ai21.j2-mid-v1, amazon.titan-text-lite-v1, anthropic.claude-v2, ...]'. What is the likely cause?

Question 66hardmultiple choice
Read the full NAT/PAT explanation →

A research team needs to generate high-quality images with Amazon Bedrock that are realistic and consistent with a specific artistic style. Which combination of parameters should they use?

Question 67easymultiple choice
Read the full Fundamentals of Generative AI explanation →

Which AWS service provides a fully managed experience for building generative AI applications with a variety of foundation models through a unified API?

Question 68easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is using Amazon Bedrock to generate marketing copy. They want to ensure the model's responses are factually accurate and grounded in their proprietary knowledge base. Which feature should they use?

Question 69mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is building a chatbot using Amazon Bedrock and Claude. They notice that the model sometimes generates harmful or biased responses. Which AWS service can they use to implement guardrails?

Question 70hardmultiple choice
Read the full NAT/PAT explanation →

A company wants to use a large language model to generate code based on natural language descriptions. They need to minimize latency and control costs by running inference on their own infrastructure. Which approach is most suitable?

Question 71easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A data scientist wants to fine-tune a foundation model on a specific domain dataset using Amazon SageMaker. Which built-in SageMaker feature can simplify the training process?

Question 72mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is using Amazon Bedrock to summarize long documents. They notice that the summary sometimes omits key details. What is the most likely cause?

Question 73hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

An enterprise wants to ensure that generative AI applications built on AWS comply with data privacy regulations. They need to prevent the model from using customer data in future training. Which feature of Amazon Bedrock should they enable?

Question 74easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is building an application that generates product descriptions from images using a multimodal model. Which AWS service provides access to multimodal foundation models?

Question 75mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company wants to automate the extraction of key information from customer support tickets using generative AI. They have a small labeled dataset. Which approach would be most effective?

Question 76hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A team is developing a real-time code completion feature using an LLM deployed on Amazon SageMaker. They observe high latency under load. Which optimization technique should they prioritize?

Question 77mediummulti select
Read the full Fundamentals of Generative AI explanation →

Which TWO AWS services can be used to build a chatbot that responds to customer inquiries using a company's documentation as source? (Select two.)

Question 78hardmulti select
Read the full Fundamentals of Generative AI explanation →

A company wants to evaluate the performance of a generative AI model before deployment. Which TWO metrics are most relevant for measuring model quality? (Select two.)

Question 79easymulti select
Read the full Fundamentals of Generative AI explanation →

Which THREE factors should be considered when selecting a foundation model for a text generation task? (Select three.)

Question 80mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

Refer to the exhibit. A user invoked a Claude model using provisioned throughput and received a ThrottlingException. Which is the most likely cause?

Exhibit

{
  "eventTime": "2024-03-15T12:00:00Z",
  "eventSource": "bedrock.amazonaws.com",
  "eventName": "InvokeModel",
  "requestParameters": {
    "modelId": "anthropic.claude-v2",
    "body": "{\"prompt\":\"Human: ...\",\"max_tokens\":500}",
    "inferenceType": "PROVISIONED"
  },
  "responseElements": {},
  "errorCode": "ThrottlingException",
  "errorMessage": "Rate exceeded"
}
Question 81hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

Refer to the exhibit. A developer is optimizing latency for a generative AI model deployed on SageMaker. Based on the exhibit, which change would most likely reduce per-token latency?

Exhibit

A SageMaker notebook cell output:
"Model size: 7B parameters\nInference time on ml.g5.2xlarge: 250ms per token\nBatch size: 1\nMemory utilization: 90%"
Question 82easymultiple choice
Read the full Fundamentals of Generative AI explanation →

Refer to the exhibit. A developer wants to choose a model that can generate text (not just embeddings) and has the lowest cost. Based on the exhibit, which model should they select?

Network Topology
Command: aws bedrock list-foundation-modelsregion us-east-1query "modelSummaries[?provider=='Amazon'].{modelId:modelIdoutput table|AWS CLI command and output:Output:| modelId | name |
Question 83mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is building a customer support chatbot using Amazon Bedrock. They have a large corpus of internal documentation and want to provide accurate answers without retraining the model. Which approach should they use?

Question 84easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer wants to generate product description images using Amazon Bedrock. They need to ensure the generated images match a specific brand style. Which feature should they primarily use?

Question 85hardmultiple choice
Read the full NAT/PAT explanation →

A financial services company is subject to strict regulatory requirements. They plan to use generative AI to summarize customer interaction logs. Which combination of AWS services and configurations best ensures compliance while maintaining accuracy?

Question 86mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is using Amazon Bedrock to generate code snippets. They notice the model occasionally generates code that fails to compile. What is the most effective way to improve code quality without retraining?

Question 87hardmultiple choice
Read the full NAT/PAT explanation →

A healthcare organization wants to use generative AI to draft clinical notes from patient-physician conversations. They must comply with HIPAA and minimize false medical information. Which approach should they take?

Question 88easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A startup wants to quickly prototype a generative AI application for summarizing news articles. They have limited ML expertise and want minimal infrastructure management. Which AWS service should they use?

Question 89mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company uses Amazon Bedrock to generate marketing content. They want to reduce costs while maintaining response quality. Which action is most effective?

Question 90easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is using Amazon Bedrock to create a chatbot. They want to ensure the bot does not generate toxic or offensive content. Which feature should they enable?

Question 91hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A company operates in a region where Amazon Bedrock is not available. They want to use generative AI but must keep data within the country. Which solution should they consider?

Question 92easymulti select
Read the full NAT/PAT explanation →

Which TWO actions can help reduce the likelihood of hallucinations in a generative AI model used for question answering?

Question 93mediummulti select
Read the full Fundamentals of Generative AI explanation →

Which TWO factors are most important when selecting a foundation model in Amazon Bedrock for a text summarization task with strict latency requirements?

Question 94hardmulti select
Read the full Fundamentals of Generative AI explanation →

Which THREE considerations are essential when deploying a generative AI application in a regulated industry such as healthcare?

Question 95hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is building a generative AI application to personalize email marketing campaigns. They use Amazon Bedrock with Anthropic Claude 3 Sonnet. The system takes customer data (name, purchase history) from an Amazon DynamoDB table and generates a personalized email body. During testing, the team notices that some emails contain factually incorrect information, such as recommending products the customer never purchased. The DynamoDB table is queried correctly and the correct data is passed to the model. The prompts include the customer data as context. The team has already tried adjusting the temperature and top-p parameters, but the issue persists.

They need to improve the factual accuracy of the generated emails without significantly increasing latency or cost. The application is currently deployed on a single AWS Lambda function that invokes Bedrock. The DynamoDB table is small (few thousand records).

Which course of action should the team take?

Question 96easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A company wants to build a generative AI application that generates personalized marketing emails based on customer data. They have a small dataset of past emails. Which AWS service should they use to fine-tune a foundation model with their data?

Question 97mediummultiple choice
Read the full NAT/PAT explanation →

A company deployed a question-answering system using Amazon Bedrock with a knowledge base (RAG). Users report that the model often hallucinates facts not in the knowledge base. What is the most effective way to reduce hallucinations?

Question 98hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A company is building a multi-step AI agent using Amazon Bedrock Agents to automate a complex business process that requires memory across interactions. The agent needs to remember user preferences and previous steps. Which approach best maintains state across sessions?

Question 99mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A media company runs batch inference jobs to generate captions for thousands of images weekly using a foundation model on Amazon Bedrock. They want to minimize costs while maintaining predictable throughput. Which pricing option should they choose?

Question 100easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A developer is building a customer-facing chatbot using Amazon Bedrock. To ensure the chatbot does not generate offensive or inappropriate content, which AWS feature should they implement?

Question 101hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A data scientist fine-tuned a large language model on Amazon SageMaker for financial report generation. The model produces responses that are too short and incomplete, often cutting off mid-sentence. What parameter should be adjusted first?

Question 102mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company wants to build a customer support chatbot that answers questions based on a large internal knowledge base. Which AWS service is most suitable for implementing RAG to retrieve relevant documents?

Question 103mediummulti select
Read the full Fundamentals of Generative AI explanation →

Which TWO actions would improve the grounding of responses from a generative AI model using RAG? (Choose 2)

Question 104hardmulti select
Read the full Fundamentals of Generative AI explanation →

Which THREE are best practices for building a secure and scalable generative AI application using Amazon Bedrock? (Choose 3)

Question 105easymulti select
Read the full Fundamentals of Generative AI explanation →

Which TWO are benefits of using Amazon SageMaker JumpStart for foundation models? (Choose 2)

Question 106mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A company deployed a chatbot using Amazon Lex integrated with a Lambda function that invokes Claude on Amazon Bedrock. The Lambda function retrieves relevant documents from an Amazon Kendra index to use as context. Users report that the chatbot's responses are often irrelevant or incorrect despite the Kendra index containing accurate information. The logs show that the Lambda function is correctly passing retrieved documents to the model. What is the most likely cause and solution?

Question 107hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A startup is fine-tuning a large language model (LLM) for code generation using Amazon SageMaker. They are using a p4d.24xlarge instance with a single GPU. The training process is extremely slow, taking over 48 hours for one epoch. The dataset is 10GB of code snippets. The company needs to iterate quickly. Which action would most significantly reduce training time without sacrificing model quality?

Question 108easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A company uses Amazon Bedrock Agents to build an agent that interacts with users through a chat interface. The agent is configured with a knowledge base containing product documentation. Sometimes the agent fails to answer simple questions like 'What is your return policy?' and instead says it cannot find the answer. The knowledge base does contain the return policy. What is the most likely reason?

Question 109mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A financial services firm fine-tuned a generative AI model on Amazon SageMaker to summarize quarterly reports. The summaries often miss key financial metrics such as revenue and profit margins. The fine-tuning dataset contained full reports with summaries that included these metrics. The model appears to understand the reports but omits critical numbers. Which course of action would most likely improve the summaries?

Question 110hardmultiple choice
Read the full NAT/PAT explanation →

A healthcare company wants to use generative AI to automatically generate patient summary reports from electronic health records (EHRs). The solution must be HIPAA compliant and data must not leave AWS. They plan to use Amazon Bedrock with a foundation model. The EHR data is stored in Amazon S3 and contains protected health information (PHI). Which approach best meets compliance requirements?

Question 111mediummulti select
Read the full Fundamentals of Generative AI explanation →

A company is building a generative AI application to generate product descriptions from customer reviews. They want to use Amazon Bedrock to access a foundation model. Which TWO actions should the company take to ensure responsible AI practices?

Question 112easymultiple choice
Read the full Fundamentals of Generative AI explanation →

A startup is building a customer support chatbot using Amazon Bedrock with the Claude foundation model. The chatbot needs to answer questions based on a knowledge base of frequently asked questions (FAQs) stored in an Amazon S3 bucket. The team wants to implement Retrieval Augmented Generation (RAG) to provide accurate and context-aware responses. They are evaluating different approaches to integrate the knowledge base. What is the most efficient way to implement RAG with Bedrock?

Question 113mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

A financial services company wants to generate personalized investment recommendations using a large language model via Amazon Bedrock. They have customer data that includes risk tolerance, portfolio holdings, and financial goals. The company is highly concerned about data privacy and must avoid exposing sensitive personally identifiable information (PII) to the model. They plan to use a foundation model to generate recommendations based on customer profiles. What is the best approach to protect customer privacy while still enabling personalization?

Question 114hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A research lab is using Amazon SageMaker to fine-tune a large language model (LLM) for scientific text summarization. The training dataset contains 10 million documents, and the lab has a limited budget but needs to minimize training time. They have access to SageMaker Training with managed spot instances, which offer significant cost savings but are interruptible. The team is considering different training strategies to balance cost, time, and model quality. Which strategy should they use?

Question 115easymulti select
Read the full Fundamentals of Generative AI explanation →

Which TWO of the following are key advantages of using Amazon Bedrock for building generative AI applications?

Question 116mediummultiple choice
Read the full Fundamentals of Generative AI explanation →

Refer to the exhibit. A developer has attached this IAM policy to their user. When trying to invoke the Anthropic Claude v2 model using the Bedrock runtime, they receive an AccessDeniedException. Which change to the policy would resolve the issue?

Exhibit

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "bedrock:InvokeModel",
            "Resource": "arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-text-lite-v1"
        }
    ]
}
Question 117hardmultiple choice
Read the full Fundamentals of Generative AI explanation →

A company operates a customer support chatbot that uses Amazon Bedrock with a knowledge base sourced from an S3 bucket containing frequently updated product documentation. The knowledge base uses OpenSearch Serverless as the vector store and is configured to sync daily. The chatbot uses the RetrieveAndGenerate API with a custom Lambda function that applies a system prompt instructing the model to base answers solely on the retrieved context. After a major update to the product documentation, the IT team verifies that the data source sync completed successfully and the new chunks are present in the OpenSearch index. However, the chatbot continues to respond with outdated information. Further investigation reveals that the Lambda function includes a response caching mechanism using Amazon ElastiCache for Redis with a Time-To-Live (TTL) of 24 hours. The cache key is based on the user query. The team notes that no cache invalidation is performed after documentation updates. What is the most likely cause of the outdated responses?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

AIF-C01 Practice Test 1 — 10 Questions→AIF-C01 Practice Test 2 — 10 Questions→AIF-C01 Practice Test 3 — 10 Questions→AIF-C01 Practice Test 4 — 10 Questions→AIF-C01 Practice Test 5 — 10 Questions→AIF-C01 Practice Exam 1 — 20 Questions→AIF-C01 Practice Exam 2 — 20 Questions→AIF-C01 Practice Exam 3 — 20 Questions→AIF-C01 Practice Exam 4 — 20 Questions→Free AIF-C01 Practice Test 1 — 30 Questions→Free AIF-C01 Practice Test 2 — 30 Questions→Free AIF-C01 Practice Test 3 — 30 Questions→AIF-C01 Practice Questions 1 — 50 Questions→AIF-C01 Practice Questions 2 — 50 Questions→AIF-C01 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Applications of Foundation ModelsFundamentals of AI and MLFundamentals of Generative AIGuidelines for Responsible AISecurity, Compliance and Governance for AI Solutions

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Fundamentals of Generative AI setsAll Fundamentals of Generative AI questionsAIF-C01 Practice Hub