DP-300 Implement a secure environment Practice Question
Which TWO of the following are best practices for securing Azure SQL Database?
⚠ Common exam trap
Many exam-takers confuse Auditing (logging) with blocking, or TDE (encryption at rest) with SQL injection prevention, leading them to select options that sound security-related but do not perform the stated function.
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
✓
Enable firewall rules to restrict access to specific IP addresses.
Azure SQL Database firewall rules allow you to restrict access to specific IP address ranges, which is a fundamental network security best practice. By limiting inbound traffic to only trusted IPs, you reduce the attack surface and prevent unauthorized connections from unknown sources. This is a first line of defense in a defense-in-depth strategy for securing Azure SQL Database.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable Auditing to block malicious queries.
Why it's wrong here
Auditing logs queries but does not block them.
- ✗
Enable TDE to prevent SQL injection attacks.
Why it's wrong here
TDE encrypts data at rest, not prevents injection.
- ✗
Use SQL authentication with complex passwords.
Why it's wrong here
SQL authentication does not support MFA and is less secure.
- ✓
Enable firewall rules to restrict access to specific IP addresses.
Why this is correct
Restricting IPs reduces attack surface.
- ✓
Use Azure Active Directory authentication instead of SQL authentication.
Why this is correct
Azure AD provides stronger security and MFA.
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
Azure SQL Performance Tuning
Azure SQL Performance Tuning is the process of optimizing the speed and efficiency of queries and database operations in Microsoft Azure SQL Database or SQL Managed Instance to reduce latency and improve throughput.
Key term
Azure SQL Firewall Rules
Azure SQL Firewall Rules are security settings that control which IP addresses or Azure services are allowed to connect to a SQL database hosted in Microsoft Azure.
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 →
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.