Certified Cloud Native Platform Engineering Associate CNPA Exam Questions
Preparing for the CNPA exam is simple with Certs Vault. We offer easy-to-understand study materials that help you learn the most important exam topics. You can study using our PDF questions, practice online with a real exam-style test, or use the desktop practice software. Choose the study method that works best for you and prepare at your own pace.
At Certs Vault, we keep our CNPA practice questions up to date. Whenever the exam syllabus or objectives change, we update our study materials so you always learn the latest topics. This helps you save time, avoid outdated content, and feel more confident when you take your exam.
In a GitOps workflow using Crossplane, how is infrastructure provisioned across multiple clusters?
Correct Answer: B
Crossplane integrates tightly with GitOps workflows by extending Kubernetes with infrastructure APIs. Option B is correct because infrastructure resources (databases, networks, S3 buckets, etc.) are defined declaratively in Git repositories. Git becomes the single source of truth, while Crossplane controllers automatically reconcile the desired state into real infrastructure across supported cloud providers.
Option A reflects imperative scripting, which contradicts GitOps principles. Option C (manual provisioning) lacks automation, governance, and repeatability. Option D involves manual application with kubectl, which bypasses GitOps reconciliation loops.
With Crossplane and GitOps, teams achieve consistent, reproducible, and auditable infrastructure provisioning at scale. This enables full alignment with cloud native platform engineering principles of declarative management, self-service, and extensibility.
--- CNCF Crossplane Documentation
--- CNCF GitOps Principles
--- Cloud Native Platform Engineering Study Guide
In a cloud native environment, how do policy engines facilitate a unified approach for teams to consume platform services?
Correct Answer: D
Policy engines (such as Open Policy Agent -- OPA or Kyverno) play a critical role in enforcing governance, security, and compliance consistently across cloud native platforms. Option D is correct because policy engines provide centralized, reusable policies that can be applied across clusters, services, and environments. This ensures that developers consume platform services in a compliant and secure manner, without needing to manage these controls manually.
Option A is partially correct but too narrow, as policies extend beyond compliance to include operational, security, and cost-control measures. Option B is not the primary function of policy engines, though integration with CI/CD is possible. Option C is incorrect because SLAs are business agreements, not enforced by policy engines directly.
Policy engines enforce guardrails like image signing, RBAC rules, resource quotas, and network policies automatically, reducing cognitive load for developers while giving platform teams confidence in compliance. This supports the platform engineering principle of combining self-service with governance.
--- CNCF Platforms Whitepaper
--- CNCF Security TAG (OPA, Kyverno)
--- Cloud Native Platform Engineering Study Guide
In a GitOps workflow, what is a secure and efficient method for managing secrets within a Git repository?
Correct Answer: B
The secure and efficient way to handle secrets in a GitOps workflow is to use a dedicated secrets management tool (e.g., HashiCorp Vault, Sealed Secrets, or External Secrets Operator) and store only references or encrypted placeholders in the Git repository. Option B is correct because Git should remain the source of truth for configuration, but sensitive values should be abstracted or encrypted to maintain security.
Option A (environment variables) can supplement secret management but lacks versioning and auditability when used alone. Option C (encrypting secrets in Git) can work with tools like Mozilla SOPS, but it still requires external key management, making Option B a more complete and secure approach. Option D (plain text secrets) is highly insecure and should never be used.
By integrating secrets managers into GitOps workflows, teams achieve both security and automation, ensuring secrets are delivered securely during reconciliation without exposing sensitive data in Git.
--- CNCF GitOps Principles
--- CNCF Supply Chain Security Whitepaper
--- Cloud Native Platform Engineering Study Guide
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: C
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
During a CI/CD pipeline review, the team discusses methods to prevent insecure code from being introduced into production. Which practice is most effective for this purpose?
Correct Answer: A
The most effective way to prevent insecure code from reaching production is to integrate security gates directly into the CI/CD pipeline. Option A is correct because security gates involve automated scanning of dependencies, SBOM generation, code analysis, and policy enforcement during build and test phases. This ensures that vulnerabilities or policy violations are caught early in the development lifecycle.
Option B (load balancing) improves availability but is unrelated to code security. Option C (A/B testing) validates functionality, not security. Option D (caching strategies) affects performance, not code safety.
By embedding automated checks into CI/CD pipelines, teams adopt a shift-left security approach, ensuring compliance and minimizing risks of supply chain attacks. This practice directly supports platform engineering goals of combining security with speed and reducing developer friction through automation.
--- CNCF Supply Chain Security Whitepaper
--- CNCF Platforms Whitepaper
--- Cloud Native Platform Engineering Study Guide