Exam Certified Data Engineer Professional All QuestionsBrowse all questions from this exam
Question 161

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 benefit offsets this additional effort?

    Correct Answer: C

    Troubleshooting is easier since all steps are isolated and tested individually. Unit tests break down the application into smaller, testable parts which makes it easier to identify and fix errors at each step, rather than debugging a larger, more complex system.

Discussion
imatheushenriqueOption: C

C. Troubleshooting is easier since all steps are isolated and tested individually The unit tests will ensuree that specific functions and transformations will work as intended.