PySpark Certification Practice Test 03
Data Engineer Review Notes
PySpark Certification Practice Test 03
Data Engineer Review Notes
Insightful Saga โ Modern Data Engineering Certification Preparation
Question 41
A newly joined Data Engineer reviews the following requirement: "We have customer data and customer address data. Only customers existing in both datasets should appear in the output." Which join type should be recommended?
### Review Note Inner Join returns only matching records from both datasets.
Question 42
Review Requirement: "All customers must appear in the output. Address information should appear only when available." Which join should be chosen?
Question 43
Review Requirement: "Return all records from both systems even when no matching key exists." Which join is appropriate?
Question 44
A retail company wants total sales amount by store. Which operation should be performed first?
Question 45
Review Requirement: "Calculate total revenue for each product." Which aggregation function is most appropriate?
Question 46
A banking company wants average account balance by branch. Which aggregation should be recommended?
Question 47
Review Requirement: "Determine how many transactions occurred for each customer." Which aggregation fits best?
Question 48
A healthcare company wants to know the highest insurance claim amount submitted by each patient. Which function should be used?
Question 49
A telecom company wants the lowest monthly usage recorded for each customer. Which aggregation is appropriate?
Question 50
Review Requirement: "Count distinct customers who placed orders." Which solution best fits?
Question 51
A retail company has: sales_df customers_df The review note states: "Keep only customer records that have sales." Which join type should be evaluated?
### Review Note Semi Join returns rows from the left table when a match exists.
Question 52
Review Requirement: "Identify customers that do NOT have any orders." Which join is most suitable?
Question 53
A Data Engineer sees: ```python df.groupBy("department").agg(sum("salary")) ``` What business question is being answered?
Question 54
Review Requirement: "Find average monthly sales by region." Which operation sequence is most appropriate?
Question 55
A logistics company wants shipment statistics by country. Multiple metrics are required: - Total Shipments - Average Cost - Maximum Cost Which feature should be used?
Question 56
A newly hired engineer joins two datasets. Output row count is much larger than expected. The review document shows: No join condition specified. What is the MOST likely issue?
Question 57
Review Requirement: "Display top-selling stores first." Which operation should be added after aggregation?
Question 58
A manufacturing company wants total machine downtime by plant. Which operation sequence is most appropriate?
Question 59
A banking company aggregates billions of transaction records. Only 300 branch-level records are returned. What explains this behavior?
Question 60
A Senior Data Engineer reviews an ETL design: 1. Join customer data 2. Join transaction data 3. Aggregate spending 4. Publish customer metrics What is the PRIMARY business purpose of these operations?
### Review Note Joins combine related datasets, while aggregations summarize data into business-friendly metrics. --- --- title: PySpark Certification Practice Test 04 description: Window Functions and Analytical Processing --- # PySpark Certification Practice Test 04