
Snowflake SnowPro Advanced:Data Analyst
Domain 1Objective 2
Apply Analytic and Window Functions SNOWPRO-ADVANCED-DATA-ANALYST Practice Questions (Page 4)
Part of the Data Analysis domain, which accounts for 32% of the SNOWPRO-ADVANCED-DATA-ANALYST exam.
27questions here
6free pages
8concepts
32%of the exam
Questions 16–20
- 16
A data scientist needs to find the median salary for each department. The analyst wants to use a window function to compute this. Which function should be used?
Select an answer first - 17
Which function divides the rows in a partition into a specified number of buckets and assigns a bucket number to each row?
Select an answer first - 18
An analyst is calculating a 3-day moving average of daily sales. The query uses SUM(sales) OVER (ORDER BY day ROWS BETWEEN 2 PRECEDING AND CURRENT ROW). The first day of the dataset has no preceding rows. What will the moving average include for that first day?
Select an answer first - 19
An analyst is writing a query to find the second-highest salary in each department. The query uses DENSE_RANK() OVER (PARTITION BY department_id ORDER BY salary DESC) AS dr. Which clause will correctly filter to only the second-highest salary per department?
Select an answer first - 20
Which clause can be used to filter the results of an analytic function, such as keeping only rows where ROW_NUMBER() = 1?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Snowflake. “SNOWPRO-ADVANCED-DATA-ANALYST” is a trademark of its owner, used for identification only.