KCNA - Cloud Native Architecture - Section 4.4

Explain what a service mesh provides and when it is warranted.

The sidecar and ambient data-plane models, mutual TLS between services, traffic splitting and retries, and the operational cost a mesh adds relative to the problems it solves.

service meshIstioLinkerdsidecar proxymutual TLSEnvoy

Practice question for this objective

Free sampleCloud Native Architecturehard

A platform team adds a service mesh to a cluster and observes that a lightweight proxy container is now injected alongside every application container in each Pod, intercepting all inbound and outbound traffic for that Pod. What is this per-Pod proxy pattern called, and what does it fundamentally allow the mesh to do?

  • AIt is the DaemonSet pattern, which runs one shared proxy per node so that all Pods on that node route through a single node-level agent.
  • BIt is the sidecar proxy pattern, which lets the mesh handle traffic concerns such as encryption, retries and telemetry without changing application code. Correct
  • CIt is the init-container pattern, which runs once before the application starts to configure networking and then exits before traffic flows.
  • DIt is the ambassador pattern, which exposes the application to external clients by proxying only inbound requests from outside the cluster.
Recognise that a service mesh works by injecting a sidecar proxy into each Pod to handle traffic concerns transparently to the application. A service mesh places a data-plane proxy as a sidecar container in every Pod. Because the proxy intercepts all of the Pod's traffic, the mesh can enforce encryption, retries, timeouts and telemetry uniformly without any change to application code.

Why A is wrong: Tempting because a node-level proxy does exist in some designs and DaemonSets run one Pod per node, but the described per-Pod injected proxy is a sidecar, not a single shared node agent.

Why B is correct: Correct: a service mesh injects a sidecar proxy into each Pod so the proxy transparently intercepts traffic and applies policy, meaning features like mTLS, retries and metrics are added without modifying the app.

Why C is wrong: Tempting because meshes do use an init container to set up iptables rules, but that container exits at startup and cannot intercept live traffic, so it is not the proxy that carries ongoing requests.

Why D is wrong: Tempting because an ambassador proxy is a real sidecar variant, but it handles a narrow outbound-representation or edge role and does not describe the mesh proxy intercepting all inbound and outbound Pod traffic.

See more KCNA practice questions, answers explained.

More in this domain

Back to all Cloud Native Architecture objectives, or the KCNA cert hub.

Examworthy is not affiliated with or endorsed by Cloud Native Computing Foundation. Original, blueprint-aligned practice material only.