The suggested AIFiddler study target is 40/50 (80%). This is an original learning assessment covering the course subjects, not an official certification exam or a promise of an external exam result. Service limits in questions are explicitly hypothetical.

Each question includes its answer and a link to the lesson. Keep explanations closed until you have answered. Unanswered questions earn no points. Use the study record to note concepts to revisit.

0 of 50 questions answered.

Answers stay on this page until you clear or reload it. No account or submission to a server is involved.

Question 1 · ModerationAn application wants to screen harmful requests and check generated responses before display. Where can moderation be applied?
Answer and explanation

A. At input, output, or both, according to policy

Input and output checks address different stages. Neither substitutes for authorization, factual verification, or a complete injection defense.

Review lesson 13: moderation
Question 2 · RAG generationWhich step combines the user's question with retrieved passages to compose an answer?
Answer and explanation

B. Generation

The generator consumes the question, instructions, and selected evidence. Retrieval finds candidate passages; ingestion prepares them in advance.

Review lesson 16: rag generation
Question 3 · Full tuning and PEFTWhat distinguishes full fine-tuning from a typical parameter-efficient adaptation?
Answer and explanation

B. Full tuning updates all or most base weights; PEFT trains a much smaller added or selected set

Fine-tuning is an umbrella term. Full tuning and PEFT differ in the trainable values and resource footprint, not in whether learning takes place.

Review lesson 4: full tuning and peft
Question 4 · Model lifecycleA model is deprecated and has a published retirement date. What is the appropriate application response?
Answer and explanation

A. Test and migrate to a supported replacement before retirement

Deprecation can precede retirement. Migration requires testing quality, formatting, limits, and integration behavior rather than assuming compatibility.

Review lesson 8: model lifecycle
Question 5 · Inference endpointIn a client configuration, what does the inference endpoint URL identify?
Answer and explanation

B. The destination for service requests

The endpoint is an access address. Credentials, operation, model selection, and input payload are separate request concerns.

Review lesson 8: inference endpoint
Question 6 · Semantic retrievalWhy can embedding search find a passage that uses different words from a query?
Answer and explanation

C. The representation can place semantically related inputs close together

Semantic proximity can connect paraphrases. Similarity is not proof of truth, permission, or relevance to every part of a question.

Review lesson 9: semantic retrieval
Question 7 · IngestionLoading documents, splitting them, and creating stored embeddings primarily belong to which phase?
Answer and explanation

B. Ingestion

Ingestion prepares the searchable evidence. Query-time retrieval and generation use that prepared information.

Review lesson 15: ingestion
Question 8 · Training lossWhat is needed to calculate next-token cross-entropy on a reference sequence?
Answer and explanation

B. Probabilities assigned to the reference tokens under the evaluation setup

Cross-entropy uses negative log probabilities of reference targets. Visible sentence similarity or word overlap alone cannot establish its value.

Review lesson 11: training loss
Question 9 · Training allocationA hypothetical training allocation reserves eight compute units and runs three tuning jobs sequentially without resizing. How many units are provisioned while each job runs?
Answer and explanation

B. Eight

The stated allocation is eight units. Sequential job count changes duration and total unit-hours, not the instantaneous allocation under these assumptions.

Review lesson 12: training allocation
Question 10 · LCELWhich LangChain mechanism expresses a prompt, model, and parser as a declarative runnable sequence?
Answer and explanation

A. LCEL composition, such as prompt | model | parser

LCEL composes compatible runnable steps. It defines application data flow; it does not train a model or create memory automatically.

Review lesson 14: lcel
Question 11 · Usage billingAn illustrative contract charges equally for every input and output character. A request contains 200 input characters and produces 500 output characters. What is the usage before any other charges?
Answer and explanation

D. 700 billable characters

Under the stated character-based rule, add input and output: 200 + 500 = 700 characters. Real services may use different units and separate rates.

Review lesson 12: usage billing
Question 12 · Multimodal parsingA PDF contains charts and screenshots with important information. What can multimodal parsing add beyond ordinary text extraction?
Answer and explanation

A. Interpretation of visual content and relationships, subject to verification

Visual parsing can recover information from images, charts, and layout. Axes, units, numbers, and extracted relationships still need checking.

