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 enterprise organization is designing an automated GitOps workflow across multi-tenant Google Kubernetes Engine (GKE) clusters to manage infrastructure configurations and Kubernetes policies.
The design must satisfy the following operational requirements:
kubectl interventions, and automatically remediate the drift back to the declared source state.How should you configure the GitOps synchronization architecture using Config Sync?
Config Sync is a continuous delivery and GitOps management tool for Kubernetes that automatically reconciles the state of a cluster with configurations stored in a source of truth such as a Git repository, OCI registry, or Helm repository. Its multi-instancing architecture utilizes RootSync and RepoSync Custom Resources to manage cluster-level and namespace-level resources independently.
RootSync object manages cluster-scoped configurations and platform foundations, while RepoSync objects restrict individual tenant teams to their specific Kubernetes namespaces.RootSync and RepoSync custom resource spawns its own dedicated reconciler deployment and Pod. The reconciler includes a dedicated git-sync sidecar container that polls the assigned repository branch and directory path. If a tenant's repository fails to parse or loses authentication, other tenant reconcilers continue running unaffected.kubectl, Config Sync detects the discrepancy and immediately applies the version-controlled configuration, remediating the configuration drift.git revert.Using native RootSync and RepoSync objects provides declarative, in-cluster reconciliation that runs continuously without external CI/CD push triggers, enforcing continuous compliance and automatic drift self-healing across isolated tenant boundaries.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.