Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

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

Last updated: · 11 practice questions with answers and explanations

Page: 1 / 9 Total 85 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Platform Engineering Core Fundamentals

Skill tested: Designs declarative resource ownership and reconciliation across an application delivery flow.

A product group deploys services to Kubernetes by running imperative commands from a CI job. Engineers sometimes rerun jobs after failures, leaving the cluster different from the intended release, and the team cannot reliably identify which change produced a resource. The platform team requires reviewed, version-controlled desired state and an auditable path from source change to cluster deployment. CI must still build and test images, but the deployment process should recover from drift without rerunning the build. Which design best meets these requirements?

Correct Answer: A. Have CI build and publish an immutable image, then update a reviewed Git environment manifest; a cluster-side reconciler applies that declared state and corrects drift.
Explanation:

Separating image construction from deployment gives CI responsibility for build and test while a GitOps reconciler continuously compares the cluster with version-controlled desired state. A reviewed manifest change provides an auditable release record, and reconciliation repairs drift without rebuilding the image. Direct CI deployment in A is imperative and does not continuously correct later drift. A periodic artifact job in C lacks the same clear reviewed desired-state workflow and may overwrite environment-specific state. Exporting live state after manual changes in D reverses the source-of-truth relationship and makes unreviewed drift authoritative.

Question 2

New Multiple answers

Topic: Platform Engineering Core Fundamentals

Skill tested: Distinguishes platform responsibilities from application-team choices in a reusable platform architecture.

An enterprise is designing a shared Kubernetes platform for several application teams. Teams need autonomy over application code and release timing, while the platform group must provide consistent cluster access, baseline security controls, and reusable deployment capabilities. A proposed design lets the platform group approve every application code change and lets each team independently configure cluster networking and admission controls. The organization wants clear ownership boundaries without making the platform a centralized application delivery bottleneck. Which TWO responsibilities should primarily belong to the platform team? Select TWO.

Correct Answer: C. Provide and operate shared cluster capabilities, including access patterns, networking foundations, and platform-level reliability.; E. Offer documented, reusable self-service interfaces and enforce platform-wide guardrails for supported workloads.
Explanation:

Platform engineering provides shared capabilities and paved paths: the platform team operates the underlying environment, exposes usable interfaces, and applies consistent guardrails. These responsibilities support autonomy while reducing duplicated infrastructure work. Application teams should retain ownership of business logic and ordinary application changes, so B and E create an unnecessary central bottleneck. Requiring each team to build cluster-wide controls in D undermines consistency and duplicates platform responsibilities.

Question 3

New Single answer

Topic: Platform Engineering Core Fundamentals

Skill tested: Selects declarative resource definitions to make workload configuration repeatable and reviewable.

A team must deploy the same service to development, staging, and production. The containers and core workload structure are identical, but each environment has different replica counts, resource requests, and service endpoints. Reviewers need to see intended changes before rollout, and production configuration must not be modified by an ad hoc command. Which approach best supports repeatable, environment-specific deployments while retaining a declarative source of truth?

Correct Answer: D. Store a common declarative base and environment-specific overlays or values in version control, then deploy the reviewed environment configuration.
Explanation:

A common base with version-controlled environment-specific configuration makes shared workload structure reusable while preserving deliberate differences such as replicas and endpoints. Reviewers can inspect the exact desired state before applying it, and production changes remain traceable. Separate imperative scripts in A are harder to reason about and can diverge. Editing live resources in B bypasses review and leaves the source manifest misleading. Copying production state in D makes lower environments dependent on mutable live resources rather than explicit configuration.

Question 4

New Single answer

Topic: Platform Engineering Core Fundamentals

Skill tested: Maps platform architecture components to their roles in a controlled application delivery pipeline.

A platform group is reviewing its delivery architecture after a deployment process became difficult to audit. The current proposal combines source validation, image creation, environment approval, and cluster mutation in one long-lived CI runner. Security requires a traceable promotion path, and the platform team wants cluster credentials kept out of general-purpose build jobs. Which architecture most appropriately separates responsibilities while preserving a clear flow from code change to running workload?

