Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free Linux Foundation Certified Cloud Native Platform Engineering Associate CNPA Exam Questions

Page: 1 / 9 Total 85 questions

Want more questions? Get Premium Access.

Question 1

In a scenario where an Internal Developer Platform (IDP) is being used to enable developers to self-service provision products and capabilities such as Namespace-as-a-Service, which answer best describes who is responsible for resolving application-related incidents?

Correct Answer: C. Platform teams are responsible for investigating and resolving underlying infrastructure problems whilst application teams are responsible for investigating and resolving application-related problems.
Explanation:

Platform engineering clearly separates responsibilities between platform teams and application teams. Option C is correct because platform teams manage the platform and infrastructure layer, ensuring stability, compliance, and availability, while application teams own their applications, including troubleshooting application-specific issues.

Option A (creating a single merged team) introduces inefficiency and removes specialization. Option B incorrectly suggests application teams should also solve infrastructure issues, which conflicts with platform-as-a-product principles. Option D places all responsibilities on platform teams, which creates bottlenecks and undermines application team ownership.

By splitting responsibilities, IDPs empower developers with self-service provisioning while maintaining clear boundaries. This ensures both agility and accountability: platform teams focus on enabling and securing the platform, while application teams take ownership of their code and services.


--- CNCF Platforms Whitepaper

--- Team Topologies (Platform as a Product Model)

--- Cloud Native Platform Engineering Study Guide

Question 2

A platform engineering team needs to provide comprehensive cost visibility for Kubernetes workloads to optimize infrastructure utilization. Which tool is recommended to achieve this goal?

Correct Answer: B. OpenCost for real-time, granular Kubernetes cost allocation and analysis.
Explanation:

OpenCost is the CNCF-supported open-source project designed specifically for Kubernetes cost visibility and optimization. Option B is correct because OpenCost provides granular, real-time allocation of Kubernetes costs across namespaces, workloads, and teams. This allows organizations to understand true cost drivers and optimize resource utilization effectively.

Option A (APM tools) may track performance but usually lack deep integration with Kubernetes cost allocation. Option C provides partial visibility but requires complex manual correlation of resource usage with billing data. Option D (cloud provider estimators) typically offer limited or high-level insights and do not map costs down to Kubernetes workloads.

By adopting OpenCost, platform teams can align financial accountability with engineering usage, a practice known as FinOps. This supports sustainable scaling, cost efficiency, and transparency---critical aspects of measuring platform success.


--- CNCF OpenCost Project

--- CNCF Platforms Whitepaper

--- Cloud Native Platform Engineering Study Guide

Question 3

In a cloud native environment, what is one of the security benefits of implementing a service mesh?

Correct Answer: A. Enabling encryption of communication between services using mTLS.
Explanation:

A key advantage of using a service mesh is its ability to secure service-to-service communication transparently, without requiring application code changes. Option A is correct because service meshes (e.g., Istio, Linkerd) provide mutual TLS (mTLS) by default, ensuring both encryption in transit and authentication between services. This establishes a zero-trust networking model inside the cluster.

Option B (scaling) is managed by Kubernetes (Horizontal Pod Autoscaler), not service mesh. Option C (logging) may be supported as an observability feature, but it is not the primary security benefit. Option D (IP allowlisting) is an outdated, less flexible mechanism compared to identity-based policies that meshes provide.

Service meshes enforce security consistently across all services, support fine-grained policies, and ensure compliance without burdening developers with complex configurations. This makes mTLS a foundational benefit in cloud native platform security.


--- CNCF Service Mesh Whitepaper

--- CNCF Platforms Whitepaper

--- Cloud Native Platform Engineering Study Guide

Question 4

Which component is essential for ensuring the repeatability and consistency of builds in a Continuous Integration pipeline?

Correct Answer: D. Immutable artifacts with unique identifiers that are generated once and promoted across environments.
Explanation:

To achieve repeatability and consistency, CI pipelines must produce immutable artifacts that are uniquely identifiable and reproducible. Option D is correct because immutable artifacts (such as container images tagged with digests or versioned binaries) ensure that the same build artifact can be promoted across environments (dev, staging, production) without modification. This eliminates discrepancies caused by rebuilding code in different environments.

Option A (notifications) improves feedback but does not guarantee consistency. Option B (dynamic scaling) optimizes resource usage but does not address build reproducibility. Option C (dashboards) aid in visibility but are not critical to ensuring consistent outputs.

Immutable artifacts are essential for compliance, traceability, and reliability. They ensure that what has been tested is exactly what gets deployed, which is central to continuous delivery and GitOps practices.


--- CNCF Platforms Whitepaper

--- CNCF Supply Chain Security Whitepaper

--- Cloud Native Platform Engineering Study Guide

Question 5

As a Cloud Native Platform Associate, you need to implement an observability strategy for your Kubernetes clusters. Which of the following tools is most commonly used for collecting and monitoring metrics in cloud native environments?

Correct Answer: D. Prometheus
Explanation:

Prometheus is the de facto standard for collecting and monitoring metrics in Kubernetes and other cloud native environments. Option D is correct because Prometheus is a CNCF graduated project designed for multi-dimensional data collection, time-series storage, and powerful querying using PromQL. It integrates seamlessly with Kubernetes, automatically discovering targets such as Pods and Services through service discovery.

Option A (Grafana) is widely used for visualization but relies on Prometheus or other data sources to collect metrics. Option B (ELK Stack) is better suited for log aggregation rather than real-time metrics. Option C (OpenTelemetry) provides standardized instrumentation but is focused on generating and exporting metrics, logs, and traces rather than storage, querying, and alerting.

Prometheus plays a central role in platform observability strategies, often paired with Alertmanager for notifications and Grafana for dashboards. Together, they enable proactive monitoring, SLO/SLI measurement, and incident detection, making Prometheus indispensable in cloud native platform engineering.


