Welcome to your Databricks Certified Data Analyst Test-2
Select 1 option(s):
Is there any data protection and compliance for the users based out of California?Select 1 option(s):
You need to calculate the average temperature for each station in 1-hour windows, sliding every 30 minutes. Which SQL query correctly uses the windowing function to achieve this?Select 1 option(s):
Which of the provided methods accurately demonstrates the creation and utilization of a UDF for this task?Select 1 option(s):
CREATE FUNCTION price(spend DOUBLE, units DOUBLE)RETURNS DOUBLERETURN spend / units;Which code block can be used to apply this function to the customer_spend and customer_units columns of the table customer_summary to create column customer_priceSelect 1 option(s):
SELECT region, count(*) AS number_of_customersFROM customers ORDER BY region;What is the mistake in the querySelect 1 option(s):
Which of the following commands can be used to grant the appropriate permission to the new data analyst?Select 1 option(s):
Question: What is the correct syntax to create a temporary table named temp_results based on the results of a query from the table source_data?Select 1 option(s):
Which SQL query using the window_time function correctly achieves this in a Databricks environment?Select 1 option(s):
SELECT pink()WHERE pink()is SQL UDFCREATE FUNCTION pink()RETURNS STRINGCOMMENT ‘Pink color code‘LANGUAGE SQLRETURN ‘FFCBCB‘Select 1 option(s):
Time's up