MLS-C01 免费试练题 · 考证匠讲解
题目
A company has set up and deployed its machine learning (ML) model into production with an endpoint using Amazon SageMaker hosting services. The ML team has configured automatic scaling for its SageMaker instances to support workload changes. During testing, the team notices that additional instances are being launched before the new instances are ready. This behavior needs to change as soon as possible. How can the ML team solve this issue?
答案
答案 D。扩出的实例尚未就绪又继续加实例,可能是策略反应过快。
拆题
- 扩出的实例尚未就绪又继续加实例,可能是策略反应过快。
- scale-out cooldown 给新增容量初始化和影响指标的时间。
- 冷却不是万能暂停,需结合 target tracking 行为、模型加载耗时和服务指标调参。
每个选项为什么对、为什么错
- A:scale-in cooldown 控制缩容,不解决扩容重复;提高 max 可能加剧费用。
- B:multi-model endpoint 是多模型共享服务,不直接改变当前扩容的就绪判断。
- C:API Gateway/Lambda 增加调用层,不修复端点扩容策略。
- D(正确):增加 scale-out cooldown 减少过早重复扩容,是对应方向。
放到具体场景里
教学例子:模型加载需 6 分钟,扩容策略一分钟就再次判定不足。将冷却按实测加载时间与流量变化校准,同时保证最小容量承接等待期。冷却太长也会压住需要的新增容量,所以比较 p95、实例数与扩容事件,而不是无上限拉长。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 启动 | 模型加载约 6 分钟(假设) | 新增容量尚不可用 |
| 策略 | 冷却覆盖启动反馈 | 避免重复反应 |
| 代价 | 等待与过度扩容 | 双向校准 |
遇到同类题的判断顺序
- 测启动:获取真实 readiness 时间。
- 读事件:核对连续扩容触发原因。
- 调冷却:覆盖合理反馈窗口。
- 压测峰值:容量和延迟都达标。
结论:冷却时间是控制反馈节奏,不是提高推理速度。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
