Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your DevOps engineering team is designing a continuous delivery pipeline using Google Cloud Deploy and Skaffold to deploy microservices onto Google Kubernetes Engine (GKE) clusters across development, staging, and production environments.
You need to implement declarative configuration management using Kustomize that satisfies the following technical requirements:
How should you structure and configure the Kustomize manifests?
In Kustomize, the base and overlay pattern is the standard declarative configuration pattern for managing Kubernetes manifests across multiple targets. The base/ directory contains standard, environment-agnostic Kubernetes manifests (such as Deployments, Services, and ServiceAccounts) declared inside a kustomization.yaml file. The overlays/ directory contains subdirectories for each deployment target (e.g., dev, staging, prod), each containing its own kustomization.yaml referencing the base.
base/ directory. Updates to shared architecture (such as adding a container port or updating a health check) occur in one place without duplication.namespace, namePrefix, commonLabels, replicas, and resources).{{ .Values }}).kustomize build.This directory structure represents the core architectural design pattern of Kustomize. It cleanly isolates shared application architecture from environment-specific configuration drift while providing continuous delivery engines like Cloud Deploy with deterministic, reviewable rendering boundaries.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.