引导式测验 · 中等 等级

无服务器 GPU 推理和冷启动测验

确定无服务器 GPU 推理中的冷启动阶段并选择缓解措施,同时平衡延迟、热容量、缓存和成本。

问题 1 的 8

哪个请求在无服务器 GPU 端点上最直接地经历冷启动?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. 哪个请求在无服务器 GPU 端点上最直接地经历冷启动?
    • A request routed to a worker that is already initialized
    • A request waiting behind other work on a warm but saturated worker
    • The first request that must wait for a new worker and runtime to initialize
    • A request delayed only by model computation after startup
  2. 启动时哪一步具体将模型参数传输到GPU内存?
    • Pulling the container image
    • Loading model weights into accelerator memory
    • Allocating the GPU worker
    • Starting the runtime process
  3. 为什么热路径基准测试可以低估扩展到零的端点的延迟?
    • A warm benchmark includes container and model startup on every call
    • Warm measurements omit startup and initialization paid by the first request after scale-up
    • A warm benchmark includes worker allocation after the container is ready
    • A warm benchmark reloads the model weights on every request
  4. 哪种缓解措施可以减少冷启动,同时增加闲置费用?
    • Keeping a minimum amount of GPU capacity ready
    • Deleting model artifacts after every request
    • Increasing the model image size to force preloading
    • Retrying every request without a limit
  5. 为什么要分开冷启动阶段时序?
    • Identify whether queueing, worker setup, model loading or initialization dominates delay
    • Determine whether generated text has correct semantics
    • Measure steady-state GPU throughput only
    • Select the model confidence threshold
  6. How can aggressive retries worsen a cold-start incident?
    • They add more in-flight work while workers may still be starting
    • They guarantee the platform keeps a GPU warm without billing
    • They automatically deduplicate all repeated requests
    • They skip model initialization on retry
  7. Which measurements distinguish cold and warm behavior?
    • 仅训练准确率
    • Latency distributions for each path and cold-start frequency
    • Only average GPU memory
    • Only container build time
  8. What does serverless imply about inference cost?
    • It can reduce infrastructure management, but usage and warm capacity may still cost money
    • It is automatically free when idle in every provider
    • GPU capacity has no billing limits
    • Retries remove compute charges