Databricks Certified Associate Developer for Apache Spark — Question 189

A data engineer is running a Batch processing job on Spark Cluster with the following configuration:

• 10 worker nodes
• 16 CPU cores per worker node
• 64 GB RAM per node

The data engineer wants to allocate four executors per node, each executor using four cores.

What is the total number of CPU cores used by the application?

Answer options

Correct answer: C

Explanation

The total number of CPU cores used by the application is calculated by multiplying the number of nodes (10) by the number of executors per node (4) and the number of cores per executor (4). This results in 10 * 4 * 4 = 160, but since each node can only provide 16 cores, the maximum that can be utilized is 80 cores, making C the correct answer.