Professional Data Engineer practice questions
262 free questions with answers and explanations.
- 201.A retail company processes millions of daily customer transactions. They need to build a data pipeline that can ingest these transactions in real-time, perform immediate validation and enrichment, and then store them in a data warehouse for analytical reporting. The system must be highly scalable to handle peak loads during sales events and guarantee exactly-once processing to prevent data inconsistencies. Which Google Cloud services should the architect recommend for the ingestion and real-time processing components?Designing data processing systems
- 202.A global IoT company collects sensor data from millions of devices, generating terabytes of time-series data daily. This data needs to be retained for several years for compliance and long-term analysis, but only the most recent data (last 30 days) requires high-performance, low-latency queries for real-time monitoring dashboards. Older data can be accessed with slightly higher latency but must remain cost-effective. How should this data be stored and queried efficiently on Google Cloud?Designing data processing systems
- 203.A startup is building a new mobile application that requires a database to store user preferences and application state. This database needs to offer real-time synchronization across devices, scale effortlessly with user growth, and support flexible, schema-less data structures. The startup aims to minimize operational overhead and prefers a serverless solution. Which Google Cloud database service is the most suitable choice?Designing data processing systems
- 204.A data science team is developing a recommendation engine that needs to perform real-time feature lookups for millions of users. The engine requires a database that can store complex, semi-structured user profiles and item metadata, support fast key-value lookups (sub-10ms latency), and scale globally. The data is frequently updated but doesn't require strong transactional consistency across multiple records. Which Google Cloud service is the most suitable for this use case?Designing data processing systems
- 205.A global marketing analytics company needs to process clickstream data from millions of users across various websites and mobile apps. The data is generated continuously, and they need to perform near real-time aggregations (e.g., hourly unique visitors, page views per campaign) to feed into live dashboards. Additionally, this processed data must be stored for long-term historical analysis and machine learning model training. The solution must be cost-effective and highly available. Which approach should be used to build this data pipeline?Designing data processing systems
- 206.A global e-commerce company wants to build a new recommendation engine. The engine needs to process user clickstream data in real-time, enrich it with user profile information from a low-latency NoSQL database, and then feed the enriched data to a machine learning model for immediate prediction. The solution must handle millions of events per second and maintain sub-100ms latency for enrichment. Which Google Cloud services should be chosen for the low-latency NoSQL database and the real-time stream processing?Designing data processing systems
- 207.An advertising company needs to analyze user engagement data from their mobile applications. This data arrives in various formats and needs to be standardized, cleaned, and transformed before being loaded into their BigQuery data warehouse for business intelligence and reporting. The data processing pipeline must be scheduled to run daily in a batch manner, be fault-tolerant, and handle schema evolution gracefully without manual intervention. Which Google Cloud service should be used for building this robust batch data pipeline?Designing data processing systems
- 208.A data engineering team is building a pipeline to process sensitive customer data. They need to ensure that the data is encrypted at rest and in transit, and that access to the data is strictly controlled based on user roles and data classifications. They also need to be able to audit all data access. Which combination of Google Cloud services would best meet these security and compliance requirements?Designing data processing systems
- 209.A large enterprise has a critical batch processing job that runs nightly, transforming and loading data from various sources into their data warehouse. This job is highly sensitive to failures, and any interruption can lead to significant business impact. The design requires the data processing system to automatically recover from node failures, ensure data integrity, and minimize manual intervention. Which design principle is being prioritized, and which Google Cloud feature directly supports this principle for batch jobs?Designing data processing systems
- 210.A media company collects vast amounts of video metadata, user engagement logs, and content consumption patterns. They need to build a data pipeline to process this data for personalized content recommendations, audience segmentation, and content optimization. The data arrives continuously and requires transformations and aggregations before being stored in a data warehouse. The solution must be cost-effective, serverless, and provide a unified programming model for both batch and streaming data to simplify development and maintenance. Which Google Cloud service best fits the data processing requirements for transformations and aggregations?Designing data processing systems
- 211.A media company needs to process millions of video transcoding jobs daily. Each job involves downloading a source video, applying various transformations, and uploading the processed video to Cloud Storage. The workload is highly spiky, with peak demands occurring during prime-time hours. The company requires a solution that is fully managed, scales automatically, and only charges for the actual compute used. Which Google Cloud product is best suited for this use case?Designing data processing systems
- 212.A global ride-sharing company processes millions of GPS coordinates per second from active vehicles. This time-series data needs to be ingested continuously, stored efficiently for at least 30 days for immediate operational analysis (e.g., real-time traffic, dispatch optimization), and then archived for long-term historical analysis spanning several years. The system must support high write throughput and low-latency reads for recent data. Which combination of Google Cloud services should you recommend?Designing data processing systems
- 213.A data analytics team needs to build a robust data pipeline to ingest real-time sensor data from thousands of IoT devices. The data needs to be processed with minimal latency, enriched with contextual information, and then stored in a data warehouse for further analysis. The system must be highly scalable to handle fluctuating data volumes and resilient to device failures or network outages. Which set of Google Cloud services should be used to design this pipeline?Designing data processing systems
- 214.A data engineering team is building a new data lake on Google Cloud to store vast amounts of raw, unstructured, and semi-structured data from various sources. The data lake must support flexible schema evolution, integrate with various analytics tools, and provide cost-effective long-term storage. Which Google Cloud service is the most appropriate foundational component for this data lake?Designing data processing systems
- 215.A startup is building a new mobile application that generates user activity logs. They expect millions of users, leading to a high volume of events (hundreds of thousands per second) that need to be captured reliably and immediately. The events will then be processed by downstream analytics systems. The solution must be fully managed, highly scalable, and provide at-least-once delivery guarantees. Which Google Cloud service is the most appropriate for ingesting these high-volume event streams?Designing data processing systems
- 216.A data analytics team needs to process daily batches of customer order data, which can range from gigabytes to several terabytes. The processing involves complex transformations, aggregations, and joins before loading the data into BigQuery for reporting. The team requires a serverless solution that automatically scales based on data volume, provides fault tolerance, and minimizes operational overhead. Which Google Cloud service is the most appropriate for this batch processing workload?Designing data processing systems
- 217.A global e-commerce company needs to store product catalog data, which is frequently updated and accessed with low latency by customer-facing applications worldwide. The data model is semi-structured and requires flexible schema management. The solution must provide strong consistency and high availability across multiple regions. Which Google Cloud service should the company use?Designing data processing systems
- 218.A financial services company needs to process daily batch jobs that involve complex transformations and aggregations on terabytes of historical transaction data. The jobs have strict Service Level Agreements (SLAs) for completion time and require a fully managed, serverless solution to minimize operational overhead. The solution must also be cost-effective, paying only for the resources consumed during job execution. Which Google Cloud service is most suitable for this scenario?Designing data processing systems
- 219.A global e-commerce company needs to process millions of transactions per second for real-time fraud detection. The system must be highly available, scalable, and capable of ingesting data from various sources (web, mobile, IoT devices). After ingestion, the data needs to be processed with minimal latency to identify fraudulent activities. Which Google Cloud service is best suited for ingesting these high-volume, real-time event streams?Designing data processing systems
- 220.A large e-commerce company needs to store customer order history, which can grow to petabytes of data. This data is primarily used for historical analysis, trend reporting, and machine learning model training. Queries are often complex, involving joins across many tables and aggregations over vast date ranges. The solution must be highly scalable, performant for analytical queries, and cost-effective for petabyte-scale storage. Which Google Cloud service is the most appropriate for this data warehousing requirement?Designing data processing systems
- 221.A data analytics company has developed a proprietary machine learning model for fraud detection. The model's training and prediction pipelines involve multiple steps: data extraction from various sources, data cleaning and transformation using Spark, model training on GPUs, and model deployment to an endpoint. These steps run on a schedule, have interdependencies, and require error handling and retries. Which Google Cloud service should be used to orchestrate these complex, multi-step workflows?Designing data processing systems
- 222.A global ride-sharing company processes millions of GPS coordinates per second from active vehicles. This data is critical for real-time tracking, dispatch, and estimated time of arrival (ETA) calculations, requiring extremely low-latency reads and writes (milliseconds). The data schema is simple: device ID, timestamp, latitude, longitude. Which Google Cloud database is best suited for storing and serving this high-velocity, low-latency operational time-series data?Designing data processing systems
- 223.A global financial institution needs to build a highly secure and compliant data processing system on Google Cloud. The system will handle sensitive customer financial transactions, requiring strict data residency, encryption, and access control. Due to regulatory requirements, all data processing activities must be auditable, and data must be immediately available for analysis. The solution must also be cost-effective for petabyte-scale storage. Which combination of Google Cloud services should you recommend to meet these requirements?Designing data processing systems
- 224.A data science team is developing a recommendation engine that needs to perform real-time feature lookups for user personalization. The engine requires serving features (e.g., user preferences, interaction history) with single-digit millisecond latency to support live inference. The data volume for these features can grow substantially, and the system needs to be highly available and scalable. Which Google Cloud database is the most suitable for this real-time feature serving requirement?Designing data processing systems
- 225.A large retail company needs to migrate its on-premises operational analytics database to Google Cloud. This database handles millions of transactions per second, requires extremely low-latency reads and writes (single-digit milliseconds), and stores data with a simple key-value structure but needs to support complex aggregations and time-series analysis. The data grows to petabytes. Which Google Cloud service is the most appropriate for this workload?Designing data processing systems
- 226.A financial institution processes millions of transactions daily. Due to regulatory requirements, all transaction data must be retained for 7 years for auditing and compliance, but only the most recent 90 days of data are actively queried for operational reporting. The remaining historical data is rarely accessed but must be available if needed. The company wants to minimize storage costs while ensuring data availability and compliance. Which BigQuery feature should be primarily used to optimize costs for this scenario?Designing data processing systems
- 227.A data engineering team needs to implement a data governance strategy for a new data lake on Google Cloud. The strategy requires centralizing metadata management, ensuring data quality, and providing a unified view of all data assets across various Google Cloud services and on-premises sources. Which Google Cloud service is designed to address these data governance requirements?Designing data processing systems
- 228.A global gaming company collects telemetry data from millions of active users. This data, which includes game events, player progress, and in-game purchases, needs to be ingested in real-time, processed to detect anomalies and personalize user experiences, and then stored for historical analysis. The system must be highly available, fault-tolerant, and scale dynamically to handle sudden spikes in user activity during new game releases. Which Google Cloud services should be used to design this hybrid real-time and batch data pipeline?Designing data processing systems
- 229.A fast-growing startup is building a new real-time analytics platform on Google Cloud. They anticipate rapid increases in data volume and query complexity, and need a BigQuery solution that can handle petabytes of data and thousands of concurrent users without performance degradation. The solution must provide consistent, high performance and low latency, even under extreme load, to support interactive dashboards and ad-hoc analysis. Which BigQuery feature should they prioritize to ensure scalable and high-performance analytics for their growing needs?Ensuring solution quality
- 230.A pharmaceutical company is processing clinical trial data, which is highly sensitive and subject to strict regulatory audits. They need to ensure that all data transformations performed by their Dataflow pipelines are fully traceable and immutable. Any change to the data schema or transformation logic must be recorded and auditable. You need to design a solution that provides this level of traceability and immutability for Dataflow pipelines. Which approach is best?Ensuring solution quality
- 231.A financial institution is building a data lake on Google Cloud using Cloud Storage and BigQuery. They need to implement strict data retention policies for different types of data (e.g., transaction logs for 7 years, audit trails for 10 years, temporary processing files for 30 days). You need to automate the enforcement of these retention policies in Cloud Storage to ensure compliance and optimize costs. Which Cloud Storage feature should you use?Ensuring solution quality
- 232.A global e-commerce company is migrating its on-premises data warehouse to BigQuery. The data warehouse contains sensitive customer payment information, order history, and product preferences. The company operates in multiple regions and must comply with GDPR, CCPA, and other regional data residency and privacy regulations. You need to design the data governance strategy to ensure data discovery, classification, lineage tracking, and policy enforcement across the BigQuery environment. Which Google Cloud service is best suited for this purpose?Ensuring solution quality
- 233.A media company is building a data lake on Cloud Storage to store petabytes of raw video, audio, and image files. These files are accessed infrequently after an initial processing phase but must be retained for several years for compliance and future machine learning model training. You need to optimize storage costs while ensuring long-term retention and occasional access. Which Cloud Storage class should you primarily use for this data?Ensuring solution quality
- 234.A startup is building a new real-time analytics platform on Google Cloud. They anticipate highly variable workloads, with significant spikes in data ingestion and query volume during peak hours, and very low activity during off-peak times. They need to ensure high availability and responsiveness during peak loads while optimizing costs during quiet periods. Which BigQuery pricing model and slot allocation strategy would best meet these requirements?Ensuring solution quality
- 235.A global e-commerce company is building a new data platform on Google Cloud. They need to ensure that customer data, including personally identifiable information (PII), is stored securely and processed in compliance with various regional data residency regulations. The data processing pipelines involve Dataflow jobs that transform and load data into BigQuery. Which Google Cloud service should be primarily leveraged to automatically identify and categorize sensitive data across these services?Ensuring solution quality
- 236.A healthcare organization is building a data pipeline to process protected health information (PHI) from various sources into a BigQuery data warehouse. They need to ensure that PHI is pseudonymized before it lands in BigQuery for analytics purposes, to comply with HIPAA regulations. The solution must be scalable, automated, and allow for re-identification of data under strict access controls when necessary for specific use cases. Which Google Cloud service and approach should they use to achieve this data governance requirement?Ensuring solution quality
- 237.A healthcare provider is building a new data analytics platform on Google Cloud to process patient health records. The system requires high availability and disaster recovery across multiple regions to ensure continuous operation and data integrity in case of a regional outage. You need to design the BigQuery component of this platform to meet these requirements. How should you configure BigQuery for multi-region disaster recovery?Ensuring solution quality
- 238.A global logistics company uses BigQuery for analyzing shipment data, which involves joining large fact tables with smaller dimension tables. They frequently run complex SQL queries that perform aggregations and joins on millions or billions of rows. The data engineering team needs to optimize these queries to reduce execution time and associated costs, especially for interactive dashboards. Which BigQuery feature should they implement to pre-compute and store the results of common aggregation and join operations?Ensuring solution quality
- 239.A multinational financial services company is migrating its on-premises data warehouses to BigQuery. They have strict data residency requirements, meaning certain sensitive financial data must remain within specific geographic regions (e.g., EU, US). They need to design their BigQuery environment to ensure data is stored and processed exclusively within the designated regions, preventing any accidental cross-region data movement. Which BigQuery dataset configuration is essential to enforce these data residency requirements?Ensuring solution quality
- 240.A retail company uses Dataflow for real-time processing of customer order data. During peak shopping seasons, the data volume can increase tenfold within minutes. The current Dataflow pipeline occasionally experiences delays and backlogs during these spikes, leading to stale analytics. You need to ensure the Dataflow pipeline can handle these sudden, large increases in data volume without performance degradation. Which Dataflow feature is most relevant for addressing this challenge?Ensuring solution quality
- 241.A global media company uses Dataproc clusters for large-scale data processing and machine learning model training. They need to minimize the cost of their Dataproc clusters, especially for batch jobs that are not time-sensitive, while ensuring that critical, time-sensitive jobs still get the necessary resources. The solution must intelligently utilize cheaper, pre-emptible resources without sacrificing the stability of long-running, critical workloads. Which Dataproc feature should they leverage to achieve cost optimization for non-time-sensitive jobs?Ensuring solution quality
- 242.A media company processes large volumes of user interaction data (clicks, views, searches) using a Dataflow streaming pipeline. They need to ensure high availability and fault tolerance for this pipeline, as any data loss or significant downtime directly impacts real-time analytics and user experience. The solution must automatically recover from failures without manual intervention and maintain data integrity. Which Dataflow feature is crucial for achieving these reliability and fault tolerance goals?Ensuring solution quality
- 243.A financial services company is migrating its on-premises data warehouse to BigQuery. They have strict requirements for data reliability, including the ability to recover data to a specific point in time in case of accidental deletions or corruptions, without relying on manual backups. The data in BigQuery is updated frequently. Which BigQuery feature directly supports this requirement?Ensuring solution quality
- 244.A gaming company is building a real-time analytics platform to track player engagement and in-game purchases. The platform needs to ingest millions of events per second, process them with very low latency (sub-second), and store them for immediate querying. Data durability and ordering are critical to ensure accurate analytics. You need to select the most appropriate Google Cloud service for event ingestion that meets these requirements. Which service should you choose?Ensuring solution quality
- 245.A large enterprise is building a new data platform on Google Cloud that integrates data from various on-premises and cloud sources. They need a centralized mechanism to enforce consistent data quality rules, manage metadata, and discover data assets across their entire data landscape. The solution should also facilitate data sharing and governance for different business units. Which Google Cloud service is designed to provide a unified data management platform for data governance, discovery, and quality across an organization's disparate data assets?Ensuring solution quality
- 246.A media streaming service processes billions of user interaction events (clicks, views, searches) daily using Pub/Sub and Dataflow. The service needs to detect anomalies in real time, such as sudden spikes in error rates or unusual user behavior patterns, to trigger alerts for the operations team. You need to implement a robust monitoring and alerting solution that integrates with these services. Which Google Cloud service combination is most appropriate for this task?Ensuring solution quality
- 247.A financial institution is implementing a data lake on Google Cloud. They need to ensure that all data at rest is encrypted, and they must have complete control over the encryption keys due to strict regulatory compliance requirements. The solution should also integrate seamlessly with Google Cloud services like Cloud Storage and BigQuery. Which Google Cloud service should they use to manage their encryption keys?Ensuring solution quality
- 248.A global marketing analytics team uses BigQuery for ad-hoc analysis and reporting. They frequently run complex queries that scan petabytes of data, leading to high unpredictable costs under the on-demand pricing model. The team needs to optimize costs while ensuring sufficient compute capacity for their analytical workloads, which have fluctuating peak demands. They want to avoid large, fixed monthly commitments if possible. Which BigQuery pricing model and feature combination offers the best balance of cost predictability, flexibility, and performance for this scenario?Ensuring solution quality
- 249.A global e-commerce company uses BigQuery for its data warehouse. They experience peak loads during seasonal sales events, which can cause query performance degradation and potential service disruptions if not managed properly. The data engineering team needs to design a solution that automatically scales BigQuery resources to handle these fluctuating workloads efficiently, ensuring consistent query performance without manual intervention. Which BigQuery pricing model and feature combination should they prioritize to meet these requirements?Ensuring solution quality
- 250.A large manufacturing company wants to centralize its operational data from various factory sensors and machinery into a Google Cloud data lake. The data arrives in varying formats and structures, and they need to define and enforce a consistent schema for this data as it lands in Cloud Storage, before being processed by downstream analytics tools. The solution must allow for schema evolution over time without breaking existing pipelines. Which open-source file format, commonly used in the Hadoop ecosystem and supported by Google Cloud, is best suited for this requirement?Ensuring solution quality