Home

certification

AWS

AWS Certified AI Practitioner AIF-C01

Applications of Foundation Models

Design considerations for applications that use foundation models (FMs)

Design considerations for applications that use foundation models (FMs)

Concepts covered in Design considerations for applications that use foundation models (FMs)
AWS Vector Database Services
Global Attempts: 89Correct: 51 |  Incorrect: 38
Accuracy: 57%
FM Customization Trade-offs
Global Attempts: 137Correct: 113 |  Incorrect: 24
Accuracy: 82%
Retrieval-Augmented Generation (RAG)
Global Attempts: 171Correct: 142 |  Incorrect: 29
Accuracy: 83%
Inference Parameters
Global Attempts: 193Correct: 161 |  Incorrect: 32
Accuracy: 83%
Foundation Model Selection Criteria
Global Attempts: 183Correct: 159 |  Incorrect: 24
Accuracy: 87%
AI Agents and Agentic Workflows
Global Attempts: 148Correct: 141 |  Incorrect: 7
Accuracy: 95%

Practice, Analyze & Improve

Dont just read—test your knowledge! Unlock the Student Workspace to take chapter tests and get instant performance insights.

Deep Analytics

Peer Comparison

Track Progress

Claim Free Account100% Free • No credit card required
Do you belong in the Top 10%?

Our analytics show that most students struggle with specific concepts in Design considerations for applications that use foundation models (FMs). Take a free diagnostic test to generate your personal Learning DNA profile.

Practice Test – MCQs, True/False

Top

Multiple Choice Questions

A.

Maximum output token limit

B.

Native multi-lingual capabilities

C.

Prompt caching support

D.

Provisioned Throughput pricing availability
Correct Answer: B

Solution:

Native multi-lingual capabilities (Option B) are the absolute prerequisite for a chatbot serving a global audience. The model must be pre-trained on diverse linguistic datasets to understand and generate text in various languages naturally, without relying on slow, error-prone external translation APIs. Token limits (Option A), prompt caching (Option C), and pricing models (Option D) are important operational factors, but they cannot fix a model's inability to comprehend foreign languages.

Chapter Concept:

Foundation Model Selection Criteria

A.

Inference latency

B.

Fine-tuning customizability

C.

Maximum context window length

D.

Total parameter count
Correct Answer: A

Solution:

Inference latency (Option A) is the time it takes for a model to process the input and return a response. For a real-time mobile application analyzing live video frames, low latency is critical to prevent UI lag and maintain a seamless user experience. Fine-tuning (Option B), context windows (Option C), and parameter counts (Option D) are secondary to the sheer speed required for real-time video processing applications.

Chapter Concept:

Foundation Model Selection Criteria

A.

Maximum parameter count

B.

Multi-lingual capabilities

C.

Inference cost per token

D.

Real-time streaming latency
Correct Answer: C

Solution:

Inference cost per token (Option C) must be the primary driver. Because the task involves processing millions of records nightly (high volume), and does not require state-of-the-art complex reasoning, selecting a smaller, highly cost-effective model (like Anthropic Claude Haiku or Amazon Titan) is crucial to staying within budget. Parameter count (Option A) drives up cost. Multi-lingual capabilities (Option B) are irrelevant if the records are in one language. Real-time latency (Option D) is less critical for asynchronous, nightly batch processing.

Chapter Concept:

Foundation Model Selection Criteria

A.

Image and audio modalities

B.

Model complexity and reasoning capability

C.

Prompt caching support

D.

On-device edge deployment
Correct Answer: B

Solution:

Model complexity and reasoning capability (Option B) (often correlated with larger parameter sizes) is the most relevant criterion. Processing highly intricate data matrices and extracting deep logical patterns requires a highly capable, complex model. Smaller, simpler models would fail to grasp the nuanced correlations in the user data. Audio/image modalities (Option A) are for media generation, not text data reasoning. Prompt caching (Option C) optimizes cost, and edge deployment (Option D) is for IoT devices, neither of which addresses the need for advanced reasoning.

Chapter Concept:

Foundation Model Selection Criteria

A.

Multi-modal input support

B.

Inference latency

C.

Pre-training dataset size

