AWS Certified AI Practitioner (AIF-C01) · AWS

Fundamentals of Generative AI

13 practice questions covering 24% of the official AWS Certified AI Practitioner (AIF-C01) blueprint. Every item includes a worked explanation of the correct answer.

View all 5 domains in AWS Certified AI Practitioner (AIF-C01)

Syllabus Coverage & Domain Overview

Fundamentals of Generative AI carries 24% of the scored content on the AIF-C01 exam, and it is the part of the blueprint where vocabulary, judgment and AWS product knowledge meet. It is organised around three ideas: the basic concepts behind generative AI, what it can and cannot do for a business, and which AWS services and cost models support it. The concept section expects you to define terms such as tokens, chunking, embeddings, vectors, prompt engineering, foundation models, transformer-based large language models, multimodal models and diffusion models. It also covers common use cases such as summarization, translation, code generation, search and customer service agents, along with the foundation model lifecycle from data selection through pre-training, fine-tuning, evaluation, deployment and feedback. The current guide adds token-based pricing and its effect on cost and performance, the role of context engineering, and introductory agentic ideas: tool use, memory, workflow orchestration, multi-agent patterns, and the Model Context Protocol as a way to connect agents to external systems.

The second area is about business judgment. You should be able to name the advantages of generative AI, such as adaptability, conversational ability and content creation, and weigh them against its weaknesses: hallucinations, limited interpretability, inaccuracy and nondeterministic output. You also need the factors that drive model selection, including model type, performance needs, compliance, cost, latency and complexity, and the metrics used to judge business value, such as return on investment, efficiency, conversion rate, customer lifetime value and accuracy.

The third area covers AWS offerings. Expect Amazon Bedrock, Amazon SageMaker AI and SageMaker JumpStart, plus newer items the guide lists by name: Amazon Quick, Kiro, Strands Agents and Amazon Bedrock AgentCore. You should know why managed services lower the barrier to entry and speed time to market, how AWS infrastructure supports security, compliance and safety, and how cost trade-offs arise from token-based pricing, provisioned throughput, custom models, regional coverage and availability.

Questions are usually short scenarios that ask for the best fit rather than a definition. A common pattern describes a requirement, such as predictable output, low operational effort, steady high traffic or a non-technical user, and asks which concept or service matches. Typical traps include confusing embeddings with tokens, treating a fluent answer as a correct one, assuming fine-tuning is always better than prompting or retrieval, mixing up pay-per-token billing with reserved capacity, and picking a heavyweight build option when a managed service would do. Read the constraint words closely, since they usually decide between two plausible answers.

To prepare, work through the three task statements in order and write a one-line definition for every term in the official objectives, then explain each in your own words. Spend time in the Bedrock console trying different prompts and settings so the concepts feel concrete. Build a simple comparison of the AWS services by audience and purpose, and practise estimating how token counts and traffic patterns affect cost. Finish with scenario questions, and for every miss, note which clue in the wording you overlooked.

In the official AWS Certified AI Practitioner (AIF-C01) examination blueprint, Fundamentals of Generative AI carries a weightage of 24%. Out of the total examination duration of 1 hr 30 min, candidates should budget approximately 22 min for questions from this domain to maintain pace across the paper.

How to Master Fundamentals of Generative AI for AWS Certified AI Practitioner (AIF-C01)

Our 13 published questions in Fundamentals of Generative AI are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the easy difficulty level of the AWS exam:

  • Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Fundamentals of Generative AI items and review the step-by-step derivation after each submission.
  • Negative Marking Discipline: The AWS Certified AI Practitioner (AIF-C01) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Fundamentals of Generative AI item.
  • Benchmark Target: Aim for at least 70% accuracy in Fundamentals of Generative AI drills before moving to full-paper simulations.

Fundamentals of Generative AI worked examples

