nerdexam
GoogleGoogle

PROFESSIONAL-DATA-ENGINEER · Question #249

PROFESSIONAL-DATA-ENGINEER Question #249: Real Exam Question with Answer & Explanation

Sign in or unlock PROFESSIONAL-DATA-ENGINEER to reveal the answer and full explanation for question #249. The question stem and answer options stay visible for context.

Submitted by chen.hong· Mar 30, 2026Building and operationalizing data processing systems

Question

You are updating the code for a subscriber to a Pub/Sub feed. You are concerned that upon deployment the subscriber may erroneously acknowledge messages, leading to message loss. Your subscriber is not set up to retain acknowledged messages. What should you do to ensure that you can recover from errors after deployment?

Options

  • ASet up the Pub/Sub emulator on your local machine.
  • BCreate a Pub/Sub snapshot before deploying new subscriber code.
  • CUse Cloud Build for your deployment. If an error occurs after deployment, use a Seek operation to locate a timestamp logged by Cloud Build at the start of the
  • DEnable dead-lettering on the Pub/Sub topic to capture messages that aren't successfully acknowledged.

Unlock PROFESSIONAL-DATA-ENGINEER to see the answer

You've previewed enough free PROFESSIONAL-DATA-ENGINEER questions. Unlock PROFESSIONAL-DATA-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Pub/Sub#Snapshots#Error Recovery#Message Loss
Full PROFESSIONAL-DATA-ENGINEER PracticeBrowse All PROFESSIONAL-DATA-ENGINEER Questions