AWS AI Practitioner Fundamentals of GenAI practice questions
7-day money-back guarantee — full refund within 7 days of purchase if you've completed under 20% of the questions. See pricing →
Certifications Tools Flashcards Career Paths Exam Guides Blog Pricing For Teams About

Language

✓ EnglishDeutschEspañolFrançaisPortuguês
Check readiness — free →

AWS AI Practitioner Fundamentals of GenAI: 269 practice questions

AWS AI Practitioner 269 questions 12 shown free

12 of the 269 Fundamentals of GenAI questions in the Certsqill AWS AI Practitioner bank, shown in full below. Each one carries an explanation for every option, not just the correct one — the wrong answers are where the marks go.

Preparing for AWS AI Practitioner? Take the free 5-min readiness check →

1. Use retrieval units that balance focus and context: Which approach is best?

Medium
An education company is building retrieval over course manuals. The team must divide source material so retrieved passages are useful without losing necessary context. Which approach is best?
  1. Split every sentence into a separate retrieval unit regardless of meaning.
    Overly small units can separate related ideas and remove context needed to interpret answers.
  2. Use retrieval units that balance focus and context.
    Effective chunking creates focused retrieval units while preserving enough surrounding information to answer questions accurately.
  3. Place every manual into one retrieval unit to preserve all context.
    Very large units can reduce retrieval focus and consume available context with irrelevant material.
  4. Remove surrounding context from each passage to minimize token usage.
    Removing context may reduce usefulness when meaning depends on definitions, conditions, or nearby explanations.
The trap
Assuming maximum context always produces better retrieval. Equating smaller chunks with more precise retrieval. Optimizing token reduction without considering answerability.

Chunking should balance focused retrieval with sufficient context, because both oversized and undersized units can reduce usefulness.

2. Attention weighs relationships among sequence elements: Which concept best explains this capability?

Medium
A quality assurance team asks why a transformer can relate a word to relevant terms elsewhere in a sequence. Which concept best explains this capability?
  1. Diffusion iteratively removes noise from an initially noisy representation.
    Denoising describes diffusion generation, not how transformers relate sequence elements during processing.
  2. Chunking divides long documents into smaller retrieval units.
    Chunking organizes source material for retrieval but does not explain token-to-token relationships inside a model.
  3. Embedding conversion grants a model access to every source document.
    Embeddings create numerical representations for comparison and do not inherently provide unrestricted document access.
  4. Attention weighs relationships among sequence elements when processing the input.
    Attention helps transformers consider relationships between tokens, including information located elsewhere in the sequence.
The trap
Applying the defining mechanism of diffusion models to transformers. Confusing retrieval preparation with model processing. Confusing semantic representations with data availability.

Transformer attention helps a model weigh relationships among tokens, allowing relevant information from different sequence positions to interact.

3. Iterative denoising progressively transforms noise into: Which concept best fits?

Easy
An HR analytics team needs to explain how a generative model can create a new image from a noisy starting representation. Which concept best fits?
  1. Iterative denoising progressively transforms noise into a generated result.
    Diffusion models generate content through repeated denoising steps that move toward a structured output.
  2. Chunking separates source documents into retrieval-sized passages.
    Chunking prepares information for retrieval and does not describe how diffusion generates images.
  3. Attention assigns importance among tokens in an input sequence.
    Attention models relationships among sequence elements but does not define diffusion image generation.
  4. Embeddings convert content into vectors for similarity comparison.
    Embeddings support numerical similarity tasks but do not describe iterative image creation from noise.
The trap
Substituting a transformer mechanism for diffusion’s generation process. Confusing retrieval preparation with generative sampling. Mistaking representation for the image-generation mechanism.

Diffusion models generate outputs by repeatedly denoising an initially noisy representation until a structured result emerges.

4. Multimodal processing for image input and text output: Which capability is required?

Medium
A manufacturing team wants one AI application to inspect images and produce written explanations when supported by the selected model. Which capability is required?
  1. Diffusion generation for producing images from noisy representations
    Diffusion may generate images, but it does not by itself satisfy image inspection with written explanations.
  2. Text-only processing for written inspection instructions
    Text-only processing cannot directly analyze image inputs required for visual inspection.
  3. Semantic embeddings for comparing written maintenance terms
    Embeddings can compare representations but do not necessarily perform visual inspection or generate explanations.
  4. Multimodal processing for image input and text output
    A multimodal model can process more than one modality and may generate a different supported modality.
