An infrastructure administrator needs to allow the operations team to create and manage Cloud Monitoring alerting policies within a Google Cloud project. Following the principle of least privilege, which IAM role should be granted to the operations team?
- Monitoring Editor (roles/monitoring.editor)Answer
- BOwner (roles/owner)
- CService Account User (roles/iam.serviceAccountUser)
- DRequest a regional compute quota increase prior to creating the notification channels
Answer
Granting the Monitoring Editor (roles/monitoring.editor) role is the correct approach because it provides the necessary permissions to manage operational alerts while following least-privilege principles.
The Monitoring Editor role (roles/monitoring.editor) grants full access to Cloud Monitoring configuration, including creating, updating, and deleting alerting policies and notification channels, while remaining strictly limited to monitoring capabilities in accordance with least-privilege practices.
Step-by-Step Solution
Key Concept
Configuring least-privilege IAM access for Cloud Monitoring and operational alerting