TECHNOLOGY & CERTIFICATION EDITORIAL

Microsoft SC-500: Storage and Database Security

Storage and database services hold the information that cloud and AI workloads are built to process, so SC-500 gives data-plane security substantial weight. The exam expects candidates to secure Azure Storage and Azure database services with identity, network restrictions, threat protection, auditing and encryption-aware design.

The key is to avoid one-dimensional security. Encryption alone is not enough. Private networking alone is not enough. Strong data protection combines who can access the service, where they can connect from, what they can do and how suspicious activity is detected.

A storage firewall can restrict traffic while a managed identity with a broad data role still reads every blob from an allowed subnet. Encryption at rest addresses a different threat from an application query exporting sensitive rows. The Azure SQL encryption and auditing workflow separates TDE, Always Encrypted, database permissions and investigation evidence. Microsoft SC-500 covers these independent layers; trace the caller, network path, effective data rights, encryption boundary and audit record before selecting a remedy.

Begin with identity-based access

Where supported, prefer Microsoft Entra identities and managed identities over shared keys or embedded credentials. Identity-based access produces clearer accountability and reduces the number of long-lived secrets that applications must handle.

RBAC should be scoped to the minimum data operations required. A workload that only reads objects should not receive write or administrative permissions. Human operators should also receive the narrowest role that supports their duties.

Role-based access control must be evaluated at the right plane: assigning Azure Contributor does not automatically grant permission to query protected SQL rows, while storage data roles can expose content even if a principal cannot modify the storage account configuration. Inspect management actions, data actions and service-native SQL permissions separately.

Restrict storage account network access

Azure Storage firewalls, virtual network controls and private endpoints can reduce public exposure. A private endpoint gives a storage service a private address inside a virtual network, allowing applications to reach it through controlled network paths.

Network restrictions are especially important when storage contains sensitive application data, backups or AI source documents. Public connectivity should be a conscious requirement rather than a default convenience.

Still, private networking must be paired with identity authorization. A private endpoint does not decide which workload should read which container or blob.

Protect credentials and shared-access mechanisms

Shared Access Signatures can provide delegated time-limited access, but they should be scoped narrowly and protected because possession of a valid SAS can be sufficient for access within its permissions.

Review Key Vault keys and rotation before relying on customer-managed encryption or credential-based integrations. Rotation should be tested against the actual workload identity and its recovery plan; changing the key without verifying dependents can produce a service outage.

Prefer short expiry, minimal permissions and restricted resource scope. Do not log SAS tokens or place them in client-side locations where unrelated users can recover them. When an application can use Entra-based authorization instead, that often creates a stronger identity trail.

Account keys are even more sensitive because they can provide broad access. Rotate them and avoid distributing them casually.

Use Defender for Storage as a threat-detection layer

Preventive controls reduce exposure, but teams also need detection. Defender for Storage can add threat-protection signals around suspicious access patterns and potentially malicious activity.

Detection should feed an incident-response process rather than exist only as another dashboard. Alerts need ownership, triage logic and enough context to determine whether access was expected.

Storage security is verifiable only when teams can trace one authorized and one denied request through network reachability, identity and data permissions, encryption controls, and the resulting audit event. A compliant encryption setting cannot establish that an overprivileged caller is prevented from exporting records.

Protect Azure SQL through access, encryption, and auditing

Azure SQL security includes identity, network configuration, encryption, auditing and database-specific controls. Microsoft Entra authentication can reduce reliance on SQL credentials and integrate database access with centralized identity governance.

Network controls should limit where database connections originate. Public endpoints should be reviewed carefully, especially for production systems. Private endpoints can help align database connectivity with a private application architecture.

Inside the database, permissions should be scoped to the operations required by users and applications.

Transparent Data Encryption protects data at rest, while transport encryption protects connections. Always Encrypted addresses a different requirement by keeping selected sensitive values encrypted from the database engine under appropriate designs.

Dynamic data masking can reduce casual exposure in query results but should not be confused with strong cryptographic protection or authorization. A privileged user may still access underlying values depending on permissions.

Security engineers should know what each control protects and what it does not.

Database auditing helps answer who accessed or changed data and when. It supports investigations, governance and compliance reporting.

Auditing must be configured with retention and access controls that match the sensitivity of the environment. Logs that contain sensitive query details should not be broadly readable.

Monitoring should focus on useful signals such as unexpected privilege use, changes to security configuration, anomalous access patterns and failed authentication.

Protect backups and immutable data paths

Data security includes recovery. Attackers increasingly target backups and recovery infrastructure because destroying recoverability increases leverage during an incident.

Storage protection can include soft delete, versioning, immutability and tightly controlled backup administration. The correct combination depends on the service and workload, but the objective is to prevent a single compromised identity from deleting both production data and every recovery copy.

Recovery controls should be tested, not merely enabled.

