If I want to send binary data through the REST proxy to topic "test_binary", it needs to be base64 encoded. A consumer connecting directly into the Kafka topic
Suggested Answer: B
Get Premium CCDAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
On the producer side, after receiving base64 data, the REST Proxy will convert it into bytes and then send that bytes payload to Kafka. Therefore consumers reading directly from Kafka will receive binary data.
20 comments · newest first
LE
Lettie
1 month ago
Agreed, E is the best choice. Decoding is necessary.
BE
Bettye
1 month ago
B seems wrong. It won't receive raw binary.
CH
Chun
2 months ago
Definitely E. Encoding is crucial for binary data.
OL
Oliva
2 months ago
I feel like A is misleading. It's not just "test_binary."
LY
Lynette
2 months ago
Yeah, it has to be decoded by the consumer.
FA
Fanny
2 months ago
I think the answer is E. Base64 encoded data.
AN
Antione
2 months ago
No way, it should be avro data, right?
ON
Oneida
2 months ago
I agree, it has to be base64 for REST.
FR
Freida
3 months ago
Wait, so it’s not just plain binary? That’s surprising!
MI
Micheline
3 months ago
I think the consumer gets binary data directly.
HO
Howard
3 months ago
It definitely needs to be base64 encoded.
CR
Cruz
3 months ago
No way, it’s not avro or json!
RO
Roselle
3 months ago
Wait, so it has to be decoded? That’s new to me.
RO
Ronnie
4 months ago
Agree, it’s all about that encoding!
MA
Mariko
5 months ago
I think the consumer will get binary data directly.
CA
Catarina
5 months ago
It definitely needs to be base64 encoded.
MI
Minna
6 months ago
I feel like I might be mixing things up, but I thought avro data was also a possibility. Is that option C?
TE
Telma
6 months ago
I practiced a similar question, and I believe the answer is E. The consumer has to decode the base64 before processing it.
GO
Golda
6 months ago
I'm not entirely sure, but I remember something about binary data being sent directly without encoding. Could it be option B?
NA
Natalya
6 months ago
I think the consumer will receive the base64 encoded data, so it will need to decode it, right? That sounds familiar.