Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Linux Foundation CNPA Dumps 2026 with Free Practice Questions and Answers

14 original practice questions for the Certified Cloud Native Platform Engineering Associate exam, each with an answer and explanation.

Exam topics: Platform Engineering Core Fundamentals, Platform Observability, Security, And Conformance, Continuous Delivery & Platform Engineering, IDPs And Developer Experience and 2 more.

Formats: single answer, multiple answers, drag and drop, dropdown and order list. A new question is added every 15 days.

CNPA Practice Set Details

Exam Code
CNPA
Questions On This Page
14
Exam Topics Covered
6 of 6
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
85
Certification
Cloud & Containers Certifications
14 questions

Linux Foundation CNPA Exam Questions and Answers by Topic

Platform Engineering Core Fundamentals

36% of the exam

6 practice questions on this topicWhat this topic covers

Question 1

Added

Single Answer

A platform team supports several Kubernetes clusters used by application teams. A new internal service must run in every cluster, but its configuration differs by environment. The team wants changes reviewed in Git, applied consistently, and corrected automatically if someone makes an out-of-band cluster change. Production clusters cannot be reached directly by the CI runners, and the team does not want deployment credentials stored in CI. Which approach best meets these requirements?

Correct answer: C

An in-cluster GitOps controller can pull reviewed desired state from Git and continuously reconcile the cluster, including correcting out-of-band drift. Because the controller runs inside each cluster, CI does not need production network access or deployment credentials. Pushing from CI still requires credentials and cluster reachability. Publishing Helm artifacts followed by manual installation is not automated reconciliation. A scheduled comparison and apply job provides delayed, one-shot correction rather than continuous reconciliation.

Question 2

Added

Drag And Drop

A platform team is designing a paved road for application delivery. Teams need a consistent way to request capabilities while retaining ownership of application behavior. Match each platform concern to the most appropriate platform capability.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

A team needs an approved, reusable interface to provision a managed capability.
The platform needs to continuously correct live resources that diverge from declared state.
A service declares its desired Kubernetes configuration in version control.
A team requests a standard service scaffold with approved defaults.
Platform API
Reconciliation controller
Declarative Git repository
Developer portal template
Correct answer:
  • A team requests a standard service scaffold with approved defaults. → Developer portal template
  • A service declares its desired Kubernetes configuration in version control. → Declarative Git repository
  • A team needs an approved, reusable interface to provision a managed capability. → Platform API
  • The platform needs to continuously correct live resources that diverge from declared state. → Reconciliation controller

A developer portal template gives teams a repeatable starting point with approved defaults. Version-controlled declarations make desired configuration reviewable and auditable. A platform API exposes a supported self-service contract without requiring users to manage implementation details. A reconciliation controller continually observes actual state and applies changes needed to match the declaration.

Question 3

Added

Single Answer

A retail company is splitting a monolithic application into services. Its platform team proposes a single shared Kubernetes namespace and database for all services to reduce infrastructure cost. The security team requires production data to be isolated from development, while application teams need independent release schedules and the ability to scale services separately. The company has a small operations staff and wants to avoid giving every team cluster-administrator permissions. Which platform design best balances these constraints?

Correct answer: C

Separate production and non-production boundaries address the data-isolation requirement, while namespace-level controls and managed provisioning reduce the operational burden and avoid distributing cluster-admin privileges. Services can still be released and scaled independently within the platform's supported environment model. One namespace with naming conventions is not an isolation boundary. A cluster per service increases cost and operational overhead for a small team. Database schemas and node labels do not provide adequate Kubernetes authorization or environment separation.

Question 4

Added

Single Answer

A development team wants to reduce CI duration for a containerized application. The current pipeline checks out source, builds an image, runs unit tests, pushes a mutable latest tag, and deploys to a shared test cluster. Production deployment is performed by a separate release job. Auditors require the production artifact to be traceable to tested source, and teams must be able to rebuild or roll back without ambiguity. Which CI change best addresses the artifact-integrity requirement?

Correct answer: B

Promoting the tested image by immutable digest preserves the identity of the artifact across environments and supports traceability and unambiguous rollback. A mutable latest tag can point to different content over time, while a ticket reference alone does not guarantee that the deployed image is the tested one. Rebuilding for production can produce a different artifact even from the same source. Testing only after deployment and using a branch name do not provide reliable artifact identity.

Question 5

Added

Dropdown

A team deploys an application with Kubernetes declarative configuration. They want to change the desired replica count in version control and have Kubernetes create or remove Pods until actual state matches that declaration. Complete the statement describing the correct mechanism.

