You are a data engineer at a fast-growing mobile gaming company called PixelQuest Studios. The company's flagship game generates millions of player events daily, including session logs, in-app purchases, level completions, and player profiles. Currently, this raw data lands as JSON files in Google Cloud Storage with no structure or quality controls, making it nearly impossible for the analytics team to build reliable dashboards or track key metrics like daily active users, revenue per player, or level completion rates.
Your mission is to build a medallion data lakehouse using PySpark on Dataproc Serverless. You will create a three-layer architecture: a Bronze layer for raw ingested data, a Silver layer for cleaned and standardized records, and a Gold layer for aggregated analytics-ready tables. You will submit PySpark batch jobs to Dataproc Serverless, store all layers as partitioned Parquet in GCS, and load the Gold layer into BigQuery so the analytics team can run queries and build dashboards.