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 15 Question 43 Discussion

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

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

You run the following query against a container in the account.

SELECT

IS_NUMBER("1234") AS A,

IS_NUMBER(1234) AS B,

IS_NUMBER({prop: 1234}) AS C

What is the output of the query?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Donette
3 days ago
Hmm, this question is really testing our understanding of JSON and data types. I'm gonna go with option D just to see what happens. Who knows, maybe the Azure Cosmos DB API has some surprises up its sleeve!
upvoted 0 times
...
Anglea
9 days ago
Aha! I know this one. The IS_NUMBER function returns true if the input is a valid number, and false otherwise. Let's see, the first one is a string, the second one is a number, and the third one is an object with a numeric property. Gotta be option C!
upvoted 0 times
...
Floyd
17 days ago
No problem, happy to help.
upvoted 0 times
...
Tonja
18 days ago
That makes sense, thanks for explaining.
upvoted 0 times
...
Floyd
19 days ago
Because the IS_NUMBER function will return true for a number and false for a string, so option B makes sense.
upvoted 0 times
...
Jill
20 days ago
Wait, is the query supposed to check if the input is a number? That's too easy, I was expecting something more complex.
upvoted 0 times
Valentin
1 days ago
Yes, the query is checking if the input is a number.
upvoted 0 times
...
Dalene
2 days ago
User 1: Yes, the query is checking if the input is a number.
upvoted 0 times
...
...
Tonja
21 days ago
Why do you think it's option B?
upvoted 0 times
...
Floyd
23 days ago
I disagree, I believe the correct answer is option B.
upvoted 0 times
...
Tonja
29 days ago
I think the output of the query is option A.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77