nerdexam
Microsoft

DP-300 · Question #352

SIMULATION You need to protect all the databases on sql12345678 from SQL injection attacks. To complete this task, sign in to the virtual machine. You may need to use SQL Server Management Studio…

Enabling Microsoft Defender for SQL (formerly Advanced Threat Protection) on the Azure SQL server sql12345678 is the correct approach because it provides built-in threat detection specifically designed to identify SQL injection attempts and other anomalous database activities…

Submitted by tarun92· Mar 6, 2026Implement and manage data security in Azure - specifically configuring threat protection mechanisms for Azure SQL Database to defend against common attack vectors including SQL injection, aligning with the AZ-500 (Azure Security Engineer) or DP-300 (Azure Database Administrator) certification objectives under 'Secure Azure SQL Database and Azure SQL Managed Instance'.

Question

SIMULATION You need to protect all the databases on sql12345678 from SQL injection attacks. To complete this task, sign in to the virtual machine. You may need to use SQL Server Management Studio and the Azure portal. Answer: Configure Advanced Threat Protection for Azure SQL Database Advanced Threat Protection for Azure SQL Database detects anomalous activities indicating unusual and potentially harmful attempts to access or exploit databases. Advanced Threat Protection can identify Potential SQL injection, Access from unusual location or data center, Access from unfamiliar principal or potentially harmful application, and Brute force SQL credentials. Set up Advanced Threat Protection in the Azure portal Step 1: Sign into the Azure portal. Step 2: Navigate to the configuration page of the server you want to protect. [Here sql12345678 ] In the security settings, select Microsoft Defender for Cloud. Step 3: On the Microsoft Defender for Cloud configuration page: Step 3a: If Microsoft Defender for SQL hasn't yet been enabled, select Enable Microsoft Defender for SQL. Step 3b: Select Configure. Step 3c: Under ADVANCED THREAT PROTECTION SETTINGS, select Add your contact details to the subscription's email settings in Defender for Cloud. Step 3d: Provide the list of emails to receive notifications upon detection of anomalous database activities in the Additional email addresses (separated by commas) text box. [Skip] Step 3e: Optionally customize the severity of alerts that will trigger notifications to be sent under Notification types. [Skip] Step 3f: Select Save. Reference: https://learn.microsoft.com/en-us/azure/azure-sql/database/threat-detection-configure

Exhibit

DP-300 question #352 exhibit

Explanation

Enabling Microsoft Defender for SQL (formerly Advanced Threat Protection) on the Azure SQL server sql12345678 is the correct approach because it provides built-in threat detection specifically designed to identify SQL injection attempts and other anomalous database activities across ALL databases on that server. This is a server-level configuration, meaning enabling it once protects every database hosted on sql12345678 without needing to configure each database individually. Microsoft Defender for SQL continuously monitors query patterns and alerts administrators when potentially harmful activities such as SQL injection, brute force attacks, or suspicious access patterns are detected.

Topics

#Microsoft Defender for SQL#Advanced Threat Protection#SQL Injection Prevention#Azure SQL Database Security

Community Discussion

No community discussion yet for this question.

Full DP-300 Practice