The trap
Ignoring the application’s image-input requirement. Selecting similarity technology instead of a capability spanning required modalities. Focusing on image generation rather than multimodal understanding and output.

Multimodal capability is needed when an application must handle image input and produce supported text output.

5. Reuse and evaluate a pretrained foundation model: Which approach best fits this requirement?

Medium
A research organization wants broad language capability for several experiments and prefers not to build a model from the beginning. Which approach best fits this requirement?
  1. Use embeddings as the organization’s language generator
    Embeddings support representation and similarity tasks but do not themselves provide general language generation.
  2. Use deterministic rules for every language task
    Rules suit explicit logic but are generally unsuitable for broad, varied language generation.
  3. Train a model from randomly initialized parameters
    Training from scratch requires substantially more data and effort than reusing pretrained capabilities.
  4. Reuse and evaluate a pretrained foundation model
    A pretrained foundation model offers broad reusable capabilities that can be assessed for specific experiments.
The trap
Choosing fixed logic for flexible language needs. Ignoring the preference to avoid starting from the beginning. Confusing a representation with a generative model.

Reusing a pretrained foundation model provides broad capabilities without building a model from scratch.

6. Compare input and output token usage: Which cost consideration is most important?

Hard
A language-learning provider is comparing two models for a high-volume tutoring service. One model receives long lesson context and produces variable-length explanations. Which cost consideration is most important?
  1. Assume prompt length is free after model selection
    Input processing can contribute to usage costs depending on the model and pricing arrangement.
  2. Compare input and output token usage
    Both long prompts and generated responses can contribute to model usage, so output-only comparison is incomplete.
  3. Assume shorter responses mean lower total cost
    Short outputs can accompany lengthy inputs, and pricing depends on the selected model and arrangement.
  4. Compare only generated word counts
    Words do not reliably represent model tokens and omit potentially chargeable input context.
The trap
Ignoring tokenization and input consumption. Judging total cost from output length alone. Overlooking input-token charges.

Compare model-dependent input and output tokens because both prompt and response length can affect usage costs.

7. Select and organize relevant context for each request: Which practice best fits?

Hard
A research organization is preparing an agent-assisted literature review. The team wants each model request to contain the most useful instructions, retrieved evidence, tool results, and relevant memory. Which practice best fits?
  1. Select and organize relevant context for each request
    Context engineering curates useful instructions, evidence, tool outputs, and memory for the task.
  2. Use embeddings as access controls for retrieved research
    Embeddings support similarity comparisons but do not establish authorization or replace access controls.
  3. Place every document and tool result in each request
    Including everything can exceed context limits and obscure relevant information with unnecessary material.
  4. Increase temperature to improve factual summaries
    Temperature affects sampling variability but cannot guarantee factuality or supply relevant evidence.
The trap
Treating a generation setting as a truth mechanism. Confusing maximum inclusion with effective context selection. Confusing retrieval representations with governance controls.

Context engineering selects and organizes relevant instructions, evidence, tool outputs, and memory for each request.

8. Use an agent that plans and selects approved tools: Which approach is best?

Medium
A media company wants an assistant that can decide which approved content system to query, gather results, and perform a follow-up action based on the request. Which approach is best?
  1. Use a foundation model only to generate a conversational reply.
    A conversational model can produce text, but text generation alone does not perform external system actions.
  2. Use a text classifier that assigns each request to one response template.
    Classification can route requests, but it does not inherently plan multi-step actions or invoke tools.
  3. Use an agent that plans and selects approved tools.
    An agent can use a model to plan, choose tools, and adapt actions to the request.
  4. Use a fixed workflow with predetermined steps for every request.
    A fixed workflow suits predictable sequences but cannot flexibly choose tools or steps for varying requests.
The trap
This confuses predetermined automation with goal-directed tool selection. This treats routing into categories as equivalent to agentic execution. This confuses chat capability with tool-enabled agent behavior.

An agent is appropriate when the application must plan dynamically, select tools, and complete actions beyond conversational response generation.

9. Use MCP for tool and resource connections: Which approach best fits?

