Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam DP-420 Topic 10 Question 32 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 32
Topic #: 10
[All DP-420 Questions]

You have a database in an Azure Cosmos DB Core (SQL) API account.

You need to create an Azure function that will access the database to retrieve records based on a variable named accountnumber. The solution must protect against SQL injection attacks.

How should you define the command statement in the function?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Antonio
6 days ago
I agree with Amie. Option C is the way to go to ensure the security of the database.
upvoted 0 times
...
Cyndy
9 days ago
I'm not sure, but I think option D might also work.
upvoted 0 times
...
Amie
10 days ago
Option C is the correct answer. Using parameterized queries is the best way to protect against SQL injection attacks.
upvoted 0 times
...
Stevie
15 days ago
I agree with Minna, option C protects against SQL injection attacks.
upvoted 0 times
...
Minna
17 days ago
I think the correct answer is C.
upvoted 0 times
...

Save Cancel