Cuestionario vinculado a una guía · Medio Nivel

Prueba de entornos aislados de ejecución de código para agentes

Prueba cómo los entornos aislados de los agentes aíslan el código escrito por el modelo: contenedores frente a microVM y gVisor, límites de salida de la red y límites de recursos como tiempos de espera.

Pregunta 1 de 8

¿Por qué el código escrito por un agente de IA se considera no confiable de forma predeterminada?

Vista previa de cada pregunta8 preguntas

Las respuestas y explicaciones aparecen a medida que realiza el cuestionario.

  1. ¿Por qué el código escrito por un agente de IA se considera no confiable de forma predeterminada?
    • 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
  2. ¿Cuál es la principal debilidad de seguridad de los contenedores estándar en comparación con las microVM?
    • They cannot limit memory
    • They take minutes to start
    • They share the host's kernel
    • They cannot run Python
  3. ¿Qué agrega gVisor para reducir el riesgo de código que no es de confianza?
    • A user-space kernel that intercepts system calls
    • A hardware security chip
    • A faster file system
    • An antivirus scanner for Python packages
  4. ¿Las microVM Firecracker fueron construidas originalmente por AWS para potenciar qué tipo de servicios?
    • Video streaming
    • Email delivery
    • Search indexing
    • Lambda and Fargate
  5. ¿Por qué restringir el acceso a la red saliente a menudo se considera el control de espacio aislado más importante cuando es posible la inyección rápida?
    • 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
  6. 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
  7. 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
  8. 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