Choose the correct value for each blank.

The team commits the desired replica count to a . The Kubernetes observes the resource and reconciles the live state toward the declared state.
Correct answer:

The team commits the desired replica count to a Git repository. The Kubernetes controller observes the resource and reconciles the live state toward the declared state.

The Git repository holds the reviewed desired configuration, and Kubernetes controllers continuously compare desired and observed state to take corrective action. A container image contains application content rather than the authoritative deployment declaration. The scheduler assigns Pods to nodes but does not own the higher-level replica count reconciliation. The kubelet manages Pods on an individual node, not the overall desired replica count. An admission webhook validates or mutates API requests but does not continuously reconcile resources.

Question 6

Added

Single Answer

A company is standardizing delivery for teams that have different application frameworks but share Kubernetes clusters. The platform team wants to provide reliable deployment capabilities without dictating application architecture or taking ownership of every team's release decision. Teams must be able to use common guardrails, while service owners remain responsible for their workloads. Which operating model best fits these goals?

Correct answer: B

A platform is most effective when it offers reusable, supported capabilities that reduce cognitive load while preserving team ownership of applications and outcomes. Paved-road defaults provide consistency without forcing a single framework. Central execution of every release creates a bottleneck and shifts ownership away from service teams. A framework mandate is unnecessary for shared Kubernetes capabilities. Unrestricted cluster-wide administration increases risk and undermines the platform's guardrails.

Platform Observability, Security, and Conformance

20% of the exam

3 practice questions on this topicWhat this topic covers

Question 7

Added

Single Answer

A payment service calls an internal account service across Kubernetes namespaces. Both services currently accept plaintext traffic, and the compliance team requires encrypted service-to-service communication with workload identity rather than shared static credentials. The organization already operates a service mesh that can issue workload certificates and enforce authorization policies. It cannot modify application code this quarter. Which approach best satisfies the requirement?

Correct answer: B

Mesh-managed mutual TLS provides encrypted workload-to-workload communication and identity without requiring application changes, while an authorization policy can restrict which identities may call the account service. A shared private key is not a workload identity system and complicates rotation and attribution. NetworkPolicy controls connectivity but does not encrypt traffic. A long-lived API key is a static shared secret and does not meet the workload-identity requirement.

Question 8

Added

Single Answer

A platform team uses an admission policy engine to prevent unsafe workloads from entering production. A recent incident involved a container running as root because one namespace was not covered by the intended policy. Teams need a consistent baseline across namespaces, while a small number of documented exceptions must be reviewed and time-limited. The team wants violations caught before deployment where practical, but cluster admission must remain the enforcement point. What is the best approach?

Correct answer: C

Cluster admission is the enforcement point that prevents noncompliant resources from being accepted, and consistent namespace coverage closes the gap that enabled the incident. Explicit, reviewed exceptions preserve governance while limiting deviations. CI validation provides earlier feedback but cannot replace enforcement because resources may be created through other paths. Documentation and warning-only settings do not block unsafe workloads. NetworkPolicy governs network traffic, not container privilege settings.

Question 9

Added

Multiple Answers

A platform team is investigating intermittent latency across a checkout flow that spans an ingress, two services, and a database. Logs are available from each component, but timestamps and request identifiers are inconsistent. The on-call engineer needs to locate the slow span and correlate it with resource pressure without introducing a high-cost observability stack. Which two practices best improve this investigation? (Choose two.)

Correct answer: C, D

Propagated trace context links spans across the ingress, services, and database, making the slow operation visible end to end. Metrics for latency and resource saturation help determine whether the delay correlates with capacity pressure without requiring unbounded log collection. Increasing log verbosity can raise cost and still fail to connect calls. Kubernetes Events are not a complete request-level record. Sampling only successes excludes precisely the failures and slow requests the team needs to investigate.

Continuous Delivery & Platform Engineering

16% of the exam

2 practice questions on this topicWhat this topic covers

Question 10

Added

Single Answer

A company deploys 40 services to Kubernetes through a shared CI pipeline. Teams currently use pipeline jobs to run kubectl apply against production, and an interrupted job can leave a release only partly applied. The platform team wants auditable, repeatable deployments with automatic recovery from cluster drift. Production changes must be reviewed, but the team cannot add a release coordinator or require operators to rerun failed jobs. Which change best meets these requirements?

Correct answer: B

