انتقل إلى المحتوى
أمين أبوزيد
SRC-013

التعافي من الكوارث

  • 8 درس
  • 4.5 ساعة تدريب (تقدير)
في هذه الصفحة 9 موضوعات

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

نظرة عامة

الموضوعات

  • RPO
  • RTO
  • النسخ الاحتياطية
  • التحويل عند الفشل (failover)
  • تمارين التعافي

تعلّم أولًا

4.5 ساعة تدريب (تقدير)

مخرجات التعلم

  1. Set RPO and RTO per data set and service from business impact.
  2. Choose backup, replication, and failover strategies that meet them, including for Kafka and caches.
  3. Design and run recovery exercises with measured results.
  4. Plan for region or account loss at the subsystem level.

الدروس

  1. 01كوارث تحدث فعلًا
  2. 02RPO وRTO انطلاقًا من أثر الأعمال
  3. 03استراتيجيات النسخ الاحتياطي والنسخ المتماثل (replication)
  4. 04تصميم التحويل عند الفشل
  5. 05استعادة تدفقات الأحداث والبيانات المشتقة
  6. 06تمارين التعافي
  7. 07عرض عملي: استعادة قاعدة بيانات الطلبات ضمن RTO مدته 15 دقيقة
  8. 08عرض عملي: إعادة بناء البيانات المشتقة بعد فقدان عنقود Kafka

المختبر والتمارين

Lab

SRC-013-LAB1 · DR drill

Outcomes: 1–4 · Time: ~4.5 h Write a DR plan for the order subsystem: RPO and RTO per data set, backup and replication choices, failover steps including secrets, DNS, and config, and the rebuild path for Kafka-derived data. Run a timed recovery drill from simulated database loss and cluster loss, and report the results. Acceptance: RTO and RPO met, or gaps documented with a remediation plan.

Exercises (assessment: drill report review)

IDOutcomeTask
SRC-013-EX011Set RPO and RTO for orders, payments, search index, session cache, and audit log; justify each from business impact.
SRC-013-EX022The orders RPO is 1 minute. Pick backup and replication mechanisms and explain what each covers and misses.
SRC-013-EX032Design Kafka recovery for the order events: replication, consumer offsets, and consumer requirements.
SRC-013-EX043Review a drill report that says "RTO 12 min" where the timer stopped when the database started. Identify the flaws.
SRC-013-EX054Case: the primary cloud region is unavailable for a day. Write the region-loss plan for the order subsystem, including prerequisites to prepare in advance.
SRC-013-EX061Case: a bad migration dropped a column at 10:00 and was noticed at 10:20. Explain why the replica does not help and what does.
أظهر الحلول
  • EX01 Orders and payments: RPO near zero to minutes, RTO 15 min; search index: rebuild, RPO hours; session cache: none, rebuild; audit log: RPO near zero, RTO hours. Rationale cites lost revenue, regulatory duty, rebuild cost.
  • EX02 Synchronous or near-synchronous replica handles node and zone loss; continuous log archiving with point-in-time recovery handles mistakes; backups in another account protect against account compromise. Replica misses logical corruption.
  • EX03 Replicated topics across zones, cross-cluster mirroring for region loss, offset translation or reset policy, idempotent consumers, topic configuration as code.
  • EX04 Timer should stop at verified service, not database start; missing app reconnect, secrets, DNS time to live, smoke tests; single run, no RPO measurement.
  • EX05 Pre-provision warm standby or pilot light, replicated data and secrets, infrastructure as code, DNS or traffic switch with low time to live, access paths, runbook, comms, failback plan, exercised.
  • EX06 The drop replicated within seconds. Use point-in-time recovery to just before 10:00 into a side instance, extract the lost data, and repair; this loses nothing if logs are intact.
  • Outcome 3 is also covered by the lab drill and Q07-Q08.

Workplace evidence: a recovery exercise you planned or ran.

الاختبار

Outcomes: O1 RPO and RTO · O2 backup, replication, failover · O3 recovery exercises · O4 region or account loss.

اختبار ذاتي لك: لا توجد درجات، ولا يُحفظ أو يُرسل أي شيء. اختر إجابة ثم تحقق منها، ويمكنك المحاولة مرة أخرى كما تشاء.

  1. 1RPO measures:O1
  2. 2RTO measures:O1
  3. 3RPO and RTO should be derived from:O1
  4. 4Why does replication not replace backups?O2
  5. 5Split brain means:O2
  6. 6Which topology has the lowest cost and the longest RTO?O2
  7. 7A drill's RTO is measured from failure until:O3
  8. 8The most important output of a drill is:O3
  9. 9After Kafka loss, derived stores should be rebuilt from:O2
  10. 10Which must be prepared in advance for region loss?O4

الجزء العملي

Drill report review (SRC-013 assessment): critique a drill report and present SRC-013-LAB1 results. Pass: at least 8/10 on the quiz, RPO and RTO measured with timestamps, and gaps with a remediation plan.

أخطاء شائعة

RTO set without measurement; forgetting secrets, DNS, and config in recovery; derived stores never rebuilt.

التقييم

Drill report review.

دليل من بيئة العمل

A recovery exercise you planned or ran.

الصلة بالمسار الوظيفي

Multi-region systems (SRB-004) and HA/DR architecture (ARC-019).

اكتب للبحث في المستويات والمراحل والوحدات والدروس.