AWS AI Practitioner Applications 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 Applications of Foundation Models: 311 practice questions

AWS AI Practitioner 311 questions 12 shown free

12 of the 311 Applications of Foundation Models 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. Prefer a smaller suitable model for lower response latency: Which approach is most appropriate?

Medium
A quality assurance team needs an interactive assistant with low response latency. The team considers answer quality adequate from several candidate models and does not require extensive reasoning or long documents. Which approach is most appropriate?
  1. Add retrieval so every response performs an additional document lookup.
    Retrieval can improve grounding, but unnecessary lookups may add latency when the team has no document requirement.
  2. Use an agent that plans several tool calls before answering each request.
    Planning and tool calls can increase latency, making an agent unsuitable when fast direct responses are the priority.
  3. Use a larger model for broader capability despite the latency priority.
    A larger model may add latency without providing needed value when quality is already adequate and complex reasoning is unnecessary.
  4. Prefer a smaller suitable model for lower response latency.
    A smaller suitable model can reduce response latency when its quality meets the interactive requirement.
The trap
Equating a larger model with the best choice despite the explicit latency requirement. Adding RAG without a freshness or grounding need. Assuming orchestration improves every assistant even when extra steps conflict with latency.

When quality is adequate and complex context is unnecessary, a smaller suitable model often better meets interactive latency needs.

2. Choose a model with a context window that fits: Which choice best addresses the requirement?

Medium
A small software business must summarize individual contracts whose contents can exceed a candidate model’s context window. The business needs the model to consider the supplied contract material in one request. Which choice best addresses the requirement?
  1. Fine-tune the model on contract examples to expand context
    Fine-tuning can adapt behavior or style, but does not ordinarily expand the context window.
  2. Lower temperature to accept more contract text
    Temperature affects sampling variability, not the maximum context the model can process.
  3. Choose a model with a context window that fits the contract
    The complete contract must fit within the model’s usable context window for one-request processing.
  4. Use embeddings alone instead of supplying the contract context
    Embeddings support similarity tasks but do not let a generative model process the complete contract directly.
The trap
Confuses generation settings with context capacity. Confuses parameter adaptation with increased input capacity. Treats numerical representations as a universal substitute for model context.

Choose a model whose context window can accommodate the complete contract.

3. Reduce temperature when generating responses: What is the best approach?

Easy
A small software business wants repeated responses to the same prompt to vary less, while accepting that factual accuracy still requires evaluation. What is the best approach?
  1. Fine-tune the model on additional factual documents
    Fine-tuning can adapt behavior or style, but adding facts does not specifically provide the requested variability control.
  2. Use retrieval to supply changing reference information
    Retrieval improves access to external information but does not directly control sampling variability between otherwise similar responses.
  3. Add an agent that selects different verification tools
    Tool selection may improve task completion, but agent planning does not directly reduce variation in model sampling.
  4. Reduce temperature when generating responses
    Lower temperature usually reduces sampling variability, making repeated outputs more consistent without guaranteeing truth or identical results.
The trap
Confuses knowledge grounding with generation randomness. Assumes more training data directly stabilizes generation. Confuses orchestration consistency with output sampling control.

Reducing temperature generally lowers sampling variability, but it does not guarantee factual accuracy or fully deterministic outputs.

4. Use a supported maximum output-length control: What is the best approach?

Medium
A media company generates short captions from longer articles. It must prevent responses from exceeding a defined length so downstream publishing systems remain reliable. What is the best approach?
  1. Retrieve only the most relevant article passages
    Retrieving fewer passages can reduce input context, but it does not directly impose a maximum generated response length.
  2. Use a supported maximum output-length control
    A supported output-length limit directly constrains generated content, making it appropriate when downstream systems require a defined maximum.
  3. Fine-tune the model using short caption examples
    Examples may encourage concise style, but learned behavior alone does not reliably enforce a strict response-length boundary.
  4. Increase the model's context window for longer articles
    A larger context window accommodates more input and possible output context, but does not itself limit generated length.
The trap
Confuses input selection with output control. Treats stylistic training as a hard output limit. Confuses capacity with a maximum-output constraint.

