Compute Engine, GKE, Cloud Run, Cloud Storage, IAM, VPC, gcloud commands and monitoring.
39 cards · basic cards · AI-written, checked twice. Edit anything.
- What is the primary use case for Google Compute Engine?
Show answer
Running virtual machines (VMs) with flexible control over compute resources in Google Cloud.
- What does the metadata server in Compute Engine provide?
Show answer
Instance metadata and project metadata that VMs can query without authentication, accessible at 169.254.169.254.
- Name three ways to manage startup and shutdown scripts in Compute Engine.
Show answer
Metadata fields (startup-script, shutdown-script), cloud-init, or gcloud commands.
- What is a sole-tenant node in Compute Engine?
Show answer
A physical server dedicated to a single customer for workloads requiring strong isolation or bringing your own licenses.
- How do you attach a GPU to a Compute Engine instance?
Show answer
Select a machine type that supports GPUs and add GPU resources during VM creation; the instance must be on N1 or newer machine families.
- What is the purpose of Cloud Filestore?
Show answer
Managed NFS file storage for Compute Engine instances and GKE clusters requiring shared filesystem access.
- What is a preemptible VM and when is it useful?
Show answer
A low-cost VM that can be shut down by Google at any time; useful for fault-tolerant, non-critical workloads.
- How do you resize a Compute Engine disk without stopping the instance?
Show answer
Use gcloud compute disks resize or the Cloud Console; then resize the partition and filesystem inside the OS.
- What is Google Kubernetes Engine (GKE) and what does it manage?
Show answer
A managed Kubernetes service that handles master node operations, scaling, patching, and upgrades automatically.
- What are GKE node pools?
Show answer
Groups of nodes within a cluster with the same machine type, disk size, and preemptibility settings.
- How does GKE handle cluster upgrades?
Show answer
The control plane is upgraded first, then node pools can be upgraded with automatic or manual configuration.
- What is GKE Autopilot?
Show answer
A fully managed GKE mode where Google manages machine configuration, node provisioning, security, and scaling.
- How does binary authorization work in GKE?
Show answer
It enforces that only container images signed with a valid key can be deployed to your GKE cluster.
- What is a workload identity in GKE?
Show answer
A mechanism that allows Kubernetes service accounts to impersonate Google Cloud service accounts for accessing GCP resources.
- How do you enable network policies in GKE?
Show answer
Create a GKE cluster with network policy enabled and define NetworkPolicy objects to control traffic between pods.