Review lesson 15: multimodal parsing
Question 13 · Vector indexesWhat is the main purpose of an approximate nearest-neighbor index?
Answer and explanation

C. To speed candidate search, with a possible recall tradeoff

Indexes such as HNSW and IVF organize search. Approximation can improve speed while missing some nearest neighbors; it does not replace generation or metadata.

Review lesson 16: vector indexes
Question 14 · Resource dependenciesBefore removing a knowledge base shared by several agents, what should an operator establish?
Answer and explanation

B. Which agents and sources depend on it, and how their evidence access will be affected

Inspect dependencies and platform lifecycle rules before deletion. Removing a shared information resource can break or reduce an agent's evidence coverage.

Review lesson 17: resource dependencies
Question 15 · Presence penaltyUnder the common additive interpretation, how does a presence penalty differ from a frequency penalty?
Answer and explanation

A. Presence depends on whether a token has appeared; frequency also depends on how often

Presence commonly applies a fixed adjustment after occurrence, while frequency scales with the count. Exact implementation and counted context must be checked.

Review lesson 5: presence penalty
Question 16 · Conversation stateWhat is the conceptual read/write pattern for memory in a simple conversational chain?
Answer and explanation

D. Read relevant history to prepare the request, then save new interaction state after execution

Memory supplies prior interaction state and records new state. Persistence and output timing are runtime-specific, and history is not automatically authoritative evidence.

Review lesson 14: conversation state
Question 17 · Greedy decodingWhat does greedy decoding choose at each generation step?
Answer and explanation

B. The token with the highest current score

Greedy decoding makes a local highest-score choice. That does not ensure the best complete sequence or a factually correct answer.

Review lesson 5: greedy decoding
Question 18 · Vector storageA database with vector support stores a 384-coordinate image embedding. Which representation fits the whole embedding?
Answer and explanation

A. A vector or supported numeric-array column with the required dimensions

An embedding is a sequence of coordinates. An ID, scalar, or URL alone cannot represent all of its dimensions.

Review lesson 16: vector storage
Question 19 · Resource lifecycle statesAn endpoint move is documented to use Updating during the operation and Active after success. What should the client verify?
Answer and explanation

B. Successful completion and access in the destination scope

The stated lifecycle describes this example. Completion, errors, destination permissions, and availability must be checked rather than inferred from starting the operation.

Review lesson 8: resource lifecycle states
Question 20 · Embedding dimensionsA model returns a 384-dimensional embedding for each input. What does 384 describe?
Answer and explanation

B. The number of numerical coordinates in each returned vector

Dimensionality is vector length. It is separate from token limits, parameter count, and serving capacity.

Review lesson 9: embedding dimensions
Question 21 · Endpoint quotasA hypothetical cluster allows at most 40 endpoints. Ignoring throughput and redundancy constraints, what is the minimum number of clusters for 65 endpoints?
Answer and explanation

D. Two

Round 65/40 upward to two. This is only the lower bound imposed by the stated endpoint quota; workload capacity may require more.

Review lesson 12: endpoint quotas
Question 22 · Embedding fieldIn a retrieval table with doc_id, body, and embedding, what belongs in the embedding field?
Answer and explanation

A. The numerical representation produced from the corresponding content

The vector supports similarity search. Preserve body text and metadata separately so retrieved records remain readable and citable.

Review lesson 16: embedding field
Question 23 · Session retentionA user ends a chat session. What can be concluded about stored prompts, traces, and retrieved context without checking policy?
Answer and explanation

C. Nothing definitive; session state, logs, backups, and training-use policies must be checked separately

Session completion does not establish retention or training use. Different data stores and policies may apply to different copies.

Review lesson 13: session retention
Question 24 · Embedding inputAn embedding request contains inputs = ["reset a password", "download an invoice"]. What is this list for?
Answer and explanation

B. Providing the texts to convert into embeddings

The list contains input texts. The selected model and configuration determine the returned embedding representation.

Review lesson 8: embedding input
Question 25 · On-demand servingWhich description best fits on-demand model serving?
Answer and explanation

B. It provides managed capacity accessed as needed under usage and service limits

On-demand describes the access and commercial model. It does not imply a particular physical shutdown process or dedicated resources.

