iT邦幫忙

2026 iThome 鐵人賽

DAY 2
0
Build on Google AI

使用gemini 準備 az-900系列 第 2

使用gemini 準備 az-900 DAY 2 Azure 區域 (Regions) 與地理配對 (Paired Regions)

  • 分享至 

  • xImage
  •  

【Day 2】疆域探索:Azure 基礎架構全解析(Region / AZ / Region Pairs)feat. AWS 雙強對照

系列專欄:從 AWS 視角征服 Azure:AZ-900 30 天通關實戰
難度指數:★★☆☆☆
核心考點:Regions, Availability Zones (AZ), Region Pairs, SLA 99.99%, Data Residency


🎯 前言與今日目標

本文使用antigravity cli 3.7flash low整合 manus 及claude及 gemini的初稿
昨天 Day 1 我們建立了帝國的資源管理階層(Management Groups ➔ Subscriptions ➔ Resource Groups),今天 Day 2 我們要踏出實體基礎設施的第一步 —— 「資料與運算究竟放在哪裡?」

對於熟悉 AWS 的架構師來說,Region 和 AZ 就像喝水一樣自然;但當你切換到 Azure 時,會發現微軟在地理邊界(Geography)可用性區域(AZ)的普及率以及**區域配對(Region Pairs)**的設計邏輯上,與 AWS 有著微妙但至關重要的差異。這也是 AZ-900 每次必出的基礎題型!


📚 Part 1:0.5 小時觀念裝備(AWS ↔ Azure 深度對照)

我們先透過一張對照表,快速將你在 AWS 積累的經驗平移到 Azure:

架構層級 AWS 核心概念 Azure 核心概念 關鍵差異與 AZ-900 考點筆記
地理邊界 AWS Geographic Region Azure Geographies (地理位置) Azure 明確定義 Geography(如 United States, Asia Pacific)作為合規與資料主權(Data Residency)邊界,通常包含 2 個以上的 Regions。
資料中心聚落 AWS Region (區域)(例如 us-east-1) Azure Region (區域)(例如 East US) • Azure 擁有全球 60+ 個 Region,數量為公有雲之冠。• ⚠️ 大考點:AWS 每個 Region 預設至少有 3 個 AZ;但 Azure 早期並非所有 Region 都有 AZ(目前正在全面普及中)。
實體容錯單元 AWS Availability Zone (AZ)(例如 us-east-1a) Azure Availability Zone (AZ)(例如 East US 1) • 兩者皆由 1 個或多個實體隔離的資料中心 組成(獨立供電、散熱、網路)。• 在同 Region 內將 VM 跨 AZ 部署,官方皆提供 99.99% SLA
跨區災難備援 (DR) Cross-Region Replication / Multi-Region(需手動搭配 S3 CRR、DynamoDB Global Tables) Region Pairs (區域配對)(例如 East AsiaSoutheast Asia) Azure 獨家特色:同 Geography 內預設兩兩配對。• 循序更新 (Sequenced Updates):平台維護與更新時會錯開,絕不同步重啟。• 災難優先復原:大範圍斷電時,優先拉起每對中的其中一個。
本地邊緣運算 AWS Local Zones / Wavelength Azure Edge Zones / Azure Stack 延伸公有雲運算能力至接近終端用戶或私有資料中心之低延遲場景。
【AWS 架構邏輯】
Region (至少 3 AZs) ───[ 手動配置跨區複寫 ]───► Another Region (至少 3 AZs)

【Azure 架構邏輯】
Geography (資料主權邊界)
 ├── Primary Region (AZ1 / AZ2 / AZ3)
 │        │
 │   [ 原生 Region Pair (循序更新 / GRS 自動備援) ]
 │        ▼
 └── Secondary Region (AZ1 / AZ2 / AZ3)

💡 架構師重點筆記(AWS 轉換心法)

  1. 在 AWS:你開一個 S3 Bucket 或 RDS,如果要跨 Region 備援,你必須自己設定 Cross-Region Replication (CRR) 或 Read Replica,並指定目標 Region。
  2. 在 Azure:微軟在很多原生儲存(如 Azure Storage GRS - Geo-redundant storage)直接綁定了 Region Pair。你只要點選 GRS,系統自動把資料異步複製到配對區域(例如香港 East Asia ↔ 新加坡 Southeast Asia),省去手動維護通道的麻煩。

