Google Cloud's shared responsibility model
Security is split between Google and the customer.
Google secures the physical infrastructure, network, and hypervisor - this is called security 'of' the cloud.
You secure your data, identity and access management (IAM) settings, and how you configure your workloads - this is security 'in' the cloud.
The split shifts depending on the service model: for Compute Engine (IaaS) you manage more, for App Engine (PaaS) less, and for fully managed services like BigQuery even less.
A common exam trap is assuming Google handles everything - it never does.
Identity and Access Management (IAM)
IAM controls who (identity) can do what (role) on which resource.
The golden rule is least privilege - give the minimum permissions needed, nothing more.
Roles come in three types: basic (Owner, Editor, Viewer - broad, avoid in production), predefined (granular, service-specific), and custom (built by you).
Policies can be applied at organisation, folder, project, or resource level, and permissions inherit downward.
Resource Manager hierarchy
Resources sit in a hierarchy: Organisation > Folders > Projects > Resources.
This lets policies (IAM, budgets) cascade down automatically, which keeps large enterprises consistent without manual repetition.
Key security tools to know
- Cloud Identity - manages users and groups, the foundation for IAM.
- Security Command Center - a centralised dashboard for threat and vulnerability detection across your Google Cloud assets.
- Cloud IAM - access control, covered above.
- VPC Service Controls - creates a security perimeter around resources to prevent data exfiltration.
- Cloud Key Management Service (KMS) - lets you manage and rotate your own encryption keys.
- Data Loss Prevention (DLP) API - discovers, classifies, and redacts sensitive data like credit card numbers.
Encryption
Google Cloud encrypts data at rest and in transit by default - you don't have to switch this on.
For extra control, use Customer-Managed Encryption Keys (CMEK) via Cloud KMS, or Customer-Supplied Encryption Keys (CSEK) if you want to hold the keys yourself.
Operations - monitoring and logging
Google Cloud's operations suite (formerly Stackdriver) is the umbrella for observability.
- Cloud Monitoring - collects metrics, sets alerts, and builds dashboards.
- Cloud Logging - collects, stores, and analyses logs from all services.
- Cloud Trace - tracks latency across distributed services.
- Cloud Profiler - analyses CPU and memory usage of running code.
- Error Reporting - aggregates and surfaces application errors automatically.
Common mistakes
Don't confuse Security Command Center (a dashboard/detector) with IAM (the access control system) - they work together but do different jobs.
Don't assume basic roles are fine for production - predefined or custom roles are best practice.
Remember encryption at rest and in transit is automatic and does not need to be manually enabled.
What is the shared responsibility model in Google Cloud?
Google secures the underlying infrastructure (security of the cloud); the customer secures data, identity, and configuration (security in the cloud).
tap to reveal
What is the golden rule of IAM?
Least privilege - only grant the permissions a user or service actually needs.
tap to reveal
Name the three types of IAM roles.
Basic, predefined, and custom.
tap to reveal
Why should basic roles (Owner, Editor, Viewer) be avoided in production?
They are too broad and grant excessive access; predefined or custom roles are more secure.
tap to reveal
What is the order of the Resource Manager hierarchy?
Organisation > Folders > Projects > Resources, with policies inheriting downward.
tap to reveal
What does Security Command Center do?
Provides a centralised dashboard for detecting threats and vulnerabilities across Google Cloud assets.
tap to reveal
What is the purpose of VPC Service Controls?
To create a security perimeter around resources and prevent data exfiltration.
tap to reveal
What does Cloud KMS let you do?
Create, manage, and rotate your own encryption keys.
tap to reveal
Is data encrypted at rest and in transit by default on Google Cloud?
Yes - both are encrypted automatically with no manual setup needed.
tap to reveal
What does Cloud Monitoring do?
Collects metrics, sets alerts, and builds dashboards for your Google Cloud resources.
tap to reveal
What does Cloud Logging do?
Collects, stores, and analyses logs from services running on Google Cloud.
tap to reveal
What does Cloud Trace track?
Latency across distributed services.
tap to reveal
What does Cloud Profiler analyse?
CPU and memory usage of running code.
tap to reveal
What does Error Reporting do?
Automatically aggregates and surfaces application errors.
tap to reveal
What was Google Cloud's operations suite previously called?
Stackdriver.
tap to reveal