Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmasmnth

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

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?

A.

cmd = " SELECT * FROM Persons pWHERE p.accountnumber = ' accountnumber ' "

B.

cmd = " SELECT * FROM Persons pWHERE p.accountnumber = LIKE @accountnumber "

C.

cmd = " SELECT * FROM Persons pWHERE p.accountnumber = @accountnumber "

D.

cmd = " SELECT * FROM Persons pWHERE p.accountnumber = ' " + accountnumber + " ' "

Microsoft DP-420 Summary

  • Vendor: Microsoft
  • Product: DP-420
  • Update on: Nov 5, 2026
  • Questions: 204
Price: $52.5  $149.99
Buy Now DP-420 PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method