Bitzu

KCNA ยท Cloud native principles and patterns

Cloud native: what is the core idea?

CNCF definition, containers, microservices, immutable infrastructure, declarative APIs, twelve-factor ideas.

Key points

  • Building apps that run in dynamic environments (public, private, hybrid clouds) using building blocks such as containers, microservices, service meshes, immutable infrastructure and declarative APIs.
  • The goal is loosely coupled systems that are resilient, manageable and observable, so teams can change them often with little toil.

Source: https://github.com/cncf/toc/blob/main/DEFINITION.md

Practice questions

Single choice

Which practice best describes immutable infrastructure?

  1. Replace running instances with freshly built ones for every change
  2. SSH into servers and patch them in place
  3. Keep servers unchanged for years without updates
  4. Store all configuration only in the OS of each server
Show answer

Answer: A. Replace running instances with freshly built ones for every change

Immutable means you replace instances with new versions instead of editing running ones; patching in place is the mutable approach.

Select all that apply

Which are typical cloud native building blocks?

  1. Containers
  2. Hand-tuned long-lived pet servers
  3. Declarative APIs
  4. Immutable infrastructure
  5. One shared mutable host for all services
Show answer

Answer: A. Containers, C. Declarative APIs, D. Immutable infrastructure

Containers, declarative APIs and immutable infrastructure are named building blocks. Hand-configured pet servers and a single shared mutable database host are the opposite of the approach.

True or false

True or false: running an old monolith inside a single container makes it cloud native.

Show answer

Answer: False

False. Containerizing alone does not give loose coupling, resilience or independent deployability; the architecture and practices matter too.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More KCNA topics in this module