Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Databricks Certified Associate Developer for Apache Spark · Databricks
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
- Both @F.udf('string') on a function and F.udf(lambda, 'string') inline create a UDF with the given return type. You can also pass Python type hints. Option B omits the return type, defaulting to string, but is less explicit. Python UDFs are slower than pandas_udf.