AI Foundations · 22% of the exam

Foundation Models & Interfaces: free practice questions

5 sample questions from our 55-question bank for this domain — answers and explanations included. These are the same scenario-based style as the real DataCertPrep exam.

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. HumanEval✓ Correct
  • C. HELM (Holistic Evaluation of Language Models)
  • D. BIG-Bench
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. A machine learning engineer is selecting a benchmark to evaluate a model's broad academic and professional knowledge across subjects like medicine, law, history, and mathematics. Which benchmark is most appropriate?

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

MMLU (Massive Multitask Language Understanding) is specifically designed to measure a model's knowledge and reasoning across 57 academic and professional subjects, making it ideal for assessing broad knowledge breadth. HumanEval measures code generation ability (writing Python functions). HELM is a broad evaluation framework covering many metrics (accuracy, robustness, fairness), not just subject-matter knowledge. SQuAD is a reading comprehension benchmark focused on extracting answers from given passages.

3. A team is evaluating language models for a new application and debates whether to use the HELM benchmark or the HumanEval benchmark. Their use case involves deploying an LLM as a general business assistant that must handle summarization, question answering, and sentiment analysis — but NOT code generation. Which benchmark is MORE appropriate for their evaluation, and why?

  • A. HumanEval, because it tests a wider variety of tasks including summarization and sentiment analysis.
  • B. HELM (Holistic Evaluation of Language Models), because it evaluates models across a broad spectrum of tasks including accuracy, robustness, fairness, and efficiency — better reflecting general-purpose assistant performance.✓ Correct
  • C. HELM is only appropriate for evaluating image generation models and is not applicable to text-based tasks.
  • D. HumanEval, because it is the industry-standard general-purpose benchmark endorsed by all major AI labs.
Explanation

HELM (Holistic Evaluation of Language Models, from Stanford CRFM) is explicitly designed to evaluate models holistically across many NLP scenarios — including summarization, QA, and classification — while also capturing metrics like calibration, robustness, and fairness. This aligns directly with a general business assistant evaluation. Option A is incorrect because HumanEval is specifically a code generation benchmark (Python function completion), not a multi-task NLP benchmark. Option C is completely incorrect — HELM is a text-based multi-task NLP benchmark. Option D is incorrect because HumanEval is the standard specifically for coding benchmarks, not general-purpose evaluations.

4. Which of the following best describes what a 'token' is in the context of a Large Language Model?

  • A. A single character, always exactly one letter or digit
  • B. A unit of text that can be a word, part of a word, or punctuation mark, used as the basic unit of input and output✓ Correct
  • C. A fixed 512-byte chunk of raw text data used during pretraining
  • D. A cryptographic hash that uniquely identifies each word in the vocabulary
Explanation

Tokens are sub-word units — they can represent a whole word, a word fragment, punctuation, or whitespace, depending on the tokenizer (e.g., BPE or WordPiece). They are the fundamental unit LLMs use for both input and output. Tokens are NOT single characters (many words are single tokens, and rare words may be split into multiple tokens). They are not fixed-size byte chunks; tokenization is vocabulary-based, not byte-based. They are not cryptographic hashes.

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

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

50 more questions in this domain

Practice the full bank with instant grading, flashcards, and a timed mock exam.

Start practicing free
Foundation Models & Interfaces — Free AI Foundations Practice Questions | DataCertPrep — Certification Prep