引導式測驗 · 中等 等級

用於 ML 工作負載的 Kubernetes 測驗

應用 Kubernetes ML Pod 放置、GPU 設備資源和污點容忍度,包括為什麼分散式訓練需要適當的每節點容量。

問題 1 的 8

Kubernetes 調度程式針對 ML 工作負載的主要工作是什麼?

預覽每個問題8 問題

當您參加測驗時,就會出現答案和解釋。

  1. Kubernetes 調度程式針對 ML 工作負載的主要工作是什麼?
    • 為資料科學家編寫培訓程式碼
    • 決定叢集中的哪個節點運行每個容器化 Pod
    • 自動標記訓練數據
    • 選擇神經網路架構
  2. Kubernetes 通常如何為 Pod 提供 GPU 可用?
    • 透過發布資源的裝置插件,例如 nvidia.com/gpu
    • 透過向 GPU 供應商發送電子郵件以取得許可證
    • GPU 不能在 Kubernetes 中使用
    • 透過在運行時將 CPU 核心轉換為 GPU
  3. 在 GPU 節點上設定 NoSchedule 污點時,符合條件的 Pod 容忍度會怎麼作用?
    • Forces the pod onto that node regardless of capacity
    • Changes the model’s optimizer
    • Allows the pod to be considered for that node without guaranteeing placement
    • Encrypts every GPU tensor
  4. 哪個工具增加了 ML 特定的功能,例如在 Kubernetes 之上的分散式訓練運算子?
    • Microsoft 字
    • Apache 用於提供靜態網頁
    • 試算表宏
    • 庫貝串流
  5. 為什麼 Kubernetes 非常適合突發性機器學習工作負載?
    • 它將作業安排到空閒資源上,並在作業完成時釋放該硬體
    • 它為一位用戶永久保留所有 GPU
    • 它可以防止任何工作規模縮小
    • 每個叢集只運行一個容器
  6. 在 Kubernetes 上,「將推理端點縮放為零」意味著什麼?
    • 永久刪除模型
    • 將精度設為零
    • 在沒有流量時執行零副本,然後在下一個請求時啟動
    • 將模型參數減少到零
  7. One ML pod requests four GPUs, while two nodes each have only two available. Can ordinary scheduling combine those nodes for that one pod?
    • Yes; every pod automatically spans all cluster nodes
    • Yes; the scheduler converts CPU cores into the missing GPUs
    • Only if the pod name contains the word distributed
    • No; the pod must fit on one eligible node
  8. An inference service scales to zero while idle. Which user-facing delay should its team test when traffic resumes?
    • The training-set labeling speed
    • Cold-start delay while a serving replica becomes ready
    • The file size of an unrelated notebook
    • The number of discarded vocabulary tokens