Cloudera
CCD-333 · Question #20
CCD-333 Question #20: Real Exam Question with Answer & Explanation
The correct answer is B. Yes.. See the full explanation below for the reasoning.
Question
You have a large dataset of key-value pairs, where the keys are strings, and the values are integers. For each unique key, you want to identify the largest integer. In writing a MapReduce program to accomplish this, can you take advantage of a combiner?
Options
- ANo, a combiner would not be useful in this case.
- BYes.
- CYes, but the number of unique keys must be known in advance.
- DYes, as long as all the keys fit into memory on each node.
- EYes, as long as all the integer values that share the same key fit into memory on each node.
Community Discussion
No community discussion yet for this question.