Cloudera
CCD-333 · Question #20
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…
Sign in or unlock CCD-333 to reveal the answer and full explanation for question #20. The question stem and answer options stay visible for context.
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.
Unlock CCD-333 to see the answer
You've previewed enough free CCD-333 questions. Unlock CCD-333 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.