Easy
A language-learning provider wants an AI application to discover and use approved external tutoring tools through a common connection standard. Which approach best fits?
  1. Use a fixed workflow for tool discovery.
    A workflow can sequence known actions but does not provide a common protocol for discovering connected tools and resources.
  2. Use MCP for tool and resource connections.
    MCP is a protocol for connecting AI applications with external tools and resources through a common approach.
  3. Use a chat interface for tool connectivity.
    A chat interface presents conversation but does not define standardized application-to-tool connectivity.
  4. Use a foundation model to expose tools automatically.
    A foundation model generates or interprets content but is not the protocol for connecting applications with tools.
The trap
Confusing model reasoning with integration. Treating orchestration logic as an interoperability standard. Confusing the user interface with the integration mechanism.

MCP connects AI applications with external tools and resources through a common protocol.

10. Use one agent with approved tools and a clear sequential: Which approach is best?

Hard
A language-learning provider is considering several agents for lesson planning, content retrieval, and learner assessment. The tasks can be handled sequentially by one tool-using agent, and the provider prioritizes lower cost and fewer coordination failures. Which approach is best?
  1. Use Strands Agents because an SDK eliminates coordination costs.
    Strands Agents is an open-source framework; using it does not eliminate costs or risks of multi-agent coordination.
  2. Use one agent with approved tools and a clear sequential objective.
    A single tool-using agent avoids unnecessary coordination while still planning and completing the required sequence.
  3. Assign each task to a separate agent and coordinate their messages.
    Multiple agents may divide roles, but coordination adds communication, cost, and failure risks without a stated need.
  4. Replace all model reasoning with independent fixed workflows.
    Fixed workflows can reduce variability, but they may not support the stated need for tool-using planning.
The trap
This assumes specialization is beneficial even when one agent can handle the sequence. This overcorrects for coordination risk by removing needed agent behavior. This treats a framework choice as a guarantee against architectural tradeoffs.

When one agent can complete the sequence, avoiding unnecessary multi-agent coordination reduces cost and failure opportunities.

11. Use an agent that plans the research steps and selects: Which approach best fits?

Medium
A research organization receives questions requiring different source selections and investigation steps. The appropriate sequence depends on each question, and the organization accepts controlled tool use. Which approach best fits?
  1. Use a fixed workflow with the same research sequence for every question.
    Predetermined steps are unsuitable when source selection and investigation order must vary by question.
  2. Use a classifier to assign each question to one fixed answer.
    Classification can categorize questions but does not independently select sources or plan variable investigation steps.
  3. Use a template that asks users to perform every research step manually.
    Manual templates can guide users but do not provide the requested adaptive tool selection and planning.
  4. Use an agent that plans the research steps and selects suitable tools.
    An agent can adapt its plan and tool choices to the specific question and available approved resources.
The trap
This confuses stable procedural automation with adaptive planning. This treats categorization as equivalent to multi-step research planning. This shifts the required agent behavior entirely to the user.

Variable research paths requiring tool selection favor agent planning rather than identical predetermined workflows.

12. Treat tool output as untrusted data and validate it before: What is the best practice?

Hard
An education company uses an agent to retrieve lesson content from an external tool. The retrieved content could contain inaccurate instructions or text attempting to redirect the agent. What is the best practice?
  1. Assume MCP validates the factual accuracy of every connected tool response.
    MCP supports connectivity but does not guarantee factuality, safety, or correctness of tool outputs.
  2. Treat every tool response as authoritative because it came from an approved connector.
    Approved connectivity does not prove that returned content is accurate, safe, relevant, or appropriate for every action.
  3. Treat tool output as untrusted data and validate it before consequential actions.
    External results require relevance and safety checks before they influence decisions or trigger consequential actions.
  4. Allow retrieved text to override the agent's policies when it provides detailed instructions.
    Detailed external text should not override application policies, permissions, or higher-priority instructions.
The trap
This confuses connector approval with trust in every returned value. This gives untrusted content inappropriate control over agent behavior. This mistakes an interoperability protocol for a content-factuality checker.

Tool connectivity does not establish trustworthy content; validate external outputs before relying on them or taking consequential actions.

257 more Fundamentals of GenAI questions

The remaining 257 questions in this domain are part of the full AWS AI Practitioner bank — 1116 questions, every option explained. Start with the free five-minute check and see your score per domain.

Test your AWS AI Practitioner readiness — free

Other AWS AI Practitioner domains

Part of the Certsqill AWS AI Practitioner question bank · Fundamentals of GenAI · Every answer, right and wrong, comes with its own explanation.