Trace sensitive AI data from caller to record

SC-500 is a cloud and AI security exam, so storage protection is directly relevant to generative AI. Knowledge bases, prompt data, evaluation datasets and model-adjacent application data may all live in storage or databases.

Data-plane access depends on the requesting identity and its actual source path. The AI data-flow threat model matters whenever retrieval or agent tools can reach the same records as transactional applications. Verify one permitted query and one forbidden export rather than treating encryption and logging as proof of authorized use.

If an AI workload has broad read access, the model can expose information that the user should not see. Identity-aware retrieval and data classification therefore matter as much as network security.

Conditional Access can govern eligible interactive sign-ins and supported workload identities, but a network-permitted database request still requires the service to evaluate its own data permissions. Check the identity making the request and the permission model in use rather than inferring data protection from a successful Conditional Access policy deployment.

Review a sensitive data request from the calling identity through its network route, effective data-plane permissions, encryption boundary, threat detection, audit evidence and recovery safeguards. Each control acts at a different point; a successful private connection does not prove the principal should be able to read or export the underlying records.

A data-access review should test both ordinary use and deliberate misuse. Try an approved application query, an out-of-scope blob read, a database privilege escalation and an attempted change to recovery data. Record which control blocked each request and which telemetry exposed it. A design is stronger when identity, network, encryption and monitoring reinforce one another without hiding a failed layer.

Separate administration, data access, and exfiltration risk

An Azure subscription administrator should not automatically need permission to read sensitive application data. Management-plane control and data-plane access should be separated where possible so infrastructure teams can operate services without inheriting unnecessary business-data privileges.

CSPM attack-path reasoning helps prioritize storage exposure that combines a permissive route and an overpowered application identity. Confirm reachability and effective data permission together; either observation alone can misstate the likely business impact.

The same separation applies to databases. A platform engineer may manage server configuration while database roles control who can query protected tables. Combining every responsibility into one powerful account increases the impact of compromise.

Clear separation also improves audit interpretation because a configuration change and a data read come from distinct roles.

Data exfiltration can occur through public endpoints, overly broad SAS tokens, copied account keys or misconfigured cross-service access. Review each route by which data can leave the intended workload boundary.

Network rules and private endpoints reduce reachability, but identity and application policy still decide whether the data should be returned. Monitor unusual download volume and access from unexpected principals or locations.

For highly sensitive stores, consider whether the application needs bulk-read capability at all. Narrow APIs can expose only the records required for the task.

Use database threat protection with auditing, not instead of it

Defender for Databases can surface suspicious behavior and vulnerabilities, while auditing provides a record of activity. The two capabilities answer different questions. Threat protection helps prioritize anomalies; auditing helps reconstruct what happened.

Configure alert routing and ownership before an incident. An alert that nobody reviews has little protective value. Likewise, audit logs should be retained securely enough to support investigation after the immediate alert is gone.

Security teams should periodically test that expected telemetry reaches the monitoring platform and can be queried.

Connect data protection with business continuity

Storage and database security must preserve confidentiality, integrity and availability. Aggressive network restrictions or key changes can protect data while accidentally making critical systems unavailable.

Plan changes with rollback and recovery. Test restore procedures, verify access to recovery copies and ensure the identities required for recovery are not dependent on the same failure domain as production.

A ransomware-resistant architecture is not only one that prevents encryption by an attacker; it is one that keeps trustworthy recovery paths outside the attacker’s easiest reach.

Govern AI data stores alongside core databases

Vector stores, prompt repositories and evaluation datasets can contain sensitive business information even when they do not look like traditional databases. Apply classification, least privilege, encryption, retention and monitoring to them as well.

AI teams sometimes create secondary copies of production data for experimentation. Those copies can become the weakest point if they are less governed than the original source. Security engineers should inventory derived datasets and ensure their protection matches the sensitivity of the underlying information.

SC-500’s cloud-and-AI framing makes this especially important: securing the primary database is incomplete if an AI pipeline creates an unprotected duplicate elsewhere.

Storage and database questions often include several good controls. The best design usually combines them because they protect against different failure modes. Entra identities and RBAC constrain who can act. Private endpoints and firewalls constrain where connections originate. Encryption protects stored or transmitted data. Defender and auditing help detect or investigate suspicious behavior.

Do not treat any one layer as complete. A private endpoint does not stop an overprivileged workload from reading every blob, and encryption at rest does not stop an authorized account from exporting data. Conversely, narrow RBAC does not protect availability if an attacker can delete recovery copies through another privileged path.

Trace an attempted read or export from principal to record. Identify the layer where access should be denied, then validate the denial with observable logs while confirming that legitimate transactions still work. This is more reliable than selecting a familiar security feature without testing which risk it actually reduces.

Back to Insights
Explore what matters. Knowledge that goes beyond the exam.
Explore ExamTopics