Cloudera CDP Data Engineer - Certification - CDP-3002 Exam Practice Test
Question 1
How does setting the "priority_weight" parameter in Airflow tasks influence the scheduler's behavior?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 2
When leveraging caching in Spark, which scenario illustrates the use of the MEMORY ONLY SER storage level most effectively?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 3
You're tasked with scheduling an ETL pipeline in Airflow that extracts data from a database, transforms it, and loads it into a data warehouse. How can you achieve this using Airflow operators?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
You're building an Airflow DAG to extract data from a database table that is constantly updated. How can you implement incremental extraction to avoid processing the entire table each time the DAG runs?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
You are working with a large, skewed dataset in Spark. How would you optimize processing to mitigate the impact of skew and improve performance?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 6
When would it be advantageous to use both partitioning and bucketing on a Hive table?
Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
You need to design a DAG that can be easily triggered based on external events or data availability. How can you achieve this functionality?
Correct Answer: C
Question 8
You are developing a PySpark application that processes a large dataset. Your application involves a transformation that requires shuffling data across the Executors. Which of the following responsibilities of the Spark Driver is most directly involved in this process?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 9
You're working with a real-time streaming application using Spark Streaming. How can you ensure that your application gracefully handles late-arriving data and maintains data consistency?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 10
Consider a PySpark application that calculates the count of rows in a CSV file. The main application file is 'count_rows.py', and it uses a custom library 'data_utils.py'. After packaging, which 'spark-submit' command correctly submits this job including the custom library?
Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 11
What is the role of an Operator in an Apache Airflow DAG?
A To schedule DAG runs based on time or external triggers
A To schedule DAG runs based on time or external triggers
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 12
You're working with a complex data pipeline involving Spark and Hive, and you need to monitor its performance and identify potential bottlenecks. Which tools and techniques can you employ for effective monitoring?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 13
Which tool or API is primarily used for monitoring and inspecting the performance of Spark applications in real-time?
A Spark History Server
A Spark History Server
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).

