

Certified Data Engineer Professional Exam Questions
Preparing for the Certified Data Engineer Professional exam requires a thorough understanding of various concepts and practical skills related to data engineering. This practice exam, featuring 323 real questions, offers candidates an invaluable opportunity to familiarize themselves with the exam format and question style. By engaging with these practice questions, you can assess your grasp of critical topics, identify areas that may need further review, and gauge your readiness for the actual certification exam.
The practice exam allows you to simulate the test-taking experience, which can help reduce anxiety and improve time management skills. More importantly, it highlights your strengths and weaknesses, enabling you to create a focused study plan tailored to your needs. The exposure to real questions not only reinforces learning but also enhances your problem-solving abilities under exam conditions. Taking this practice exam is a strategic step towards achieving certification and advancing your career as a data engineer. Utilize this resource effectively to ensure you are well-equipped for success on exam day.
Welcome to the Certified Data Engineer Professional exam questions and answers page. Here, you will find a curated collection of 323 real practice questions designed to help you prepare effectively for your certification exam. This repository serves as a practical resource for understanding the types of questions you may encounter, as well as the concepts and skills necessary for success in the field of data engineering. By working through these questions, you can assess your knowledge, identify areas for improvement, and build confidence before tackling the actual exam.
To make the most of this resource, review each question carefully and take note of any topics where you feel less confident. Use the provided answers and explanations to deepen your understanding of the concepts involved. Additionally, simulate exam conditions by setting a timer and answering questions in a single sitting to improve your time management skills.
How to pass the Certified Data Engineer Professional exam:
1. **Active Learning**: Engage with the material actively—rather than just reading, try to explain concepts in your own words or teach them to someone else.
2. **Consistent Study Schedule**: Establish a regular study routine. Dedicate specific hours each week to focus on different topics and practice questions, ensuring steady progress over time.
3. **Hands-On Experience**: If possible, gain practical experience with relevant tools and technologies. Working on real projects can reinforce your understanding and provide valuable context for the exam concepts.
Question 11 Single Choice
The data engineering team has configured a job to process customer requests to be forgotten (have their data deleted). All user data that needs to be deleted is stored in Delta Lake tables using default table settings.
The team has decided to process all deletions from the previous week as a batch job at 1am each Sunday. The total duration of this job is less than one hour. Every Monday at 3am, a batch job executes a series of VACUUM commands on all Delta Lake tables throughout the organization.
The compliance officer has recently learned about Delta Lake's time travel functionality. They are concerned that this might allow continued access to deleted data.
Assuming all delete logic is correctly implemented, which statement correctly addresses this concern?
Question 12 Single Choice
A junior data engineer has configured a workload that posts the following JSON to the Databricks REST API endpoint 2.0/jobs/create:
- json
- {
- "name": "Ingest new data",
- "existing_cluster_id": "6015-954420-peace720",
- "notebook_task": {
- "notebook_path": "/Prod/ingest.py"
- }
- }
Assuming that all configurations and referenced resources are available, which statement correctly describes the result of executing this API request three times?
Question 13 Single Choice
An upstream system is emitting change data capture (CDC) logs that are being written to a cloud object storage directory. Each record in the log indicates the change type (insert, update, or delete) and the values for each field after the change. The source table has a primary key identified by the field pk_id.
For auditing purposes, the data governance team wishes to maintain a full record of all values that have ever been valid in the source system. For analytical purposes, only the most recent value for each record needs to be recorded. The Databricks job to ingest these records occurs once per hour, but each individual record may have changed multiple times over the course of an hour.
Which solution meets these requirements?
Question 14 Single Choice
An hourly batch job is configured to ingest data files from a cloud object storage container, where each batch represents all records produced by the source system in a given hour. The batch job to process these records into the Lakehouse is sufficiently delayed to ensure no late-arriving data is missed.
The user_id field represents a unique key for the data, which has the following schema:
- sql
- user_id BIGINT,
- username STRING,
- user_utc STRING,
- user_region STRING,
- last_login BIGINT,
- auto_pay BOOLEAN,
- last_updated BIGINT
New records are all ingested into a table named
account_historywhich maintains a full record of all data in the same schema as the source.The next table in the system is named
account_currentand is implemented as a Type 1 table, representing the most recent value for each uniqueuser_id.
Assuming there are millions of user accounts and tens of thousands of records processed hourly, which implementation can be used to efficiently update the described account_current table as part of each hourly batch job?
Question 15 Single Choice
A table in the Lakehouse named customer_churn_params is used in churn prediction by the machine learning team. The table contains information about customers derived from a number of upstream sources. Currently, the data engineering team populates this table nightly by overwriting the table with the current valid values derived from upstream data sources.
The churn prediction model used by the ML team is fairly stable in production. The team is only interested in making predictions on records that have changed in the past 24 hours.
Which approach would simplify the identification of these changed records?
Question 16 Single Choice
A table is registered with the following SQL code:
- sql
- CREATE TABLE recent_orders AS (
- SELECT
- a.user_id,
- a.email,
- b.order_id,
- b.order_date
- FROM (
- SELECT user_id, email
- FROM users
- ) a
- INNER JOIN (
- SELECT user_id, order_id, order_date
- FROM orders
- WHERE order_date >= (current_date() - 7)
- ) b
- ON a.user_id = b.user_id
- );
Both users and orders are Delta Lake tables.
Which statement best describes the results of querying recent_orders?
Question 17 Single Choice
A production workload incrementally applies updates from an external Change Data Capture feed to a Delta Lake table as an always-on Structured Stream job. When data was initially migrated for this table, OPTIMIZE was executed and most data files were resized to 1 GB. Auto Optimize and Auto Compaction were both turned on for the streaming production job. Recent review of data files shows that most data files are under 64 MB, although each partition in the table contains at least 1 GB of data and the total table size is over 10 TB.
Which of the following likely explains these smaller file sizes?
Question 18 Single Choice
Which statement regarding stream-static joins and static Delta tables is correct?
Question 19 Single Choice
A junior data engineer has been asked to develop a streaming data pipeline with a grouped aggregation using DataFrame df. The pipeline needs to calculate the average humidity and average temperature for each non-overlapping five-minute interval. Events are recorded once per minute per device.
The schema for the streaming DataFrame df is as follows:
- plaintext
- "device_id INT, event_time TIMESTAMP, temp FLOAT, humidity FLOAT"
Code block:
- python
- df.withWatermark("event_time", "10 minutes")
- .groupBy(
- # Fill in the blank here to complete the task
- "device_id"
- )
- .agg(
- avg("temp").alias("avg_temp"),
- avg("humidity").alias("avg_humidity")
- )
- .writeStream
- .format("delta")
- .saveAsTable("sensor_avg")
Choose the response that correctly fills in the blank within the code block to complete this task.
Question 20 Single Choice
A data engineer has decided to nest a checkpoint directory to be shared by both streams. The proposed directory structure is displayed below:
- sql
- /bronze
- ├── checkpoint
- ├── delta_log
- ├── year_week=2020_01
- ├── year_week=2020_02
Which statement describes whether this checkpoint directory structure is valid for the given scenario and why?
Frequently Asked Questions
How realistic are the practice questions for the Certified Data Engineer Professional exam?
The practice questions closely mirror the style and complexity of the real exam, helping you familiarize yourself with the types of scenarios you may encounter.
How should I use the practice exam questions to prepare for the certification?
Use the practice questions to identify your strengths and weaknesses, focusing on areas where you feel less confident, and review explanations for both correct and incorrect answers.
How many practice questions should I complete before taking the real exam?
While there is no definitive number, aim to complete as many practice questions as possible, ideally all 323, to gain comprehensive exposure to the exam content.
Can I track my progress while taking the practice exam questions?
Yes, most practice exam platforms provide tools to track your progress and performance, helping you understand which topics need more review.
Is it beneficial to retake the practice questions multiple times?
Retaking practice questions can reinforce learning and help to ensure you retain the material, especially on questions you initially found challenging.





