Grokking AI: 50 Questions Every Engineer Asks

Plain answers to the questions engineers ask most about AI and LLMs: why models hallucinate, what tokens and effort mean, and how context windows, RAG, and agents work.

Level:
Beginner
Study Time:
12h
Lessons:
50
Playgrounds:
38
Assessments:
50
Updated
Last week
4.9
(44 ratings)
389 learners
Arslan Ahmad
Created byArslan Ahmad
Ex FAANG Manager, Expert Behind Grokking AI: 50 Questions Every Engineer Asks

Course Overview

Most engineers now use large language models (LLMs) every day, and most of them have the same questions. Why does a model state false things? What is a token? Does a higher effort setting give a better answer? Does the model remember earlier chats? This course answers those questions one at a time. Every lesson is one question, and every lesson has the same shape: a short answer first, one picture of the mechanism, a step-by-step explanation with one running example, a table of common wrong beliefs, and a list of what the answer means for your daily work. The course is written for junior engineers who have used a chat assistant or a coding assistant and have never studied machine learning. No advanced math is needed. Many lessons include a small Python program that runs with one click, and a short question that checks your understanding.

Grokking AI: 50 Questions Every Engineer Asks Image
This course
Lifetime access to this course
One-time payment. Yours forever.
All 81 courses
Annual plan
Discussions
Certificate
Free updates
Own everything, once
Grokking AI: 50 Questions Every Engineer Asks Image
This course
Lifetime access to this course
One-time payment. Yours forever.
All 81 courses
Annual plan
Discussions
Certificate
Free updates
Own everything, once

What you'll learn in Grokking AI: 50 Questions Every Engineer Asks

  • What happens between your question and the answer, one token at a time, with no lookup in a database.
  • What a token is, where the tokens of one request go, and how to reduce the number you pay for.
  • What the effort setting changes, what a thinking model does, and when a higher level is worth its cost.
  • Which parts of prompting still matter: a clear goal, the right context, examples, and an output format.
  • How tool use, agents, and MCP work, and why an agent fails more often as its task becomes longer.
  • How to test a feature whose output changes on every run, and how to review code written by AI.
  • Why a model states false things with confidence, and which methods lower the rate of hallucination.
  • What a context window is, and why a long chat becomes slower, more expensive, and less accurate.
  • How to choose between a small model and a large one, and how to read parameter counts and benchmarks.
  • How memory, embeddings, RAG, and fine-tuning differ, and how to choose the right one for a problem.
  • What prompt injection is, what is safe to paste into an assistant, and when to trust a cited source.
  • A short answer at the top of every lesson, then diagrams, an example you can run, and a check question.

Course Content

• 8 Chapters • 50 Lessons
1.

How an LLM Produces an Answer

8 lessons

What Happens Inside an LLM When I Ask a Question?

Does an LLM Understand My Question or Only Predict the Next Word?

Why Do LLMs Hallucinate?

Why Does the Same Question Give a Different Answer Each Time?

What Do Temperature and Top P Control?

Why Can an LLM Write Code but Fail at Counting Letters?

Why Does a Model Have a Knowledge Cutoff?

How Does a Model See an Image or Hear Audio?

What people say about our courses

