AI Agents and RAG Quiz: Tools, Memory, LangGraph, n8n and Vector Search
Test your understanding of agentic AI: what makes an agent, tool calling, memory and planning, multi-agent graphs with LangGraph, no-code agents with n8n, the RAG pipeline, embeddings and vector search, evaluation, local LLMs and safety.

AI Agents & RAG Quiz
60 questions · 8 topics · timer · instant explanations · printable mark sheet.
- Questions60 in the bank, 10–30 per attempt
- Levels20 easy · 24 medium · 16 hard
- TimeAbout 5–20 minutes
- PriceFree, no login needed
- Made byDr. Aammar Tufail, Codanics
- Updated18 November 2026
In short: the AI Agents & RAG Quiz is a free online multiple-choice quiz by Codanics with 60 questions on AI agent basics; tools and function calling; reasoning, memory and planning; multi-agent and LangGraph; no-code agents with n8n; the RAG pipeline; evaluating and improving RAG; and local LLMs, deployment and safety. You choose the number of questions and the difficulty, answer against a timer, see an explanation after every answer and finish with a printable mark sheet.
What the AI Agents & RAG Quiz covers
AI agents combine a language model with tools, memory and a loop that decides what to do next. Retrieval-augmented generation (RAG) grounds their answers in your own documents. Together they power most practical AI products.
This quiz follows the Codanics RAG tutorial, the 11 LangGraph agents course and the n8n playlist, from first principles to production concerns like evaluation and prompt injection.
- AI agent basics 8 questions
- Tools and function calling 7 questions
- Reasoning, memory and planning 7 questions
- Multi-agent and LangGraph 7 questions
- No-code agents with n8n 7 questions
- The RAG pipeline 11 questions
- Evaluating and improving RAG 7 questions
- Local LLMs, deployment and safety 6 questions
Who it is for: Developers and data scientists building AI apps, no-code builders using n8n, and learners following the Codanics 11 AI agents and RAG tutorials.
How the quiz works
- Type your name if you want it printed on the mark sheet (optional; it never leaves your browser).
- Choose 10, 20 or 30 questions, a difficulty (Easy, Mixed or Hard) and the timer: Standard, Relaxed or none.
- Answer each question before the timer runs out. Press A–D or 1–4 on a keyboard, or tap an option on your phone.
- Read the explanation after every answer, then press Next.
- At the end, get your score, grade, topic-wise breakdown and a full answer review. Print it or save it as a PDF.
- Retake the quiz for a fresh random set, or practise only the topics you found hard.
Free video lessons from Codanics
Score lower than you hoped? These free lessons from the Codanics YouTube channel cover the same topics, explained step by step.
Free on the Codanics YouTube channel, taught in Urdu/Hindi.
Sample questions with answers
Here are 8 questions from the bank, with answers and explanations. The quiz above draws from all 60.
1. Which description best fits an AI agent?
- A chatbot that only answers one question at a time
- An LLM that uses tools and memory in a loop to reach a goal
- A database that stores ready-made answers to common questions
- A website form that emails replies to customers
Answer: B. An LLM that uses tools and memory in a loop to reach a goal
An agent combines a language model with tools, memory and a loop: it decides an action, observes the result and continues until the goal is met.
2. What is tool calling (function calling) in LLM applications?
- The model runs Python code inside its own weights
- The user calls a support hotline for help
- The model outputs a structured request to run a function
- The model downloads and installs new tools from the internet
Answer: C. The model outputs a structured request to run a function
The model returns the tool name and arguments, usually as JSON. Your application actually runs the function and sends the result back to the model.
3. What does the ReAct pattern combine?
- React.js components and an LLM user interface for chat apps
- Reinforcement learning and active learning
- Re-training the model and tuning its activation functions as it runs
- Reasoning steps and actions with tools, with observations in between
Answer: D. Reasoning steps and actions with tools, with observations in between
ReAct interleaves Thought (reason about what to do), Action (call a tool) and Observation (read the result), repeating until the model can answer.
4. In a supervisor (orchestrator) pattern, what does the supervisor agent do?
- Trains the worker agents' neural networks on new data each night
- Stores the vector embeddings for RAG
- Decides which worker agent handles each part of the task
- Pays the API bill for each agent
Answer: C. Decides which worker agent handles each part of the task
The supervisor routes sub-tasks to specialised workers, collects their outputs and decides the next step or the final answer.
5. What is n8n mainly used for?
- Training large language models from scratch on GPUs
- Designing logos and social media images
- Hosting static websites for free
- Building automation workflows by connecting nodes
Answer: D. Building automation workflows by connecting nodes
n8n is a workflow automation tool. You connect nodes on a canvas, such as triggers, apps, AI models and logic, often with little or no code.
6. What does RAG stand for?
- Random Answer Generation process
- Retrieval-Augmented Generation
- Recursive Agent Graph
- Rapid AI Gateway
Answer: B. Retrieval-Augmented Generation
RAG retrieves relevant documents and adds them to the prompt, so the model generates its answer using that information.
7. In the context of LLMs, what is a hallucination?
- A picture generated by an image model from a text prompt
- A slow response from the server
- A confident answer that is false or not supported
- A question the user typed wrongly
Answer: C. A confident answer that is false or not supported
Hallucinations are fluent but made-up statements. RAG reduces them by grounding answers in retrieved text, but does not remove them completely.
8. What is Ollama mainly used for?
- Hosting websites built with WordPress on a shared cloud server
- Running open language models locally on your own computer
- Labelling images for training datasets
- Editing videos with AI effects
Answer: B. Running open language models locally on your own computer
Ollama downloads open-weight models and serves them on your machine, so you can experiment without sending data to a cloud API.
Free guides and blogs to study
Free tools for your studies and research
Codanics also has 160+ free online tools for students and researchers: statistics calculators, meta-analysis, PDF and writing tools. They run in your browser, with no login.
Frequently asked questions
Is the AI Agents & RAG Quiz free?
Yes. The AI Agents & RAG Quiz is completely free, with no sign-up, no login and no limit on attempts.
How many questions are in the AI Agents & RAG Quiz?
The question bank has 60 multiple-choice questions (20 easy, 24 medium and 16 hard) across 8 topics. Each attempt draws 10, 20 or 30 of them at random, so every attempt is different.
How does the timer work?
Each question has its own countdown: about 25 seconds for easy, 40 for medium and 55 for hard questions, plus 15 seconds when there is code to read. Choose Relaxed to double the time or switch the timer off to study at your own pace. Unanswered questions count as skipped.
Can I get a certificate or mark sheet?
Yes. When you finish, you get a mark sheet with your name, score, grade, time, topic-wise performance and every answer explained. Use Print or save as PDF to keep it. It is a self-assessment result, not an official certificate.
Are the answers and explanations correct?
Every question was written and reviewed for one clearly correct answer, and code questions were checked by running the code. If you think an answer is wrong, tell us on the Codanics WhatsApp channel or in the YouTube comments and we will fix it.
What is the difference between a chatbot and an AI agent?
A chatbot answers messages. An agent can decide to take actions: call tools or APIs, search documents, remember results and repeat steps until a goal is reached.
Do I need to code to build AI agents?
Not always. n8n lets you build agent workflows visually. For full control, Python frameworks such as LangGraph are covered in the Codanics agents course.
Is my data stored anywhere?
No. The quiz runs entirely in your browser. Your name, answers and score are not uploaded. Your best score and settings are remembered only in this browser so you can track your progress.
More free quizzes
See all Codanics quizzes → · Courses · Free tools · Blog



