exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 1 question 19 discussion

Actual exam question from Microsoft's AZ-500
Question #: 19
Topic #: 1
[All AZ-500 Questions]

You have been tasked with enabling Advanced Threat Protection for an Azure SQL Database server.
Advanced Threat Protection must be configured to identify all types of threat detection.
Which of the following will happen if when a faulty SQL statement is generate in the database by an application?

  • A. A Potential SQL injection alert is triggered.
  • B. A Vulnerability to SQL injection alert is triggered.
  • C. An Access from a potentially harmful application alert is triggered.
  • D. A Brute force SQL credentials alert is triggered.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Rume
Highly Voted 3 years, 11 months ago
A possible vulnerability to SQL Injection (SQL.VM_VulnerabilityToSqlInjection SQL.DB_VulnerabilityToSqlInjection SQL.MI_VulnerabilityToSqlInjection SQL.DW_VulnerabilityToSqlInjection) An application has generated a faulty SQL statement in the database. This can indicate a possible vulnerability to SQL injection attacks. There are two possible reasons for a faulty statement. A defect in application code might have constructed the faulty SQL statement. Or, application code or stored procedures didn't sanitize user input when constructing the faulty SQL statement, which can be exploited for SQL injection. ) https://docs.microsoft.com/en-us/azure/security-center/alerts-reference#alerts-sql-db-and-warehouse
upvoted 52 times
MeisAdriano
1 year, 7 months ago
I agree: possibile
upvoted 1 times
...
...
NarenderSingh
Highly Voted 3 years, 5 months ago
Selected Answer: B
correct
upvoted 6 times
...
mmmyo
Most Recent 2 weeks, 4 days ago
Selected Answer: A
The correct answer is A. A Potential SQL injection alert is triggered. Here's why: Azure SQL Database Advanced Threat Protection (ATP) includes built-in security monitoring for detecting potential SQL injection attacks, which occur when an application generates faulty or suspicious SQL statements that could be exploited by attackers to manipulate database queries. When ATP is enabled, it actively analyzes queries and flags anomalous patterns indicative of SQL injection attempts. Option B (Vulnerability to SQL injection alert) is not correct, as this type of alert is raised when ATP detects misconfigurations or weak security settings that could make the database susceptible to SQL injection—not when an actual faulty SQL statement is executed. Option C (Access from a potentially harmful application alert) applies when an application known for malicious behavior tries to access the database. Option D (Brute force SQL credentials alert) detects repeated authentication attempts trying to guess database credentials.
upvoted 1 times
...
eldoktor
1 month ago
Selected Answer: A
this question is worded in weird way that makes you answer wrong
upvoted 1 times
...
Ruffyit
1 month, 2 weeks ago
Selected Answer: B
https://docs.microsoft.com/en-us/azure/security-center/alerts-reference#alerts-sql-db-and-warehouse
upvoted 1 times
...
Fule
1 month, 2 weeks ago
Selected Answer: A
SQL Vulnerability Assessment - Identifies misconfiguration or weak points in your database When Advanced Threat Protection (ATP) is enabled for an Azure SQL Database, it continuously monitors database activity and uses machine learning and behavioral analysis to detect potential security threats.
upvoted 1 times
...
Paarth
2 months ago
Selected Answer: A
If an application generates a faulty SQL statement, Azure ATP might detect it as a potential SQL injection attempt, especially if the statement appears to be malformed or crafted to exploit vulnerabilities. For Option B: This alert is not triggered by an actual faulty SQL statement execution, but rather by a security assessment scan that detects misconfigured security settings that make SQL injection possible.
upvoted 1 times
...
9a0549a
2 months ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/azure-sql/database/threat-detection-overview?view=azuresql under "Explore detection of a suspicious event"
upvoted 1 times
...
nahdft
2 months ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/azure-sql/database/threat-detection-overview?view=azuresql
upvoted 1 times
...
Saluk_DE
2 months, 4 weeks ago
Selected Answer: B
Reference: https://learn.microsoft.com/en-us/azure/azure-sql/database/threat-detection-overview?view=azuresql#advanced-threat-protection-alerts It literally says in red on the screenshot seen in the link "Potential exploitation of application code - vulnerability to SQL Injection was detected." So B is correct.
upvoted 1 times
...
stonwall12
3 months, 1 week ago
Selected Answer: A
Answer: A, Potential SQL injection alert is triggered. Reason: Check the reference link and you'll see the system triggers a "Potential SQL injection" alert to notify administrators for this type of suspicious acitivty. Reference: https://learn.microsoft.com/en-us/azure/azure-sql/database/threat-detection-overview?view=azuresql#advanced-threat-protection-alerts
upvoted 1 times
Saluk_DE
2 months, 4 weeks ago
It literally says on the screenshot seen in your link "Potential exploitation of application code - vulnerability to SQL Injection was detected." So B is correct.
upvoted 1 times
...
...
Ruffyit
7 months, 1 week ago
b correct
upvoted 1 times
...
Custodian
8 months ago
What kind of alerts does Microsoft Defender for SQL provide? Threat intelligence enriched security alerts are triggered when there's: Potential SQL injection attacks - including vulnerabilities detected when applications generate a faulty SQL statement in the database Anomalous database access and query patterns - for example, an abnormally high number of failed sign-in attempts with different credentials (a brute force attempt) Suspicious database activity - for example, a legitimate user accessing an SQL Server from a breached computer which communicated with a crypto-mining C&C server Alerts include details of the incident that triggered them, as well as recommendations on how to investigate and remediate threats.
upvoted 1 times
...
awfnewf1q243
8 months ago
Selected Answer: B
A possible vulnerability to SQL Injection: "An application has generated a faulty SQL statement in the database. This can indicate a possible vulnerability to SQL injection attacks. There are two possible reasons for a faulty statement. A defect in application code might have constructed the faulty SQL statement. Or, application code or stored procedures didn't sanitize user input when constructing the faulty SQL statement, which can be exploited for SQL injection." https://learn.microsoft.com/en-us/azure/defender-for-cloud/alerts-reference#alerts-sql-db-and-warehouse
upvoted 2 times
...
Seelearndo
8 months ago
Selected Answer: B
Alert: A possible vulnerability to SQL Injection Description: An application has generated a faulty SQL statement in the database. This can indicate a possible vulnerability to SQL injection attacks. There are two possible reasons for a faulty statement. A defect in application code might have constructed the faulty SQL statement. Or, application code or stored procedures didn't sanitize user input when constructing the faulty SQL statement, which can be exploited for SQL injection. ↑ B is the correct answer since a faulty SQL statement will result in a possible vulnerability alert. Alert: Potential SQL injection Description: An active exploit has occurred against an identified application vulnerable to SQL injection. This means an attacker is trying to inject malicious SQL statements by using the vulnerable application code or stored procedures. ↑ A is incorrect since a potential SQL injection alert is triggered when an active exploit is identified. https://learn.microsoft.com/en-us/azure/defender-for-cloud/alerts-reference#alerts-sql-db-and-warehouse
upvoted 3 times
...
majstor86
8 months ago
Selected Answer: B
B. Vulnerability to SQL injection – an alert is triggered when an application generates a faulty SQL statement in your SQL database Potential SQL injection - This alert is triggered when the attacker is trying to inject malicious SQL statements using the vulnerable application code or stored procedures.
upvoted 4 times
...
zellck
8 months ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/azure/defender-for-cloud/alerts-reference#alerts-sql-db-and-warehouse A possible vulnerability to SQL Injection - An application has generated a faulty SQL statement in the database. This can indicate a possible vulnerability to SQL injection attacks. There are two possible reasons for a faulty statement. A defect in application code might have constructed the faulty SQL statement. Or, application code or stored procedures didn't sanitize user input when constructing the faulty SQL statement, which can be exploited for SQL injection.
upvoted 3 times
zellck
2 years ago
Gotten this in May 2023 exam.
upvoted 4 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...