Simon Barker avatar
Simon Barker
Software Engineer
This is what I love about http://designgurus.io’s Grokking the coding interview course. They teach patterns rather than solutions.
Ashley Pean avatar
Ashley Pean
Software Engineer
Check out Grokking the Coding Interview. Instead of trying out random Algos, they break down the patterns you need to solve them. Helps immensely with retention!
Roger Cruz avatar
Roger Cruz
Software Engineer
The world gets better inch by inch when you help someone else. If you haven't tried Grokking The Coding Interview, check it out, it's a great resource!
Eric avatar
Eric
Software Engineer
I've completed my first pass of "grokking the System Design Interview" and I can say this was an excellent use of money and time. I've grown as a developer and now know the secrets of how to build these really giant internet systems.
Steven Zhang avatar
Steven Zhang
Software Engineer
Just wanted to say thanks for your Grokking the system design interview resource (https://lnkd.in/g4Wii9r7) - it helped me immensely when I was interviewing from Tableau (very little system design exp) and helped me land 18 FAANG+ jobs!
Arijeet avatar
Arijeet
Software Engineer
Just completed the “Grokking the system design interview”. It's amazing and super informative. Have come across very few courses that are as good as this!

About the Author

Arslan Ahmad

Arslan Ahmad

Design Gurus Founder
Ex-FAANG Manager
Meta
Microsoft
Google
Amazon
Uber

Industry Expertise & Leadership

Arslan Ahmad is the lead author of Grokking AI: 50 Questions Every Engineer Asks. As the founder of Design Gurus and a former FAANG hiring manager, he has worked at industry giants like Facebook (now Meta) and Microsoft.

He has conducted hundreds of system design interviews, giving him unique insight into what top tech companies look for in candidates.

The course also incorporates expertise from senior engineers at Google, Meta, Amazon, Microsoft, and Uber, ensuring you learn system design best practices from professionals who have built and scaled real-world systems.

500+

Interviews Conducted

10k+

Students Taught

Related Courses

New
Grokking Agentic Design Patterns
Design agents that act safely, recover from failure, and justify their cost.
4.9
561 learners
Discounted price for Your Region

$98

New
Grokking Generative AI Fundamentals
Learn how generative AI and large language models work and how to build reliable features with them. Tokens, embeddings, RAG, tool calling, and agents explained for software engineers.
5
659 learners
Discounted price for Your Region

$98

New
Grokking LLM Essentials
Learn how large language models work, one step at a time. Tokens, embeddings, attention, training, prompts, and RAG, explained for beginners.
4.9
198 learners
Discounted price for Your Region

$48

FAQs

It is a course in which every lesson answers one common question about AI and large language models (LLMs), such as why models hallucinate, what a token is, and whether a higher effort setting gives a better answer. Each lesson gives the short answer first and then explains the mechanism with diagrams and one running example.

It is for junior engineers and other developers who already use a chat assistant or a coding assistant and want to understand why it behaves as it does. You do not need to have studied machine learning.

No. Every idea is explained in plain language with diagrams and small worked examples, and the course uses no math beyond school arithmetic.

Basic programming helps, because the practice programs are written in Python and several examples come from daily engineering work. Each program runs with one click, and the lesson explains what it prints.

No. The Python programs run inside the lessons and use only the standard library, with small stand-ins where a real model would be needed. Some lessons also have a live box that sends your text to a real model from inside the lesson.

Every lesson has the same shape: a short answer, one picture of the mechanism, a step-by-step explanation with one running example, a table of common wrong beliefs, a list of what the answer means for your work, something to run, one check question, and the key takeaways.

No. Each lesson answers one question, describes the terms it needs, and links to the related lessons, so you can open the question you have today. The course order starts with how a model produces an answer and ends with daily engineering practice, which is a good order for a first reading.

The questions are grouped by subject: how a model produces an answer, tokens and cost, effort and model choice, prompting, memory and knowledge, tools and agents, trust and privacy, and working with AI as an engineer. The curriculum on this page lists every question.

Every lesson has something to run and one check question that explains each option after you answer. Most lessons include a small Python program that you can change, and the others use a live box where you send a prompt to a real model.

No. The lessons explain ideas that the major model families and providers share, and they say so where providers differ. The lessons contain no price lists and no model version names.

The lessons explain mechanisms, such as how an answer is produced, why input is sent again in every request, and why errors add up over many steps. These mechanisms change slowly, while model versions, prices, and limits change quickly, so the course leaves those out.

Those two courses teach the subject from start to finish, topic by topic. This course is organized by the questions that engineers ask at work, so each lesson starts from one question and gives a direct answer. Take this course if you already use AI tools and want quick, reliable answers, and take the other two if you prefer a full guided path.

Design Gurus logo
One-Stop Portal For Tech Interviews.
About Us
Our Team
Careers
Partners
Contact Us
Become Affiliate
Copyright © 2026 Design Gurus, LLC. All rights reserved.