📖 AZ-900 核心名詞解釋與速查

在準備 AZ-900 考試與實際架構設計時,請務必精準掌握以下專有名詞:

  1. Azure Geography(地理位置 / 地理邊界)

    • 定義:包含兩個或多個 Azure 區域(Regions)的離散市場區域,通常對應特定國家或地理管轄範圍(例如:United States、Asia Pacific、Europe)。
    • 關鍵作用:確保**資料主權(Data Residency)**與合規邊界,客戶資料在預設情況下不會離開該 Geography。
  2. Azure Region(區域)

    • 定義:部署在以「延遲定義的周邊」內、並透過專用低延遲網路互連的一組資料中心。
    • 特點:每個 Region 都有特定的服務可用性與定價。截至目前全球已有超過 60+ 個區域。
  3. Availability Zones (AZ, 可用性區域)

    • 定義:單一 Azure Region 內實體獨立隔離的資料中心
    • 三要素:每個 AZ 擁有各自獨立的電力系統(Power)冷卻散熱(Cooling)網路連線(Networking)
    • 考點:將 VM 分散部署在同 Region 內的 2 個以上 AZ,微軟保證 99.99% 的可用性 SLA
  4. Region Pairs(區域配對 / 配對區域)

    • 定義:位於同一個 Geography 內、距離至少 300 英哩(約 480 公里)以上的兩個 Region 所形成的官方固定夥伴關係(例如:East US ↔ West US、East Asia ↔ Southeast Asia)。
    • 三大特性
      • 循序更新(Sequential Updates):平台軟硬體維護時分批更新,絕不同步重啟。
      • 災難優先復原(Physical Isolation & Priority Recovery):跨區大範圍事故時,優先全力拉起其中一個區域。
      • 資料落地保證:多數配對皆在同國土/地理邊界內,兼顧 DR 與法規。
  5. SLA (Service Level Agreement, 服務等級協定)

    • 定義:微軟對各項服務的正常運作時間(Uptime)與連線能力的正式承諾條款。若未達標,客戶可申請服務信用點數(Service Credits)減免。
    • 數值速記:單一 VM (Premium SSD) = 99.9%;跨 AZ 部署 VM = 99.99%
  6. Data Residency / Sovereignty(資料駐留與資料主權)

    • 定義:指資料依法規或合規要求,必須在特定地理邊界或國家內進行儲存與處理,不可隨意跨國轉移。

🎮 Part 2:1 小時實戰情境 Role-Play

🏛️ 情境背景:Titan 科技的亞太出海戰役

進入 Titan 科技公司的第二天,營運長 (COO) 與技術長 (CTO) 把你找進了會議室:

COO:「架構師,我們主力客群 80% 集中在台灣與日本。我們之前在 AWS 都習慣開在 ap-northeast-1 (東京),現在上 Azure,團隊在爭論主力資料庫到底該放 『東亞 (East Asia, 香港)』 還是 『東南亞 (Southeast Asia, 新加坡)』?」
CTO:「我們必須達到 99.99% SLA,同時 CEO 強調要有跨區災難復原 (DR),且不能讓跨區設定過於複雜或增加過多資料傳輸維護成本。另外,法遵要求資料不能隨便亂跑到歐美區。」


🧩 決策思考維度

  1. 延遲維度 (Latency):台灣與日本連接香港 (East Asia) 的海纜節點與 RTT(往返時延)明顯優於新加坡 (Southeast Asia)。
  2. 高可用維度 (HA 99.99% SLA):必須選擇支援 Availability Zones 的 Region,並將 VM / DB 進行多區域分佈。
  3. 災難復原維度 (DR):Azure 的 East Asia 預設配對區域就是 Southeast Asia,兩者皆在亞太地理邊界(Asia Pacific Geography)內,符合法遵且原生支援 GRS 異地備援。

🏆 架構師建議方案

[ 用戶端:台灣 / 日本 ] 
           │
           ▼ (低延遲連線)