Fundamentals of Generative AI questions from the AWS Certified AI Practitioner (AIF-C01) syllabus, answered in full. Try each one before opening the explanation.

  1. Example 1 · Fundamentals of Generative AI · easy

    An organization wants to equip its software engineers with an AI-powered coding assistant inside VS Code and JetBrains IDEs that generates inline code completions, writes unit tests, explains legacy code, scans for security vulnerabilities, and automates Java 8-to-17 upgrades on AWS. Which AWS generative AI assistant is built for software developers and IT professionals?

    • AAmazon Comprehend Medical for clinical ICD-10 entity linking
    • BAmazon Mechanical Turk for crowdsourced human micro-tasks
    • CAmazon Polly Lexicons for custom phonetic pronunciation
    • DAmazon Q Developer for IDE code generation and security
    Show answer and explanation

    Correct answer: D. Amazon Q Developer for IDE code generation and security

    Why

    Amazon Q Developer is the AWS generative AI assistant built for software developers and IT professionals. It integrates with IDEs such as VS Code and JetBrains to provide inline code suggestions, generate unit tests, explain existing code, scan for security vulnerabilities, and run code transformation agents, including upgrading Java 8 applications to newer versions like Java 17. It can also answer questions about AWS services and help troubleshoot AWS resources. It grew out of the earlier CodeWhisperer service. The underlying concept is matching a workload to the right managed AI service: Q Developer for developer productivity, Amazon Q Business for enterprise employee questions over company data, and Bedrock for building custom generative applications. The common trap is choosing an unrelated AWS AI service whose name sounds familiar. Every feature in the scenario, such as IDE completions, tests, security scans, and Java upgrades, points to a coding assistant, not a language, speech, or healthcare service.

    • A. Amazon Comprehend Medical for clinical ICD-10 entity linking — Amazon Comprehend Medical is a natural language processing service that extracts medical entities and links them to codes such as ICD-10 from clinical text. It does not generate code or work inside an IDE, so it does not fit a developer assistant requirement.
    • B. Amazon Mechanical Turk for crowdsourced human micro-tasks — Amazon Mechanical Turk is a crowdsourcing marketplace where people complete human micro-tasks such as labeling or data validation. It is not a generative AI assistant and provides no code completion, testing, or security scanning in an IDE.
    • C. Amazon Polly Lexicons for custom phonetic pronunciation — Amazon Polly is a text-to-speech service, and lexicons are files that customize how specific words are pronounced. It produces spoken audio and has nothing to do with generating or upgrading code for developers.
  2. Example 2 · Fundamentals of Generative AI · easy

    As a rule of thumb in English-language Large Language Models (LLMs), roughly 1,000 tokens correspond to ~750 words (1 token ≈ 0.75 words). If a company processes 10,000 customer support tickets per day where each ticket averages 600 words of input and 300 words of output, approximately how many total tokens (input + output) are processed per day?

    • A900,000 tokens per day (multiplying 900 words by 1,000 tickets)
    • B6,750,000 tokens per day (multiplying 900 words by 0.75 instead of dividing)
    • C12,000,000 tokens per day (1,200 tokens/ticket across 10,000 tickets)
    • D9,000,000 tokens per day (assuming 1 word always equals 1.00 token)
    Show answer and explanation

    Correct answer: C. 12,000,000 tokens per day (1,200 tokens/ticket across 10,000 tickets)

    Why

    At 1 token = 0.75 words (4 tokens per 3 words), 600 input words equal 600 / 0.75 = 800 input tokens and 300 output words equal 300 / 0.75 = 400 output tokens, totaling 1,200 tokens per ticket. Across 10,000 tickets per day, total daily volume is 10,000 * 1,200 = 12,000,000 tokens (12 million tokens).

    • A. 900,000 tokens per day (multiplying 900 words by 1,000 tickets) — 900,000 undercounts both the 10,000 ticket volume and the 4/3 token-to-word ratio.
    • B. 6,750,000 tokens per day (multiplying 900 words by 0.75 instead of dividing) — Since 1,000 tokens ≈ 750 words, there are MORE tokens than words (900 / 0.75 = 1,200), not fewer (675).
    • D. 9,000,000 tokens per day (assuming 1 word always equals 1.00 token) — In English sub-word tokenization, 900 words average ~1,200 tokens rather than 900 tokens.
  3. Example 3 · Fundamentals of Generative AI · medium

    A non-technical product manager wants to experiment with prompt engineering and build a shareable generative AI web app prototype in 5 minutes using a playground environment powered by Amazon Bedrock, without writing any code or creating an AWS account. Which AWS tool is designed for this?

    • APartyRock no-code Amazon Bedrock application playground
    • BAmazon SageMaker HyperPod distributed GPU training clusters
    • CAWS DeepRacer autonomous 1/18th scale reinforcement learning car
    • DAWS CloudFormation YAML infrastructure-as-code templates
    Show answer and explanation

    Correct answer: A. PartyRock no-code Amazon Bedrock application playground

    Why

    PartyRock is the Amazon Bedrock Playground, a browser-based, no-code environment where anyone can build generative AI apps by typing natural-language descriptions and adjusting widgets such as text, chat, and image generation. Users can edit prompts, reference other widgets' outputs, and share the finished app through a link. It was built to let people experiment with prompt engineering and foundation models from Amazon Bedrock hands-on, without programming skills, and sign-in uses a social login such as Apple, Amazon, or Google rather than an AWS account. That combination of no code, no AWS account, quick prototyping, and shareable apps is the signature of PartyRock. The common trap is choosing a developer-oriented AWS service because it sounds related to AI or Bedrock. Remember that the Bedrock console playgrounds require an AWS account, whereas PartyRock is the account-free option for learning and prototyping.

    • B. Amazon SageMaker HyperPod distributed GPU training clusters — SageMaker HyperPod is managed infrastructure for resilient, large-scale distributed training of foundation models on GPU or accelerator clusters. It is aimed at ML engineers, not non-technical users prototyping prompts without an account.
    • C. AWS DeepRacer autonomous 1/18th scale reinforcement learning car — AWS DeepRacer is a 1/18th scale autonomous race car used to learn reinforcement learning through virtual and physical racing. It does not provide a Bedrock-powered playground or build shareable generative AI web apps.
    • D. AWS CloudFormation YAML infrastructure-as-code templates — AWS CloudFormation provisions and manages AWS resources from YAML or JSON templates. It is infrastructure as code that requires an AWS account and technical skill, so it contradicts the no-code, no-account requirement.
  4. Example 4 · Fundamentals of Generative AI · hard

    A startup launches a prototype customer chatbot on Amazon Bedrock that currently processes 200 requests per day with sporadic traffic, and wants to pay strictly per input and output token consumed with zero hourly commitment. Meanwhile, a global bank runs a fine-tuned custom model requiring guaranteed, reserved token throughput for a mission-critical workload. Which Amazon Bedrock pricing models match the startup and the bank respectively?

    • AProvisioned Throughput for the startup; On-Demand for the custom model
    • BOn-Demand for the startup; Provisioned Throughput for the bank
    • CAWS Spot Instances for both workloads inside Amazon Bedrock runtime
    • DS3 Glacier Archive pricing per GB for both inference workloads
    Show answer and explanation

    Correct answer: B. On-Demand for the startup; Provisioned Throughput for the bank

    Why

    On-Demand (and Batch) pricing in Amazon Bedrock bills per input/output token with no time-based commitment (ideal for variable/prototype workloads), whereas Provisioned Throughput reserves dedicated model units for an hourly/monthly commitment (and is required for serving custom fine-tuned or continued-pre-trained models in Bedrock).

    • A. Provisioned Throughput for the startup; On-Demand for the custom model — Custom fine-tuned models on Amazon Bedrock generally require Provisioned Throughput, while low-volume prototypes fit On-Demand.
    • C. AWS Spot Instances for both workloads inside Amazon Bedrock runtime — Amazon Bedrock is a serverless API service using On-Demand, Batch, or Provisioned Throughput rather than EC2 Spot Instances.
    • D. S3 Glacier Archive pricing per GB for both inference workloads — S3 Glacier is cold object storage pricing, not foundation model inference pricing.
  5. Example 5 · Fundamentals of Generative AI · medium

    How do Vector Embeddings enable semantic search in a Retrieval-Augmented Generation (RAG) system?

    • AThey compress PDF files into encrypted ZIP archives for cold storage
    • BThey map text into vectors where similar meanings cluster closely
    • CThey replace SQL primary keys with random auto-incrementing integers
    • DThey execute Python code inside an AWS Lambda container environment
    Show answer and explanation

    Correct answer: B. They map text into vectors where similar meanings cluster closely

    Why

    An embedding model (such as Amazon Titan Text Embeddings) converts words, sentences, or multimodal inputs into dense numerical vectors in a high-dimensional space where semantically similar concepts are positioned close together (measured via cosine similarity, dot product, or Euclidean distance), enabling retrieval by meaning rather than exact keyword overlap.

    • A. They compress PDF files into encrypted ZIP archives for cold storage — Vector embeddings are numerical floating-point arrays representing semantic meaning, not lossless file compression archives.
    • C. They replace SQL primary keys with random auto-incrementing integers — Auto-incrementing integers carry no semantic meaning or cosine similarity relationship.
    • D. They execute Python code inside an AWS Lambda container environment — Embeddings are numeric representations produced by neural networks, not executable runtime containers.
  6. Example 6 · Fundamentals of Generative AI · medium

    You are configuring an Amazon Bedrock foundation model to generate deterministic, factual SQL queries from natural-language prompts, where creativity and randomness must be minimized. How should you set the Temperature inference parameter?

    • ASet temperature to 1.0 to maximize creative token variety
    • BSet max_tokens to 1 so the model outputs only one character
    • CSet top_k to 500 with temperature at 0.95 for diverse sampling
    • DSet temperature to 0 (or near 0) for greedy deterministic output
    Show answer and explanation

    Correct answer: D. Set temperature to 0 (or near 0) for greedy deterministic output

    Why

    Temperature controls the randomness of token sampling by scaling the logits before softmax. Setting temperature = 0 (greedy decoding) makes the model consistently select the highest-probability next token, maximizing determinism and factual consistency for code/SQL generation.

    • A. Set temperature to 1.0 to maximize creative token variety — A high temperature (1.0) flattens token probabilities and increases randomness, risking invalid SQL syntax.
    • B. Set max_tokens to 1 so the model outputs only one character — Setting max_tokens = 1 truncates the response after a single token, preventing complete SQL query output.
    • C. Set top_k to 500 with temperature at 0.95 for diverse sampling — High top_k and high temperature increase output variability rather than making SQL generation deterministic.
  7. Example 7 · Fundamentals of Generative AI · hard

    Compare the two foundational neural network architectures powering modern Generative AI: Transformer models (such as Claude and Llama) versus Diffusion models (such as Stable Diffusion and Amazon Titan Image Generator). Which two statements accurately distinguish their core mechanisms and primary use cases? (Select two.)

    • ATransformers use self-attention to predict tokens in text and code
    • BDiffusion models are used exclusively for sorting relational SQL tables
    • CTransformers cannot process more than two words of input context at a time
    • DDiffusion models generate images by iteratively denoising a latent state
    Show answer and explanation

    Correct answers: A. Transformers use self-attention to predict tokens in text and code; D. Diffusion models generate images by iteratively denoising a latent state

    Why

    Transformer models use self-attention mechanisms to model long-range token dependencies and predict tokens auto-regressively for text, code, and multimodal reasoning (A), whereas Diffusion models learn to iteratively remove Gaussian noise from a random latent tensor conditioned on a text prompt to synthesize high-resolution images (D).

    • B. Diffusion models are used exclusively for sorting relational SQL tables — Diffusion models generate images/media by iterative denoising and are not relational database sorting algorithms.
    • C. Transformers cannot process more than two words of input context at a time — Modern Transformer LLMs process context windows ranging from thousands to ratusan of thousands of tokens simultaneously via self-attention.

Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.

All 7 Fundamentals of Generative AI questions with answers

All Syllabus Domains in AWS Certified AI Practitioner (AIF-C01)

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.