Courseiva
easyMultiple ChoiceObjective-mapped

SC-200 Practice Question: A company runs SQL Server on Azure Virtual…

A company runs SQL Server on Azure Virtual Machines (IaaS). The security team wants to enable Advanced Threat Protection (ATP) to detect threats like SQL injection against these SQL Server instances. Which single action is required to achieve this?

⚠ Common exam trap

Test-takers frequently confuse the prerequisite infrastructure (SQL IaaS Agent extension) with the actual security service (Defender for SQL), or assume that general server protection (Defender for Servers) covers SQL-specific threats, which it does not.

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 Microsoft Defender for SQL on the Azure subscription or at the SQL Server resource level.

To enable Advanced Threat Protection (ATP) for SQL Server on Azure VMs, you must enable Microsoft Defender for SQL at the Azure subscription or SQL Server resource level. This activates the SQL-specific threat detection capabilities, including alerts for SQL injection, anomalous access patterns, and suspicious activities. Without this, the SQL Server instances lack the dedicated security monitoring that ATP provides.

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 Microsoft Defender for SQL on the Azure subscription or at the SQL Server resource level.

    Why this is correct

    Enabling Microsoft Defender for SQL at the subscription or resource level is the action that activates the SQL-specific threat detection engine, which combines Advanced Threat Protection and vulnerability assessment for SQL Server on Azure VMs. This plan analyzes database telemetry and audit logs to raise alerts for SQL injection, brute-force attacks, and unusual access patterns. Subscription-level enablement ensures all existing and newly provisioned SQL resources are protected, while resource-level enablement scopes the same protections to a particular SQL Server instance.

  • Install the SQL Server IaaS Agent extension on each virtual machine.

    Why it's wrong here

    The SQL Server IaaS Agent extension registers the VM with the SQL Server resource provider and unlocks management conveniences such as license type changes, automated backup, and patch scheduling. It does not by itself enable Microsoft Defender for SQL; the separate Defender for SQL plan must be turned on, whether at subscription scope or on the SQL resource. While the extension may facilitate the Defender's collection of metadata, its presence alone produces no SQL injection or anomaly alerts.

  • Enable just Microsoft Defender for Servers on the subscription.

    Why it's wrong here

    Microsoft Defender for Servers safeguards the virtual machine at the operating system and hypervisor level, offering malware protection, endpoint detection, and OS vulnerability assessments. It lacks the database-aware sensors needed to inspect T-SQL queries, detect SQL injection patterns, or recognize database credential brute-force attempts. Consequently, relying solely on Defender for Servers leaves the SQL Server engine unmonitored for SQL-specific attacks and misses the Defender for SQL alerting that would otherwise be generated.

  • Configure an Azure SQL firewall rule to allow only trusted IP addresses.

    Why it's wrong here

    Azure SQL firewall rules are a network layer control that limits which client IP addresses can reach the SQL Server endpoint, thereby blocking unsolicited inbound traffic. They do not perform content inspection or behavioral analysis, so they cannot detect an attempted SQL injection that originates from an allowed IP address or from a compromised application account. Threat detection for such activity is only available through Microsoft Defender for SQL, which audits query patterns and login activities.

About these practice questions

One of 209 original SC-200 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SC-200 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 SC-200 exam.