Let’s Get Certified
Module 04 / 13 · Planning and implementing a cloud solution

Select compute and failure boundaries

An application needs an attached block device and must recover in a second zone after loss of the first. What must the design include beyond a second VM?

Select compute and failure boundaries

Choose regional Hyperdisk Balanced High Availability to survive a zone failure, then attach the disk to a standby VM.

Work through the decision

An application needs an attached block device and must recover in a second zone after loss of the first. What must the design include beyond a second VM?

Check your reasoning

Choose a disk type and region supporting synchronous two-zone replication, such as Hyperdisk Balanced High Availability. Plan and test failover attachment to the standby and application recovery separately.

Part 5 · 7:06

Interpret the evidence

Regional replicated disk
A supported regional disk keeps copies in two zones. Recovery still needs compute capacity and an application failover procedure.
Managed instance group
A template defines replaceable VMs. Health checks, an autoscaler and a regional placement policy can support a stateless tier.
GKE Autopilot
Kubernetes manifests control workloads while Google handles node provisioning. Set realistic Pod requests.
Cloud Run service
Deploy a request-driven container as revisions and let the platform scale it within configured limits.
Spot VM
Interruptible capacity suits restartable work with durable checkpoints.

Practice the guide skills

  1. Compare VM, GKE, Cloud Run service, event-driven function and Agent Runtime for a kernel-dependent workload, a Kubernetes controller, a web API, a storage event and a managed agent.
  2. Choose zone and availability settings, machine type, attached disk and recovery procedure. Explain when a Spot worker can resume and what must survive its termination.
  3. Plan a regional managed instance group from a versioned template. Separate its health checks, scaling signals and rollout policy.
  4. Decide who can log into a VM through OS Login, where IAM governs SSH access, and how VM Manager reports inventory and patch state.
  5. Get cluster credentials for kubectl, inspect the current context, and identify the deployment and Service needed for a container. Compare private networking, Autopilot and regional availability.
  6. Design an Eventarc trigger for an object-finalized event and select its invoking identity. Compare a GPU workload with a supported tensor workload before requesting TPU capacity.

Official objectives for this lesson

Check the current Kubernetes context

A rollout ticket names the staging cluster and the namespace checkout. Compare your current context and the workload inventory before selecting any target.

kubectl config current-context
kubectl get deployments,services --namespace=checkout

A context selects cluster and credentials. A Deployment controls the desired replicas, while a Service gives clients a stable endpoint for matching Pods. Check that the selected namespace matches the release.

Related lesson · Pay for compute when the workload uses it

Knowledge check

Select compute and failure boundaries quiz

Answer 3 questions. Check each answer for an explanation.