গাইড লিঙ্ক ক্যুইজ · মাঝারি স্তর

এজেন্ট কুইজের জন্য কোড এক্সিকিউশন স্যান্ডবক্স

পরীক্ষা করে কিভাবে এজেন্ট স্যান্ডবক্সগুলি মডেল-লিখিত কোড বিচ্ছিন্ন করে: কন্টেইনার বনাম মাইক্রোভিএম এবং জিভিসার, নেটওয়ার্ক প্রস্থান সীমা, এবং টাইমআউটের মতো রিসোর্স ক্যাপ।

প্রশ্ন 1 এর 8

কেন একটি এআই এজেন্ট দ্বারা লেখা কোড ডিফল্টরূপে অবিশ্বস্ত হিসাবে বিবেচিত হয়?

প্রতিটি প্রশ্নের পূর্বরূপ দেখুন8 প্রশ্ন

আপনি কুইজ নেওয়ার সাথে সাথে উত্তর এবং ব্যাখ্যাগুলি উপস্থিত হয়।

  1. কেন একটি এআই এজেন্ট দ্বারা লেখা কোড ডিফল্টরূপে অবিশ্বস্ত হিসাবে বিবেচিত হয়?
    • 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. মাইক্রোভিএমের তুলনায় স্ট্যান্ডার্ড পাত্রের প্রধান নিরাপত্তা দুর্বলতা কী?
    • 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. ফায়ারক্র্যাকার মাইক্রোভিএম মূলত 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