Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can you secure a Cloud Function to allow authentication for authorized end users via an application while blocking unauthorized access, using Google Sign-In and following Google's recommended best practices?
A
Deploy from a source code repository and grant users the roles/cloudfunctions.viewer role.
B
Deploy from a source code repository and grant users the roles/cloudfunctions.invoker role
C
Deploy from your local machine using gcloud and grant users the roles/cloudfunctions.admin role
D
Deploy from your local machine using gcloud and grant users the roles/cloudfunctions.developer role