New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 15 Question 111 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 111
Topic #: 15
[All Professional Cloud Developer Questions]

Your team is developing an application in Google Cloud that executes with user identities maintained by Cloud Identity. Each of your application's users will have an associated Pub/Sub topic to which messages are published, and a Pub/Sub subscription where the same user will retrieve published messages. You need to ensure that only authorized users can publish and subscribe to their own specific Pub/Sub topic and subscription. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Amie
2 months ago
D seems like overkill for this scenario.
upvoted 0 times
...
Stephen
2 months ago
Wait, can you really bind roles at the resource level?
upvoted 0 times
...
Ivette
3 months ago
C sounds interesting, but not sure if it's necessary.
upvoted 0 times
...
Salome
3 months ago
I think B might work too, but it's too broad.
upvoted 0 times
...
Lashaun
3 months ago
A is the best choice for user-specific access!
upvoted 0 times
...
Rodrigo
3 months ago
I wonder if using a service account is the right choice here; it seems like it might complicate user-specific access.
upvoted 0 times
...
Lorrine
4 months ago
Granting a custom role sounds interesting, but I can't recall if it would cover the specific needs for publishing and subscribing.
upvoted 0 times
...
Tuyet
4 months ago
I remember a similar question where we had to set permissions at the project level, but that seemed too broad for this scenario.
upvoted 0 times
...
Layla
4 months ago
I think we need to bind the user identity to the roles at the resource level, but I'm not entirely sure if that's the best approach for individual topics.
upvoted 0 times
...
Quentin
4 months ago
This looks tricky. I'm not sure if we should use a service account or bind the user identity directly. I'll need to review the options and think about the pros and cons of each approach.
upvoted 0 times
...
Justine
4 months ago
Okay, I think I've got a strategy here. We'll need to create a custom role that has the specific permissions required, and then assign that role to each user. That way, they can only access their own resources.
upvoted 0 times
...
Marti
4 months ago
Hmm, I'm a bit unsure about this one. I know we need to grant the appropriate roles, but I'm not sure if we should do it at the resource level or the project level. I'll need to think this through carefully.
upvoted 0 times
...
Jeanice
5 months ago
This seems like a straightforward question about managing access to Pub/Sub resources. I think the key is to ensure that each user can only access their own topic and subscription.
upvoted 0 times
...
Melda
6 months ago
I think we should bind the user identity to the pubsub.publisher and pubsub.subscriber roles at the resource level.
upvoted 0 times
...

Save Cancel