Útmutatóhoz kapcsolódó kvíz · Közepes Szint
Kódvégrehajtási homokozók ügynökök számára kvíz
Azt teszteli, hogy az ügynök sandboxok hogyan izolálják a modell által írt kódot: konténerek kontra microVM-ek és gVisor, hálózati kilépési korlátok és erőforráskorlátok, például időtúllépések.
kérdés 1 -ból 8
Miért kezeli a program alapértelmezés szerint az AI-ügynök által írt kódot nem megbízhatónak?
Tekintse meg az összes kérdést8 kérdéseket
A válaszok és magyarázatok megjelennek a kvíz kitöltésekor.
- Miért kezeli a program alapértelmezés szerint az AI-ügynök által írt kódot nem megbízhatónak?
- Because models cannot write working code
- Because it can be buggy, wasteful or shaped by prompt injection
- Because interpreted languages are always insecure
- Because operating systems block AI-generated code
- Mi a szabványos konténerek fő biztonsági gyengesége a microVM-ekhez képest?
- They cannot limit memory
- They take minutes to start
- They share the host's kernel
- They cannot run Python
- Mit ad hozzá a gVisor a nem megbízható kód kockázatának csökkentéséhez?
- A user-space kernel that intercepts system calls
- A hardware security chip
- A faster file system
- An antivirus scanner for Python packages
- A petárda microVM-eket eredetileg a AWS építette, hogy milyen szolgáltatásokat nyújtson?
- Video streaming
- Email delivery
- Search indexing
- Lambda and Fargate
- Miért tartják gyakran a kimenő hálózati hozzáférés korlátozását a legfontosabb sandbox-vezérlésnek, amikor lehetséges az azonnali befecskendezés?
- It makes code run faster
- It prevents code from sending data or secrets to outside servers
- It stops the model from generating code
- It lowers memory usage
- Which control specifically defends against a fork bomb?
- A read-only file system
- A network allowlist
- A cap on the number of processes via cgroups
- Removing environment variables
- What is the recommended way to give sandboxed code access to a credential it genuinely needs?
- Put the API key in an environment variable
- Hard-code it into the prompt
- Store it in the scratch directory
- Route access through a narrow proxy or tool call instead of exposing the secret
- Which statement reflects the guide's warning about a common misconception?
- A sandbox limits damage from code but does not make the agent's answers correct or its granted tools harmless
- Sandboxes make agents completely safe
- Sandboxes are only needed for compiled languages
- WebAssembly sandboxes cannot run Python