ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 266 - Professional Data Engineer discussion

Report
Export

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?

A.
Use Cloud Build for your deployment if an error occurs after deployment, use a Seek operation to locate a tmestamp logged by Cloud Build at the start of the deployment
Answers
A.
Use Cloud Build for your deployment if an error occurs after deployment, use a Seek operation to locate a tmestamp logged by Cloud Build at the start of the deployment
B.
Create a Pub/Sub snapshot before deploying new subscriber code. Use a Seek operation to redeliver messages that became available after the snapshot was created
Answers
B.
Create a Pub/Sub snapshot before deploying new subscriber code. Use a Seek operation to redeliver messages that became available after the snapshot was created
C.
Set up the Pub/Sub emulator on your local machine Validate the behavior of your new subscriber togs before deploying it to production
Answers
C.
Set up the Pub/Sub emulator on your local machine Validate the behavior of your new subscriber togs before deploying it to production
D.
Enable dead-lettering on the Pub/Sub topic to capture messages that aren't successful acknowledged if an error occurs after deployment, re-deliver any messages captured by the deadletter queue
Answers
D.
Enable dead-lettering on the Pub/Sub topic to capture messages that aren't successful acknowledged if an error occurs after deployment, re-deliver any messages captured by the deadletter queue
Suggested answer: B
asked 18/09/2024
frederic Morteau
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first