Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your organization operates a multi-tier microservices application across multiple Google Cloud projects and environments (e.g., production, staging). As a DevOps engineer, you need to design a centralized Cloud Monitoring dashboard that enables team members to troubleshoot across environments efficiently while maintaining strict security controls.
The dashboard design must meet the following requirements:
Which configuration and IAM role assignment should you implement?
This solution implements top-level dashboardFilters within the Cloud Monitoring dashboard definition and grants the predefined Monitoring Dashboard Configuration Viewer (roles/monitoring.dashboardViewer) role to the compliance auditors.
dashboardFilters allows users to dynamically filter all charts and widgets across the dashboard using template variables and label matching (such as resource.label.environment or resource.label.zone). This eliminates the need to create separate static dashboard definitions for each environment.roles/monitoring.dashboardViewer role provides read-only permissions specifically for dashboard metadata and configuration (monitoring.dashboards.get and monitoring.dashboards.list). It deliberately restricts users from creating, updating, or deleting dashboards, alerting policies, or notification channels.Using native dashboardFilters and roles/monitoring.dashboardViewer strictly satisfies both operational agility and security governance according to Google Cloud best practices.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.