┌─────────────────────────────────────────────────────────────┐
│ Azure Geography: Asia Pacific                               │
│                                                             │
│  【Primary Region: East Asia (香港)】                        │
│   ├── Availability Zone 1  ◄──┐                             │
│   ├── Availability Zone 2  ◄──┼── [ 跨 AZ 部署 99.99% SLA ]  │
│   └── Availability Zone 3  ◄──┘                             │
│                                                             │
│         │ (Azure 原生 GRS / Region Pair 異步複寫)            │
│         ▼                                                   │
│  【Secondary Region (DR): Southeast Asia (新加坡)】          │
│   └── Paired Backup Storage / Standby DB                    │
└─────────────────────────────────────────────────────────────┘
  • 主力選址:部署於 East Asia (香港),啟用 Availability Zones (跨 AZ 部署),直接拿下 99.99% SLA。
  • 災難備援:善用 Azure 原生 Region Pair 機制,將備份與災難復原目的地指向 Southeast Asia (新加坡)。更新排程自動錯開,保障業務連續性(BCDR)。

🎯 Part 3:AZ-900 精選高頻真題解析

為了檢驗大家是否真正掌握,精選 3 題 AZ-900 關於基礎架構的經典題目:


📝 考題 1:SLA 99.99% 的必要條件(單選)

【Question】
Your company plans to deploy several Azure virtual machines (VMs). You need to ensure that the services running on the VMs remain available if a single data center fails, with an SLA guarantee of at least 99.99%.
What should you include in the solution?

  • A. Deploy the VMs across multiple Resource Groups.
  • B. Deploy the VMs across multiple Availability Zones in the same Azure Region.
  • C. Deploy the VMs in a single Availability Zone using Premium SSD.
  • D. Deploy the VMs in different Azure Subscriptions.
  • 正確答案B
  • 考點解析
    • Availability Zones (可用性區域) 是由單一 Region 內 1 到多個實體隔離的資料中心組成。
    • 微軟官方 SLA 保證:跨 2 個以上 Availability Zones 部署 VM,可獲得 99.99% 的運作時間保證。
    • Resource Group (A) 和 Subscription (D) 只是邏輯管理邊界,無法防止實體資料中心等級的硬體/斷電故障。單一 VM 搭配 Premium SSD (C) 的 SLA 僅為 99.9%。

📝 考題 2:Region Pair 區域配對特性(多選)

【Question】
Which of the following statements about Azure Region Pairs are TRUE? (Select TWO)

  • A. Azure automatically rolls out planned system updates to both regions in a pair simultaneously to reduce maintenance windows.
  • B. In the event of a broad multi-region outage, Azure prioritizes the recovery of at least one region out of every pair.
  • C. Most Region Pairs are located within the same Geography to maintain data residency and compliance.
  • D. Customers can modify and choose custom pairings between any two Azure regions.
  • E. Data is automatically replicated across all 60+ global Azure regions simultaneously.
  • 正確答案BC
  • 考點解析
    • B 正確:大範圍天災時,Azure 復原演算法會確保每個配對組中至少有一個 Region 優先被拉起。
    • C 正確:為了遵守各國稅務與隱私法規(Data Residency),絕大多數配對都在同一個 Geography(國土/區域邊界)內。
    • A 錯誤:Azure 採用「循序更新 (Sequenced Updates)」,會故意錯開配對區域的維護時間。
    • D 錯誤:Region Pairs 是 Azure 底層預設固定的,使用者無法自行變更配對

📝 考題 3:資料駐留與合規性(是非判斷題)

【Question】
State whether the following statement is True or False:
"To guarantee high availability and compliance, Azure automatically moves your customer data to another country whenever the primary data center experiences an outage."

  • A. True
  • B. False
  • 正確答案B (False)
  • 考點解析
    • 資料主權(Data Sovereignty / Residency)是神聖不可侵犯的原則。
    • Azure 保證除了少數特殊區域外,資料永遠只會在同一個 Geography 範圍內的 Region 進行複寫與備援,絕對不會在未經授權的情況下擅自將客戶資料跨國搬移

⚠️ 來源說明:本題改寫自 2020 年 gratisexam AZ-900 題庫(Q27),屬歷史題庫層,已與 Microsoft Learn 交叉驗證,考點至今仍然有效。

