Free practice · No sign-up required

Certified Cloud Native Platform Engineer free practice test

15 questions with answer explanations. Choose an answer below to begin.

Question 1 of 15

Which concept describes running multiple isolated workloads on shared physical infrastructure to improve utilization?

Show hint

Understand compute consolidation fundamentals in cloud environments.

0/15 answered · Bookmark questions to review later. Focus the practice area to use keys 1–9 and Enter.

Learn by doing

Put your answers into practice

Use official documentation and hands-on labs to work through topics you missed.

Explore all study resources →
Kubernetes application examples

Application examples from the Kubernetes project for practicing manifests and application behavior in a cluster.

Try it: Use a disposable cluster. Read a simple application's manifests, predict which Pods its Service selects, then change a label and use kubectl to diagnose the resulting connectivity problem.

Source is free. A local cluster uses your computer; hosted clusters may incur charges.

Kubernetes official tutorials

Guided tutorials for learning Kubernetes behavior and building practical skills beyond multiple-choice recall.

Try it: Complete a basic application tutorial. Repeat the task without the walkthrough, then explain the difference between declared configuration and observed cluster state.

Documentation is free. Your chosen cluster environment may have costs.

All questions and explanations

Prefer to read at your own pace? Work through each question below, then open its answer to check your reasoning. You can link directly to a question or print this reference.

  1. Which concept describes running multiple isolated workloads on shared physical infrastructure to improve utilization?

    1. Virtualization

    2. Container orchestration

    3. Service mesh

    4. Immutable infrastructure

    Show answer and explanation

    Correct answer

    • Virtualization

    Virtualization enables multiple isolated workloads to share physical hardware, increasing efficiency and enabling better resource use.

  2. What is the primary purpose of a container runtime in a cloud native stack?

    1. To manage the lifecycle of containers

    2. To provide persistent storage

    3. To handle network routing

    4. To define cluster policies

    Show answer and explanation

    Correct answer

    • To manage the lifecycle of containers

    A container runtime is responsible for starting, stopping, and managing container execution on a node.

  3. Which practice helps ensure that application changes are safely integrated into the main codebase?

    1. Continuous Integration

    2. Manual code review

    3. Ad-hoc testing

    4. Version pinning

    Show answer and explanation

    Correct answer

    • Continuous Integration

    Continuous Integration automates building and testing code changes, catching issues early when they are integrated.

  4. What does a Kubernetes Service of type ClusterIP primarily enable?

    1. Internal cluster communication

    2. External internet access

    3. Load balancing across regions

    4. Node port exposure

    Show answer and explanation

    Correct answer

    • Internal cluster communication

    ClusterIP exposes a service on an internal cluster IP, making it reachable only within the cluster.

  5. Which resource definition allows you to enforce policies for resource requests and limits across a cluster?

    1. LimitRange

    2. ConfigMap

    3. Secret

    4. PodSecurityPolicy

    Show answer and explanation

    Correct answer

    • LimitRange

    LimitRange sets minimum and maximum resource requests and limits for containers in a namespace.

  6. What is a key benefit of using immutable infrastructure patterns?

    1. Simplifies updates and reduces configuration drift

    2. Reduces the need for monitoring

    3. Eliminates the need for backups

    4. Improves hardware performance

    Show answer and explanation

    Correct answer

    • Simplifies updates and reduces configuration drift

    Immutable infrastructure replaces components rather than modifying them, ensuring consistency and easier rollbacks.

  7. Which component in a cloud native platform typically handles service discovery and traffic routing?

    1. Service mesh

    2. Persistent volume

    3. Scheduler

    4. Ingress controller

    Show answer and explanation

    Correct answer

    • Service mesh

    A service mesh manages service-to-service communication, including discovery, routing, and resilience features.

  8. What is the main advantage of declarative configuration management?

    1. You describe the desired state and the system works to achieve it

    2. It guarantees zero downtime deployments

    3. It removes the need for version control

    4. It automatically scales resources

    Show answer and explanation

    Correct answer

    • It guarantees zero downtime deployments

    Declarative configuration lets you specify the desired state, and the control loop reconciles the current state toward that goal.

  9. Which practice helps maintain consistent environments across development, testing, and production?

    1. Infrastructure as Code

    2. Manual setup

    3. Ad-hoc scripting

    4. Local-only testing

    Show answer and explanation

    Correct answer

    • Infrastructure as Code

    Infrastructure as Code defines environments in version-controlled configurations, promoting consistency and repeatability.

  10. Question 10

    Link to question

    What does a readiness probe determine in a containerized application?

    1. Whether the container is healthy and ready to serve traffic

    2. Whether the container has sufficient resources

    3. Whether the image is up to date

    4. Whether the node is under maintenance

    Show answer and explanation

    Correct answer

    • Whether the container is healthy and ready to serve traffic

    Readiness probes signal whether a container is prepared to accept requests, influencing routing decisions.

  11. Question 11

    Link to question

    Which scheduling strategy helps spread workloads across failure domains for higher availability?

    1. Spread scheduling

    2. Bin packing

    3. First-fit scheduling

    4. Priority-based scheduling

    Show answer and explanation

    Correct answer

    • Spread scheduling

    Spread scheduling distributes pods across different zones or nodes to reduce impact of localized failures.

  12. Question 12

    Link to question

    What is a common use case for init containers in Kubernetes?

    1. To perform setup tasks before the main container starts

    2. To replace the main application container

    3. To store application logs

    4. To monitor cluster performance

    Show answer and explanation

    Correct answer

    • To perform setup tasks before the main container starts

    Init containers run to completion before the main container starts, often used for configuration or data preparation.

  13. Question 13

    Link to question

    Which mechanism allows pods to be exposed to external traffic in a controlled way?

    1. Ingress

    2. ConfigMap

    3. Secret

    4. DaemonSet

    Show answer and explanation

    Correct answer

    • ConfigMap

    Ingress manages external HTTP/HTTPS access to services, providing routing and often TLS termination.

  14. Question 14

    Link to question

    What is a key characteristic of a sidecar container pattern?

    1. It runs alongside a main container to extend its capabilities

    2. It replaces the main container during upgrades

    3. It stores all persistent data for the pod

    4. It schedules pods across the cluster

    Show answer and explanation

    Correct answer

    • It runs alongside a main container to extend its capabilities

    A sidecar container augments the main container with logging, monitoring, or networking features without changing the main app.

  15. Question 15

    Link to question

    Which practice supports faster, safer rollbacks in deployment pipelines?

    1. Immutable deployments

    2. Manual configuration edits

    3. On-demand backups

    4. Ad-hoc testing

    Show answer and explanation

    Correct answer

    • Immutable deployments

    Immutable deployments allow quick rollback by switching traffic to a previous known-good version.