D.

Input/output context window length
Correct Answer: D

Solution:

Input/output context window length (Option D) is the strict limit on how much text (tokens) a model can process in a single request. To ingest a 100-page textbook simultaneously, the model must have a massive context window (e.g., 100K or 200K tokens). If the context window is too small, the API will reject the request or truncate the text. Multi-modal support (Option A) handles images/audio. Latency (Option B) and pre-training dataset size (Option C) do not dictate the physical limit of the input payload.

Chapter Concept:

Foundation Model Selection Criteria

A.

Multi-lingual capabilities

B.

Low inference latency

C.

Maximum model parameter complexity

D.

Cost efficiency per token
Correct Answer: A, B, D

Solution:

Multi-lingual capabilities (Option A) are required to converse with diverse global travelers. Low inference latency (Option B) ensures the bot replies instantaneously, maintaining a good user experience. Cost efficiency per token (Option C) is vital for processing millions of messages daily without breaking the budget. Maximum model complexity (Option C) generally increases both cost and latency, directly contradicting the requirements. Multi-modal image generation (Option E) is unnecessary for a text-based customer support chat.

Chapter Concept:

Foundation Model Selection Criteria

A.

Input/output context window length

B.

Multi-lingual translation capabilities

C.

Model size and reasoning complexity

D.

Audio transcription modalities
Correct Answer: A, C

Solution:

Input/output context window length (Option A) is critical to successfully pass the massive JSON datasets and generate a 50-page output without hitting token limits. Model size and reasoning complexity (Option C) is necessary to ensure the model possesses the deep logical capabilities required to understand clinical data and write regulatory-compliant reports. Multi-lingual (Option B) and audio (Option D) capabilities are irrelevant for English JSON data processing. Low inference latency (Option E) is a secondary concern for asynchronous, batch report generation.

Chapter Concept:

Foundation Model Selection Criteria

A.

Multi-lingual capabilities

B.

Prompt caching capabilities

C.

Large input context window length

D.

Generative video synthesis
Correct Answer: A, B, C

Solution:

Multi-lingual capabilities (Option A) are required to translate the subtitles into dozens of languages. Large input context window length (Option C) is required to ingest the massive transcript of a two-hour film in a single request. Prompt caching capabilities (Option B) allow the system to store the massive input transcript in memory; when the system requests a new translation for the same transcript, the model reuses the cached input, drastically reducing latency and input token costs. Generative video synthesis (Option D) creates video, it doesn't translate text. Low complexity (Option E) would likely result in poor translation quality.

Chapter Concept:

Foundation Model Selection Criteria

A.

Model customization and fine-tuning options

B.

Inference latency

C.

Model reasoning complexity

D.

Multi-modal image generation
Correct Answer: A, B, C

Solution:

Model customization and fine-tuning options (Option A) are critical because the firm needs to alter the model's weights using their highly proprietary trading algorithms (a capability not all managed models support). Inference latency (Option B) is vital to ensure minimal delay during active, fast-paced trading hours. Model reasoning complexity (Option C) ensures the model has the capacity for deep mathematical and logical analysis. Image generation (Option D) and translation (Option E) are irrelevant to numerical financial analytics.

Chapter Concept:

Foundation Model Selection Criteria

A.

Minimal model size (parameter count footprint)

B.

Low inference latency and computational efficiency

C.

Maximum model complexity

D.

Massive context window length (100K+ tokens)
Correct Answer: A, B

Solution:

Minimal model size (Option A) is absolutely critical for edge computing; a model with 70 billion parameters physically cannot fit into a smartphone's RAM, so a small model (e.g., 3B-7B parameters) is required. Low inference latency and computational efficiency (Option B) ensure the model runs quickly without draining the device's battery or freezing the CPU. Maximum model complexity (Option C) and massive context windows (Option D) require massive VRAM and compute power, making them impossible for on-device mobile deployment. Video processing (Option E) is computationally heavy and irrelevant for a text summarization app.

Chapter Concept:

Foundation Model Selection Criteria

A.

Increase the Top-P value to 0.99

B.

Decrease the Temperature setting to 0

C.

Increase the Top-K value to 250

