Courseiva

AIF-C01 · topic practice

Fundamentals of Generative AI practice questions

This domain covers generative AI concepts on AWS: foundation models, tokens, embeddings, prompt engineering, and Amazon Bedrock. Questions test choosing between Bedrock, SageMaker, and self-hosted inference, plus cost, latency, privacy, and quality trade-offs. Expect scenario items naming real AWS services and asking which feature or approach fits a stated constraint.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Fundamentals of Generative AI

What the exam tests

What to know about Fundamentals of Generative AI

Be able to pick the right AWS approach for a generative AI scenario: Amazon Bedrock for managed foundation model access, SageMaker or self-hosting for control and low latency. Get the cost, latency, privacy, and quality trade-off right for the stated constraint.

Amazon Bedrock model access, inference APIs, and its role as a managed generative AI service

Foundation model concepts: tokens, context windows, embeddings, and inference parameters

Prompt engineering techniques such as zero-shot, few-shot, and chain-of-thought prompting

Amazon SageMaker for self-hosted model training, deployment, and inference endpoints

Watch out for

Common Fundamentals of Generative AI exam traps

  • ▸Assuming Bedrock trains or fine-tunes models by default; it primarily serves managed foundation models via API.
  • ▸Confusing cost reduction with quality loss; prompt optimization and model choice can cut cost while preserving output.
  • ▸Treating all generative AI as cloud-only; self-hosting on your own infrastructure is valid when latency and control matter.

Practice set

Fundamentals of Generative AI questions

20 questions · select your answer, then reveal the 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?

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?

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?

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"
        }
      }
    }
  ]
}
```

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?

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

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"
    }
  ]
}
```

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?

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?

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?

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?

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

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"
}
```

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"}
      }
    }
  ]
}
```

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

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?

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?

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

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"
}

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?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Fundamentals of Generative AI sessions

Start a Fundamentals of Generative AI only practice session

Every question in these sessions is drawn from the Fundamentals of Generative AI domain — nothing else.

Related practice questions

Related AIF-C01 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the AIF-C01 exam test about Fundamentals of Generative AI?
Be able to pick the right AWS approach for a generative AI scenario: Amazon Bedrock for managed foundation model access, SageMaker or self-hosting for control and low latency. Get the cost, latency, privacy, and quality trade-off right for the stated constraint.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Fundamentals of Generative AI questions in a focused session?
Yes — the session launcher on this page draws every question from the Fundamentals of Generative AI domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other AIF-C01 topics?
Use the topic links above to move to related areas, or go back to the AIF-C01 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the AIF-C01 exam covers. They are not copied from any real exam or dump site.