Certified Data Engineer Professional Practice Test
Certified Data Engineer Professional Practice Test practice questions, page 11 of 14, with answer review and explanations.
Question 51
Where in the Spark UI can one diagnose a performance problem induced by not leveraging predicate push-down?
In the Executor’s log file, by grepping for "predicate push-down"
In the Stage’s Detail screen, in the Completed Stages table, by noting the size of data read from the Input column
In the Storage Detail screen, by noting which RDDs are not stored on disk
In the Delta Lake transaction log. by noting the column statistics
In the Query Detail screen, by interpreting the Physical Plan
Question 52
Review the following error traceback: Which statement describes the error being raised?
The code executed was PySpark but was executed in a Scala notebook.
There is no column in the table named heartrateheartrateheartrate
There is a type error because a column object cannot be multiplied.
There is a type error because a DataFrame object cannot be multiplied.
There is a syntax error because the heartrate column is not correctly identified as a column.
Question 53
Which distribution does Databricks support for installing custom Python code packages?
sbt
CRANC. npm
Wheels
jars
Question 54
Which Python variable contains a list of directories to be searched when trying to locate required modules?
importlib.resource_path
sys.path
os.path
pypi.path
pylib.source
Question 55
Incorporating unit tests into a PySpark application requires upfront attention to the design of your jobs, or a potentially significant refactoring of existing code. Which statement describes a main benefit that offset this additional effort?
Improves the quality of your data
Validates a complete use case of your application
Troubleshooting is easier since all steps are isolated and tested individually
Yields faster deployment and execution times
Ensures that all steps interact correctly to achieve the desired end result