Read all flashcards

Recall the answer before opening each card.

What concept allows multiple isolated workloads to share physical hardware?

Virtualization enables efficient resource use by running multiple isolated workloads on shared physical infrastructure.

What is the primary job of a container runtime?

A container runtime manages the lifecycle of containers on a node, including starting, stopping, and managing execution.

Which DevOps practice automates building and testing code changes to catch issues early?

Continuous Integration (CI) automates building and testing code upon integration, catching issues early in the development cycle.

What does a Kubernetes Service of type ClusterIP enable?

ClusterIP exposes a service on an internal IP, making it reachable only within the cluster for internal communication.

Which resource enforces resource request and limit policies per namespace?

LimitRange sets minimum and maximum resource requests and limits for containers in a namespace, enforcing resource consumption policies.

What advantage does immutable infrastructure provide for deployments?

Immutable infrastructure replaces components rather than modifying them, simplifying updates and reducing configuration drift.

Which component manages service-to-service communication and traffic routing in cloud native platforms?

A service mesh handles service discovery, routing, and resilience features for microservice communication.

What is the main benefit of declarative configuration management?

Declarative configuration specifies the desired state, and the system automatically reconciles the current state toward that goal.

How does Infrastructure as Code promote consistent environments?

IaC defines environments in version-controlled configurations, enabling repeatable and consistent deployments across dev, test, and production.

What does a readiness probe indicate about a container?

A readiness probe determines if a container is healthy and ready to serve traffic, influencing service routing.

Which scheduling strategy distributes pods across failure domains for higher availability?

Spread scheduling distributes pods across different zones or nodes to reduce the impact of localized failures.

What is a common use for init containers?

Init containers perform setup tasks (e.g., waiting for dependencies) before the main container starts.

Which Kubernetes resource exposes services to external HTTP/HTTPS traffic?

Ingress manages external access to services, providing routing and often TLS termination.

What is the role of a sidecar container in a pod?

A sidecar container runs alongside the main container to extend its capabilities, such as logging or monitoring.

Which deployment practice supports faster, safer rollbacks?

Immutable deployments allow quick rollback by switching traffic to a previous known-good version.

What is the difference between virtualization and containerization?

Virtualization runs multiple isolated OS instances on shared hardware; containerization shares the host OS kernel for lighter weight isolation.

How does a container runtime differ from an orchestrator?

A container runtime manages containers on a single node; an orchestrator schedules and manages containers across a cluster.

What is the purpose of a liveness probe?

A liveness probe checks if a container is still running; if it fails, the kubelet restarts the container.

What is the function of a ConfigMap?

ConfigMap stores non-confidential configuration data as key-value pairs, which pods can consume as env vars or files.

How does spread scheduling improve resilience?

By distributing pods across failure domains, spread ensures that a single domain failure does not bring down all replicas.

Active recall deck

Practice Certified Cloud Native Platform Engineer with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Connect the concepts

Your Certified Cloud Native Platform Engineer study mind map

Open a branch to connect a topic with its practice questions and explanations. Use the map to choose your next review topic.

