
Data Lab PreTest
Authored by Sinh Hoàng Văn
Instructional Technology
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
You have the following dataset and need to calculate the average salary per department, but only include departments where the average salary is greater than 4000:
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
You need to find all employees in departments with a budget greater than 8000. Which code snippet achieves this?
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
From the dataset below, find the top-earning employee in each department, including their department name and salary. Use Spark SQL:
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following codes computes the total sales per region efficiently in Spark SQL?
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
How can you rank products within each category by their sales in descending order?
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which function would you use to replace all NULL values in a Spark DataFrame with default values?
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
How do you efficiently join two DataFrames on multiple keys in PySpark?
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?