Certified Data Engineer Professional Exam QuestionsBrowse all questions from this exam

Certified Data Engineer Professional 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?

Show Answer
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

1 comment
Sign in to comment
imatheushenriqueOption: C
May 31, 2024

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.