Which statement best describes how Google Cloud Pub/Sub handles message delivery?
Think about how Pub/Sub ensures messages are not lost but might be repeated.
Pub/Sub guarantees at-least-once delivery, meaning messages can be delivered multiple times if acknowledgments are not received.
You need to design a system that processes user requests with guaranteed execution and ordered processing. Which service is more suitable?
Consider which service supports task ordering and retries explicitly.
Cloud Tasks supports scheduling, retries, and ordered execution, making it suitable for guaranteed task processing.
What happens if a Pub/Sub subscriber does not acknowledge a message within the ack deadline?
Think about how Pub/Sub ensures message processing reliability.
If a message is not acknowledged in time, Pub/Sub redelivers it to ensure processing.
Which method is recommended to securely authenticate HTTP targets when Cloud Tasks dispatches tasks?
Consider secure token-based authentication methods supported by Cloud Tasks.
Cloud Tasks supports OAuth 2.0 and OIDC tokens to authenticate HTTP targets securely.
You have a system that must handle millions of user events per day with low latency and guaranteed processing. Which architecture best balances scalability and reliability?
Think about combining services to leverage their strengths for scale and reliability.
Pub/Sub handles high throughput event ingestion well, while Cloud Tasks manages critical task processing with retries and ordering.