Google Cloud Basics Interview Questions
261 multiple-choice tech interview questions on Google Cloud Basics: projects and folders, Compute Engine, Cloud Run, GKE, Cloud Storage, BigQuery, Spanner, VPC and IAM. Written for technical phone screens and interview prep, organized by subtopic, with a short explanation for every answer. Learn the 239 key terms with the flashcards first, then test yourself.
Take the practice test · Flashcards · All study tools
What it covers
- 4.1 Resource hierarchy, projects and billing
- 4.2 Compute Engine and VM operations
- 4.3 Serverless and containers: Cloud Run, GKE and App Engine
- 4.4 Storage: Cloud Storage, disks and file services
- 4.5 Databases: Cloud SQL, AlloyDB, Spanner and NoSQL
- 4.6 Networking: VPC, load balancing, DNS and hybrid links
- 4.7 IAM and security
- 4.8 Data analytics and AI
- 4.9 Operations, DevOps and cost management
Key terms
4.1 Resource hierarchy, projects and billing
- Project
- The basic Google Cloud container for resources, APIs and billing
- Folder
- A grouping of projects under an organization for shared policy
- Project deletion
- A 30-day shutdown period before a project is permanently removed
- Enabling APIs
- Each Google Cloud API must be enabled per project before use
- Billing account
- The payment entity that projects link to for charges
- Billing export
- Sending detailed billing data to BigQuery
- Budget alerts
- Notifications at spend thresholds, not hard caps
- Labels vs tags
- Key-value metadata for costs versus policy-bound tags
- gcloud configuration
- A named set of gcloud properties like account and project
- Application Default Credentials
- How Google client libraries find credentials automatically
- Quotas
- Limits on resource use per project and region
- Zone naming
- Google Cloud zones are a region name plus a letter
- Resource scope
- Whether a resource is zonal, regional or global
- Organization node
- The top of the hierarchy, tied to a Workspace or Cloud Identity domain
- Resource locations constraint
- An organization policy limiting where resources can be created
- Policy inheritance
- Organization policies flow down but can be customized lower down
- Free Tier
- Monthly free usage of some services, plus a trial credit for new accounts
- Cloud Asset Inventory
- Inventory and history of resources and policies
- Assured Workloads
- Google Cloud controls for regulated and sovereign workloads
- Essential Contacts
- Designating who receives important Google Cloud notifications
- Project lien
- A guard that prevents a project from being deleted
- Billing Account User
- A role allowing projects to be linked to a billing account
- Recommender
- Google Cloud's automated recommendations for resources and IAM
4.2 Compute Engine and VM operations
- Machine families
- Compute Engine groups like E2, N4, C4, M and A for different needs
- Custom machine type
- A VM shape with chosen vCPUs and memory
- Spot VM (Google Cloud)
- Discounted, reclaimable Compute Engine capacity with no maximum runtime
- Compute Engine free tier
- A monthly allowance including one e2-micro VM in select US regions
- Instance template
- An immutable definition of VM properties used by instance groups
- Managed instance group
- Identical VMs managed as one from an instance template
- Autohealing
- Recreating VMs in a MIG that fail an application health check
- Regional MIG
- A managed instance group spread across zones in a region
- MIG canary
- Running two instance templates in one group to test a release
- Stateful MIG
- A MIG that keeps per-VM disks, names and metadata when recreating
- Unmanaged instance group
- A collection of separately managed VMs used as a backend
- Startup script
- A script stored in VM metadata that runs at each boot
- Metadata server
- A local endpoint giving VM info and service account tokens
- OS Login
- IAM-based SSH access to Linux VMs
- IAP TCP forwarding
- Tunneling SSH or RDP through Identity-Aware Proxy
- Integrity monitoring
- Shielded VM checks of boot measurements against a baseline
- Image family
- A group of related images that resolves to the latest one
- Machine image
- A resource holding a VM's configuration, metadata and all disks
- VM Manager
- Tools for patching and managing OS configuration on VMs
- Internal DNS
- Automatic DNS names for VMs inside a VPC
- Static external IP
- A reserved public IP that stays with you
- GPU maintenance
- Many GPU VMs stop for host maintenance instead of live migrating
- Migrate to Virtual Machines
- A service for moving VMs into Compute Engine
- Zone resource exhaustion
- A zone temporarily lacks the requested VM capacity
- Access scopes
- Old per-VM API limits layered on the service account
- No external IP
- Creating VMs with only internal addresses
- MIG autoscaler
- Scaling a managed instance group by CPU, serving capacity, metrics or schedules
4.3 Serverless and containers: Cloud Run, GKE and App Engine
- Compute Engine
- Google Cloud virtual machines
- Cloud Run
- Serverless platform for running containers that scale to zero
- GKE
- Google Kubernetes Engine, with Standard and Autopilot modes
- Cloud Run concurrency
- Max simultaneous requests sent to one container instance
- Cloud Run min instances
- Instances kept warm even with no traffic
- Cloud Run billing modes
- Request-based billing versus instance-based, with CPU always allocated
- Cloud Run job
- A container that runs tasks to completion, on demand or on schedule
- Cloud Run revision
- An immutable snapshot of a service's code and settings
- Cloud Run ingress
- A setting that limits where requests may come from
- Direct VPC egress
- Sending Cloud Run traffic straight into a VPC subnet
- Cloud Run timeout
- How long a request may run before Cloud Run ends it
- PORT variable
- The port Cloud Run tells a container to listen on
- Source deploy
- Deploying to Cloud Run from code that Cloud Build turns into an image
- Cloud Run Invoker
- The IAM role that allows calling a Cloud Run service
- Cloud Run GPUs
- Attaching NVIDIA GPUs to Cloud Run for inference
- Cloud Run sidecar
- An extra container running with the main one in an instance
- Eventarc
- A service that routes events from sources to targets like Cloud Run
- Cloud Scheduler
- A managed cron service for Google Cloud
- Cloud Tasks
- A queue that sends work to a handler with rate and retry control
- Workflows
- A serverless service that chains API and service calls
- GKE Standard
- A GKE mode where you configure and pay for nodes
- GKE release channel
- A track that sets how fast clusters get new versions
- Regional GKE cluster
- A cluster with control plane replicas across zones
- Private nodes
- GKE nodes without external IPs
- App Engine environments
- Standard, sandboxed and quick to scale, versus flexible, on VMs
- Artifact Registry
- A managed registry for container images and language packages
- Binary Authorization
- A deploy-time check that images meet signing or attestation policy
4.4 Storage: Cloud Storage, disks and file services
- Persistent Disk types
- Standard, balanced, SSD and extreme block storage options
- Hyperdisk
- Google Cloud block storage with separately provisioned performance
- Hyperdisk ML
- A read-only, high-throughput disk shared by many VMs
- Hyperdisk Storage Pool
- Pre-bought capacity and performance shared across Hyperdisks
- Regional persistent disk
- A disk synchronously replicated across two zones
- Local SSD
- Very fast disks physically attached to the host
- Incremental snapshot
- A snapshot that saves only blocks changed since the last one
- Snapshot schedule
- A resource policy that takes and deletes disk snapshots
- Disk resizing
- Persistent disks can be enlarged online but not reduced
- Filestore
- Managed NFS file storage on Google Cloud
- NetApp Volumes
- A Google Cloud file service built on NetApp technology
- Cloud Storage FUSE
- A tool to mount buckets as a file system
- Filestore regional
- A Filestore tier replicated across zones in a region
- Storage Transfer Service
- Managed, scheduled transfers into or between storage
- Size-based performance
- Persistent Disk limits that rise with disk size
- Parallel composite upload
- Uploading chunks at once and composing them into one object
- Resumable upload
- An upload session that can continue after an interruption
- Bucket notifications
- Events sent when objects change in a bucket
- Managed folders
- Folder-level IAM within a Cloud Storage bucket
- Hierarchical namespace
- A bucket option with true folders and atomic folder renames
- Anywhere Cache
- A zonal SSD cache for Cloud Storage buckets
- Public access prevention
- A setting that stops buckets from being shared publicly
- Storage Insights
- Reports and datasets on buckets and objects at scale
- Async disk replication
- Replicating disks to a second region for DR
- Disk clone
- A new disk created directly from an existing one
- Instant snapshot
- A fast, in-place snapshot stored with the disk
- Read-only disk sharing
- Attaching one disk read-only to several VMs
- Transfer agents
- Software run near the source that Storage Transfer Service uses
4.5 Databases: Cloud SQL, AlloyDB, Spanner and NoSQL
- BigQuery
- Serverless columnar data warehouse queried with SQL
- Cloud Spanner
- Globally distributed, strongly consistent relational database
- Pub/Sub
- Google Cloud's global messaging service
- Cloud SQL Auth Proxy
- A client that opens IAM-authorized, encrypted connections to Cloud SQL
- Private services access
- A peering that gives Google-managed services private IPs in your VPC
- Spanner change streams
- A record of data changes in Spanner for downstream use
- Cloud SQL editions
- Enterprise and Enterprise Plus tiers of Cloud SQL
- IAM database authentication
- Logging in to Cloud SQL or AlloyDB with IAM principals
- Maintenance window
- A chosen time for Cloud SQL updates
- Cloud SQL PITR
- Restoring to an exact moment using backups and logs
- Processing units
- Spanner's compute measure; 1,000 equal one node
- Interleaved table
- A Spanner child table stored with its parent's rows
- Spanner hotspot
- Too much load on one key range from sequential keys
- Spanner multi-region
- Spanner replicas across regions for the highest availability
- Spanner PostgreSQL interface
- A Spanner dialect that accepts PostgreSQL SQL and tools
- Spanner Graph
- Graph queries in Spanner using GQL
- App profile
- Bigtable settings for routing an app's traffic between clusters
- Bigtable garbage collection
- Rules that drop old cell versions by count or age
- HBase API
- Bigtable's compatibility with the Apache HBase client
- Firestore modes
- Native mode for mobile and web, Datastore mode for server apps
- Composite index
- A Firestore index across several fields
- MongoDB compatibility
- A Firestore edition that speaks the MongoDB API
- Memorystore
- Managed in-memory data stores on Google Cloud
- Database Migration Service
- Managed migrations into Cloud SQL and AlloyDB
- Datastream
- Serverless change data capture into BigQuery and Cloud Storage
- Query Insights
- Cloud SQL and AlloyDB query performance dashboards
- Oracle Database@Google Cloud
- Oracle-run database services in Google Cloud regions
- Data Boost
- Serverless compute for analytics reads on Bigtable or Spanner
4.6 Networking: VPC, load balancing, DNS and hybrid links
- Custom-mode VPC
- A VPC where you create subnets and ranges yourself
- Alias IP ranges
- Secondary subnet ranges assigned to pods or containers
- Implied firewall rules
- Allow-all egress and deny-all ingress by default
- Firewall targets
- Applying rules to VMs by tag or service account
- Hierarchical firewall policy
- Firewall rules attached to an organization or folder
- Cloud NAT
- Managed outbound NAT for resources without external IPs
- Private Google Access
- Letting internal-only VMs call Google APIs
- Shared VPC
- A host project's network used by attached service projects
- Network Connectivity Center
- A hub-and-spoke model for VPC and hybrid connectivity
- HA VPN
- Highly available IPsec VPN with two interfaces
- Partner Interconnect
- Private connectivity to Google through a service provider
- Cloud Router
- A managed BGP speaker for VPN and Interconnect
- Network service tiers
- Premium uses Google's network; Standard uses ISPs
- Passthrough Network LB
- A layer 4 load balancer that doesn't proxy connections
- Internal Application LB
- A private layer 7 load balancer in a VPC
- Serverless NEG
- A backend that points a load balancer at Cloud Run or functions
- Cloud CDN
- Edge caching for content behind Google load balancers
- Certificate Manager
- A service to issue, store and deploy TLS certificates
- DNS response policy
- Cloud DNS rules that change or block answers for VPC clients
- Private Service Connect
- Private endpoints for services across VPCs and orgs
- VPC Flow Logs
- Sampled records of network traffic in a VPC
- Packet Mirroring
- Cloning VM traffic to a collector for inspection
- Connectivity Tests
- Analysis of whether two endpoints can reach each other
- Cloud NGFW
- Google Cloud's next-gen firewall with optional threat prevention
- Cross-Cloud Interconnect
- Dedicated links between Google Cloud and other clouds
- VPC MTU
- Maximum packet size in a VPC, 1,460 by default
4.7 IAM and security
- Service account
- An identity for workloads calling Google Cloud APIs
- Workload Identity Federation
- Access to Google Cloud using external identity tokens instead of keys
- Basic roles
- Owner, Editor and Viewer, which span almost all services
- Custom role
- A role you define from chosen permissions
- IAM Conditions
- Attribute-based rules that limit when a role binding applies
- Deny policy
- Rules that stop principals from using permissions despite their roles
- Principal access boundary
- A policy that limits resources a principal is eligible to access
- Disable SA key creation
- An org policy that blocks downloadable service account keys
- Impersonation
- Acting as a service account with short-lived credentials
- Default service account
- An auto-created VM identity that may hold broad roles
- Service Account User
- A role allowing resources to be attached to and run as an account
- Group-based access
- Granting roles to groups rather than people
- Workforce Identity Federation
- Letting an external IdP's users access Google Cloud
- Policy Troubleshooter
- A tool that explains an access decision for a principal
- VPC Service Controls
- Perimeters around Google APIs that stop data exfiltration
- Access Context Manager
- Rules based on device, IP and identity attributes
- Identity-Aware Proxy
- A proxy that checks user identity and context before apps
- Security Command Center
- Google Cloud's security posture and threat platform
- Key version
- One instance of a Cloud KMS key's material
- Cloud Audit Logs
- Logs of admin actions, data access and system events
- Access Approval
- Requiring customer approval before Google personnel access content
- Sensitive Data Protection
- Discovering, classifying and de-identifying sensitive data
- Domain restricted sharing
- An org policy that limits IAM members to allowed domains
- Google Security Operations
- Google's SIEM and SOAR, formerly Chronicle
- Service agent
- A Google-managed service account used by a service
- Privileged Access Manager
- Just-in-time, temporary elevation of IAM roles
- Web Security Scanner
- An automated scanner for common web app flaws
4.8 Data analytics and AI
- Dataflow
- Google's managed runner for Apache Beam pipelines
- Flex Template
- A packaged, parameterized Dataflow pipeline
- BigQuery subscription
- A Pub/Sub subscription that writes straight to BigQuery
- Pub/Sub Lite retirement
- The end of the zonal, low-cost Pub/Sub Lite service
- Authorized view
- A view allowed to read a source dataset on users' behalf
- Policy tags
- Data Catalog tags that restrict access to columns
- BigQuery Omni
- Running BigQuery analytics on data in AWS or Azure
- BigQuery Data Transfer Service
- Managed, scheduled imports into BigQuery
- BigQuery sharing
- Exchanges and listings for sharing BigQuery data
- Dataplex
- Google Cloud's data governance and catalog service
- Looker
- A BI platform with a semantic model in LookML
- Dataform
- SQL workflow tooling for BigQuery transformations
- Cloud Data Fusion
- A visual, managed data integration service
- Model Garden
- Vertex AI's catalog of first-party, partner and open models
- Grounding
- Tying model answers to search results or your data
- Agent Engine
- A managed runtime for deploying AI agents on Vertex AI
- Vertex AI Pipelines
- Serverless orchestration of ML workflows
- Feature store
- A shared source of ML features for training and serving
- Vector Search
- Vertex AI's managed approximate nearest neighbor search
- Gemini Enterprise
- Google's workplace agent and enterprise search platform
- Pretrained APIs
- Ready-made ML APIs for vision, speech and language
- Batch prediction
- Scoring large datasets offline without an endpoint
- Context caching
- Reusing processed prompt prefixes across requests
- Managed Kafka
- Google Cloud's managed Apache Kafka clusters
- Materialized view
- A stored, auto-refreshed query result
4.9 Operations, DevOps and cost management
- Uptime check
- A probe that tests a URL or port from several regions
- Managed Prometheus
- Google-hosted, Prometheus-compatible metric collection and storage
- Ops Agent
- Google's unified logging and metrics agent for VMs
- Log buckets
- Cloud Logging storage with set retention; _Required 400 days, _Default 30
- Aggregated sink
- A log router sink that collects logs from child projects
- Exclusion filter
- A log router rule that drops matching entries
- Log Analytics
- SQL querying over Cloud Logging buckets
- Log-based metric
- A metric built from matching log entries
- Cloud Trace
- Google's distributed tracing service
- Cloud Profiler
- Continuous, low-overhead profiling of production code
- Error Reporting
- Aggregation and alerting for app errors
- Service monitoring
- SLO definitions and tracking in Cloud Monitoring
- Personalized Service Health
- Project-specific notices of Google Cloud incidents
- cloudbuild.yaml
- Cloud Build's config of steps run in containers
- Cloud Deploy
- Managed continuous delivery to GKE, Cloud Run and more
- Infrastructure Manager
- Managed Terraform deployments on Google Cloud
- Config Connector
- A GKE add-on managing Google Cloud resources as Kubernetes objects
- Cloud Workstations
- Managed developer environments on Google Cloud
- Gemini Cloud Assist
- AI help for operating Google Cloud
- Committed use discount
- A discount for committing to usage for 1 or 3 years
- FinOps hub
- A Cloud Billing page for savings and commitment use
- Metrics scope
- The set of projects a Cloud Monitoring project can see
- Artifact Analysis
- Vulnerability scanning and metadata for artifacts
- Config Sync
- A GitOps tool that applies Git configs to GKE clusters
- GKE cost allocation
- Billing breakdown of GKE costs by namespace and label
- Private pool
- Dedicated Cloud Build workers in a private network
- Inter-zone traffic
- Network charges for data between zones in a region
- Gemini Code Assist
- Google's AI coding assistant for IDEs
Sample practice questions
What is the basic resource container in Google Cloud that holds resources, enables APIs and links to billing?
- A resource group
- A project
- A subscription
- A VPC
Answer: B. A project Every Google Cloud resource belongs to exactly one project.
Which Google Cloud service provides virtual machines?
- App Engine
- Cloud Functions
- Cloud Run
- Compute Engine
Answer: D. Compute Engine Managed instance groups add autoscaling and autohealing to Compute Engine VMs.
Which Google Cloud service runs stateless containers serverlessly, scaling to zero and billing per request time?
- Cloud Run
- Compute Engine
- Google Kubernetes Engine Standard
- Cloud Storage
Answer: A. Cloud Run Cloud Run accepts any container that listens for HTTP; Cloud Run functions are its function-style option.
Which Google Cloud service is object storage with Standard, Nearline, Coldline and Archive classes?
- Filestore
- Persistent Disk
- Cloud Storage
- Firestore
Answer: C. Cloud Storage Nearline, Coldline and Archive have 30, 90 and 365-day minimum storage durations.
Which Google Cloud database is globally distributed, relational and strongly consistent, with SQL support and horizontal scaling?
- Cloud SQL
- Firestore
- Cloud Spanner
- Memorystore
Answer: C. Cloud Spanner Spanner uses TrueTime (atomic clocks and GPS) to provide external consistency across regions.
How does a Google Cloud VPC network differ from an AWS VPC or Azure VNet?
- It can only exist inside a single zone of one region
- It doesn't support subnets at all, only flat networks
- It can't be connected to on-premises networks
- It's global, with regional subnets, spanning all regions
Answer: D. It's global, with regional subnets, spanning all regions AWS VPCs and Azure VNets are regional; Google VPCs are global resources.
What is a Google Cloud service account?
- An identity for applications, not people, to call Google APIs
- A billing account that pays for a project's service usage
- A paid support plan that covers a set of Google services
- An administrator user account for the Cloud console
Answer: A. An identity for applications, not people, to call Google APIs Prefer attached service accounts and Workload Identity Federation over downloadable service account keys.
Which Google Cloud service is a serverless, columnar data warehouse queried with SQL?
- Cloud SQL
- Bigtable
- Spanner
- BigQuery
Answer: D. BigQuery BigQuery separates storage and compute and bills on-demand by bytes scanned or by reserved slots.
Which Google Cloud service builds code and container images in CI pipelines?
- Cloud Deploy only
- Cloud Scheduler
- Cloud Build
- Cloud Composer
Answer: C. Cloud Build Images are typically stored in Artifact Registry, which replaced Container Registry.
What is the Google Cloud resource hierarchy?
- Tenant, subscription, resource group, resource
- Organization, folders, projects, resources
- Account, region, zone, instance
- Billing account, project, folder, organization
Answer: B. Organization, folders, projects, resources IAM policies set at the organization or folder level are inherited by the projects beneath them.
More Cloud and DevOps
- Cloud Fundamentals: IaaS, PaaS, SaaS and Shared Responsibility
- Azure Core Services
- AWS Core Services
- Serverless: Azure Functions and AWS Lambda
- Containers and Docker
- Kubernetes
- Infrastructure as Code: Terraform and Bicep
- CI/CD Pipelines: GitHub Actions and Azure DevOps
- Networking: DNS, TCP/IP, Load Balancers and VPNs
- Cloud Identity and Access: Entra ID, IAM and RBAC
- Secrets Management and Key Vault
- Monitoring and Alerting: Application Insights and CloudWatch
- Cloud Cost Management