A supported maximum output-length control directly addresses a strict response boundary; retrieval and model capacity address different constraints.

5. Use RAG with refreshed policy sources: What is the best approach?

Hard
A quality assurance team answers questions using product policies that change weekly. The team wants responses grounded in the latest authorized policy documents without repeatedly changing model parameters. What is the best approach?
  1. Use RAG with refreshed policy sources
    RAG retrieves current external information at inference time without ordinarily updating model weights.
  2. Use an agent to determine whether policies are correct
    An agent can plan and use tools, but agentic behavior does not inherently provide current documents or verify policy truth.
  3. Lower temperature to make policy answers more reliable
    Lower temperature can reduce sampling variability, but it does not provide current policy information or guarantee factual answers.
  4. Fine-tune the model whenever a policy changes
    Fine-tuning can adapt behavior, but frequently changing factual policy content is generally better handled through refreshed retrieval.
The trap
Treats repeated model updates as the normal solution for changing facts. Confuses consistency with freshness and grounding. Assumes orchestration automatically supplies authoritative knowledge.

RAG supplies refreshed policy information during inference without repeatedly updating model weights.

6. Retrieve the approved policies as inference context: Which approach best fits?

Medium
An HR analytics team needs answers based on newly approved workforce policies each month. It does not need the model to adopt a new writing style or task behavior. Which approach best fits?
  1. Provide a few policy examples in every prompt
    In-context examples can guide responses temporarily, but they are less systematic for maintaining a growing authorized policy collection.
  2. Use an agent framework to permanently teach the model
    Agent frameworks coordinate models, tools, and workflows; they do not inherently update foundation-model weights with policies.
  3. Fine-tune the model on every approved policy
    Fine-tuning changes parameters and can suit behavior adaptation, but monthly factual updates are usually better handled through retrieval.
  4. Retrieve the approved policies as inference context
    Retrieval supplies current policies during inference without ordinarily changing the model's learned parameters or behavior.
The trap
Confuses changing knowledge with changing model behavior. Treats prompt examples as an equivalent knowledge-management approach. Assumes agent memory or orchestration permanently trains the model.

Retrieval provides changing policy facts at inference time, whereas fine-tuning is intended mainly for persistent behavior or task adaptation.

7. Similarity search over vectors: Which capability should it use?

Medium
A quality assurance team stores document embeddings and wants to find passages with meanings most similar to a user's question. Which capability should it use?
  1. Similarity search over vectors
    Vector similarity search compares numerical representations to identify content that is semantically related to the query.
  2. Temperature adjustment during generation
    Temperature affects response sampling variability after retrieval or prompting, not the comparison of embedded document meanings.
  3. Supervised fine-tuning with labeled examples
    Fine-tuning changes model behavior using examples, but it does not itself perform similarity retrieval across stored document vectors.
  4. Agent planning across business tools
    Agent planning selects actions and tools, but it is not the underlying capability for comparing stored embeddings.
The trap
Confuses model customization with vector-store search. Confuses generation control with retrieval matching. Confuses workflow orchestration with vector similarity.

Vector similarity search compares embeddings to retrieve semantically related content from a vector-capable storage system.

8. Use smaller, coherent chunks while preserving needed: What adjustment is most appropriate?

Medium
An HR analytics team retrieves policy passages for precise question answering. Initial tests show that very large chunks contain relevant text but also much unrelated material. What adjustment is most appropriate?
  1. Increase temperature to compensate for broad retrieved passages
    Temperature changes sampling variability and cannot remove irrelevant material from retrieved context or improve chunk boundaries.
  2. Fine-tune on the unrelated passages to improve retrieval
    Fine-tuning may adapt behavior, but it does not correct poorly sized retrieval units or remove irrelevant retrieved content.
  3. Expand every chunk to include complete documents
    Larger chunks generally add more unrelated content, worsening the stated relevance problem and consuming available context.
  4. Use smaller, coherent chunks while preserving needed context
    Smaller coherent chunks can improve relevance by reducing unrelated material, while preserving enough context for interpretation.
The trap
Confuses generation randomness with retrieval quality. Assumes model training fixes source segmentation. Assumes more context is always more useful.

