All exams← All Azure Data Fundamentals (DP-900) notes

Governance & security: Azure Data Fundamentals (DP-900) revision notes

Revision notes

Governance & security in Azure data services

Data governance and security is about controlling who can see what, protecting data at rest and in transit, and proving compliance. DP-900 tests whether you know which Azure feature solves which problem.

Authentication vs authorisation

  • Authentication (AuthN) proves who you are - Azure Active Directory (Microsoft Entra ID) is the main identity provider for Azure data services.
  • Authorisation (AuthZ) decides what you can do once verified - handled through Azure role-based access control (RBAC).
  • SQL-based services also support SQL authentication (username and password) as an alternative to Entra ID.

Azure RBAC

  • RBAC assigns roles (like Reader, Contributor, Owner, or service-specific roles such as SQL DB Contributor) to users, groups, or service principals at a scope: management group, subscription, resource group, or resource.
  • Roles are additive - there is no explicit deny by default, though Azure now supports deny assignments for exceptions.
  • Principle of least privilege: always grant the minimum role needed.

Encryption

  • Encryption at rest protects data on disk - Azure Storage and Azure SQL Database use Transparent Data Encryption (TDE) by default, with AES 256-bit encryption.
  • Encryption in transit protects data moving over networks - enforced using TLS (Transport Layer Security), typically TLS 1.2 minimum.
  • Always Encrypted (SQL feature) keeps sensitive columns encrypted even from database administrators, using client-side keys.
  • Transparent Data Encryption keys can be Microsoft-managed or customer-managed (stored in Azure Key Vault) for extra control.

Network security

  • Firewalls restrict access by IP address range - Azure SQL Database has a server-level and database-level firewall.
  • Virtual network (VNet) service endpoints and Private Link let resources connect over Microsoft's private backbone rather than the public internet, reducing exposure.
  • Private Link assigns a private IP address from your VNet directly to the PaaS resource.

Auditing and monitoring

  • Azure SQL Auditing tracks database events (logins, queries, schema changes) and writes them to a storage account, Log Analytics workspace, or Event Hub.
  • Microsoft Defender for Cloud (formerly Advanced Threat Protection) detects anomalous activity like SQL injection attempts or unusual access patterns.
  • Dynamic Data Masking hides sensitive data (like full credit card numbers) from non-privileged users in query results without changing the stored data - it is not a security boundary on its own.

Common mistakes

  • Confusing authentication (identity) with authorisation (permissions) - these are two separate steps.
  • Thinking Dynamic Data Masking encrypts data - it does not; it only obscures display output.
  • Assuming TDE protects data in transit - it only protects data at rest.
  • Forgetting that RBAC in Azure is scope-based and inherits downward from higher scopes.
  • Mixing up Always Encrypted (column-level, client-side keys) with TDE (whole database, transparent to apps).</br>

Key facts

Flashcards

What is the difference between authentication and authorisation?
Authentication verifies who you are (identity); authorisation determines what you are allowed to do (permissions).
tap to reveal
What does Azure RBAC stand for and what does it control?
Role-Based Access Control - it grants roles to users, groups or service principals at a defined scope to control permissions.
tap to reveal
At what scopes can Azure RBAC roles be assigned?
Management group, subscription, resource group, or individual resource - permissions inherit downward.
tap to reveal
What encrypts Azure SQL Database and Storage data at rest by default?
Transparent Data Encryption (TDE), using AES 256-bit encryption.
tap to reveal
What protocol secures Azure data in transit, and what is the minimum version?
TLS (Transport Layer Security), minimum TLS 1.2.
tap to reveal
What is Always Encrypted and how does it differ from TDE?
A SQL feature that encrypts specific columns using client-side keys so even DBAs cannot read them; TDE encrypts the whole database transparently instead.
tap to reveal
Does Dynamic Data Masking encrypt data?
No - it only hides or obscures sensitive data in query results for non-privileged users; the stored data is unchanged and unencrypted by this feature.
tap to reveal
What controls which IP addresses can reach an Azure SQL Database?
Server-level and database-level firewalls that allow specific IP address ranges.
tap to reveal
What does Azure Private Link provide for a PaaS data service?
A private IP address from your virtual network, so traffic never traverses the public internet.
tap to reveal
What Azure service detects threats like SQL injection attempts against data services?
Microsoft Defender for Cloud (formerly Advanced Threat Protection).
tap to reveal
Where can Azure SQL Auditing send its logs?
A storage account, a Log Analytics workspace, or an Event Hub.
tap to reveal
What is the principle of least privilege?
Grant a user or service only the minimum permissions/role required to perform its task, nothing more.
tap to reveal
Where can customer-managed TDE encryption keys be stored?
In Azure Key Vault, giving the customer control over key rotation and revocation.
tap to reveal
What identity provider is primarily used for authentication to Azure data services?
Azure Active Directory, now called Microsoft Entra ID.
tap to reveal
Besides Entra ID, what other authentication method do SQL-based Azure services support?
SQL authentication - a username and password managed within the database service itself.
tap to reveal
Practice questions

Governance & security: 5 practice questions

Q1. In the context of Azure security, what does 'authentication' verify?
  • A.  That a user or service is who they claim to be
  • B.  That a resource meets organizational compliance policy
  • C.  That a user has permission to perform a specific action
  • D.  That data has not been tampered with in transit
Show answer & explanation
✓ Answer: A. That a user or service is who they claim to be
Authentication confirms identity (who you are), while authorization (a separate step) determines what an authenticated identity is allowed to do. Confusing the two is a common mistake — you can be authenticated but still lack permission for an action.
Q2. Which Azure service provides identity and access management, including single sign-on, for Azure resources?
  • A.  Microsoft Entra ID
  • B.  Azure Monitor
  • C.  Azure Key Vault
  • D.  Microsoft Purview
Show answer & explanation
✓ Answer: A. Microsoft Entra ID
Microsoft Entra ID (formerly Azure Active Directory) is Microsoft's cloud-based identity service, providing authentication, single sign-on and directory services for Azure resources. Key Vault stores secrets/keys, not identities; Purview is for data governance; Monitor is for observability.
Q3. What term describes controlling which actions an already-verified user is permitted to perform?
  • A.  Authorization
  • B.  Authentication
  • C.  Encryption
  • D.  Tokenization
Show answer & explanation
✓ Answer: A. Authorization
Authorization happens after authentication and determines the specific permissions granted to a verified identity, such as read or write access to a database. Authentication only confirms identity, not what that identity can do.
Q4. In Azure RBAC, at which of the following scopes can a role be assigned?
  • A.  Management group, subscription, resource group, or individual resource
  • B.  Only at the resource level
  • C.  Only at the subscription level
  • D.  Only at the resource group level
Show answer & explanation
✓ Answer: A. Management group, subscription, resource group, or individual resource
Azure RBAC role assignments can be applied at multiple scopes, and permissions are inherited from broader scopes down to narrower ones. This flexibility lets administrators grant access at the most appropriate, least-privileged level rather than being restricted to one fixed layer.
Q5. Which built-in Azure role grants full management access to resources, including the ability to grant access to others, within its assigned scope?
  • A.  Reader
  • B.  Monitoring Contributor
  • C.  Owner
  • D.  Contributor
Show answer & explanation
✓ Answer: C. Owner
Owner has full access to manage resources and can also assign roles to other users, unlike Contributor which can manage resources but cannot grant access to others. Reader can only view resources, not change them.
Test yourself
See the Azure Data Fundamentals (DP-900) page

More Azure Data Fundamentals (DP-900) topics