Certified Cloud Native Platform Engineer15 questions in this practice set
Understand compute consolidation fundamentals in cloud environments.(1)
Identify core container runtime responsibilities.(1)
Recognize CI as a key DevOps practice for reliable code integration.(1)
Understand basic Kubernetes Service networking types.(1)
Know mechanisms to control resource usage in Kubernetes namespaces.(1)
Understand how immutability supports reliable deployments.(1)
Identify the role of a service mesh in managing microservice interactions.(1)
Recognize the core principle of declarative systems in infrastructure management.(1)
Understand how IaC supports environment parity and reliability.(1)
Know the role of readiness probes in traffic management and stability.(1)
Understand scheduling strategies for improving resilience.(1)
Recognize the purpose of init containers in workload lifecycle.(1)
More practice connections(3)
Exam-focused analysis

What this CNPE practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Core Infrastructure and Compute Abstraction

This section covers foundational concepts that enable efficient resource utilization and workload isolation. Virtualization allows multiple workloads to share physical hardware, improving utilization. Container runtimes manage the lifecycle of containers on a node. Immutable infrastructure replaces components rather than modifying them, simplifying updates and reducing configuration drift. These patterns are essential for building scalable and resilient cloud native platforms.

  • Virtualization enables isolated workloads on shared hardware, increasing efficiency.
  • Container runtime is responsible for starting, stopping, and managing containers.
  • Immutable infrastructure ensures consistency and easier rollbacks by replacing components.

Workload Management and Scheduling

This section addresses how workloads are deployed, scheduled, and exposed. Kubernetes Service type ClusterIP enables internal cluster communication. Readiness probes determine if a container is ready to serve traffic. Spread scheduling distributes pods across failure domains for higher availability. Init containers perform setup tasks before the main container starts. Understanding these mechanisms is key to operating reliable containerized applications.

  • ClusterIP exposes services only within the cluster for internal communication.
  • Readiness probes signal whether a container can accept traffic.
  • Spread scheduling reduces impact of node or zone failures by distributing pods.

Configuration and Policy Enforcement

This section focuses on managing configuration and enforcing policies. LimitRange sets resource request/limit bounds in a namespace. Declarative configuration management allows specifying desired state, which the system reconciles. Infrastructure as Code (IaC) ensures consistent environments across dev, test, and production. These practices reduce manual errors and enforce governance.

  • LimitRange enforces min/max resource requests and limits per namespace.
  • Declarative configuration enables state reconciliation by a control loop.
  • IaC defines environments in version-controlled configurations for consistency.

Service Communication, Observability, and Deployment Patterns

This section covers patterns for microservice interaction, traffic routing, and safe deployments. A service mesh handles service discovery and traffic routing. The sidecar container pattern runs alongside a main container to extend its capabilities (e.g., logging, monitoring). Immutable deployments allow faster, safer rollbacks by switching to a previous version. Continuous Integration (CI) ensures changes are safely integrated into the main codebase by automating build and test.

  • Service mesh manages service-to-service communication, discovery, and routing.
  • Sidecar container augments the main container without modifying the app.
  • Immutable deployments enable quick rollback via traffic switching.

Study workflow

Turn one CNPE attempt into a study plan

  1. 1

    Review Each Practice Question

    Read each question, cover the answer, and try to recall the correct choice. Then check your answer against the provided explanation. Note any patterns where you guessed incorrectly.

  2. 2

    Group Mistakes by Topic

    Categorize incorrect answers into themes: compute abstraction, networking, scheduling, configuration, observability, or deployment patterns. This highlights which areas need additional review.

  3. 3

    Create Mnemonics for Key Terms

    For each concept you find tricky, create a mnemonic or analogy. For example, associate 'ClusterIP' with 'internal only' and 'readiness probe' with 'traffic green light'.

  4. 4

    Explore Official Documentation

    For topics you struggled with, read the Kubernetes or CNCF documentation on that specific resource (e.g., LimitRange, Ingress, init containers). Understand the 'why' behind each feature.

  5. 5

    Simulate Hands-On Scenarios

    Set up a small cluster (e.g., using kind or minikube) and practice creating a Service of type ClusterIP, applying a LimitRange, or deploying a pod with a sidecar. Hands-on experience reinforces theoretical knowledge.

FAQ

Questions about this CNPE practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

What is the difference between a container runtime and a container orchestrator?+

A container runtime (e.g., containerd) manages the lifecycle of containers on a single node—starting, stopping, and monitoring containers. An orchestrator (e.g., Kubernetes) schedules containers across multiple nodes, handles networking, scaling, and ensures desired state.

Why is spread scheduling important for high availability in Kubernetes?+

Spread scheduling distributes pods across different failure domains (nodes, zones). If one failure domain goes down, pods in other domains remain available, reducing the risk of total service outage.

How does a readiness probe differ from a liveness probe?+

A readiness probe indicates whether a container is ready to serve traffic; if it fails, the pod is removed from Service endpoints. A liveness probe indicates whether the container is running; if it fails, the pod is restarted.

What is the role of a ConfigMap in Kubernetes?+

A ConfigMap is used to store non-confidential configuration data in key-value pairs. Pods can consume ConfigMap data as environment variables, command-line arguments, or configuration files, allowing separation of configuration from container images.

How does immutable deployment simplify rollbacks?+

Immutable deployment creates new instances of the application instead of modifying existing ones. To roll back, you simply switch traffic to the previous known-good version, avoiding the complexity of reversing incremental changes.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.