Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
To securely authenticate your application's VMs to Google Cloud services like Cloud Pub/Sub for processing sensitive transaction data, what is the recommended approach by Google?
A
Encrypt an OAuth2 access token for Cloud Pub/Sub and store it in Cloud Storage for VM access.
B
Implement a Cloud Function as a gateway to Cloud Pub/Sub, assigning the necessary IAM roles to the Cloud Function's service account.
C
Assign the appropriate Cloud Pub/Sub IAM roles to the VM service accounts.
D
Use VM access scopes to grant Cloud Pub/Sub IAM roles, ensuring VM service accounts do not have direct access.