Courseiva

DP-300 Practice Question: Plan and configure a high availability and disaster recovery environment

Exhibit

{
  "type": "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies",
  "apiVersion": "2023-08-01-preview",
  "properties": {
    "retentionDays": 14,
    "diffBackupIntervalInHours": 12
  }
}

Refer to the exhibit. You are reviewing an ARM template for an Azure SQL Database backup policy. The database is used for a reporting workload that is updated daily. The compliance team requires that point-in-time restore (PITR) be available for the past 30 days. What action should you take?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Change the retentionDays property to 30.

The retentionDays property in the ARM template controls the point-in-time restore (PITR) retention period. Currently set to 14 days, it must be changed to 30 days to meet the compliance requirement. Option B is incorrect because diffBackupIntervalInHours specifies the interval for differential backups, not retention. Option C is incorrect because 14 days does not satisfy the 30-day requirement. Option D is incorrect because long-term retention (LTR) is for archival purposes beyond PITR and does not replace the PITR retention setting.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Change the retentionDays property to 30.

    Why this is correct

    retentionDays controls PITR retention; setting to 30 meets the requirement.

  • Change the diffBackupIntervalInHours to 24.

    Why it's wrong here

    The diff backup interval affects backup frequency, not retention duration.

  • No action is needed; the current policy meets the requirement.

    Why it's wrong here

    14 days retention does not satisfy the 30-day PITR requirement.

  • Add a long-term retention policy with a weekly retention of 30 days.

    Why it's wrong here

    Long-term retention is for archival, not PITR; PITR requires short-term retention.

Go deeper

Related to this question

About these practice questions

Courseiva writes every DP-300 question from scratch — 906 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-300 exam.