GoogleGoogle
PROFESSIONAL-CLOUD-DEVELOPER · Question #122
PROFESSIONAL-CLOUD-DEVELOPER Question #122: Real Exam Question with Answer & Explanation
The correct answer is C: Assign the Cloud SQL Client role.. https://cloud.google.com/sql/docs/mysql/roles-and-permissions
Ensuring solution security and compliance
Question
You are deploying your application on a Compute Engine instance that communicates with Cloud SQL. You will use Cloud SQL Proxy to allow your application to communicate to the database using the service account associated with the application's instance. You want to follow the Google-recommended best practice of providing minimum access for the role assigned to the service account. What should you do?
Options
- AAssign the Project Editor role.
- BAssign the Project Owner role.
- CAssign the Cloud SQL Client role.
- DAssign the Cloud SQL Editor role.
Explanation
https://cloud.google.com/sql/docs/mysql/roles-and-permissions
Topics
#Cloud SQL#IAM Roles#Least Privilege#Service Accounts
Community Discussion
No community discussion yet for this question.