# 规模集与可用区

**URL:** <https://www.isharkfly.com/t/topic/17950>\
**Category:** 云计算\
**Tags:** azure, az-900-题库\
**Created:** [October 10, 2025, 12:05pm UTC](https://www.isharkfly.com/t/topic/17950 "2025-10-10T12:05:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hex](https://www.isharkfly.com/user_avatar/www.isharkfly.com/hex/32/21953_2.png) [@hex](https://www.isharkfly.com/u/hex)\
**Post date:** [October 10, 2025, 12:05pm UTC](https://www.isharkfly.com/t/topic/17950/1 "2025-10-10T12:05:20Z")

</div>

You plan to deploy several Azure virtual machines.

You need to ensure that the services running on the virtual machines are available if a single data center fails.

Solution: You deploy the virtual machines to a scale set.

Does this meet the goal?

提供答案和解答

 ![2025-10-10_08-06-45](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/2/6/2617788d884758076e65ca3481ef9518424b116a.jpeg)

* * *

这个 scale set 概念和题目的要求根本就不是一个概念的东西。

所以选择 NO。

---

<div class="post-metadata">

**Author:** ![hex](https://www.isharkfly.com/user_avatar/www.isharkfly.com/hex/32/21953_2.png) [@hex](https://www.isharkfly.com/u/hex)\
**Post date:** [October 10, 2025, 12:05pm UTC](https://www.isharkfly.com/t/topic/17950/2 "2025-10-10T12:05:21Z")

</div>

好的，这是一个典型的 Azure 认证考试风格问题。

**答案：否**

* * *

### **解答 (Explanation)**

仅仅将虚拟机部署到规模集（Scale Set）本身并不能保证在单个数据中心发生故障时服务可用。

**问题所在：**  
一个虚拟机规模集可以被部署在单个 **可用区** （Availability Zone）内。一个可用区就相当于一个独立的数据中心。如果你的整个规模集都位于 Zone 1，而 Zone 1 这个数据中心发生了故障，那么规模集中的所有虚拟机都会离线，服务就会中断。因此，该解决方案是不完整的。

**正确的解决方案：**  
要确保在单个数据中心发生故障时服务仍然可用，你需要将虚拟机部署到一个\*\*跨多个可用区（Zone-redundant）\*\*的虚拟机规模集中。

具体操作是：  
在创建虚拟机规模集时，在“可用性选项”中选择 **可用区（Availability Zones）** ，并同时选择多个区域（例如，Zone 1, Zone 2, 和 Zone 3）。

这样配置后，Azure 会将规模集中的虚拟机实例分布到你选择的多个物理上独立的数据中心。如果其中一个数据中心（可用区）发生故障，其他可用区中的虚拟机实例将继续运行，从而保证了服务的可用性。

**相关概念对比：**

- **可用性集 (Availability Set)**: 保护的是 **单个数据中心内部** 的硬件故障（如机架电源、网络交换机故障）。它不能防止整个数据中心的故障。
- **可用区 (Availability Zone)**: 保护的是 **单个数据中心的故障** 。这是题目要求的解决方案。
- **区域冗余 (Zone Redundancy)**: 这是一种部署策略，将资源（如规模集）分布在多个可用区，以实现高可用性。

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 10, 2025, 12:05pm UTC](https://www.isharkfly.com/t/topic/17950/3 "2025-10-10T12:05:55Z")

</div>

Made this topic public on October 10, 2025, 12:05pm UTC