Review lesson 8: on-demand serving
Question 26 · Training stepsA run uses 1,000 examples, batch size 20, and three epochs. There is one worker, no gradient accumulation, and one update per full batch. How many optimizer updates occur?
Answer and explanation

B. 150

There are 1,000/20 = 50 updates per epoch and 3 × 50 = 150 overall. Accumulation, partial batches, multiple workers, or early stopping can alter this calculation.

Review lesson 11: training steps
Question 27 · RerankingA RAG system already retrieved 30 candidate passages. Which component can reorder them by relevance before final context selection?
Answer and explanation

C. A reranker

Reranking refines candidate relevance. It cannot recover an absent source unless another search is performed.

Review lesson 16: reranking
Question 28 · PDF preparationWhich preparation approach best preserves useful evidence from PDFs?
Answer and explanation

C. Preserve source locations and table structure, interpret visual content where supported, and verify extraction

Reliable ingestion preserves meaning and provenance, including images and tables. Chunk numbers are not PDF page numbers, and format limits depend on the parser.

Review lesson 15: pdf preparation
Question 29 · Top-pCandidate probabilities are 50%, 30%, 15%, and 5%, in descending order. Which candidates remain at top-p 0.75?
Answer and explanation

B. The first two, then renormalized

The first candidate reaches 50%; the first two reach 80%, crossing 75%. Their normalized probabilities become 62.5% and 37.5%.

Review lesson 5: top-p
Question 30 · Unseeded samplingA model samples tokens without a fixed seed. Which statement is accurate?
Answer and explanation

B. Responses may vary, but identical outputs remain possible

Sampling allows variation but can repeat an outcome. Greedy settings or a concentrated distribution can also yield the same answer across requests.

Review lesson 5: unseeded sampling
Question 31 · Prompting versus trainingHow can prompting and training both affect a model's next-token predictions?
Answer and explanation

A. Prompting changes conditioning context; training changes learned values

Context and learned parameters both influence the distribution, but they act through different mechanisms. Few-shot examples in a request are not automatically a training run.

Review lesson 2: prompting versus training
Question 32 · Managed servicesWhich bundle of capabilities might a managed generative AI service provide, subject to model support?
Answer and explanation

C. Hosted chat and embedding inference, plus supported customization and deployment options

Managed services can offer several model operations and hosting features. Actual support differs by model and service version; evaluation remains the application's responsibility.

Review lesson 8: managed services
Question 33 · Soft prompt tuningWhich statement accurately describes soft prompt tuning?
Answer and explanation

A. It learns continuous prompt embeddings while usually freezing the base model

Soft prompts are learned vectors. They require optimization even when the base weights remain frozen.

Review lesson 4: soft prompt tuning
Question 34 · Groundedness and relevanceAn answer faithfully repeats a supplied paragraph but does not address the user's question. Which diagnosis fits?
Answer and explanation

A. It can be grounded while lacking answer relevance

Groundedness concerns support in evidence; relevance concerns answering the question. A grounded statement can also repeat an outdated or incorrect source.

Review lesson 6: groundedness and relevance
Question 35 · Embedding inferenceA client calls its configured embedding operation with input texts and receives vectors. What happened?
Answer and explanation

C. The service performed embedding inference on those inputs

An embedding operation computes representations. Persisting vectors in a database and training a model are separate operations.

Review lesson 8: embedding inference
Question 36 · Data-source deletionA data-source connector is removed from an agent system. What is the responsible next verification?
Answer and explanation

C. Check affected agent behavior and whether indexed content, caches, and stored copies were also removed

Connector deletion and deletion of all content copies are not universally the same operation. Evidence coverage and retention must be verified.

Review lesson 17: data-source deletion
Question 37 · T-Few and IA3How is the IA³ method used in the T-Few research recipe best described?
Answer and explanation

B. It learns small vectors that scale selected internal activations while freezing the base weights

IA³ is a parameter-efficient method using learned scaling vectors. T-Few is a training recipe, distinct from ordinary few-shot examples in a prompt.

Review lesson 10: t-few and ia3
Question 38 · TemperatureFor fixed logits and positive temperature, what generally happens when temperature increases?
Answer and explanation

A. The probability distribution becomes flatter

Dividing logits by a larger positive temperature reduces their relative differences before softmax. This changes sampling variation, not the truth of the content.

