Cloudera CCA175 Question Answer
Problem Scenario 63 : You have been given below code snippet.
val a = sc.parallelize(List("dog", "tiger", "lion", "cat", "panther", "eagle"), 2)
val b = a.map(x => (x.length, x))
operation1
Write a correct code snippet for operationl which will produce desired output, shown below. Array[(lnt, String}] = Array((4,lion), (3,dogcat), (7,panther), (5,tigereagle))
Cloudera CCA175 Summary
- Vendor: Cloudera
- Product: CCA175
- Update on: Jan 2, 2026
- Questions: 96

