You want to ensure that your Google Cloud Platform (GCP) resources are consistently configured and changes are tracked over time. Which approach aligns best with operational excellence principles?
Think about how to automate and track changes to avoid manual errors.
Using Infrastructure as Code tools allows you to automate resource provisioning, maintain version control, and ensure consistent configurations, which supports operational excellence.
You set up an alert policy in Google Cloud Monitoring to notify you when CPU usage exceeds 80% for 5 minutes. What will happen if the CPU usage spikes to 85% for 3 minutes and then drops back to 70%?
Consider how alert conditions use duration to avoid false alarms.
Alert policies with duration require the condition to be true continuously for that time before triggering. A 3-minute spike is too short to trigger the alert.
You want to grant a team member access to only view logs in Cloud Logging but prevent them from modifying or deleting logs. Which IAM role should you assign?
Choose the role that provides read-only access to logs.
The roles/logging.viewer role grants read-only access to logs, following the principle of least privilege.
What is the primary purpose of defining Service Level Objectives (SLOs) in a cloud environment?
Think about how teams measure and improve service quality.
SLOs specify measurable goals for service uptime and performance, helping teams maintain operational excellence.
You are designing a critical application on GCP that must remain available even if an entire region fails. Which architecture choice best supports this requirement?
Consider how to handle entire region outages without downtime.
Multi-region deployment with load balancing and data replication ensures availability even if one region fails, supporting fault tolerance and operational excellence.