Rehber bağlantılı sınav · Orta Seviye
Aracılar için Kod Yürütme Korumalı Alanları Testi
Aracı sanal alanlarının modelle yazılan kodu nasıl izole ettiğini test eder: kapsayıcılar, mikroVM'ler ve gVisor, ağ çıkış sınırları ve zaman aşımları gibi kaynak sınırları.
Soru 1 arasında 8
Bir yapay zeka aracısı tarafından yazılan kod neden varsayılan olarak güvenilmez olarak değerlendiriliyor?
Her soruyu önizleyin8 sorular
Testi çözdüğünüzde cevaplar ve açıklamalar görünür.
- Bir yapay zeka aracısı tarafından yazılan kod neden varsayılan olarak güvenilmez olarak değerlendiriliyor?
- 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
- MikroVM'lerle karşılaştırıldığında standart konteynerlerin temel güvenlik zayıflığı nedir?
- They cannot limit memory
- They take minutes to start
- They share the host's kernel
- They cannot run Python
- Güvenilmeyen koddan kaynaklanan riski azaltmak için gVisor neler ekler?
- A user-space kernel that intercepts system calls
- A hardware security chip
- A faster file system
- An antivirus scanner for Python packages
- Firecracker microVM'ler ilk olarak AWS tarafından hangi tür hizmetleri desteklemek için oluşturuldu?
- Video streaming
- Email delivery
- Search indexing
- Lambda and Fargate
- Hızlı enjeksiyon mümkün olduğunda neden giden ağ erişimini kısıtlamak en önemli sanal alan kontrolü olarak değerlendiriliyor?
- 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