MLA-C01 练习题

MLA-C01 题目讲解:单 AZ 故障需要多个服务实例

MLA-C01 练习题讲解。答案 B。一台更强实例仍会在所在 AZ 故障时失去服务。

MLA-C01 免费试练题 · 考证匠讲解

题目

A company is deploying a critical model for a real-time fraud detection system. The service level agreement (SLA) requires the inference endpoint to be highly available and resilient to the failure of a single Availability Zone (AZ). How should the SageMaker endpoint be configured to meet this requirement?

A. Deploy the endpoint with an auto scaling policy.
B. Deploy the endpoint to a production variant with an initial instance count greater than one across multiple AZs.
C. Use a larger instance type for the endpoint.
D. Enable data capture to record all inference requests and responses.

答案

答案 B。一台更强实例仍会在所在 AZ 故障时失去服务。

拆题

  • 一台更强实例仍会在所在 AZ 故障时失去服务。
  • 多实例生产 variant 可让 SageMaker 在多个 AZ 运行,降低单 AZ 失效影响。
  • Auto scaling 是容量调整,不替代初始冗余;还需检查 VPC 子网、剩余容量和区域故障边界。

每个选项为什么对、为什么错

  • A:auto scaling 可能在压力时增加实例,但初始只有一个实例仍有单点。
  • B(正确):initial instance count 大于一并跨 AZ 部署提供故障时现有备用容量,是直接措施。
  • C:大型实例提高单节点处理能力,不增加故障域数量。
  • D:data capture 保存推理输入输出供监控,不保持服务在线。

放到具体场景里

教学例子:两个 AZ 各一台,正常负载每台使用 40% 能力,失一台后剩余台约承受 80%。如果两台正常已各 90%,失去一区时虽有实例但 SLA 仍可能失败。冗余数量和故障后性能都要压测。

检查对象本例条件或动作结果与边界
故障域多 AZ避免一处全失
初始容量大于一实例现有冗余
剩余容量假设 40%→80%需压测可承载

遇到同类题的判断顺序

  1. 选择子网:覆盖多个可用区。
  2. 设置实例:至少建立所需冗余。
  3. 测正常负载:核对余量。
  4. 故障压测:剩余实例仍满足时延。
结论:有备用实例和备用实例有足够容量不是同一件事。

参考资料

继续练这门考试

同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。