Courseiva
Configure and manage automation of taskshardMultiple ChoiceObjective-mapped

DP-300 Configure and manage automation of tasks Practice Question

Exhibit

{
  "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies",
  "apiVersion": "2021-02-01-preview",
  "properties": {
    "weeklyRetention": "P2W",
    "monthlyRetention": "P6M",
    "yearlyRetention": "P5Y",
    "weekOfYear": 1
  }
}

Refer to the exhibit. An Azure SQL Database has the above ARM template for long-term retention (LTR) backup policy. Which statement is true about the retention duration?

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

Yearly backups are retained for 5 years.

In the ARM template for LTR backup policy, the yearlyRetention is set to P5Y, which means 5 years. WeeklyRetention is P2W (2 weeks), and monthlyRetention is P6M (6 months). Therefore, only option C is accurate. Option A is incorrect because monthly backups are retained for 6 months, not 12. Option B is incorrect because yearly backups are retained for 5 years, not 10. Option D is incorrect because weekly backups are retained for 2 weeks, not 1 week.

Answer analysis

Option-by-option breakdown

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

  • Monthly backups are retained for 12 months.

    Why it's wrong here

    Monthly retention is P6M, meaning 6 months.

  • Yearly backups are retained for 10 years.

    Why it's wrong here

    Yearly retention is P5Y, meaning 5 years.

  • Yearly backups are retained for 5 years.

    Why this is correct

    YearlyRetention is P5Y, which equals 5 years.

  • Weekly backups are retained for 1 week.

    Why it's wrong here

    Weekly retention is P2W, meaning 2 weeks.

Go deeper

Related to this question

About these practice questions

One of 906 original DP-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.