You are writing a Compute Engine hosted application in project A that needs to securely authenticate to a Cloud Pub/Sub topic in project B. What should you do?
A) Configure the instances with a service account owned by project B Add the service account as a Cloud Pub/Sub publisher to project A
B) Configure the instances with a service account owned by project A Add the service account as a publisher on the topic
C) Configure Application Default Credentials to use the private key of a service account owned by project B Add the service account as a Cloud Pub/Sub publisher to project A
D) Configure Application Default Credentials to use the private key of a service account owned by project A Add the service account as a publisher on the topic
Correct Answer:
Verified
Q70: You configured your Compute Engine instance group
Q71: Case study This is a case study.
Q72: Your company stores their source code in
Q73: Your company has created an application that
Q74: You are creating a Google Kubernetes Engine
Q76: Case study This is a case study.
Q77: Case study This is a case study.
Q78: Your API backend is running on multiple
Q79: You have an application deployed in production.
Q80: You are using Cloud Build to create
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents