exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 89 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 89
Topic #: 1
[All SnowPro Core Questions]

The FLATTEN function is used to query which type of data in Snowflake?

  • A. Structured data
  • B. Semi-structured data
  • C. Both of the above
  • D. None of the above
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
MohamedBen
3 weeks, 4 days ago
Selected Answer: B
Answer B
upvoted 1 times
...
DataEngineerNeeraj1
2 months, 2 weeks ago
Selected Answer: C
C
upvoted 1 times
...
aemilka
3 months, 2 weeks ago
Selected Answer: C
You can pass structured ARRAYs, structured OBJECTs, and MAPs to the FLATTEN function. https://docs.snowflake.com/en/sql-reference/data-types-structured#label-structured-types-working-flatten FLATTEN can be used to convert semi-structured data to a relational representation. https://docs.snowflake.com/en/sql-reference/functions/flatten So the answer is C. Both of the above
upvoted 2 times
...
omiiUST
4 months, 3 weeks ago
Selected Answer: A
The main purpose of FLATTEN is to Un-nest the semistructured data like JSON.
upvoted 1 times
...
Mallikharjuna452
5 months, 1 week ago
It works for both
upvoted 1 times
...
372110c
6 months ago
Selected Answer: C
Works with both
upvoted 2 times
...
MBrat
7 months, 1 week ago
Selected Answer: C
C is correct, see https://docs.snowflake.com/en/sql-reference/data-types-structured#label-structured-types-working-flatten
upvoted 3 times
...
MultiCloudIronMan
1 year, 5 months ago
Selected Answer: B
Correct
upvoted 1 times
...
Mayuri917233
1 year, 7 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
Tapasgup007
2 years ago
Selected Answer: B
B is correct
upvoted 1 times
...
lhstudylh
2 years, 9 months ago
Selected Answer: B
Correct answer FLATTEN is used to unnest semi-structured data. Don't see an application for structured data as by definition it shouldn't be nested.
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago