가이드 연계 퀴즈 · 중간 레벨

에이전트를 위한 코드 실행 샌드박스 퀴즈

에이전트 샌드박스가 모델 작성 코드(컨테이너, microVM 및 gVisor, 네트워크 송신 제한, 시간 초과와 같은 리소스 제한)를 격리하는 방법을 테스트합니다.

질문 1 의 8

AI 에이전트가 작성한 코드가 기본적으로 신뢰할 수 없는 코드로 처리되는 이유는 무엇입니까?

모든 질문 미리보기8 질문

퀴즈를 풀면 정답과 설명이 나타납니다.

  1. AI 에이전트가 작성한 코드가 기본적으로 신뢰할 수 없는 코드로 처리되는 이유는 무엇입니까?
    • 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. microVM과 비교하여 표준 컨테이너의 주요 보안 약점은 무엇입니까?
    • They cannot limit memory
    • They take minutes to start
    • They share the host's kernel
    • They cannot run Python
  3. 신뢰할 수 없는 코드로 인한 위험을 줄이기 위해 gVisor는 무엇을 추가합니까?
    • A user-space kernel that intercepts system calls
    • A hardware security chip
    • A faster file system
    • An antivirus scanner for Python packages
  4. Firecracker microVM은 원래 어떤 종류의 서비스를 지원하기 위해 AWS에 의해 구축되었습니다.
    • Video streaming
    • Email delivery
    • Search indexing
    • Lambda and Fargate
  5. 프롬프트 주입이 가능할 때 아웃바운드 네트워크 액세스를 제한하는 것이 가장 중요한 샌드박스 제어로 간주되는 이유는 무엇입니까?
    • 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