Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
As part of the ingestion process, you want to ensure any messages written to a Cloud Pub/Sub topic all have a standard structure. What is the recommended way to ensure messages have the standard structure?
A
Implement a data quality function within a Cloud Function to reformat the message as necessary before it is consumed from a subscription.
B
Define a schema and associate it with a topic at the time of the topic's creation.
C
Utilize a data quality function in a Cloud Function to verify the message structure upon writing to Cloud Pub/Sub.
D
Establish a schema and link it to a subscription during the subscription's creation.