Correct Answer: A. Have CI validate and build an image, publish it to a registry, and update a reviewed environment declaration that a cluster-side delivery controller reconciles.
Explanation:

This flow assigns source validation and image production to CI, stores the resulting artifact in a registry, and uses reviewed desired state for environment promotion. A cluster-side controller can apply that state without distributing cluster credentials to a general-purpose runner. A grants excessive access and collapses controls into one job. C bypasses consistent build validation and approval. D misplaces build and approval responsibilities in the cluster controller and has it approve its own changes.

Question 5

New Multiple answers

Topic: Platform Engineering Core Fundamentals

Skill tested: Uses traces, metrics, logs, and events together to investigate a service degradation.

After a release, a checkout service shows increased request latency. The platform team has aggregated request-duration metrics, distributed traces, application logs, and Kubernetes events, but engineers are unsure how to correlate them. The service uses a shared correlation identifier in request context, and the incident commander wants evidence that distinguishes slow downstream calls from scheduling or restart problems. Which TWO investigation actions provide the strongest initial diagnosis? Select TWO.

Correct Answer: B. Correlate trace identifiers with application logs to inspect errors and timing for the affected requests.; C. Compare latency metrics by relevant dimensions and use traces from affected requests to locate time spent in downstream spans.
Explanation:

Metrics establish the scope and trend of latency, while distributed traces show where time accumulates across service boundaries. Correlating trace identifiers with logs adds detailed error and application context for the same requests. Log volume alone does not prove CPU saturation, so B jumps to an unsupported remedy. Kubernetes events can reveal scheduling and lifecycle changes, but they do not provide exact per-request timing as claimed in D. E discards complementary signals needed to separate application behavior from broader patterns.

Question 6

New Single answer

Topic: Platform Observability, Security, and Conformance

Skill tested: Chooses policy enforcement and secure service communication controls appropriate to a platform incident.

A security review finds that workloads in a shared cluster can initiate connections to services in unrelated namespaces, and several teams rely on application code alone to validate peer identity. The platform supports Kubernetes network policies and a service communication layer capable of enforcing workload identity and encrypted service traffic. Teams need to retain namespace-level autonomy, and the platform cannot require changes to every application protocol. Which response best addresses the two risks at the platform layer?

Correct Answer: B. Add default-deny ingress and egress network policies with explicitly required paths, and enforce identity-aware encrypted service communication through the supported service layer.
Explanation:

Default-deny network policies restrict which workloads can communicate, with explicit allowances for necessary paths. Identity-aware service communication adds peer authentication and encryption rather than relying on network location alone. A report-only policy engine in B does not prevent the observed access. Encryption in C protects confidentiality in transit but does not itself authorize peers. Application-only controls in D leave the shared cluster's network exposure unchanged and place inconsistent burdens on teams.

Question 7

New Multiple answers

Topic: Platform Observability, Security, and Conformance

Skill tested: Places security checks at suitable CI/CD stages and responds safely to a detected vulnerable image.

A container image scan in the release pipeline identifies a critical vulnerability in a newly built image. The image has not yet been promoted to production, but a development environment already runs it. The organization requires a reproducible build, policy-based promotion controls, and a response that limits exposure without destroying investigation evidence. Which TWO actions are most appropriate? Select TWO.

Correct Answer: A. Block promotion of the affected image, preserve its digest and scan evidence, and build a remediated image from a reviewed source change.; B. Assess the running development workload, restrict or replace it as appropriate, and retain evidence for the incident review.
Explanation:

A critical finding should prevent the vulnerable digest from advancing through a policy-controlled promotion path. Retaining the digest and scan evidence supports investigation and reproducibility; remediation should produce a new, reviewed artifact. Because development already runs the image, that exposure should also be assessed and mitigated without destroying useful evidence. Deleting records in B impairs response, C ignores a known risk, and disabling scans in E removes a preventive control rather than resolving the vulnerability.

Question 8

New Single answer

Topic: Continuous Delivery & Platform Engineering

Skill tested: Uses GitOps reconciliation and version control to recover safely from a failed environment change.

