Easy AI Engineer (LLM & Generative AI) questions
215 questions · 5 points each for a correct first answer.
- 1.What is a tokenllm-basics, tokenizationeasy
- 2.What text embeddings areembeddingseasy
- 3.Effect of temperaturesampling, llm-basicseasy
- 4.What the context window limitsllm-basics, context-managementeasy
- 5.What RAG doesrageasy
- 6.What a hallucination isllm-basics, reliabilityeasy
- 7.Purpose of a system promptprompt-designeasy
- 8.Comparing two embeddingsembeddings, vector-searcheasy
- 9.Dot product of two vectorslinear-algebra, embeddingseasy
- 10.Length of a vectorlinear-algebraeasy
- 11.Softmax of equal scoressoftmax, probabilityeasy
- 12.What softmax outputs look likesoftmax, probabilityeasy
- 13.Temperature close to zerosampling, llm-basicseasy
- 14.What top-k sampling doessamplingeasy
- 15.Grouping data with no labelsml-basics, clusteringeasy
- 16.Why keep a separate test setml-basics, evaluationeasy
- 17.Spotting overfittingml-basics, overfittingeasy
- 18.Computing precisionevaluation, ml-basicseasy
- 19.Why activation functions existdeep-learningeasy
- 20.A learning rate that is too highdeep-learning, optimizationeasy
- 21.How rare words get tokenizedtokenizationeasy
- 22.What LLM pretraining learnsllm-basics, transformerseasy
- 23.What few-shot prompting isprompt-designeasy
- 24.Asking the model to reason firstprompt-design, reasoningeasy
- 25.The required keyword in JSON Schemastructured-output, json-schemaeasy
- 26.What a tool definition containstool-callingeasy
- 27.The basic agent loopagents, tool-callingeasy
- 28.What MCP is formcp, tool-callingeasy
- 29.What a vector database doesvector-search, rageasy
- 30.Which words BM25 rewardsbm25, searcheasy
- 31.What a golden set is forevaluationeasy
- 32.Handling an HTTP 429 responserate-limits, reliabilityeasy
- 33.Customer data and a hosted LLMpii, safetyeasy
- 34.Parsing a JSON reply in Pythonpython, structured-outputeasy
- 35.Workflow or agentai-agents, agentseasy
- 36.Reading the stop reasonai-agents, tool-callingeasy
- 37.Describing tool parametersai-agents, tool-designeasy
- 38.What ReAct meansai-agents, agentseasy
- 39.MCP message formatai-agents, mcpeasy
- 40.What an MCP server offersai-agents, mcpeasy
- 41.Choosing an MCP transportai-agents, mcpeasy
- 42.Short-term and long-term memoryai-agents, context-managementeasy
- 43.Do tool definitions cost tokensai-agents, tool-callingeasy
- 44.Limiting a parameter to fixed valuesai-agents, tool-designeasy
- 45.What an idempotent tool isai-agents, tool-designeasy
- 46.Why trace an agent runai-agents, agentseasy
- 47.What a subagent isai-agents, agents, context-managementeasy
- 48.The agent gets the date wrongai-agents, agentseasy
- 49.What lets an LLM take actionsai-agents, tool-callingeasy
- 50.Host, client and server in MCPai-agents, mcpeasy
- 51.How a client finds MCP toolsai-agents, mcpeasy
- 52.Logging in to a remote MCP serverai-agents, mcpeasy
- 53.MCP compared with A2Aai-agents, mcp, agentseasy
- 54.Do we even need an agentai-agents, agentseasy
- 55.Handing over to a humanai-agents, agentseasy
- 56.Asking instead of guessingai-agents, agentseasy
- 57.More context, worse answersai-agents, context-managementeasy
- 58.Flagging a failed tool resultai-agents, tool-callingeasy
- 59.Making a parameter mandatoryai-agents, tool-designeasy
- 60.Forcing the model to use a toolai-agents, tool-callingeasy
- 61.Least privilege for agent toolsai-agents, agentseasy
- 62.First step in improving an agentai-agents, agentseasy
- 63.A limit on loop turnsai-agents, agentseasy
- 64.A tool that hangsai-agents, tool-designeasy
- 65.The first MCP messageai-agents, mcpeasy
- 66.What an MCP resource isai-agents, mcpeasy
- 67.What a good tool description saysai-agents, tool-designeasy
- 68.Naming a tool parameterai-agents, tool-designeasy
- 69.Processing invoices every nightai-agents, agentseasy
- 70.Planning a long task firstai-agents, agentseasy
- 71.Feedback for a coding agentai-agents, agentseasy
- 72.Users waiting on a slow agentai-agents, agentseasy
- 73.Testing tools on their ownai-agents, tool-designeasy
- 74.A caller asks for an order addressai-agents, agentseasy
- 75.What agent benchmarks testai-agents, agentseasy
- 76.Tokens in a 3,000-word reportllm-fundamentals, tokenseasy
- 77.How a reply is generatedllm-fundamentals, llm-basicseasy
- 78.A base model ignores the questionllm-fundamentals, llm-basicseasy
- 79.What 8 billion parameters meansllm-fundamentals, llm-basicseasy
- 80.Do examples in a prompt train the modelllm-fundamentals, llm-basicseasy
- 81.Does the reply use context spacellm-fundamentals, context-windoweasy
- 82.Hello and hello are not the samellm-fundamentals, tokenseasy
- 83.What happens to a token id firstllm-fundamentals, llm-basicseasy
- 84.How the model decides to stopllm-fundamentals, llm-basicseasy
- 85.Why models make things upllm-fundamentals, llm-basicseasy
- 86.Open weights or open sourcellm-fundamentals, model-selectioneasy
- 87.Running a model on a laptopllm-fundamentals, model-selectioneasy
- 88.Keeping a system prompt secretllm-fundamentals, llm-basicseasy
- 89.Emoji in a promptllm-fundamentals, tokenseasy
- 90.Pretraining data compared with tuning datallm-fundamentals, llm-basicseasy
- 91.What greedy decoding isllm-fundamentals, samplingeasy
- 92.What a frequency penalty doesllm-fundamentals, sampling-parameterseasy
- 93.Presence penalty in briefllm-fundamentals, sampling-parameterseasy
- 94.What a seed parameter promisesllm-fundamentals, sampling-parameterseasy
- 95.Raising max tokens to get longer repliesllm-fundamentals, api-parameterseasy
- 96.How streamed replies arrivellm-fundamentals, api-parameterseasy
- 97.Calling the LLM from the browserllm-fundamentals, api-parameterseasy
- 98.Tracking tokens per requestllm-fundamentals, token-costeasy
- 99.Which errors to retryllm-fundamentals, rate-limitseasy
- 100.Checking prompt size in advancellm-fundamentals, tokens, context-windoweasy
- 101.Model alias or dated versionllm-fundamentals, model-selectioneasy
- 102.Every request fails after a deployllm-fundamentals, api-parameterseasy
- 103.Reply stopped by a safety filterllm-fundamentals, api-parameterseasy
- 104.Asking for five versions at oncellm-fundamentals, token-costeasy
- 105.Long answers fail at 10 secondsllm-fundamentals, api-parameterseasy
- 106.Input or output, which costs morellm-fundamentals, token-costeasy
- 107.What TTFT measuresllm-fundamentals, latency-optimizationeasy
- 108.What p95 latency meansllm-fundamentals, latency-optimizationeasy
- 109.Converting an API bill to rupeesllm-fundamentals, token-costeasy
- 110.Cache entries do not last foreverllm-fundamentals, prompt-cachingeasy
- 111.Keeping data in the countryllm-fundamentals, model-selectioneasy
- 112.Hosting your own modelllm-fundamentals, model-selectioneasy
- 113.Choosing between two modelsllm-fundamentals, model-selectioneasy
- 114.A model retirement emailllm-fundamentals, model-migrationeasy
- 115.Cost of a long system promptllm-fundamentals, token-costeasy
- 116.Reasoning effort for easy tasksllm-fundamentals, model-selectioneasy
- 117.Will the provider train on our datallm-fundamentals, model-selectioneasy
- 118.The same question a thousand timesllm-fundamentals, cost-optimisationeasy
- 119.Five summaries one after anotherllm-fundamentals, latency-optimizationeasy
- 120.Guarding against a surprise billllm-fundamentals, cost-optimisationeasy
- 121.Reading a photo of a billllm-fundamentals, model-selectioneasy
- 122.What semantic search adds over keywordsrag, embeddingseasy
- 123.What an embedding dimension israg, embeddingseasy
- 124.What top-k means in retrievalrag, vector-searcheasy
- 125.Why vector search is approximaterag, vector-searcheasy
- 126.When a flat index is finerag, vector-searcheasy
- 127.Why store metadata with each chunkrag, vector-databaseseasy
- 128.Choosing pgvectorrag, vector-databaseseasy
- 129.Long chunks and embedding limitsrag, embeddings, chunkingeasy
- 130.Arabic questions, English documentsrag, embeddingseasy
- 131.Why bi-encoders scale to big corporarag, embeddingseasy
- 132.Handling an edited source documentrag, vector-databaseseasy
- 133.Sparse versus dense vectorsrag, vector-searcheasy
- 134.Bot quotes a withdrawn documentrag, vector-databaseseasy
- 135.Reading distance scoresrag, vector-searcheasy
- 136.When document and query vectors are maderag, embeddingseasy
- 137.Why documents are split into chunksrag, chunkingeasy
- 138.Why chunks overlaprag, chunkingeasy
- 139.How a recursive text splitter worksrag, chunkingeasy
- 140.Chunks that lost their headingrag, chunkingeasy
- 141.Tables in PDFs come out garbledrag, chunking, document-parsingeasy
- 142.Scanned PDFs return no textrag, document-parsingeasy
- 143.What hybrid search meansrag, hybrid-searcheasy
- 144.Rewriting the user queryrag, query-transformationeasy
- 145.Restricting search to the right yearrag, vector-databaseseasy
- 146.Matching "refunds" and "refunded"rag, hybrid-searcheasy
- 147.Order of a RAG ingestion pipelinerag, chunkingeasy
- 148.Cleaning scraped web pagesrag, chunking, document-parsingeasy
- 149.Searching with several phrasingsrag, query-transformationeasy
- 150.One chunk is not enoughrag, vector-searcheasy
- 151.What semantic chunking doesrag, chunkingeasy
- 152.Why RAG answers show their sourcesrag, citationseasy
- 153.Computing precision at 5rag, evaluationeasy
- 154.What retrieval hit rate measuresrag, evaluationeasy
- 155.What a golden eval set containsrag, evaluationeasy
- 156.What faithfulness measuresrag, evaluationeasy
- 157.What answer relevance measuresrag, evaluationeasy
- 158.Keeping salary documents privaterag, rag-securityeasy
- 159.Personal data in the indexrag, rag-securityeasy
- 160.The slowest step in a RAG requestrag, rag-operationseasy
- 161.What to log for each RAG requestrag, rag-operationseasy
- 162.Using thumbs-up and thumbs-downrag, evaluation, rag-operationseasy
- 163.A document that gives ordersrag, rag-securityeasy
- 164.When you may not need retrievalrag, context-windoweasy
- 165.What LLM-as-a-judge meansrag, evaluationeasy
- 166.How BPE builds its vocabularytransformers, tokenizationeasy
- 167.Tokens per English wordtransformers, tokenizationeasy
- 168.Why Hindi text uses more tokenstransformers, tokenizationeasy
- 169.What the end-of-sequence token doestransformers, tokenization, decodingeasy
- 170.What the embedding layer doestransformers, embeddingseasy
- 171.Query, key and value in attentiontransformers, attentioneasy
- 172.Why transformers need position informationtransformers, positional-encodingeasy
- 173.What a decoder-only model predictstransformers, transformer-architectureeasy
- 174.Where BERT-style models fittransformers, transformer-architectureeasy
- 175.What fills the context windowtransformers, context-windoweasy
- 176.Why transformers use residual connectionstransformers, transformer-architectureeasy
- 177.Why use several attention headstransformers, attentioneasy
- 178.Why a padding mask is neededtransformers, attentioneasy
- 179.Why byte-level BPE never needs UNKtransformers, tokenizationeasy
- 180.What the final layer outputstransformers, decodingeasy
- 181.What the feed-forward layer seestransformers, transformer-architectureeasy
- 182.Why transformers normalise activationstransformers, transformer-architectureeasy
- 183.The loss used in LLM pretrainingtransformers, trainingeasy
- 184.Reading a perplexity numbertransformers, training, evaluationeasy
- 185.How training sees the previous tokenstransformers, trainingeasy
- 186.Base model versus instruct modeltransformers, fine-tuningeasy
- 187.What SFT data looks liketransformers, fine-tuningeasy
- 188.Role of the reward model in RLHFtransformers, fine-tuning, rlhfeasy
- 189.What LoRA actually trainstransformers, fine-tuning, loraeasy
- 190.How a mixture-of-experts layer workstransformers, transformer-architecture, mixture-of-expertseasy
- 191.Why training uses bf16transformers, trainingeasy
- 192.What 7B in a model name meanstransformers, transformer-architectureeasy
- 193.Memory for 7B weights in fp16transformers, inferenceeasy
- 194.What knowledge distillation doestransformers, trainingeasy
- 195.Fine-tuning for 20 epochs on 200 examplestransformers, fine-tuningeasy
- 196.What greedy decoding doestransformers, decodingeasy
- 197.Sampling from the top 40 tokenstransformers, decodingeasy
- 198.What top-p sampling doestransformers, decodingeasy
- 199.Reply that ends mid-sentencetransformers, decodingeasy
- 200.Using a stop sequencetransformers, decodingeasy
- 201.Why chat replies arrive word by wordtransformers, decoding, inferenceeasy
- 202.What time to first token measurestransformers, inferenceeasy
- 203.Why models are quantisedtransformers, inference, quantizationeasy
- 204.What a repetition penalty is fortransformers, decodingeasy
- 205.Why LLMs state false factstransformers, hallucinationeasy
- 206.Learning from examples in the prompttransformers, in-context-learningeasy
- 207.Why output is slower than inputtransformers, inferenceeasy
- 208.Making sampled outputs repeatabletransformers, decodingeasy
- 209.What logprobs tell youtransformers, decodingeasy
- 210.What beam search keepstransformers, decodingeasy
- 211.How a vision transformer reads an imagetransformers, multimodaleasy
- 212.What CLIP learnstransformers, multimodal, embeddingseasy
- 213.What a knowledge cutoff meanstransformers, hallucinationeasy
- 214.Where the system prompt livestransformers, promptingeasy
- 215.Why transformers run on GPUstransformers, inferenceeasy