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

এমএল মডেল কুইজের জন্য ডকার কন্টেইনার

মেশিন-লার্নিং অ্যাপ্লিকেশনের জন্য ডকার ইমেজ লেয়ারিং, মাল্টি-স্টেজ বিল্ড, আর্টিফ্যাক্ট হ্যান্ডলিং এবং রানটাইম নিরাপত্তা পছন্দ অনুশীলন করুন।

প্রশ্ন 1 এর 8

ঘন ঘন অ্যাপ্লিকেশন উত্স পরিবর্তন করার আগে কেন একটি নির্ভরতা লকফাইল অনুলিপি করবেন?

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

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

  1. ঘন ঘন অ্যাপ্লিকেশন উত্স পরিবর্তন করার আগে কেন একটি নির্ভরতা লকফাইল অনুলিপি করবেন?
    • Docker can reuse the dependency-install layer when only source code changes
    • It guarantees packages never need security updates
    • It makes model data part of the base image
    • It runs dependency installation on the GPU
  2. কোন সমস্যা একটি মাল্টি-স্টেজ ডকার ঠিকানা তৈরি করে?
    • Run every stage at the same time in production
    • Use build tools in one stage and copy needed runtime artifacts to another
    • Avoid declaring any base image
    • Store secrets in an intermediate layer
  3. কেন একটি বড় ব্যক্তিগত ডেটাসেটটি ছবিতে অনুলিপি করার পরিবর্তে মাউন্ট করবেন?
    • It removes the need for data access controls
    • It ensures the model is deterministic
    • It avoids embedding data in an image that is distributed
    • It converts the dataset into a model layer automatically
  4. ডাইজেস্ট পিনিং একটি বেস ইমেজের জন্য কি প্রদান করে?
    • A smaller image size regardless of its layers
    • Automatic security updates without rebuilding
    • A record of the Python package versions only
    • A more precise identity for the referenced image content
  5. রানটাইম গোপনীয়তা সাধারণত কোথায় সরবরাহ করা উচিত?
    • In source files copied into the image
    • Through a secure runtime mechanism rather than embedded image layers
    • In a public base-image tag
    • Inside the model's class labels
  6. What does a running container add beyond an image?
    • The physical GPU driver inside the container
    • A new compiled base image automatically
    • Runtime configuration such as mounts, environment and network
    • A guarantee of bitwise-deterministic training
  7. Why run an application as a non-root user when practical?
    • It makes the image digest shorter
    • It prevents every dependency vulnerability
    • It guarantees the model meets accuracy targets
    • It limits privileges if the process is compromised
  8. What does a container image alone not guarantee?
    • Identical numerical results across different hardware
    • A packaged filesystem and metadata
    • A specified application command
    • Layered build inputs