Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Heroku Architect (Plat-Arch-206) Exam - Topic 1 Question 20 Discussion

Posted by Rodolfo on Jul 05, 2023 at 11:27 AM

Universal Containers (UC)uses Apache Kafka on Heroku to stream shipment inventory data in real time throughout the world. A Kafka topic is used to send messages with updates on the shipping container GPS coordinates as they are in transit. UC is using a Heroku Kafka basic-0 plan.The topic was provisioned with 8 partitions, 1 week of retention, and no compaction. The keys for the events are being assigned by Heroku Kafka, which means that they will be randomly distributed between the partitions.

UC has a single-dyno consumer application that persists the data to their Enterprise Data Warehouse (EDW). Recently, they've been noticing data loss in the EDW.

What should an Architect with Kafka experience recommend?

Suggested Answer: D

Get Premium Salesforce Certified Heroku Architect (Plat-Arch-206) Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
36 comments · newest first
AL
Alton 11 months ago
Using Redis for message receipts is a smart move for reliability!
VI
Vi 11 months ago
Wait, why are they losing data if they're using Kafka? That seems odd.
JU
Justine 12 months ago
Upgrading the plan could definitely solve capacity issues.
DE
Deandrea 12 months ago
Compaction won't help with data loss, just older messages.
LE
Leslee 12 months ago
Sounds like they need to scale up those consumer dynos!
CH
Chantell 1 year ago
Scaling up the consumer dynos makes sense, but I’m a bit confused about how that interacts with the partitions. Would we really need one consumer per partition?
CE
Cecily 1 year ago
Using Redis for message receipt sounds familiar, especially for ensuring 'at-least' once delivery. I think we practiced a similar scenario in class.
SO
Son 1 year ago
I think upgrading the Kafka plan could be a good option, but I wonder if that alone would solve the data loss issue.
EL
Eleni 1 year ago
I remember we discussed the importance of message delivery guarantees in Kafka, but I'm not sure if enabling compaction would really help with data loss.
CH
Christiane 1 year ago
Whoa, this is a tricky one. I don't want to mess up the termination process and end up in legal trouble. Maybe I should review the company's employee handbook before answering this.
RA
Rashida 1 year ago
Hmm, this looks like a tricky one. I'll need to carefully consider the options and think through the best approach.
KI
Kirk 1 year ago
Hmm, I'm a bit unsure about the differences between shared file systems and cloud storage for high availability. I'll need to think this through carefully.
SA
Sang 1 year ago
I like how C tackles the problem from multiple angles - the Redis store and the scaled-up consumers. That's a more robust solution.
OR
Ora 1 year ago
↳ replying to Sang
Yeah, C definitely seems like the way to go to ensure data integrity.
LO
Lore 1 year ago
↳ replying to Sang
Agreed, C seems like the most comprehensive solution to prevent data loss.
RO
Rossana 1 year ago
↳ replying to Sang
I think C is the best option here. It covers all the bases.
JU
Junita 1 year ago
↳ replying to Sang
B) Upgrade to a larger Apache Kafka for Heroku plan, which has greater data capacity.
BA
Barabara 1 year ago
↳ replying to Sang
A) Enable compaction on the topic to drop older messages, which will drop older messages with the same key.
NA
Nan 1 year ago
↳ replying to Sang
C) Use Heroku Redis to store message receipt information to account for 'at-least' once delivery, which will guarantee that messages are never processed more than once. Scale up the consumer dynos to match the number of partitions so that there is one process for each partition.
ZO
Zoila 1 year ago
Compaction might help with older messages, but it won't address the data loss issue. C is the best option to guarantee message delivery.
ST
Stefanie 1 year ago
↳ replying to Zoila
C
AR
Argelia 1 year ago
↳ replying to Zoila
A
HO
Howard 1 year ago
Option B seems like overkill. Upgrading the Kafka plan is not necessary if the issue is with the consumer application.
KE
Kenneth 1 year ago
↳ replying to Howard
Option B seems like overkill. Upgrading the Kafka plan is not necessary if the issue is with the consumer application.
LE
Leonida 1 year ago
↳ replying to Howard
C) Use Heroku Redis to store message receipt information to account for 'at-least' once delivery, which will guarantee that messages are never processed more than once. Scale up the consumer dynos to match the number of partitions so that there is one process for each partition.
LA
Lashawn 1 year ago
↳ replying to Howard
A) Enable compaction on the topic to drop older messages, which will drop older messages with the same key.
LE
Leoma 1 year ago
↳ replying to Howard
Option B seems like overkill. Upgrading the Kafka plan is not necessary if the issue is with the consumer application.
LA
Lashanda 1 year ago
↳ replying to Howard
C) Use Heroku Redis to store message receipt information to account for 'at-least' once delivery, which will guarantee that messages are never processed more than once. Scale up the consumer dynos to match the number of partitions so that there is one process for each partition.
WH
Whitley 1 year ago
↳ replying to Howard
A) Enable compaction on the topic to drop older messages, which will drop older messages with the same key.
AM
Amina 2 years ago
I think the correct answer is C. Using Heroku Redis to store message receipt information and scaling up the consumer dynos will help ensure at-least once delivery and prevent data loss.
TA
Tamie 2 years ago
I believe upgrading to a larger Apache Kafka plan might also solve the issue.
NO
Norah 2 years ago
I agree with Cassi. Compaction will help prevent data loss in the EDW.
CA
Cassi 2 years ago
I think we should enable compaction on the topic to drop older messages.
SH
Sharika 2 years ago
I believe upgrading to a larger Apache Kafka plan might also solve the issue.
RO
Rodrigo 2 years ago
I agree with Ellsworth. Compaction will help prevent data loss in the EDW.
EL
Ellsworth 2 years ago
I think we should enable compaction on the topic to drop older messages.
0/2000 characters

Save Cancel