ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 286 - Professional Data Engineer discussion

Report
Export

You have a streaming pipeline that ingests data from Pub/Sub in production. You need to update this streaming pipeline with improved business logic. You need to ensure that the updated pipeline reprocesses the previous two days of delivered Pub/Sub messages. What should you do?

Choose 2 answers

A.
Use Pub/Sub Seek with a timestamp.
Answers
A.
Use Pub/Sub Seek with a timestamp.
B.
Use the Pub/Sub subscription clear-retry-policy flag.
Answers
B.
Use the Pub/Sub subscription clear-retry-policy flag.
C.
Create a new Pub/Sub subscription two days before the deployment.
Answers
C.
Create a new Pub/Sub subscription two days before the deployment.
D.
Use the Pub/Sub subscription retain-asked-messages flag.
Answers
D.
Use the Pub/Sub subscription retain-asked-messages flag.
E.
Use Pub/Sub Snapshot capture two days before the deployment.
Answers
E.
Use Pub/Sub Snapshot capture two days before the deployment.
Suggested answer: A, E

Explanation:

To update a streaming pipeline with improved business logic and reprocess the previous two days of delivered Pub/Sub messages, you should use Pub/Sub Seek with a timestamp and Pub/Sub Snapshot capture two days before the deployment. Pub/Sub Seek allows you to replay or purge messages in a subscription based on a time or a snapshot. Pub/Sub Snapshot allows you to capture the state of a subscription at a given point in time and replay messages from that point. By using these features, you can ensure that the updated pipeline can process the messages that were delivered in the past two days without losing any data.Reference:

Pub/Sub Seek

Pub/Sub Snapshot

asked 18/09/2024
GREGORY DROUIN
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first