A GitOps-managed staging environment becomes unhealthy immediately after a change to its desired deployment configuration. The controller reports that it successfully applied the new state, but application health checks fail. The previous configuration is known to have worked, and the team must restore service quickly while preserving an auditable history. Direct edits to the cluster are discouraged because reconciliation would overwrite them. What should the on-call engineer do first?

Correct Answer: C. Revert the offending configuration change in the version-controlled environment source, then allow the controller to reconcile the rollback.
Explanation:

Reverting the change in the authoritative environment source restores the previously known-good desired state and leaves an auditable record. The controller then reconciles the cluster to that state, avoiding a fight between manual changes and GitOps. A temporary live patch in A is likely to be overwritten and leaves the source of truth incorrect. Deleting the controller in C interrupts normal management without fixing the declared configuration. Rerunning an unchanged pipeline in D simply reapplies the faulty state.

Question 9

New Single answer

Topic: Platform APIs and Provisioning Infrastructure

Skill tested: Designs a Kubernetes custom resource lifecycle backed by an operator reconciliation loop.

A platform team wants application teams to request managed data services using Kubernetes-style declarative manifests. Provisioning requires calls to an external provider, asynchronous status reporting, and cleanup when a request is removed. The team wants users to declare intent rather than learn provider-specific workflows. Which design best uses Kubernetes APIs and the operator pattern for this self-service capability?

Correct Answer: A. Define a custom resource with a schema for supported service parameters, then run a controller that reconciles those resources with provider state and reports status.
Explanation:

A CRD defines an API for declaring the requested service, while an operator controller watches custom resources and repeatedly reconciles external provider state toward that intent. It can report progress and conditions in resource status and handle updates or deletion according to its lifecycle design. A one-time admission webhook in B does not continuously manage drift or asynchronous completion. C is not API-driven provisioning. D exposes credentials to workloads and makes provisioning dependent on pod startup rather than a controlled platform controller.

Question 10

New Single answer

Topic: IDPs and Developer Experience

Skill tested: Uses a service catalog and developer portal to reduce onboarding friction through supported platform APIs.

New teams currently request repositories, deployment pipelines, namespaces, and baseline monitoring through separate tickets. The platform team wants to improve onboarding while preserving approval for production access and preventing users from bypassing supported templates. The organization already operates APIs for repository and namespace provisioning. Which portal design best improves developer experience without weakening governance?

Correct Answer: D. Provide catalog-backed templates that invoke the supported provisioning APIs, record service ownership, and route production-sensitive steps through required approval.
Explanation:

A service catalog and portal are most useful when they expose supported workflows rather than merely documenting disconnected requests. Templates can call the existing APIs, capture ownership metadata, and automate routine setup while retaining approval gates for production-sensitive actions. A preserves the manual ticket bottleneck. Broad administrator access in C weakens least privilege, and arbitrary scripts with platform credentials in D create an unsafe execution path that bypasses the intended APIs and controls.

Question 11

New Single answer

Topic: Measuring your Platform

Skill tested: Interprets DORA delivery metrics and platform efficiency signals to select a productivity improvement.

A platform team compares two quarterly reports. After standardizing deployment templates, the first report shows shorter lead time for changes and more frequent deployments, while change failure rate is unchanged; service teams also report fewer manual setup steps. A leader proposes optimizing only deployment count, even if rollback frequency rises. The organization wants to improve delivery effectiveness without rewarding risky releases. Which recommendation best uses the available metrics?

Correct Answer: A. Use a balanced view of lead time, deployment frequency, change failure rate, and recovery time, and investigate whether platform changes reduce toil without harming reliability.
Explanation:

DORA metrics are most useful as a balanced view of delivery throughput and stability, rather than as a single target. Lead time and deployment frequency indicate delivery flow, while change failure rate and recovery time help identify reliability consequences. Reduced setup work is a useful platform efficiency signal, but it does not prove production outcomes improved. Optimizing only deployment count, as in A or D, can encourage risky behavior and ignores differences in context. C incorrectly treats reduced toil as a substitute for measuring operational performance.