D.

Increase the maximum output token limit
Correct Answer: B

Solution:

Decreasing the Temperature setting to 0 (Option B) removes randomness from the model's token selection process, forcing it to behave greedily and select the most probable next token every time, resulting in highly deterministic, consistent outputs. Increasing Top-P (Option A) or Top-K (Option C) introduces more token options into the sampling pool, increasing randomness and creativity. Increasing the output token limit (Option D) affects the length of the response, not its determinism. Reference: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html

Chapter Concept:

Inference Parameters

Unlock the Detailed Solution
Sign in to view options, correct answers, and step-by-step logic.

A.

Setting the Temperature to 0.1

B.

Decreasing the Top-P value

C.

Setting a strict Maximum Output Tokens length constraint

D.

Decreasing the Top-K value to 1
Correct Answer: C

Solution:

Setting a strict Maximum Output Tokens length constraint (Option C) explicitly forces the model to stop generating text once the token limit is reached. Because Generative AI APIs charge per output token, this serves as a hard cap on the cost and length of any single request. Temperature (Option A), Top-P (Option B), and Top-K (Option D) control the randomness and vocabulary choices of the model, but they do not enforce a strict physical limit on how long the generated response can be. Reference: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html

Chapter Concept:

Inference Parameters

Unlock the Detailed Solution
Sign in to view options, correct answers, and step-by-step logic.

A.

Decrease the Top-P value

B.

Increase the Top-P value

C.

Decrease the Top-K value

D.

Set a strict input length constraint
Correct Answer: B

Solution:

Increasing the Top-P value (Option B), also known as nucleus sampling, expands the cumulative probability threshold of tokens the model can choose from. A higher Top-P allows the model to consider a much wider vocabulary, including lower-probability, unconventional words, thereby increasing creativity and diversity. Decreasing Top-P (Option A) or Top-K (Option C) restricts the model's choices to only the most probable, common words, making the output more robotic and predictable. Input length constraints (Option D) control cost and latency, not vocabulary diversity. Reference: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html

Chapter Concept:

Inference Parameters

Unlock the Detailed Solution
Sign in to view options, correct answers, and step-by-step logic.

A.

Temperature

B.

Top-P

C.

Top-K

D.

Maximum Output Length
Correct Answer: C

Solution:

Top-K (Option C) explicitly dictates the exact number of highest-probability vocabulary tokens the model is allowed to consider for its next step. By setting Top-K to 50, the model ignores all words outside the top 50 most likely choices, effectively cutting off the 'long tail' of rare or strange words while still allowing some variance among the top 50. Top-P (Option B) uses a cumulative probability percentage rather than a strict count of words. Temperature (Option A) scales the probabilities but doesn't hard-filter a specific count of words. Maximum Output Length (Option D) controls response size. Reference: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html

Chapter Concept:

Inference Parameters

Unlock the Detailed Solution
Sign in to view options, correct answers, and step-by-step logic.

A.

Set Temperature close to 0

B.

Increase Top-P to 0.99

C.

Configure a strict Maximum Output Tokens limit

D.

Increase Top-K to 250
Correct Answer: A, C

Solution:

Setting the Temperature close to 0 (Option A) makes the model greedily select the most probable next token, eliminating randomness and ensuring the JSON extraction is highly deterministic and consistent. Configuring a strict Maximum Output Tokens limit (Option C) acts as a hard stop, ensuring the model never generates runaway text loops, thereby controlling API costs. Increasing Top-P (Option B), Top-K (Option D), or Temperature (Option E) all introduce randomness, creativity, and variability, which would destroy the rigid consistency required for a structured JSON data extraction pipeline. Reference: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html

Chapter Concept:

Inference Parameters

Unlock the Detailed Solution
Sign in to view options, correct answers, and step-by-step logic.
Experience the StudyTunnel Method

We do not just give you mock tests. We guide you through a gamified, AI-driven learning path designed to guarantee mastery.

Step 1: Practicing the Concepts

Design considerations for applications that use foundation models (FMs)

Step 2: Master Boss Exam
Locked • Full Phase Assessment
Step 3: Redemption Arena
Locked • AI Weakness Tracker