Cook with AI Enrollment closed
Chapter 4 of 4

Limits & Safety

Hallucinations, permissions, secrets, and the checks that keep AI-assisted work safe.

What is an AI hallucination?

Models can produce plausible but false information. Important claims and code need verification.

Should you paste API keys into an AI chat?

Secrets should stay out of prompts, committed files, and logs. Use environment variables or a secret manager.

Why do coding agents ask permission before some commands?

Permission checks give you control before the agent performs risky or unexpected actions.

What should you do before accepting AI-generated code?

Review and tests provide evidence that the change is correct and stays within scope.

When should you be most careful with an agent action?

Irreversible and high-impact actions need explicit review and approval.

Your score — Limits & Safety

/ (%)

Learn this topic through practical guides and real coding workflows inside AI Workshop.

Back to the course →
About this course

This is a chapter of the free AI Fundamentals quiz. Answer each question, get immediate feedback with an explanation, and move on. Your progress is saved in your browser — nothing leaves your machine, and there is no signup.

We teach every topic in this quiz inside AI Workshop. Join AI Workshop to learn how to apply it in real projects.

All chapters of AI Fundamentalsall quiz courses