- Esecutori
-
Impara
Impara Python Esempi eseguibili, NumPy, pandas e altro Impara l'IA / Machine LearningReti neurali, ML e LLM da zero Impara C e C++ Puntatori, memoria, STL e C++ moderno Impara C#Fondamenti, OOP, LINQ, async ed esercizi .NET Impara MatplotlibGrafici a linee, barre, dispersione e torta con visualizzatori Impara RustOwnership, trait, gestione degli errori e thread Impara GoSlice, interfacce, goroutine e canali Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++ Programmazione per bambini Impara a programmare giocando!
- QuizNuovo
- SfideNuovo
- Per docentiNuovo
- Aggiornamenti
- Offrimi un caffè
Quiz di 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.
Domanda di esempio
Domanda 1 di 10What is prompt injection?
Mostra la risposta
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.
Cosa copre questo quiz
- 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
Domande frequenti
Serve un account?
No. Chiunque può giocare. Accedi per salvare XP, serie, badge e cronologia.
Posso rifarlo?
Sì. Il tuo miglior punteggio resta salvato, e domande e risposte vengono mescolate ogni volta.