Skip to content
RED SAG Skills

Hard AI Engineer (LLM & Generative AI) questions

210 questions · 20 points each for a correct first answer.

  1. 1.Injected instructions in a web pagehard
  2. 2.Why long contexts eat GPU memoryhard
  3. 3.Stuffing 100 chunks into the prompthard
  4. 4.What LoRA trainshard
  5. 5.Shipping a prompt change safelyhard
  6. 6.Agent stuck in a loophard
  7. 7.Upgrading the embedding modelhard
  8. 8.What streaming improveshard
  9. 9.Sizing the KV cachehard
  10. 10.Why attention divides by sqrt(d_k)hard
  11. 11.What the causal mask preventshard
  12. 12.Counting LoRA parametershard
  13. 13.Where generation time goeshard
  14. 14.Estimating response timehard
  15. 15.Temperature 0 is not deterministichard
  16. 16.Counting letters in a wordhard
  17. 17.Data leaking through image linkshard
  18. 18.A judge with 90% agreementhard
  19. 19.Computing nDCG at 3hard
  20. 20.Is a 4-point gain realhard
  21. 21.When a tool call failshard
  22. 22.A suspicious third-party MCP serverhard
  23. 23.Budgeting the context windowhard
  24. 24.How speculative decoding helpshard
  25. 25.Continuous batching in servinghard
  26. 26.Serving a mixture-of-experts modelhard
  27. 27.How many results to rerankhard
  28. 28.Adding BM25 and cosine scoreshard
  29. 29.Fine-tuned model scores too wellhard
  30. 30.Field order in an output schemahard
  31. 31.One failure in Promise.allhard
  32. 32.Jailbreaks spread across turnshard
  33. 33.Ten steps at 95 percent eachhard
  34. 34.Reliability across three runshard
  35. 35.Tool call cut off mid-argumentshard
  36. 36.Where to enforce a refund caphard
  37. 37.Three risky abilities togetherhard
  38. 38.Cost of one agent taskhard
  39. 39.An MCP server that breaks on logshard
  40. 40.Trusting a readOnly hinthard
  41. 41.A tool that changed after approvalhard
  42. 42.Calling tools from codehard
  43. 43.Is multi-agent worth ithard
  44. 44.Tests passed, says the agenthard
  45. 45.Agent changes the tests insteadhard
  46. 46.Retries at three layershard
  47. 47.Cheaper per call or per successhard
  48. 48.Passing the client token onwardhard
  49. 49.Users approving everythinghard
  50. 50.An agent with a shell toolhard
  51. 51.Noise between repeated eval runshard
  52. 52.Testing an agent without live APIshard
  53. 53.Cache misses in an agent loophard
  54. 54.Debugging through a frameworkhard
  55. 55.Input tokens across a long loophard
  56. 56.Savings from caching a long prefixhard
  57. 57.A safety check without extra delayhard
  58. 58.Personal data in agent memoryhard
  59. 59.Old memory, new addresshard
  60. 60.Pausing to check policy mid-taskhard
  61. 61.Screen clicking or an APIhard
  62. 62.Cutting cost on easy agent stepshard
  63. 63.Starting tools before the model askshard
  64. 64.A subagent summary drops the key facthard
  65. 65.A support ticket that gives ordershard
  66. 66.A rule forgotten after compactionhard
  67. 67.Is the agent cheaper than staffhard
  68. 68.Blocking a bad agent changehard
  69. 69.An agent asking for full Drive accesshard
  70. 70.The same email sent three timeshard
  71. 71.What an approval prompt should showhard
  72. 72.Traces full of customer datahard
  73. 73.Agent drifts from the goalhard
  74. 74.Fewer key-value headshard
  75. 75.Training data for a 70B modelhard
  76. 76.Estimating training computehard
  77. 77.Upper limit on tokens per secondhard
  78. 78.Calculating perplexityhard
  79. 79.Odd replies from a self-hosted modelhard
  80. 80.A suspiciously high benchmark scorehard
  81. 81.Choosing a quantization levelhard
  82. 82.Different answers at the same settingshard
  83. 83.A 1M-token window in practicehard
  84. 84.Probability of a two-token labelhard
  85. 85.Weak replies in a regional languagehard
  86. 86.Tuned model became too wordyhard
  87. 87.Why training uses bfloat16hard
  88. 88.Training on its own outputshard
  89. 89.Entropy of a next-token choicehard
  90. 90.Temperature and top-p togetherhard
  91. 91.Schema mode still returned bad JSONhard
  92. 92.Sampling ten code solutionshard
  93. 93.Finishing a reply that was cut offhard
  94. 94.The bot forgets its ruleshard
  95. 95.Summarise or cut old turnshard
  96. 96.Showing text before checks finishhard
  97. 97.Every request waits through retrieshard
  98. 98.A fallback model that misbehaveshard
  99. 99.How many past turns fithard
  100. 100.Penalties that break JSONhard
  101. 101.Night job slows the live apphard
  102. 102.Billed for a request that timed outhard
  103. 103.Answers cut after one paragraphhard
  104. 104.First token on a 100k prompthard
  105. 105.Requests every eight minuteshard
  106. 106.GPUs needed for peak traffichard
  107. 107.Latency for a voice assistanthard
  108. 108.Is fine-tuning a small model worth ithard
  109. 109.Failover that breaks residency ruleshard
  110. 110.Cheaper per token, but a bigger billhard
  111. 111.Input cost when most tokens are cachedhard
  112. 112.Testing a new model on live traffichard
  113. 113.Caching and time to first tokenhard
  114. 114.Sending a backup requesthard
  115. 115.A new model that refuses too oftenhard
  116. 116.Twenty reviews in one requesthard
  117. 117.Fast in testing, slow at launchhard
  118. 118.The full cost of running your ownhard
  119. 119.IVF index after a new languagehard
  120. 120.A filter that matches 0.1% of datahard
  121. 121.All similarity scores look highhard
  122. 122.One similarity cut-off for all querieshard
  123. 123.One chunk in every result listhard
  124. 124.How many candidates to rescorehard
  125. 125.Embeddings and negated statementshard
  126. 126.Duplicates during contrastive traininghard
  127. 127.Hinglish queries in Latin scripthard
  128. 128.Inner product with unnormalised vectorshard
  129. 129.Storage cost of token-level vectorshard
  130. 130.Choosing a vector index configurationhard
  131. 131.One vector for a 40-page PDFhard
  132. 132.A billion vectors on a budgethard
  133. 133.Top results are copies of one pagehard
  134. 134.Answer split across two chunkshard
  135. 135.When HyDE makes retrieval worsehard
  136. 136.Questions about the whole corpushard
  137. 137.Garbled chunks from two-column PDFshard
  138. 138.Cost of context notes per chunkhard
  139. 139.Reranker misses facts at the endhard
  140. 140.MMR set too far towards diversityhard
  141. 141.Rewritten queries change the meaninghard
  142. 142.Setting the balance in hybrid searchhard
  143. 143.A question that needs two hopshard
  144. 144.Relative dates break extracted filtershard
  145. 145.Re-runs create duplicate chunkshard
  146. 146.Parent retrieval floods the prompthard
  147. 147.RAG gets totals wronghard
  148. 148.Generating questions for each chunkhard
  149. 149.Moved teams, still sees old documentshard
  150. 150.Leaking data through an image linkhard
  151. 151.Cached answers cross a permission linehard
  152. 152.Perfect faithfulness, unhappy usershard
  153. 153.Suspiciously high eval scoreshard
  154. 154.Whole corpus in context versus RAGhard
  155. 155.A 4-point gain on 50 questionshard
  156. 156.Cache serves an outdated policyhard
  157. 157.False facts planted in a wikihard
  158. 158.Citations to chunks that do not existhard
  159. 159.Better offline, flat onlinehard
  160. 160.Data that must stay in the countryhard
  161. 161.List questions return partial listshard
  162. 162.Faithful answer, wrong documenthard
  163. 163.Extending RoPE by position interpolationhard
  164. 164.Why YaRN scales frequencies unevenlyhard
  165. 165.Decoder with no positional encodinghard
  166. 166.Sliding cache that drops the first tokenshard
  167. 167.Reach of sliding-window attentionhard
  168. 168.Subtracting the max in softmaxhard
  169. 169.NaNs from a fully masked rowhard
  170. 170.Tokens that make the model behave oddlyhard
  171. 171.Prompt that ends with a spacehard
  172. 172.Changing the number of headshard
  173. 173.Left padding with absolute positionshard
  174. 174.Two BOS tokens at the starthard
  175. 175.Broken characters while streaminghard
  176. 176.What FSDP and ZeRO-3 shardhard
  177. 177.Loss spike in a long training runhard
  178. 178.RLHF model becomes wordyhard
  179. 179.Raising beta in DPOhard
  180. 180.Doubling LoRA rank with alpha fixedhard
  181. 181.Merge or keep LoRA adapters separatehard
  182. 182.Teaching new facts by fine-tuninghard
  183. 183.Gradients vanish in fp16 traininghard
  184. 184.Running out of fresh training datahard
  185. 185.Where to place tensor parallelismhard
  186. 186.Reducing the pipeline bubblehard
  187. 187.Token probabilities after RLHFhard
  188. 188.Fine-tuned model never stops talkinghard
  189. 189.Training past compute-optimalhard
  190. 190.Sizing GPUs for an MoE modelhard
  191. 191.Tokens gained per speculative stephard
  192. 192.Greedy decoding stuck in a loophard
  193. 193.High temperature combined with top-phard
  194. 194.Outliers in int8 activation quantisationhard
  195. 195.Switching the KV cache to FP8hard
  196. 196.Field order in structured outputhard
  197. 197.Long prompts slowing other usershard
  198. 198.JSON parse errors on long outputshard
  199. 199.Reasoning model for simple extractionhard
  200. 200.Beam search prefers short outputshard
  201. 201.What induction heads dohard
  202. 202.Using attention maps as explanationshard
  203. 203.Ordering prompts for cache hitshard
  204. 204.GPU at low utilisation during decodinghard
  205. 205.Repetition penalty and generated codehard
  206. 206.Passing the needle test is not enoughhard
  207. 207.Steering a model through its activationshard
  208. 208.State-space models versus attentionhard
  209. 209.Why prompt injection is hard to fixhard
  210. 210.Adding domain tokens to a tokenizerhard