【Question】
Titan 科技要辨識「哪一種故障類型」可以透過 Azure Availability Zone 來保護服務存取。應辨識為哪一項?

  • A. 單一實體伺服器故障 (a physical server failure)
  • B. 整個 Azure 區域故障 (an Azure region failure)
  • C. 儲存體故障 (a storage failure)
  • D. Azure 資料中心故障 (an Azure data center failure)
  • 正確答案D
  • 考點解析
    • Availability Zone 的防護粒度正是「資料中心 (Data Center) 等級」的故障。每個 AZ 是 Region 內具備獨立電力、網路與冷卻的實體隔離資料中心群,啟用 AZ 的 Region 至少有 3 個。
    • A 錯誤:單一伺服器故障屬更細粒度,由 Availability Set 的 Fault/Update Domain 處理,不需動用整個 AZ。
    • B 錯誤:整個 Region 級的故障要靠**跨 Region(Region Pair)**防護,單一 Region 內的 AZ 無法涵蓋。
    • C 錯誤:儲存體故障由 Storage 備援層級(LRS/ZRS/GRS)處理,非 AZ 的定位。
  • 來源與驗證:經 Microsoft Learn:可用性區域概觀 交叉驗證確認。

📝 真題 5:Region 的定義(2020 題庫 Q22 改編)

⚠️ 來源說明:本題改寫自 2020 年 gratisexam AZ-900 題庫(Q22),屬歷史題庫層,已與 Microsoft Learn 交叉驗證,考點至今仍然有效。

【Question】
評估底線文字是否正確;若正確選「No change is needed」,若錯誤選出使敘述正確的選項。

An Azure region contains one or more data centers that are connected by using a low-latency network.
(一個 Azure 區域包含一個或多個以低延遲網路連接的資料中心。)

  • A. No change is needed(無需變更)
  • B. 位於每個 Microsoft 設有分公司的國家
  • C. 只存在於歐洲與美洲的每個國家
  • D. 只包含一個資料中心
  • 正確答案A (No change is needed)
  • 考點解析
    • Region(區域)的官方定義:一組部署在特定地理範圍、以低延遲網路互連的一個或多個資料中心。這正是底線敘述的內容,故無需變更。
    • B / C 錯誤:Region 的分佈與「Microsoft 分公司」或「僅歐美」無關,是依全球資料中心策略佈建。
    • D 錯誤:Region 可包含多個資料中心(且啟用 AZ 的 Region 至少含 3 個實體隔離區),並非只有一個。
  • 記憶點Region = 一組低延遲互連的資料中心;AZ = Region 內的實體隔離資料中心群;Region Pair = 兩個相距數百公里的 Region 互為災備。
  • 來源與驗證:經 Microsoft Learn:Azure 區域與可用性區域 交叉驗證確認。

📐 Part 4:以戰代訓課程對照

項目 內容
對應課程章節 第 2 章 Azure 架構與服務 ▸ Region / Zone / Data Center、Region Pair(p69–73)+ 第 1 章 ▸ 高可用、容錯、可靠性、跨地區分佈、DR(p18–22)
官方考綱領域 Describe Azure Architecture & Services(占比 35–40%)
課程涵蓋範圍 Region 選址、Availability Zone 故障隔離、Data Center 實體層、Region Pair 的定位,以及第 1 章高可用/容錯/可靠性/災難復原 (DR) 的基礎觀念。
本文補充範圍 1. 量化 99.99% SLA 的達成條件(跨 2 個以上 AZ 部署)。2. 釐清 Region / AZ / Region Pair 三者的故障防護粒度差異。3. Region Pair 的「循序更新」與「災難優先復原」機制。4. 對照 AWS Region / AZ 的手動跨區自由度 vs Azure 平台預設整合度。

🚀 今日總結與明日預告

  1. Region 是計費、法遵與服務邊界;AZ 是實體資料中心容錯單元(保證 99.99% SLA)。
  2. Region Pairs 是 Azure 的殺手級內建 DR 機制,提供「更新錯開」與「災難優先復原」。
  3. AWS 是 手動跨區自由度高;Azure 是 平台預設整合度深

明天 Day 3,我們將深入探索 Sovereign Clouds(主權雲:Azure Government、Azure China 等特殊合規雲端架構),看看微軟如何為政府與特殊法遵市場打造實體與網路完全隔離的獨立雲!




上一篇
使用gemini 準備 az-900 DAY 1
下一篇
使用gemini 準備 az-900 DAY 3特務與合規:Sovereign Clouds(Azure Government / China / 獨立合規雲)
系列文
使用gemini 準備 az-9006
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言