AI Foundations · 22% practice allocation

AI Foundations: Foundation Models & Interfaces Practice Questions

5 free sample questions from the Foundation Models & Interfaces domain, with answers and explanations. The full AI Foundations bank has 735 questions across 5 domains. Questions follow the AI Foundations course content.

1.

A data scientist is evaluating several LLMs for a coding assistant. She wants to compare models using a standardized benchmark specifically designed to measure code generation ability. Which benchmark should she prioritize?

  • A. MMLU (Massive Multitask Language Understanding)
  • B. HELM (Holistic Evaluation of Language Models)
  • C. BIG-Bench
  • D. HumanEval✓ Correct
Explanation

HumanEval is a benchmark specifically designed to measure code generation capability — it presents programming problems and evaluates whether the model produces functionally correct code. MMLU measures broad academic knowledge across 57 subjects but is not code-focused. HELM is a meta-framework that aggregates many benchmarks for holistic evaluation and is not specialized for coding. BIG-Bench is a broad reasoning benchmark covering many tasks but is not specifically a coding benchmark.

2.

Anthropic's Claude model family includes three tiers designed to balance performance and cost. Arranged from fastest/cheapest to most capable/expensive, which order is correct?

  • A. Sonnet → Haiku → Opus
  • B. Haiku → Opus → Sonnet
  • C. Haiku → Sonnet → Opus✓ Correct
  • D. Opus → Sonnet → Haiku
Explanation

Anthropic's Claude lineup follows the order Haiku (smallest, fastest, lowest cost) → Sonnet (mid-tier, balanced performance and cost) → Opus (largest, most capable, highest cost). This mirrors the naming convention — a haiku is a short poem, a sonnet is medium-length, and an opus is a large-scale work. The other orderings misplace one or more models in the hierarchy.

3.

A startup is evaluating foundation models for a new product. They need a model that can accept both a photograph of a damaged car and a text description of the incident to generate an insurance claim summary. Which model capability is essential for this task?

  • A. Retrieval-Augmented Generation (RAG)
  • B. Extended thinking / chain-of-thought reasoning
  • C. Multimodal vision input support✓ Correct
  • D. Text-to-speech (TTS) synthesis
Explanation

The task requires the model to process an image (photo of the damaged car) alongside text. This is precisely what multimodal vision input capability provides. Extended thinking improves reasoning quality on text tasks but does not add image understanding. TTS converts text to audio, which is unrelated. RAG enhances responses with retrieved documents but does not grant a model the ability to perceive images.

4.

Which TWO of the following statements correctly describe differences between open-weight models and proprietary hosted models?

  • A. Open-weight models typically require the user to manage their own inference infrastructure✓ Correct
  • B. Proprietary hosted models always have larger context windows than open-weight models
  • C. Proprietary hosted models are always less expensive per token than open-weight models
  • D. Open-weight models cannot be used for commercial applications under any license
  • E. Open-weight models allow fine-tuning on custom datasets without sending data to a third party✓ Correct
Explanation

Open-weight models (e.g., Llama 3, Mistral) allow local fine-tuning without data leaving your infrastructure (A — correct), and they require self-managed inference hardware or cloud VMs (C — correct). Proprietary models do NOT always have larger context windows — Llama 3 and Mistral variants offer competitive context lengths (B — wrong). Open-weight models are not always cheaper; infrastructure and GPU costs can exceed API pricing at scale (D — wrong). Many open-weight models (including Llama 3 and Mistral) have permissive licenses that allow commercial use (E — wrong).

5.

Which THREE of the following are accurate statements about the Gemini model family's multimodal capabilities?

  • A. Gemini models can accept video frames as input, not just static images
  • B. Gemini is limited to text and image modalities and does not support audio or video inputs
  • C. Gemini Nano is optimized for on-device deployment on mobile and edge hardware✓ Correct
  • D. Gemini Ultra, Pro, and Nano represent different capability and deployment tiers within the Gemini family✓ Correct
  • E. Gemini models were designed from the ground up to be natively multimodal, processing text, images, audio, and video✓ Correct
  • F. Gemini's multimodal capability was added solely through post-training fine-tuning on image-text pairs, similar to GPT-4V
Explanation

A (index 0): Correct — Gemini was built as a natively multimodal model from pretraining, unlike models that had vision bolted on afterward. C (index 2): Correct — Gemini Ultra, Pro, and Nano are the three size/deployment tiers of the Gemini family, analogous to Opus/Sonnet/Haiku for Claude. F (index 5): Correct — Gemini Nano is specifically optimized for on-device deployment on Android and edge hardware. B (index 1) is wrong: Gemini's multimodality is native, not achieved solely through post-training fine-tuning. D (index 3) is partially true but overstated as a general launch capability. E (index 4) is clearly wrong: Gemini supports audio and video, not just text and images.

Test yourself across every AI Foundations domain

The free AI Foundations practice test mixes about 20 questions weighted like the exam. The full 735-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Foundation Models & Interfaces study guide (AI Foundations) →

Other AI Foundations domains

← All AI Foundations study resources