[英]AZURE blob storage v2 lifecycle management
I am preparing for DP-200 exam and confused with lifecycle management.我正在准备 DP-200 考试并且对生命周期管理感到困惑。 The sample scenario is:示例场景是:
You manage a financial computation data analysis process.您管理财务计算数据分析流程。 Microsoft Azure virtual machines (VMs) run the process in daily jobs, and store the results in virtual hard drives (VHDs.) The VMs product results using data from the previous day and store the results in a snapshot of the VHD. Microsoft Azure 虚拟机 (VM) 在日常作业中运行该过程,并将结果存储在虚拟硬盘驱动器 (VHD) 中。VM 使用前一天的数据生成结果并将结果存储在 VHD 的快照中。 When a new month begins, a process creates a new VHD.当新的一个月开始时,一个进程会创建一个新的 VHD。 You must implement the following data retention requirements: - Daily results must be kept for 90 days - Data for the current year must be available for weekly reports - Data from the previous 10 years must be stored for auditing purposes - Data required for an audit must be produced within 10 days of a request.您必须执行以下数据保留要求: - 每日结果必须保留 90 天 - 本年度的数据必须可用于每周报告 - 必须存储前 10 年的数据以用于审计目的 - 审计所需的数据必须在提出要求后 10 天内制作。 You need to enforce the data retention requirements while minimizing cost.您需要在最小化成本的同时强制执行数据保留要求。 How should you configure the lifecycle policy?您应该如何配置生命周期策略? To answer, drag the appropriate JSON segments to the correct locations.要回答,请将相应的 JSON 段拖动到正确的位置。 Each JSON segment may be used once, more than once, or not at all.每个 JSON 段可以使用一次、一次以上或根本不使用。 You may need to drag the split bat between panes or scroll to view content.您可能需要在窗格之间拖动拆分棒或滚动以查看内容。
<code>"BaseBlob": {
"TierToArchive": { "DaysAfterModificationGreaterThan": 365 },
"Delete": { "DaysAfterModificationGreaterThan": 3650 }
},
"Snapshot": {
"TierToCool": {"DaysAfterCreationGreaterThan": 90 }
}</code>
That's the solution marked as correct.这就是标记为正确的解决方案。 I try to find the "snapshot" documentation regarding lifecycle, but cannot find it in MS docs.我尝试查找有关生命周期的“快照”文档,但在 MS 文档中找不到。
Can someone explain me the purpose of a Snapshot here please?有人可以在这里解释一下快照的目的吗? and what correct lifecycle should be.以及正确的生命周期应该是什么。
--Daily results must be kept for 90 days --每日结果必须保存90天
--Data for the current year must be available for weekly reports -- 周报必须提供当年的数据
--Data from the previous 10 years must be stored for auditing purposes --必须存储过去 10 年的数据以用于审计目的
--Data required for an audit must be produced within 10 days of a request --审核所需的数据必须在提出请求后的 10 天内提供
baseblob基团
-- delete -10years --删除-10年
-- tiertocold -10days -- tiertocold -10 天
-- tiertoarchive -1 years -- 分层归档 -1 年
snapshot快照
-- delete -90days -- 删除 -90 天
Reference link for the snapshot : https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-management-concepts?tabs=template#rules快照的参考链接: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-management-concepts?tabs=template#rules
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.