All exams← All Google Cloud Digital Leader notes

Security & operations: Google Cloud Digital Leader revision notes

Revision notes

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.

Key facts

Flashcards

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
Practice questions

Security & operations: 5 practice questions

Q1. Under the Google Cloud shared responsibility model, who is responsible for configuring IAM permissions correctly on a customer's Compute Engine virtual machines?
  • A.  The customer, because they control access configuration for their resources
  • B.  Google Cloud, because it manages all infrastructure
  • C.  Neither party, because IAM is fully automated
  • D.  The customer's internet service provider
Show answer & explanation
✓ Answer: A. The customer, because they control access configuration for their resources
Google secures the underlying infrastructure (physical security, hypervisor, network), but the customer is always responsible for configuring identity and access management correctly on their own resources. This division is the core of the shared responsibility model. Assuming Google handles access configuration is a common and dangerous misconception.
Q2. A company wants to grant a contractor temporary access to view (but not modify) objects in a single Cloud Storage bucket. Which approach best follows the principle of least privilege?
  • A.  Share the project owner's login credentials temporarily
  • B.  Grant the contractor the Editor role at the organization level
  • C.  Grant the contractor the Owner role at the project level
  • D.  Grant the contractor the Storage Object Viewer role scoped to that bucket
Show answer & explanation
✓ Answer: D. Grant the contractor the Storage Object Viewer role scoped to that bucket
Least privilege means granting only the minimum access needed for the task, at the narrowest scope possible. Storage Object Viewer scoped to a single bucket allows read-only access without exposing other resources. Broader roles like Owner or Editor grant far more permission than the task requires.
Q3. What is the primary purpose of Cloud Identity in a Google Cloud deployment?
  • A.  It scans container images for known vulnerabilities
  • B.  It provides identity management for users and groups independent of Google Workspace
  • C.  It encrypts data stored in Cloud Storage buckets
  • D.  It monitors network traffic for DDoS attacks
Show answer & explanation
✓ Answer: B. It provides identity management for users and groups independent of Google Workspace
Cloud Identity is Google's identity-as-a-service offering, letting organizations manage users, groups, and devices for Google Cloud without necessarily purchasing Google Workspace. It is not an encryption, vulnerability scanning, or DDoS protection tool, though it underpins secure access to those other services.
Q4. In Google Cloud's resource hierarchy, what is the correct order from broadest to narrowest scope?
  • A.  Project > Folder > Organization > Resource
  • B.  Organization > Folder > Project > Resource
  • C.  Folder > Organization > Project > Resource
  • D.  Resource > Project > Folder > Organization
Show answer & explanation
✓ Answer: B. Organization > Folder > Project > Resource
The resource hierarchy flows Organization at the top, then Folders (optional grouping), then Projects, then individual resources such as VMs or buckets. Policies set higher in the hierarchy are inherited downward, which is why understanding this order matters for applying IAM and organization policies consistently.
Q5. A finance team wants a single dashboard that surfaces misconfigurations, vulnerabilities, and active threats across their Google Cloud organization. Which service should they use?
  • A.  Cloud Monitoring
  • B.  Cloud Trace
  • C.  Artifact Registry
  • D.  Security Command Center
Show answer & explanation
✓ Answer: D. Security Command Center
Security Command Center is Google Cloud's centralized security and risk management platform, providing asset discovery, vulnerability findings, and threat detection across an organization. Cloud Monitoring focuses on performance metrics, and Cloud Trace analyzes latency, neither of which surfaces security misconfigurations.
Test yourself
See the Google Cloud Digital Leader page

More Google Cloud Digital Leader topics