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.
- F.approx_count_distinct (HyperLogLog++-based) gives fast, fixed-memory approximate distinct counts — ideal on billions of rows. The camelCase F.approxCountDistinct is only a deprecated alias (deprecated since Spark 2.1.0) that internally calls approx_count_distinct; use the snake_case name in current code. countDistinct is exact but slower. percentile_approx is for quantiles. sum is additive aggregation.