You need to grant a developer access to view and download objects stored within a specific Cloud Storage bucket in your project. Following Google Cloud best practices and the principle of least privilege, which IAM role should you assign?
- Storage Object Viewer (roles/storage.objectViewer)Cevap
- BViewer (roles/viewer)
- CEditor (roles/editor)
- DBilling Account Viewer (roles/billing.viewer)
Cevap
The correct role is Storage Object Viewer (roles/storage.objectViewer).
The Storage Object Viewer role (roles/storage.objectViewer) grants read-only access to storage objects within Cloud Storage. Predefined roles are recommended by Google Cloud because they follow the principle of least privilege by providing only the permissions necessary for the specific task.
Adım Adım Çözüm
Anahtar Kavram
Principle of Least Privilege using Predefined IAM Roles
Tahmini Süre:45s