Chunking balances relevance and context; smaller coherent units can reduce unrelated retrieval material without discarding necessary meaning.

9. Enforce authorization during retrieval: What should the company prioritize?

Easy
An education company uses retrieval for courses with different instructor permissions. A learner must never receive passages from courses they are not authorized to view. What should the company prioritize?
  1. Add citations after unrestricted retrieval
    Citations may identify sources, but adding them after retrieval does not prevent unauthorized content from being exposed.
  2. Lower temperature for safer course responses
    Temperature affects sampling variability and cannot determine whether a learner may access particular course material.
  3. Rely on embeddings to hide restricted passages
    Embeddings support similarity tasks but do not establish permissions, encryption, or authorization boundaries.
  4. Enforce authorization during retrieval
    Access checks must restrict which source content can be retrieved, preventing unauthorized passages from entering the model's context.
The trap
Assumes numerical representations enforce access control. Confuses generation behavior with authorization. Treats traceability as a substitute for access control.

Authorization must constrain retrieval itself; embeddings, citations, and temperature do not establish user permissions.

10. Refresh the index after approved source updates: What action best addresses the problem?

Medium
A media company publishes breaking-news summaries from a retrieval index. New articles are approved throughout the day, but summaries continue using yesterday's information. What action best addresses the problem?
  1. Reduce temperature to make summaries more current
    Temperature changes response variability but cannot add articles or refresh outdated retrieval content.
  2. Increase the model's context window
    A larger context window permits more content, but it does not update a stale index or introduce new articles.
  3. Fine-tune the model on yesterday's summaries
    Training on old summaries cannot provide newly approved articles and may reinforce outdated information.
  4. Refresh the index after approved source updates
    Updating ingestion and retrieval data makes newly approved articles available as current inference context.
The trap
Confuses consistent wording with information freshness. Assumes customization can substitute for current source ingestion. Confuses capacity with source freshness.

Refreshing ingestion and the retrieval index makes newly approved articles available; generation settings and context capacity cannot update stale sources.

11. Verify each cited passage against the generated claim: What practice is best?

Medium
A small software business asks an assistant to cite troubleshooting documents. Before publishing answers, the team must determine whether each citation actually supports the claim. What practice is best?
  1. Assume every citation proves the answer is correct
    Citations aid checking but do not prove source accuracy, interpretation, completeness, or generated-answer correctness.
  2. Lower temperature and skip source review
    Lower temperature may reduce variability, but it does not verify evidence or justify removing human or automated review.
  3. Verify each cited passage against the generated claim
    Checking cited source content against the answer tests whether the evidence actually supports the generated statement.
  4. Fine-tune the model until citations appear more often
    More frequent citations do not ensure that cited passages support claims or that the underlying documents are accurate.
The trap
Treats citation presence as factual validation. Confuses consistency with factual support. Measures citation presence instead of citation faithfulness.

Citations support verification, but the team must compare each cited passage with the generated claim rather than trust citation presence.

12. Customize the model with representative support examples: What is the best approach?

Medium
A customer support team has a stable set of service policies and wants responses to consistently follow a distinctive brand tone and support format. The policies change rarely, and the team can provide representative examples. What is the best approach?
  1. Use an agent to select support tools for each response
    Agents can plan tool use, but selecting tools does not inherently establish a persistent writing style or support format.
  2. Customize the model with representative support examples
    Supervised customization can adapt task behavior, style, and formatting when representative examples and stable requirements are available.
  3. Use retrieval of the stable policies alone
    Retrieval supplies policy information, but it does not necessarily create consistent adoption of a distinctive tone and response format.
  4. Lower temperature during every support interaction
    Lower temperature may reduce variation, but it does not specifically teach the model the desired brand style or format.
The trap
Confuses factual grounding with persistent style adaptation. Treats reduced randomness as learned behavior. Confuses workflow coordination with model behavior customization.

Customization best fits stable style and format adaptation, while retrieval, temperature, and agents address knowledge, variability, or orchestration.

299 more Applications of Foundation Models questions

The remaining 299 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 · Applications of Foundation Models · Every answer, right and wrong, comes with its own explanation.