Skip to content

Cloud Native Architecture: KCNA practice questions

Cloud native architecture starts from a definition the Cloud Native Computing Foundation maintains in its Technical Oversight Committee repository. Version 1.1 says cloud native practices let organizations develop, build and deploy workloads in public, private and hybrid clouds, and that the architectures typically combine some of these technologies: containers, service meshes, multi-tenancy, microservices, immutable infrastructure, serverless and declarative APIs.

By Ibrahim Yesilay · Published · Updated

Independent community practice, not affiliated with or endorsed by CNCF or The Linux Foundation.

What Cloud Native Architecture covers in KCNA

Cloud native architecture starts from a definition the Cloud Native Computing Foundation maintains in its Technical Oversight Committee repository. Version 1.1 says cloud native practices let organizations develop, build and deploy workloads in public, private and hybrid clouds, and that the architectures typically combine some of these technologies: containers, service meshes, multi-tenancy, microservices, immutable infrastructure, serverless and declarative APIs. The resulting systems are loosely coupled and interoperate in a way that is secure, resilient, manageable, sustainable and observable. Combined with robust automation, the definition says, these practices let engineers make high-impact changes frequently and predictably with minimal toil.

The CNCF itself is part of the nonprofit Linux Foundation, states its mission as making cloud native computing ubiquitous, and hosts open-source projects that implement this architecture, Kubernetes and Prometheus among them. Its projects move through maturity levels. Sandbox projects are experimental and not yet widely tested in production. Incubating projects are used successfully in production by a small number of users and have a healthy pool of contributors. Graduated projects are considered stable, widely adopted and production ready. Projects that have reached the end of their lifecycle are archived.

Kubernetes supports loosely coupled services with declarative objects and with workload types that match different needs. Stateless services usually run as Deployments. An application that needs a stable, unique network identity, stable persistent storage, or ordered deployment and scaling, such as a database or a clustered message broker, runs as a StatefulSet. Its Pods are named after the set with an ordinal, web-0, web-1 and so on; they are created in order from 0 and removed in reverse order, they rely on a headless Service for their network identity, and volumeClaimTemplates give each Pod its own PersistentVolume, which is not deleted when the set is scaled down.

Image handling is a small but concrete part of this topic. The imagePullPolicy field takes three values. Always makes the kubelet ask the container runtime to resolve the tag to a digest on every container start, downloading only layers it does not have. IfNotPresent pulls only when the image is not already on the node, and Never never pulls. If you leave the field out, the cluster fills it in when the Pod is created: Always for an image tagged :latest or with no tag at all, IfNotPresent for any other tag or a digest.

Observable is one of the qualities the definition names, and it is the reason metrics, logs and traces are designed in from the start rather than added after an incident; Prometheus, the CNCF-hosted monitoring system, is the usual answer for the metrics part.

Key points

  • The CNCF definition lists containers, service meshes, multi-tenancy, microservices, immutable infrastructure, serverless and declarative APIs.
  • CNCF maturity levels: sandbox, incubating, graduated (and archived at end of life).
  • StatefulSet Pods get ordinal names, are created from 0 upward and terminated in reverse order.
  • Omitting imagePullPolicy yields Always for :latest or untagged images and IfNotPresent otherwise.
  • A trace follows one request across services and is made of spans, one per unit of work.

Three sample questions

33 KCNA questions on Cloud Native Architecture, 33 with explanations. How practice works

Question 1

Which CNCF project is used for collecting metrics and monitoring Kubernetes clusters?
  1. A.Fluentd
  2. B.Prometheus
  3. C.Envoy
  4. D.CoreDNS

Correct answer: B

Prometheus is the CNCF standard for metrics collection and monitoring. It collects time-series data, provides a powerful query language (PromQL), and integrates with Grafana for visualization.

Question 2

What is the purpose of distributed tracing?
  1. A.To track requests as they flow through microservices
  2. B.To monitor disk usage
  3. C.To manage network routing
  4. D.To schedule container workloads

Correct answer: A

Distributed tracing tracks requests across multiple services, showing: - Request path through services - Latency at each hop - Errors and bottlenecks - Service dependencies Tools: Jaeger, Zipkin

Question 3

What are "spans" in the context of distributed tracing?
  1. A.Network segments
  2. B.Individual units of work in a distributed system
  3. C.Storage volumes
  4. D.Pod replicas

Correct answer: B

In distributed tracing: - **Trace**: Complete journey of a request - **Span**: Individual operation within a trace (e.g., database query, HTTP call) Spans have start time, duration, and metadata.

Practice this topic

Focus mode keeps every question on Cloud Native Architecture until you leave it. 10 free guest answers, then a free account; no credit card.

Or open KCNA practice across all topics.

Sources

The explanation above was checked against these official documents.