A cluster-side reconciler continually compares the declared state in Git with live resources, so it can recover from interrupted updates and drift without a person rerunning CI. A protected branch supplies the required review and audit trail, while CI remains responsible for building and publishing immutable artifacts. Retrying kubectl apply does not provide continuous reconciliation after the job exits. A privileged Job still makes CI the deployment controller. Manual Helm upgrades leave deployment timing and recovery to each team.

Question 11

Added

Multiple Answers

A shared delivery platform serves 25 teams. After a production rollout, the on-call team sees elevated errors in one service, but the deployment dashboard does not identify which change introduced the regression. The organization requires a recorded incident timeline, a safe rollback path, and an improvement to the platform rather than a team-specific workaround. The service uses declarative manifests in Git and a cluster reconciler. Which two actions should the platform incident lead take first? (Choose two.)

Correct answer: A, B

An incident record with a clear lead preserves the timeline and impact needed for coordination and later learning. Comparing revisions and reverting the faulty desired state uses the established GitOps path; reconciliation then returns the cluster to the last known-good configuration. A manual patch can be overwritten by the reconciler and undermines the audit trail. Disabling reconciliation platform-wide creates unnecessary risk and scope. Uniform readiness values do not identify the regression and may be wrong for individual services.

Platform APIs and Provisioning Infrastructure

12% of the exam

1 practice question on this topicWhat this topic covers

Question 12

Added

Order List

A platform team is introducing a Kubernetes custom resource named ManagedDatabase. A controller will provision an external database and report its connection endpoint and readiness. The team wants users to create declarative requests while ensuring the controller does not announce success before the external resource exists. Arrange the implementation steps in the order they should be performed, from defining the API to reporting the provisioned result.

Drag the steps into the correct order, or use the arrows.

  1. Implement controller logic that observes the resource and reconciles the external database.
  2. Update status with the endpoint and Ready condition after confirming provisioning succeeded.
  3. Create a ManagedDatabase custom resource expressing the desired database configuration.
  4. Define and install the CustomResourceDefinition schema for ManagedDatabase.
Correct answer:
  1. Define and install the CustomResourceDefinition schema for ManagedDatabase.
  2. Create a ManagedDatabase custom resource expressing the desired database configuration.
  3. Implement controller logic that observes the resource and reconciles the external database.
  4. Update status with the endpoint and Ready condition after confirming provisioning succeeded.

The API must exist in the Kubernetes API server before users can create instances of the custom resource. The controller then observes the declared desired state and reconciles the external system. Status should report the endpoint and readiness only after the controller has verified that provisioning succeeded; otherwise consumers could act on a resource that is not yet usable.

IDPs and Developer Experience

8% of the exam

1 practice question on this topicWhat this topic covers

Question 13

Added

Single Answer

A platform team is building a developer portal for more than 100 services. Engineers need a searchable catalog with ownership, lifecycle, dependencies, and links to operational resources. Teams currently maintain this information in separate spreadsheets, and the platform team cannot reliably infer ownership from Kubernetes labels. The catalog must remain useful even when a service is temporarily not deployed, and teams should be able to update metadata through reviewed changes without portal-specific database administration. What is the best design?

Correct answer: A

Version-controlled metadata provides an auditable source of truth independent of whether a service is currently deployed. CI validation can enforce required ownership and lifecycle fields, while the portal combines that catalog data with live operational information. Kubernetes polling alone misses dormant services and cannot safely infer ownership from namespaces. A centrally edited portal database recreates the administrative bottleneck and separates changes from normal review. Pipeline order is not a reliable representation of service dependencies.

Measuring Your Platform

8% of the exam

1 practice question on this topicWhat this topic covers

Question 14

Added

Single Answer

A platform organization introduces a self-service deployment path. Leaders want to determine whether it improves software delivery rather than merely increasing portal activity. They already collect deployment frequency, lead time for changes, change failure rate, and time to restore service. Teams use different languages and release cadences, and a new target must not encourage teams to split changes into risky, artificial deployments. Which measurement approach is best?

Correct answer: D

The four DORA measures provide a balanced view of delivery throughput and stability, and contextual comparisons help distinguish platform effects from differences between services. Reading the measures together also discourages optimizing deployment count while ignoring failures or recovery. A universal frequency target invites gaming and ignores legitimate differences in service workflows. Portal traffic measures use, not delivery outcomes. Mean time to restore alone omits whether changes flow quickly or fail less often.

More Linux Foundation Practice Questions

Get the Full Linux Foundation CNPA Dumps as PDF and Practice Test

14 questions are free on this page and the full set has 85. It comes as a PDF and an online practice test, with 90 days of free updates.