Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can you apply the principle of least privilege to secure a Cloud Function that interacts with other Google Cloud resources?
A
Create a new service account that has Editor authority to access the resources. The deployer is given permission to get the access token.
B
Create a new service account that has a custom IAM role to access the resources. The deployer is given permission to get the access token.
C
Create a new service account that has Editor authority to access the resources. The deployer is given permission to act as the new service account.
D
Create a new service account that has a custom IAM role to access the resources. The deployer is given permission to act as the new service account.