Courseiva

CKAD Application Design and Build Practice Question

Which THREE are valid patterns for multi-container Pods?

⚠ Common exam trap

Test-takers frequently confuse Init containers (which run to completion) with multi-container patterns that run concurrently, or they may invent patterns like 'Replicator' that sound plausible but are not defined in Kubernetes documentation.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Ambassador

(Ambassador) is correct because the Ambassador pattern uses a proxy container that mediates network traffic between the main application container and external services, allowing the main container to connect to localhost while the ambassador handles protocol translation or service discovery. This is a valid multi-container Pod design pattern in Kubernetes, commonly implemented with tools like Envoy or a custom sidecar proxy.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Init

    Why it's wrong here

    Init containers are specialized containers that run sequentially to completion before the main application containers start. They are not a pattern for running alongside; they are a lifecycle construct used for setup tasks like waiting for dependencies, seeding data, or setting permissions. Thus they represent a different kind of multi-container arrangement, not a co-running pattern.

  • ✓

    Ambassador

    Why this is correct

    The Ambassador pattern deploys a sidecar container that proxies all inbound and outbound network traffic for the main application container, abstracting service discovery, load balancing, and circuit-breaking logic away from the application code. This satisfies the CKAD requirement for multi-container Pods that handle cross-cutting infrastructure concerns without modifying the primary process.

  • ✗

    Replicator

    Why it's wrong here

    Replicator is not a recognized multi-container Pod pattern in Kubernetes. The standard sidecar, adapter, and ambassador patterns are widely referenced in the Kubernetes documentation and CKAD curriculum, but "replicator" is a fabricated term with no defined semantics in the API or best practice literature. Therefore it cannot be a valid answer for patterns that govern multiple containers in a single Pod.

  • ✓

    Adapter

    Why this is correct

    The adapter pattern is a valid multi-container pattern where a sidecar container normalizes the output of the main application container so that it conforms to an external system's expected interface. For example, a logging agent might convert the application's raw logs into a structured format that a central log aggregator requires. This pattern enables heterogeneous applications to integrate with a common standard without modifying the primary application code.

  • ✓

    Sidecar

    Why this is correct

    The sidecar pattern is a fundamental multi-container pattern in which a helper container runs alongside the main application container, sharing the same Pod lifecycle and resources. The sidecar extends or enhances the functionality of the main container; typical use cases include log rotation, file or network proxy, configuration reload, and metrics collection. Because both containers share the same network namespace and volumes, they can collaborate efficiently without coupling to the application's internal code.

About these practice questions

This CKAD question is part of Courseiva's 826-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CKAD practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CKAD exam.