--- CNCF Observability Whitepaper

--- Prometheus CNCF Project Documentation

--- Cloud Native Platform Engineering Study Guide

Question 6

In assessing the effectiveness of platform engineering initiatives, which DORA metric most directly correlates to the time it takes for code from its initial commit to be deployed into production?

Correct Answer: A. Lead Time for Changes
Explanation:

Lead Time for Changes is a DORA (DevOps Research and Assessment) metric that measures the time from code commit to successful deployment in production. Option A is correct because it directly reflects how quickly the platform enables developers to turn ideas into delivered software. Shorter lead times indicate an efficient delivery pipeline, streamlined workflows, and effective automation.

Option B (Deployment Frequency) measures how often code is deployed, not how long it takes to reach production. Option C (Mean Time to Recovery) measures operational resilience after failures. Option D (Change Failure Rate) indicates stability by measuring the percentage of deployments causing incidents. While all DORA metrics are valuable, only Lead Time for Changes measures end-to-end speed of delivery.

In platform engineering, improving lead time often involves automating CI/CD pipelines, implementing GitOps, and reducing manual approvals. It is a core measurement of developer experience and platform efficiency.


--- CNCF Platforms Whitepaper

--- Accelerate: State of DevOps Report (DORA Metrics)

--- Cloud Native Platform Engineering Study Guide

Question 7

A development team is struggling to find and connect to various services within a cloud platform. What is the primary benefit of implementing an API-driven service catalog for this team?

Correct Answer: A. It enables easier service discovery through a consistent interface.
Explanation:

An API-driven service catalog provides a centralized and standardized interface where developers can discover and provision platform services. Option A is correct because it simplifies service discovery, allowing teams to connect to databases, messaging systems, and other infrastructure without needing in-depth platform knowledge. This improves productivity and developer experience by reducing cognitive load and ensuring consistent, governed access.

Option B is the opposite of the benefit---catalogs accelerate provisioning. Option C is incorrect because catalogs do not bypass security; they enforce guardrails and compliance. Option D is also incorrect because service catalogs abstract away provisioning details rather than forcing developers to manage them.

By providing golden paths and API-driven self-service, service catalogs ensure developers focus on building applications while platform teams maintain consistency and compliance.


--- CNCF Platforms Whitepaper

--- CNCF Platform Engineering Maturity Model

--- Cloud Native Platform Engineering Study Guide

Question 8

Which of the following is a primary benefit of adopting a platform approach for managing application environments with diverse needs?

Correct Answer: A. It enables self-service infrastructure provisioning while supporting app-specific requirements and organizational standards.
Explanation:

The main advantage of a platform engineering approach is balancing self-service for developers with organizational governance and standardization. Option A is correct because platforms enable developers to provision infrastructure and application environments independently while embedding security, compliance, and operational guardrails. This ensures that applications with diverse needs (e.g., different scaling patterns, compliance requirements, or environments) can still operate within a unified governance framework.

Option B (isolation only) is sometimes required for compliance but does not address the broader benefit of balancing flexibility and standardization. Option C forces uniformity, which reduces adaptability for varied workloads. Option D (centralized deployments) reduces developer autonomy and scalability.

The platform approach enables golden paths, curated abstractions, and reusable services, allowing diverse applications to thrive while maintaining control. This balance is central to platform engineering's goal of reducing cognitive load and improving developer productivity.


--- CNCF Platforms Whitepaper

--- CNCF Platform Engineering Maturity Model

--- Cloud Native Platform Engineering Study Guide

Question 9

Which approach is an effective method for securing secrets in CI/CD pipelines?

Correct Answer: B. Storing secrets and encrypting them in a secrets manager.
Explanation:

The most secure and scalable method for handling secrets in CI/CD pipelines is to use a secrets manager with encryption. Option B is correct because solutions like HashiCorp Vault, AWS Secrets Manager, or Kubernetes Secrets (backed by KMS) securely store, encrypt, and control access to sensitive values such as API keys, tokens, or credentials.

Option A (restricted config files) may protect secrets but lacks auditability and rotation capabilities. Option C (plain-text environment variables) exposes secrets to accidental leaks through logs or misconfigurations. Option D (base64 encoding) is insecure because base64 is an encoding, not encryption, and secrets can be trivially decoded.

Using a secrets manager ensures secure retrieval, audit trails, access policies, and secret rotation. This aligns with supply chain security and zero-trust practices, reducing risks of credential leakage in CI/CD pipelines.


--- CNCF Security TAG Best Practices

--- CNCF Platforms Whitepaper

--- Cloud Native Platform Engineering Study Guide

Question 10

During a Kubernetes deployment, a Cloud Native Platform Associate needs to ensure that the desired state of a custom resource is achieved. Which component of Kubernetes is primarily responsible for this task?

Correct Answer: D. Kubernetes Controller
Explanation:

The Kubernetes Controller is responsible for continuously reconciling the desired state with the actual state of resources, including custom resources. Option D is correct because controllers watch resources (via the API Server), detect deviations, and take corrective actions to match the desired state defined in manifests. For example, a Deployment controller ensures that the number of Pods matches the replica count, while custom controllers manage CRDs.

Option A (Scheduler) assigns Pods to nodes but does not reconcile state. Option B (Etcd) is the key-value store holding cluster state but does not enforce it. Option C (API Server) exposes the Kubernetes API and validates requests but does not enforce reconciliation.

Controllers embody Kubernetes' declarative management principle and are essential for operators, CRDs, and GitOps workflows that rely on automated state enforcement.


--- CNCF Kubernetes Documentation

--- CNCF GitOps Principles

--- Cloud Native Platform Engineering Study Guide