Review lesson 5: temperature
Question 39 · Choosing fine-tuningWhich problem most directly supports evaluating supervised fine-tuning after a strong prompting baseline?
Answer and explanation

A. A repeated specialist labeling task with consistent high-quality examples and persistent errors

Fine-tuning can teach stable task behavior. Fresh policies call for current evidence; permissions and source discovery are application or retrieval concerns.

Review lesson 10: choosing fine-tuning
Question 40 · Supported adaptation methodsA model-service specification lists LoRA and IA³ support. What can you safely infer?
Answer and explanation

C. Those listed methods are supported under the stated specification; full tuning needs separate confirmation

Support is method- and version-specific. LoRA learns low-rank updates; IA³ learns scaling vectors. Neither implies availability of full fine-tuning.

Review lesson 10: supported adaptation methods
Question 41 · HallucinationAn assistant confidently invents two product features absent from the provided specifications. Which issue is most directly visible?
Answer and explanation

D. Unsupported generated claims, commonly described as hallucination

The observable problem is unsupported content. The output alone does not prove whether the cause was retrieval failure, misleading context, or another mechanism.

Review lesson 6: hallucination
Question 42 · ReproducibilityWhich practice best supports a reproducible sampling experiment?
Answer and explanation

A. Fix supported seeds and record model/version, prompt, settings, and runtime conditions

Seeds help control randomness, while version and runtime records identify other sources of variation. They do not guarantee exact equality across all environments.

Review lesson 5: reproducibility
Question 43 · Text diffusionWhy does continuous image diffusion not transfer directly to text tokens?
Answer and explanation

A. Tokens are discrete categories, requiring an appropriate discrete, masked, or other representation strategy

The representation differs. Discrete and masked diffusion language models exist, so the challenge is not an absolute impossibility.

Review lesson 7: text diffusion
Question 44 · Cosine distanceTwo nonzero vectors have cosine distance 0. What follows?
Answer and explanation

B. They point in the same direction

Distance 0 means cosine similarity 1. Positive rescaling preserves direction, so equal magnitude is unnecessary; semantic truth is not established.

Review lesson 9: cosine distance
Question 45 · Fine-tuning efficiencyHow might fine-tuning improve prompt efficiency for a stable task?
Answer and explanation

A. It may reduce repeated instructions or demonstrations, which must be measured alongside quality

Learning a repeated behavior can reduce prompt overhead, but the benefit is conditional. Measure quality, tokens, latency, and total cost rather than assuming improvement.

Review lesson 10: fine-tuning efficiency
Question 46 · Network configurationWhich network rule is appropriate for an agent connecting to a database?
Answer and explanation

A. Allow the actual configured listener and protocol only from the required trusted source

Connectivity depends on the actual database configuration. Restrict source, destination, and protocol and use appropriate authentication and transport protection.

Review lesson 13: network configuration
Question 47 · Knowledge-base integrationsA team wants an agent to search a custom file system. What determines whether this can work?
Answer and explanation

A. Availability of a suitable connector or integration satisfying format, access, and retrieval requirements

Managed file ingestion, databases, and search systems expose different integration contracts. Custom sources need an appropriate supported or implemented path.

Review lesson 17: knowledge-base integrations
Question 48 · Token accuracyFour of six evaluated token positions match the reference. What is the token accuracy?
Answer and explanation

B. About 66.7%, without establishing whole-answer factual correctness

Accuracy is 4/6, or about 66.7%. Its meaning depends on the evaluated unit; it is distinct from loss, perplexity, and factual correctness.

Review lesson 11: token accuracy
Question 49 · Parametric and external memoryWhich statement about RAG is accurate?
Answer and explanation

D. It combines a learned generator with retrieved external information, subject to evidence and retrieval limits

RAG uses both parametric capabilities and external information. Missing, inaccessible, outdated, or poorly retrieved evidence still limits answers.

Review lesson 7: parametric and external memory
Question 50 · Sampling and factualityAn assistant gives unsupported factual answers. Which response is best justified?
Answer and explanation

D. Inspect evidence, retrieval, prompting, and evaluation; tune sampling without treating it as proof of truth

Sampling controls variation, not factual verification. A reliable investigation checks source support and the stages that supplied or used the evidence.

Review lesson 6: sampling and factuality