Mit dem Guide verknüpftes Quiz · Mittel Ebene
Codeausführungs-Sandboxen für Agenten-Quiz
Testet, wie Agent-Sandboxen modellgeschriebenen Code isolieren: Container vs. microVMs und gVisor, Netzwerk-Ausgangsgrenzen und Ressourcenobergrenzen wie Zeitüberschreitungen.
Frage 1 von 8
Warum wird von einem KI-Agenten geschriebener Code standardmäßig als nicht vertrauenswürdig behandelt?
Sehen Sie sich jede Frage in der Vorschau an8 Fragen
Während Sie am Quiz teilnehmen, werden Antworten und Erklärungen angezeigt.
- Warum wird von einem KI-Agenten geschriebener Code standardmäßig als nicht vertrauenswürdig behandelt?
- 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
- Was ist die größte Sicherheitsschwäche von Standardcontainern im Vergleich zu MicroVMs?
- They cannot limit memory
- They take minutes to start
- They share the host's kernel
- They cannot run Python
- Was trägt gVisor bei, um das Risiko durch nicht vertrauenswürdigen Code zu verringern?
- A user-space kernel that intercepts system calls
- A hardware security chip
- A faster file system
- An antivirus scanner for Python packages
- Firecracker-MicroVMs wurden ursprünglich von AWS entwickelt, um welche Art von Diensten zu betreiben?
- Video streaming
- Email delivery
- Search indexing
- Lambda and Fargate
- Warum wird die Einschränkung des ausgehenden Netzwerkzugriffs oft als wichtigste Sandbox-Kontrolle angesehen, wenn eine sofortige Injektion möglich ist?
- 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