Bird
0
0

If a message is sent to a dead letter topic, what must be true about the dead letter topic's permissions?

medium📝 Predict Output Q5 of 15
GCP - Cloud Pub/Sub
If a message is sent to a dead letter topic, what must be true about the dead letter topic's permissions?
ANo special permissions are required for dead letter topics.
BThe dead letter topic must be publicly readable.
CThe subscription's service account must have publish permission on the dead letter topic.
DThe dead letter topic must be in a different project than the subscription.
Step-by-Step Solution
Solution:
  1. Step 1: Identify permission requirements for dead letter topics

    The subscription's service account needs permission to publish messages to the dead letter topic.
  2. Step 2: Eliminate incorrect options

    Dead letter topics do not need to be public or in different projects, and permissions are required.
  3. Final Answer:

    The subscription's service account must have publish permission on the dead letter topic. -> Option C
  4. Quick Check:

    Dead letter topic requires publish permission for subscription [OK]
Quick Trick: Grant publish permission to subscription's service account [OK]
Common Mistakes:
  • Assuming public read access is needed
  • Thinking no permissions are required
  • Believing dead letter topic must be in another project

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes