ควิซ AI & Machine Learning: Using AI APIs Safely

Building on an AI API brings new risks, from prompt injection to leaked keys and unsafe output. This quiz checks the practical security habits developers need, including handling secrets and personal data, rate limits, and treating model output as untrusted input.

ปานกลาง 10 ข้อ ~6 นาที ผ่านที่ 80%

เลือกโหมด

กำลังเล่นแบบผู้เยี่ยมชม: เข้าสู่ระบบเพื่อเก็บ XP และ streak

ตัวอย่างคำถาม

ข้อ 1 จาก 10

What is prompt injection?

ดูเฉลย

B. Untrusted text (from a user, web page, email or file) containing instructions that try to override the app's own instructions Models read instructions and data as one stream of text, so text like "ignore previous instructions" can hijack behaviour. When it hides inside content the model processes, like a web page, it is called indirect prompt injection.

ควิซนี้มีเนื้อหาอะไรบ้าง

  • Direct and indirect prompt injection, and limiting what tools can do
  • Keeping API keys on the server and rotating leaked keys
  • Minimizing personal data (PII) sent to providers
  • Handling rate limits and controlling cost
  • Validating and escaping model output before using it

คำถามที่พบบ่อย

ต้องมีบัญชีไหม?

ไม่ต้อง ใครก็เล่นได้ เข้าสู่ระบบเพื่อเก็บ XP, streak, เหรียญตรา และประวัติ

ทำซ้ำได้ไหม?

ได้ ระบบเก็บคะแนนที่ดีที่สุดไว้ และสลับคำถามกับตัวเลือกใหม่ทุกครั้ง