Kubernetes and Cloud Native Associate (KCNA)Cloud Native ArchitectureMedium

A development team is implementing a new cloud-native application that uses multiple microservices. They want to ensure that all changes to the application's infrastructure and configuration are version-controlled, auditable, and can be automatically applied to the production environment. Which cloud-native architectural pattern best supports these requirements?

  1. AServerless Computing
  2. BGitOps
  3. CService Mesh
  4. DAPI Gateway
Show answer & explanation

Correct answer: B. GitOps

GitOps uses Git repositories as the single source of truth for declarative infrastructure and applications. This approach ensures version control, auditability, and automated deployments, aligning perfectly with the team's requirements.

Why the other options are wrong

  • A. Serverless computing focuses on abstracting server management, not primarily on version-controlled infrastructure changes.
  • C. A service mesh manages inter-service communication, traffic, and security, not the versioning and deployment of infrastructure itself.
  • D. An API Gateway handles incoming API requests and routes them to services, not the underlying infrastructure change management.

GitOps

GitOps is an operational framework that uses Git as the single source of truth for defining the desired state of infrastructure and applications.

  • Infrastructure as Code (IaC) stored in Git.
  • Automatic synchronization between Git and deployment environment.
  • Provides version control, auditability, and rollbacks for changes.

Memory trick: Git Is The Source Of Truth, Always Syncing.

More Cloud Native Architecture questions