First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.
Continue in the practice tool above to load more questions, 50 at a time.
Question 1AI Model and Product Knowledge
Which statement best describes how a large language model generates text?
- It applies a fixed grammar rule set to assemble sentences deterministically.
- It predicts the next token from a probability distribution over its vocabulary. Correct answer.
- It searches the internet for each word before writing it.
- It retrieves the exact answer from a stored database of documents.
Explanation
Language models are trained to model the conditional probability of the next token given prior context, then sample or select from that distribution. Generation is iterative, with each new token appended to the context.
Question 2AI Model and Product Knowledge
What is a token in the context of a language model?
- A single neural network layer inside the transformer.
- A unit of text, such as a word or word fragment, that the model processes. Correct answer.
- A billing period for usage of the model.
- A user authentication credential used to call the API.
Explanation
Tokenization splits text into subword units that map to integer IDs in the model vocabulary. Context limits and pricing are typically measured in these units.
Question 3AI Model and Product Knowledge
A team wants the model to answer questions strictly from a set of internal policy documents. Which approach best fits this requirement?
- Fine-tuning on unrelated public text to broaden world knowledge.
- Retrieval-augmented generation that supplies relevant document excerpts in the prompt. Correct answer.
- Removing the system prompt so the model relies on its own judgment.
- Increasing the temperature setting to encourage more creative answers.
Explanation
RAG grounds responses in retrieved source passages so the model can cite and follow provided material. This reduces reliance on parametric memory and makes answers auditable.
Question 4AI Model and Product Knowledge
What does the temperature parameter primarily control during sampling?
- The size of the model's context window.
- The randomness of token selection by scaling the probability distribution. Correct answer.
- The maximum number of tokens the model may output.
- The number of documents retrieved for grounding.
Explanation
Temperature rescales logits before the softmax, flattening or sharpening the distribution. Lower values make output more deterministic; higher values increase diversity.
Question 5AI Model and Product Knowledge
Which task is an example of zero-shot prompting?
- Retrieving similar reviews from a database before classifying.
- Providing three labeled reviews before asking the model to classify a new one.
- Asking the model to classify a review as positive or negative without providing labeled examples. Correct answer.
- Training the model further on a labeled review dataset.
Explanation
Zero-shot prompting gives only the instruction, with no worked examples in the prompt. Few-shot prompting would include labeled demonstrations.
Question 6AI Model and Product Knowledge
A developer needs the model's response to always be parseable as JSON with specific fields. Which technique is most appropriate?
- Shortening the system prompt to a single sentence.
- Setting temperature to its maximum value.
- Adding the phrase 'please be accurate' to the end of the prompt.
- Defining a JSON schema and using structured output or tool-calling features where available. Correct answer.
Explanation
Structured output features constrain generation to a schema, making responses machine-parseable. Where unavailable, a detailed schema in the prompt plus validation is the fallback.
Question 7AI Model and Product Knowledge
What is the main purpose of a system prompt?
- To store the full history of user messages for later retrieval.
- To set persistent instructions and constraints that shape the model's behavior across the conversation. Correct answer.
- To encrypt the API request in transit.
- To select which GPU runs the inference.
Explanation
The system prompt establishes role, tone, and rules that apply to the whole interaction. It is processed along with user turns but is not a storage or transport mechanism.
Question 8AI Model and Product Knowledge
Which statement about hallucinations is accurate?
- They can be eliminated entirely by using a larger model.
- They only occur when the temperature is set to zero.
- They are caused by exceeding the context window.
- They are fluent outputs that are not supported by facts or provided sources. Correct answer.
Explanation
Hallucinations are plausible-sounding but unsupported or incorrect generations. They stem from the probabilistic nature of the model and gaps in grounding, and mitigation relies on retrieval, verification, and citations.
Question 9AI Model and Product Knowledge
What does the context window of a model represent?
- The maximum number of tokens the model can consider in a single request. Correct answer.
- The number of fine-tuning examples allowed per job.
- The number of users allowed to call the API concurrently.
- The time limit for a single inference call.
Explanation
The context window bounds the combined input and output tokens the model can attend to at once. Exceeding it requires truncation, summarization, or chunking.
Question 10AI Model and Product Knowledge
A support bot must answer using only the pasted warranty text, even when the model's general knowledge suggests otherwise. Which prompt design best enforces this?
- Ask the model to summarize its training data before answering.
- Instruct the model to answer solely from the provided text and to state when the text does not cover the question. Correct answer.
- Ask the model to be as helpful as possible and answer from any source.
- Raise the temperature so the model explores more possibilities.
Explanation
Explicit grounding instructions plus a fallback for missing information constrain the model to the supplied source. This reduces unsupported extrapolation.
Question 11AI Model and Product Knowledge
Which capability is characteristic of multimodal models?
- Accepting and reasoning over combinations of text and images in a single request. Correct answer.
- Running only on mobile devices without a network connection.
- Guaranteeing factual accuracy on every topic.
- Replacing the need for any prompt engineering.
Explanation
Multimodal models process more than one input modality, commonly text and images. They still require careful prompting and do not guarantee factual correctness.
Question 12AI Model and Product Knowledge
What is the primary role of an embedding model?
- Executing SQL queries against a relational database.
- Mapping text into vectors so that semantically similar inputs are close in vector space. Correct answer.
- Compressing images losslessly for storage.
- Generating long-form prose responses to user questions.
Explanation
Embedding models convert inputs into dense vectors used for similarity search, clustering, and retrieval. They do not generate conversational text.
Question 13AI Model and Product Knowledge
In a retrieval pipeline, what does reranking accomplish?
- It reorders an initial candidate set by relevance using a more precise scoring model. Correct answer.
- It converts the user query into a SQL statement.
- It permanently deletes low-scoring documents from the index.
- It trains the embedding model on new documents.
Explanation
Rerankers score query-document pairs more carefully than fast vector search, improving the ordering of the top results. They do not modify the underlying index.
Question 14AI Model and Product Knowledge
Which statement best describes fine-tuning?
- Increasing the context window by editing the model configuration.
- Further training a pretrained model on task-specific examples to adapt its behavior. Correct answer.
- Adding more retrieved documents to the prompt at inference time.
- Changing the sampling temperature for a single request.
Explanation
Fine-tuning updates model weights using a targeted dataset so behavior aligns with a specific task or style. It is distinct from prompt-time techniques like retrieval.
Question 15AI Model and Product Knowledge
A team wants the model to adopt a consistent brand voice across many requests without changing weights. Which approach is most direct?
- Setting temperature to zero and removing all instructions.
- Reducing the max output tokens to a small number.
- Encoding the voice guidelines and examples in the system prompt. Correct answer.
- Retraining the model from scratch on brand materials.
Explanation
Persistent style guidance in the system prompt shapes tone without retraining. Few-shot examples of the desired voice can strengthen the effect.
Question 16AI Model and Product Knowledge
What is the purpose of a tool or function call in an agentic system?
- To increase the model's parameter count at runtime.
- To permanently store the model's weights on the server.
- To let the model request an external action, such as a lookup, whose result is returned to it. Correct answer.
- To bypass authentication for API requests.
Explanation
Tool calling lets the model emit a structured request for an external function; the application executes it and feeds the result back. This extends the model beyond text generation.
Question 17AI Model and Product Knowledge
Which prompt is most likely to produce a concise, well-scoped answer?
- Tell me everything about the policy.
- Summarize the policy in three bullet points for new employees. Correct answer.
- Write about the policy without further constraints.
- Discuss the policy in whatever way seems best.
Explanation
Specifying format, audience, and length gives the model clear constraints, which improves relevance and reduces drift. Vague prompts invite unfocused output.
Question 18AI Model and Product Knowledge
What does a model's knowledge cutoff date indicate?
- The expiration date of the API key.
- The date after which the context window resets.
- The point after which events are generally not reflected in the model's pretrained knowledge. Correct answer.
- The date the model must be retrained by the customer.
Explanation
The cutoff marks the end of the training data period, so later events may be unknown unless supplied via retrieval or tools. It does not affect credentials or context handling.
Question 19AI Model and Product Knowledge
A developer notices the model ignores an instruction buried in the middle of a very long prompt. Which explanation is most plausible?
- The tokenizer deletes all text after the first paragraph.
- Long prompts are always rejected by the API.
- The model cannot read more than one instruction per request.
- Attention can be uneven across long contexts, so important instructions are better placed prominently. Correct answer.
Explanation
Models may attend unevenly across long inputs, and information in the middle can be underweighted. Repeating key instructions near the start or end and trimming irrelevant text mitigates this.
Question 20AI Model and Product Knowledge
Which metric best measures whether a retrieval system surfaces the documents needed to answer a question?
- Recall of the relevant documents in the retrieved set. Correct answer.
- Number of tokens in the system prompt.
- Average response length of the generated answer.
- Latency of the embedding model only.
Explanation
Recall measures the share of relevant documents that appear in the retrieved set, which directly affects whether the answer can be grounded. Other listed metrics do not measure retrieval coverage.
Question 21AI Model and Product Knowledge
What is a key trade-off when choosing a smaller model over a larger one for a task?
- Guaranteed elimination of hallucinations.
- Higher accuracy on all tasks with no downside.
- Lower cost and latency versus potentially reduced reasoning quality on complex inputs. Correct answer.
- Unlimited context window with no cost.
Explanation
Smaller models typically offer cheaper, faster inference but may underperform on difficult reasoning or nuanced tasks. The choice depends on task complexity and quality requirements.
Question 22AI Model and Product Knowledge
Which practice best reduces prompt injection risk when a model processes untrusted user content?
- Separating untrusted content from instructions and validating any actions the model requests. Correct answer.
- Trusting any instruction that appears inside the user content.
- Disabling all logging to avoid storing malicious text.
- Increasing temperature so the model ignores injected text.
Explanation
Treating retrieved or user-supplied text as data rather than instructions, and gating tool actions with validation, limits injection impact. Logging and monitoring also support detection.
Question 23AI Model and Product Knowledge
What does chain-of-thought prompting encourage a model to do?
- Retrieve external documents before answering.
- Skip reasoning and output only the final answer.
- Produce intermediate reasoning steps before arriving at a final answer. Correct answer.
- Store its reasoning in the model weights permanently.
Explanation
Chain-of-thought prompting elicits step-by-step reasoning, which can improve performance on multi-step problems. The intermediate steps are generated text, not stored weights.
Question 24AI Model and Product Knowledge
A model returns a confident but outdated price because the price changed last week. Which mitigation addresses the root cause most directly?
- Lower the temperature to zero.
- Supply the current price through retrieval or a tool lookup at request time. Correct answer.
- Increase the max output tokens.
- Ask the model to be more confident in its answers.
Explanation
Outdated facts reflect the limits of pretrained knowledge, so providing current data at inference time addresses the cause. Sampling settings and output length do not update facts.
Question 25AI Model and Product Knowledge
Which statement about few-shot examples in a prompt is accurate?
- They demonstrate the desired input-output pattern, which helps the model match format and task expectations. Correct answer.
- They replace the need for any task instruction.
- They guarantee correct answers on unseen inputs.
- They permanently update the model's weights.
Explanation
Few-shot examples show the model the expected pattern and format within the prompt. They guide behavior but do not alter weights or guarantee correctness.
Question 26AI Model and Product Knowledge
Which statement best describes what a foundation model is?
- A small classifier trained to label one fixed set of categories
- A model trained only on one company's private records for a single workflow
- A model trained on broad data that can be adapted to many downstream tasks Correct answer.
- A rule-based engine that follows hand-written decision trees
Explanation
Foundation models are pretrained on large, broad corpora and then adapted through prompting, retrieval, or fine-tuning to many tasks. This generality is what distinguishes them from narrow single-purpose models.
Question 27AI Model and Product Knowledge
Which description matches a model's parameters?
- The documents supplied to the model inside the prompt
- The hardware accelerators used to serve the model
- The learned weights adjusted during training that shape its outputs Correct answer.
- The user-facing settings such as temperature and top-p
Explanation
Parameters are the internal weights the training process tunes to minimize error. They are fixed at inference time and are separate from runtime settings or input content.
Question 28AI Model and Product Knowledge
What does a model's tokenization step do before generation begins?
- Translates the input into English before processing
- Compresses the prompt to reduce its size
- Splits input text into smaller units the model can process Correct answer.
- Encrypts the prompt so it cannot be logged
Explanation
Tokenization converts text into subword or word units that map to numeric IDs the model consumes. Token counts also drive context limits and pricing.
Question 29AI Model and Product Knowledge
Which factor most directly explains why two identical prompts can yield different outputs from the same model?
- The context window shrinks with each call
- The tokenizer changes the vocabulary between calls
- Non-zero sampling temperature introduces randomness in token selection Correct answer.
- The model retrains itself after every request
Explanation
With a temperature above zero, the model samples from a probability distribution rather than always taking the most likely token, so outputs vary. Setting temperature to zero makes responses largely deterministic.
Question 30AI Model and Product Knowledge
Which statement accurately describes temperature as a generation setting?
- Higher values make the model retrieve more documents
- Lower values force the model to cite its sources
- Lower values enlarge the model's context window
- Higher values flatten the distribution and increase output variety Correct answer.
Explanation
Temperature rescales the next-token probability distribution; higher values make unlikely tokens more probable, producing more varied text. It does not affect retrieval, context size, or citation behavior.
Question 31AI Model and Product Knowledge
A developer needs the model to follow a strict output schema so downstream code can parse it. Which approach is most appropriate?
- Shorten the system prompt to a single word
- Raise the temperature to encourage creative formatting
- Remove all examples from the prompt
- Constrain generation with structured output or a JSON schema Correct answer.
Explanation
Schema-constrained or structured output modes restrict generation to valid shapes, making parsing reliable. Prompt-only requests for JSON are less dependable than enforced schemas.
Question 32AI Model and Product Knowledge
Which statement about a model's context window is accurate?
- It is the number of requests allowed per minute
- It bounds the total tokens the model can attend to in one request Correct answer.
- It stores the model's weights between sessions
- It is the maximum length of a single output token
Explanation
The context window is the combined budget for input and output tokens the model can process in one call. Content beyond it must be truncated, summarized, or retrieved selectively.
Question 33AI Model and Product Knowledge
Which capability distinguishes a multimodal model from a text-only model?
- It can accept or produce more than one data modality, such as images and text Correct answer.
- It can run without any memory or compute
- It requires no prompt to generate output
- It always produces shorter answers
Explanation
Multimodal models process or generate multiple modalities, for example combining image and text inputs. This extends the kinds of tasks they can handle beyond pure text.
Question 34AI Model and Product Knowledge
What is the primary function of an embedding model?
- Generating long-form prose in response to questions
- Enforcing output schemas during decoding
- Counting tokens for billing purposes
- Mapping text into vectors so semantic similarity can be computed Correct answer.
Explanation
Embedding models convert content into dense vectors positioned so that semantically similar items are close together. These vectors power search, clustering, and retrieval.
Question 35AI Model and Product Knowledge
A team must answer questions over a large internal document set that changes daily. Which architecture best fits?
- Raising the temperature so the model explores more answers
- Retrieval-augmented generation that fetches current documents at query time Correct answer.
- Fine-tuning the model once on a snapshot of the documents
- Relying on the model's pretrained knowledge alone
Explanation
Retrieval-augmented generation supplies fresh source content at query time, so updates appear without retraining. Fine-tuning on a snapshot would go stale as documents change.
Question 36AI Model and Product Knowledge
In a retrieval pipeline, what does the reranking stage do?
- Generates the final answer from the retrieved passages
- Encrypts the retrieved documents before storage
- Reorders an initial candidate set by a more precise relevance score Correct answer.
- Splits documents into chunks for indexing
Explanation
Reranking takes the candidates returned by fast retrieval and scores them with a more expensive model to improve ordering. It refines relevance rather than generating answers or preparing the index.
Question 37AI Model and Product Knowledge
What is the main effect of chunk size when preparing documents for retrieval?
- It determines the model's parameter count
- It sets the maximum output tokens for the answer
- It trades retrieval precision against the context available in each passage Correct answer.
- It controls the temperature used during generation
Explanation
Smaller chunks sharpen matching but may lack surrounding context, while larger chunks carry more context but can dilute relevance. Chunk size is a precision-versus-context trade-off.
Question 38AI Model and Product Knowledge
A team wants the model to adopt a consistent brand voice across many requests without changing model weights. Which approach fits?
- Fine-tune the model on a new dataset for each request
- Remove the system prompt so the model improvises
- Increase temperature until the tone stabilizes
- Provide a system prompt with style guidance and representative examples Correct answer.
Explanation
A system prompt with clear style rules and examples steers behavior at inference time without retraining. This is faster and cheaper than fine-tuning for a tone requirement.
Question 39AI Model and Product Knowledge
Which prompt is most likely to yield a concise, well-scoped answer?
- Summarize the attached policy in three bullet points for new hires. Correct answer.
- Discuss the policy.
- What about it?
- Tell me everything you know about the policy.
Explanation
Specifying format, length, and audience narrows the response to exactly what is needed. Vague prompts leave scope open and invite long or off-target answers.
Question 40AI Model and Product Knowledge
A developer finds the model ignores an instruction placed in the middle of a very long prompt. Which explanation is most plausible?
- The instruction is converted into a tool call automatically
- Attention is uneven across long inputs, so mid-context content can be underweighted Correct answer.
- The tokenizer removes sentences it considers unimportant
- The model deletes the middle tokens to save memory
Explanation
Models do not attend uniformly across long contexts and often weight the beginning and end more heavily. Placing critical instructions near the start or end, or repeating them, mitigates this.
Question 41AI Model and Product Knowledge
Which metric best measures whether retrieval surfaces the documents needed to answer a question?
- Average response latency in milliseconds
- Recall of the relevant documents in the retrieved set Correct answer.
- Number of tokens in the generated answer
- Temperature value used during generation
Explanation
Recall measures how many of the truly relevant documents appear in the retrieved set. If relevant documents are missing, no downstream generation step can recover them.
Question 42AI Model and Product Knowledge
A team needs the model to reason through a multi-step arithmetic word problem. Which technique is most likely to improve accuracy?
- Removing all context from the prompt
- Chain-of-thought prompting that asks for intermediate steps Correct answer.
- Requesting the final answer only, with no reasoning
- Raising temperature to the maximum value
Explanation
Eliciting intermediate reasoning steps helps the model track multi-step logic before committing to an answer. Answer-only requests give it less room to work through the problem.
Question 43AI Model and Product Knowledge
A model returns a confident but outdated price because the price changed last week. Which mitigation addresses the root cause?
- Increase the temperature so the model sounds less certain
- Ask the model to apologize for being outdated
- Retrieve the current price from a live source and include it in context Correct answer.
- Shorten the prompt to reduce token cost
Explanation
The root cause is stale parametric knowledge, so supplying current data through retrieval or a tool call fixes it. Tone adjustments do not change the underlying facts.
Question 44AI Model and Product Knowledge
A model performs well in testing but degrades in production as user inputs drift from the test distribution. Which response best addresses this?
- Assume the drift is random and take no action
- Lower the context window to reduce exposure to drift
- Increase temperature to make outputs more robust
- Monitor production inputs and outputs and refresh evaluation data to match real usage Correct answer.
Explanation
Distribution drift means the evaluation no longer reflects real inputs, so ongoing monitoring and updated evaluation sets are needed to detect and correct degradation. Ignoring it or changing sampling does not fix the mismatch.
Question 45AI Model and Product Knowledge
A team must choose between a large general model and a smaller fine-tuned model for a narrow classification task with tight latency limits. Which reasoning is soundest?
- Always pick the largest model because size guarantees better accuracy
- Pick the model with the highest temperature setting
- Choose based on parameter count alone without testing
- Benchmark the smaller fine-tuned model on held-out data and compare accuracy against latency targets Correct answer.
Explanation
The decision should rest on measured task accuracy against the latency requirement, since a specialized smaller model can match a large general model on narrow tasks. Parameter count alone is a poor proxy for task performance.
Question 46AI Model and Product Knowledge
Why can a model produce a fluent but fabricated citation?
- It deliberately hides the correct source from the user
- Its context window forces it to invent citations
- Its tokenizer inserts fake references automatically
- It predicts plausible token sequences rather than verifying facts against a source Correct answer.
Explanation
Generation optimizes for plausible continuations, not factual verification, so a citation can be well-formed yet nonexistent. Grounding answers in retrieved sources and requiring verifiable references reduces this risk.
Question 47AI Model and Product Knowledge
A product team wants the model to reliably extract dates from invoices in a fixed format. Which approach most directly constrains the output to that format?
- Increasing the maximum token limit
- Defining a structured output schema the response must conform to Correct answer.
- Adding more examples of free-form prose to the prompt
- Raising the temperature setting
Explanation
A structured output schema (for example, a JSON schema) constrains generation so the response conforms to defined fields and types. This makes downstream parsing reliable. Other sampling or length settings do not enforce structure.
Question 48AI Model and Product Knowledge
A team is deciding between fine-tuning and retrieval-augmented generation for giving a model access to a knowledge base that is updated hourly. Which consideration most favors retrieval-augmented generation?
- Retrieval eliminates the need for any prompt engineering
- Retrieval keeps the knowledge external so updates take effect without retraining Correct answer.
- Retrieval guarantees the model will never hallucinate
- Retrieval permanently writes new facts into the model's weights
Explanation
In retrieval-augmented generation the knowledge lives in an external store that is queried at inference time, so content changes propagate immediately. Fine-tuning bakes knowledge into weights and would require retraining to reflect frequent updates. Retrieval reduces but does not eliminate hallucination.
Question 49AI Model and Product Knowledge
A developer notices that a model answers questions about recent events incorrectly even when the correct facts appear in the prompt. The facts are placed after a long block of unrelated text. Which explanation best fits this behavior?
- The relevant facts fall outside the effective attention of the long context Correct answer.
- The temperature was set to zero
- The model's weights were updated after the prompt was sent
- The tokenizer merged the facts into a single token
Explanation
Information positioned deep within a long context can receive less effective attention, so relevant facts may be underused even when present. Placing key facts near the start or end of the prompt, or trimming irrelevant text, mitigates this. Weight updates and tokenization do not explain it.
Question 50AI Model and Product Knowledge
A developer is designing a system and wants to control how much randomness the model applies when choosing among likely next tokens during generation. Which setting should the developer adjust?
- The temperature parameter Correct answer.
- The embedding dimensions
- The context window size
- The maximum output token limit
Explanation
Temperature scales the probability distribution over candidate next tokens, so lower values make output more deterministic and higher values make it more varied. The other settings govern output length, vector representation size, or how much input the model can accept, none of which control sampling randomness.