Courseiva

DP-900 Practice Question: Identify considerations for relational data on Azure

A company stores customer data in an Azure SQL Database. To comply with data residency requirements, they need to ensure that all customer data remains within a specific Azure region. Which feature should they use?

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

Use Azure Policy to restrict resource creation to allowed regions

To comply with data residency requirements, the company must ensure that all customer data remains within a specific Azure region. Azure Policy allows administrators to define and enforce rules that restrict resource creation to allowed regions, thereby preventing the deployment of Azure SQL Database or any other resources outside that region. This directly supports data residency by controlling where data can be stored. In contrast, geo-replication (option B) replicates data to a secondary region, which would move data out of the specified region, violating the requirement. Dynamic data masking (option C) and transparent data encryption (option D) are security features that protect data at rest or in use but do not control geographic placement. Therefore, Azure Policy is the correct feature to meet the data residency requirement.

Answer analysis

Option-by-option breakdown

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

  • Use Azure Policy to restrict resource creation to allowed regions

    Why this is correct

    Azure Policy can enforce data residency by applying a policy definition to deny or audit the creation of Azure SQL Database resources outside an approved region. You can target the resource types Microsoft.Sql/servers and Microsoft.Sql/servers/databases, and include parameters for allowed locations so both server and database must be in the required geography. The Deny effect blocks any non-compliant deployment before it happens, while Audit logs violations, making this a governance and compliance control rather than a data-protection feature.

  • Enable geo-replication

    Why it's wrong here

    Geo-replication copies data continuously to a secondary database in a different Azure region for failover and read-scale scenarios. While the primary database stays in the source region, the secondary replica is a full, live copy stored in another data center, which directly contradicts a data-residency requirement that restricts storage to a specific country or region. The feature is a high-availability solution, not a residency control, so enabling it would create unapproved copies outside the allowed boundary.

  • Configure dynamic data masking

    Why it's wrong here

    Dynamic data masking is a database-level security feature that limits sensitive data exposure by applying masking rules to query results for non-privileged users, such as showing only the last four digits of a credit card number. It works entirely at the application or query layer and never moves, copies, or relocates the underlying database files. Therefore, it is unrelated to data residency and cannot prevent data from being stored in an unauthorized Azure region.

  • Enable transparent data encryption (TDE)

    Why it's wrong here

    Transparent data encryption (TDE) performs real-time I/O encryption and decryption of the database's data and log files, using a database encryption key that is protected by a server certificate or an asymmetric key stored in Azure Key Vault. This protects confidentiality at rest against theft of physical disks, but it does not control or alter the geographic location where the database is stored. The encrypted database remains entirely within the region where it was deployed, so TDE provides security but not residency enforcement.

About these practice questions

This DP-900 question is part of Courseiva's 820-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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-900 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-900 exam.