Question 380 of 953
Implement a secure environmentmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is that point-in-time restore (PITR) backups are retained for 7 days, and differential backups occur every 12 hours. This configuration directly controls the PITR retention window, which defines how far back you can restore your Azure SQL Database to a specific point in time, while the differential backup frequency remains fixed at every 12 hours regardless of the retention setting. On the DP-300 exam, this tests your understanding that the backup retention configuration in an ARM template only affects the PITR retention period—not the backup frequency itself, which is a common trap where candidates mistakenly think retention controls how often backups are taken. The key distinction is that retention sets the recovery window, while differential backups are always automated every 12 hours by default. A helpful memory tip: retention is the “how long” you can go back, not the “how often” backups happen.

DP-300 Implement a secure environment Practice Question

This DP-300 practice question tests your understanding of implement a secure environment. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.

```json
{
  "type": "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies",
  "apiVersion": "2023-05-01-preview",
  "name": "Default",
  "properties": {
    "retentionDays": 7,
    "diffBackupIntervalInHours": 12
  }
}
```

Refer to the exhibit. You are reviewing an ARM template for an Azure SQL Database. The template configures backup retention. What is the effect of this configuration?

Question 1mediummultiple choice
Full question →

Exhibit

Refer to the exhibit.

```json
{
  "type": "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies",
  "apiVersion": "2023-05-01-preview",
  "name": "Default",
  "properties": {
    "retentionDays": 7,
    "diffBackupIntervalInHours": 12
  }
}
```

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

Point-in-time restore (PITR) backups are retained for 7 days, and differential backups occur every 12 hours.

The ARM template configures the backup retention settings for Azure SQL Database. By default, Azure SQL Database automatically performs full backups every week, differential backups every 12 hours, and transaction log backups every 5–10 minutes. The configuration shown sets the point-in-time restore (PITR) retention period to 7 days, meaning you can restore the database to any point within the last 7 days. Differential backups occur every 12 hours to support efficient PITR, but the retention setting directly controls how far back you can perform a point-in-time restore.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Full backups are taken every 12 hours and retained for 7 days.

    Why it's wrong here

    Full backups are weekly; diffBackupIntervalInHours controls differential backups.

  • Long-term retention (LTR) is set to 7 days.

    Why it's wrong here

    This is short-term retention policy, not LTR.

  • Point-in-time restore (PITR) backups are retained for 7 days, and differential backups occur every 12 hours.

    Why this is correct

    The properties directly set PITR retention and differential backup interval.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Transaction log backups are taken every 12 hours.

    Why it's wrong here

    Transaction log backups are frequent (every 5-10 min), not controlled by this property.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse the PITR retention period with the frequency of backups, or assume that the retention setting controls the backup schedule (e.g., thinking full backups occur every 12 hours), when in fact it only controls how long backups are kept, not how often they are taken.

Detailed technical explanation

How to think about this question

Azure SQL Database uses a three-tier backup strategy: full backups weekly, differential backups every 12 hours, and transaction log backups every 5–10 minutes. The PITR retention period (default 7 days, configurable up to 35 days) determines how long these backups are kept to allow restoration to any point within that window. In a real-world scenario, if you set PITR retention to 7 days, you can restore to any second within the last 7 days, but you cannot restore to a point older than 7 days unless you configure LTR separately.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related DP-300 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free DP-300 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this DP-300 question test?

Implement a secure environment — This question tests Implement a secure environment — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Point-in-time restore (PITR) backups are retained for 7 days, and differential backups occur every 12 hours. — The ARM template configures the backup retention settings for Azure SQL Database. By default, Azure SQL Database automatically performs full backups every week, differential backups every 12 hours, and transaction log backups every 5–10 minutes. The configuration shown sets the point-in-time restore (PITR) retention period to 7 days, meaning you can restore the database to any point within the last 7 days. Differential backups occur every 12 hours to support efficient PITR, but the retention setting directly controls how far back you can perform a point-in-time restore.

What should I do if I get this DP-300 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.