You are updating the code for a subscriber to a Put/Sub feed. You are concerned that upon deployment the subscriber may erroneously acknowledge messages, leading to message loss. You subscriber is not set up to retain acknowledged messages. What should you do to ensure that you can recover from errors after deployment?
Suggested Answer: B
Get Premium Professional Data Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
LE
Levi
12 months ago
Wait, can you really recover messages with snapshots? Sounds too good to be true!
NA
Naomi
12 months ago
D is cool too, but dead-lettering might complicate things.
PE
Pete
12 months ago
A seems risky, not sure about relying on Cloud Build timestamps.
ST
Stephaine
1 year ago
Totally agree, snapshots are a lifesaver!
SH
Sheron
1 year ago
B is the best option for message recovery.
MA
Macy
1 year ago
I recall that testing with the Pub/Sub emulator is important, but I wonder if that alone would prevent issues in production like the ones mentioned in the question.
LI
Lisha
1 year ago
I practiced a similar question about dead-lettering, and I think option D could be useful for capturing unacknowledged messages, but I'm not completely confident about it.
JA
Jamal
1 year ago
I'm not entirely sure, but I feel like using Cloud Build might not be the best approach since it doesn't directly address message acknowledgment issues.
SH
Shayne
1 year ago
I remember we discussed snapshots in class, and I think option B sounds like a good way to avoid message loss after deployment.
AN
Antonio
1 year ago
I'm not too sure about this one. The question is asking about the suitability of 4G for drone control, but I'm not entirely familiar with the technical requirements. I'll need to think it through carefully.
DE
Denny
1 year ago
Hmm, I'm not sure about the Lightning Component option in C. Displaying fields from multiple objects could get complicated, and we want something simple and straightforward for the volunteers. I think the Flow in option B is the way to go.
SH
Sheron
1 year ago
I studied some cases where RDS errors caused service issues, but in this scenario, it seems less likely.