Google Professional Cloud Developer Exam - Topic 7 Question 60 Discussion
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?
C) Grant the user identity a custom role that contains the pubsub.topics.create and pubsub.subscriptions.create permissions.
A) Bind the user identity to the pubsub.publisher and pubsub.subscriber roles at the resource level.
B) Grant the user identity the pubsub.publisher and pubsub.subscriber roles at the project level.
D) Configure the application to run as a service account that has the pubsub.publisher and pubsub.subscriber roles.
Ettie
10 months agoChandra
10 months agoStevie
10 months agoTy
11 months agoChaya
11 months agoRobt
11 months agoLeatha
11 months agoClaudio
11 months agoTashia
11 months agoKati
11 months agoMalinda
11 months agoGraham
11 months agoBelen
11 months ago