Databricks Certified Data Analyst Associate — Question 32

In which of the following situations should a data analyst use higher-order functions?

Answer options

Correct answer: C

Explanation

The correct answer is C because higher-order functions are particularly useful for applying custom logic efficiently across large datasets, especially when dealing with array data objects. The other options focus on scenarios that do not require the scalability or advanced capabilities provided by higher-order functions.