A data analyst has produced a visualization. A stakeholder has viewed the visualization and is complaining that the visualization is difficult to interpret. After looking at the visualization, the analyst determines that the scale of the y-axis must be changed.
Where are the controls for changing the scale of the y-axis in Databricks SQL?
Answer : C
The correct answer is C because axis settings are configured in the visualization editor, specifically under the Y-axis settings. The Query Editor is for writing SQL, not configuring chart axes. User Settings do not control individual chart scales. Dashboard editing may contain visualizations, but the specific control is in the visualization editor's Y Axis configuration.
Which statement describes descriptive statistics?
Answer : C
Which of the following SQL keywords can be used to convert a table from a long format to a wide format?
Answer : B
What is an advantage of using a Delta Lake-based data lakehouse over classic enterprise data warehouse solutions?
Answer : A
A Data Analyst is working on employees_df and needs to add a new column where a 10% tax is calculated on the salary. Additionally, the DataFrame contains the column age, which is not needed.
Which code fragment adds the tax column and removes the age column?
Answer : B
Option B is correct after correcting the uploaded typo withcolumn to withColumn. A 10% tax is calculated by multiplying salary by 0.1, not by 10. The age column should be removed using .drop('age'). Options A and D multiply salary by 10, which calculates 1000%, not 10%. Options A and C also use dropField, which is not the correct DataFrame method for removing a top-level column. Official Databricks PySpark documentation states that withColumn adds or replaces a column and that drop(*cols) returns a new DataFrame without the specified columns.
In which of the following scenarios should a data engineer select a Task in the Depends On field of a new Databricks Job Task?
Answer : E
A data analyst has created a Query in Databricks SQL, and now wants to create two data visualizations from that Query and add both of those data visualizations to the same Databricks SQL Dashboard.
Which step will the data analyst need to take when creating and adding both data visualizations to the Databricks SQL Dashboard?
Answer : B