exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 488 discussion

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

A Query Profile shows a UnionAll operator with an extra Aggregate operator on top.

What does this signify?

  • A. Exploding joins
  • B. Inefficient pruning
  • C. UNION without ALL
  • D. Queries that are too large to fit in memory
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
sjndds
Highly Voted 1 year, 8 months ago
Selected Answer: C
UNION Without ALL In SQL, it is possible to combine two sets of data with either UNION or UNION ALL constructs. The difference between them is that UNION ALL simply concatenates inputs, while UNION does the same, but also performs duplicate elimination. A common mistake is to use UNION when the UNION ALL semantics are sufficient. These queries show in Query Profile as a UnionAll operator with an extra Aggregate operator on top (which performs duplicate elimination).
upvoted 5 times
...
_yyukta
Most Recent 7 months, 3 weeks ago
Selected Answer: C
C. UNION without ALL
upvoted 1 times
...
lotus24
9 months, 1 week ago
Option C. In a Query Profile, a UnionAll operator with an extra Aggregate operator on top typically signifies a UNION without ALL in the query. In SQL, a UNION operation combines the result sets of two or more SELECT statements. When you use UNION without the ALL keyword, it automatically removes duplicate rows from the result set. This deduplication process requires an aggregation step to identify and eliminate duplicates, which is why the Aggregate operator appears on top of the UnionAll operator in the query profile.
upvoted 4 times
...
BobFar
1 year ago
The correct answer is C. Common Query Problems Identified by Query Profile: 1)Joining tables without providing a join condition (Solution: adding join condition) 2)UNION without ALL (elimination duplicates too Large to fit in memory) (solution: Using a larger warehouse or Processing data in smaller batches). 3)Inefficient Pruning : pruning is only effective if the data is stored in a way that is correlated with the query's filter attributes (solution: cluster key, Materialized view) https://docs.snowflake.com/en/user-guide/ui-query-profile#common-query-problems-identified-by-query-profile
upvoted 1 times
...
MultiCloudIronMan
1 year, 3 months ago
Selected Answer: C
correct
upvoted 1 times
...
EmiB
1 year, 7 months ago
Selected Answer: C
https://docs.snowflake.com/en/user-guide/ui-query-profile
upvoted 1 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