Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CNPA Exam - Topic 5 Question 12 Discussion

Actual exam question for Linux Foundation's CNPA exam
Question #: 12
Topic #: 5
[All CNPA Questions]

Which provisioning strategy ensures efficient resource scaling for an application on Kubernetes?

Show Suggested Answer Hide Answer
Suggested Answer: B

The most efficient and scalable strategy is to use a declarative approach with Infrastructure as Code (IaC). Option B is correct because declarative definitions specify the desired state (e.g., resource requests, limits, autoscaling policies) in code, allowing Kubernetes controllers and autoscalers to reconcile and enforce them dynamically. This ensures that applications can scale efficiently based on actual demand.

Option A (fixed allocation) is inefficient, leading to wasted resources during low usage or insufficient capacity during high demand. Option C (manual provisioning) introduces delays, risk of error, and operational overhead. Option D (imperative scripting) is not sustainable for large-scale or dynamic workloads, as it requires constant manual intervention.

Declarative IaC aligns with GitOps workflows, enabling automated, version-controlled scaling decisions. Combined with Kubernetes' Horizontal Pod Autoscaler (HPA) and Cluster Autoscaler, this approach allows platforms to balance cost efficiency with application reliability.


--- CNCF GitOps Principles

--- Kubernetes Autoscaling Documentation

--- Cloud Native Platform Engineering Study Guide

Contribute your Thoughts:

0/2000 characters
Laurel
15 days ago
I remember discussing the differences between imperative and declarative approaches, but I can't recall which one is better for efficient scaling.
upvoted 0 times
...
Elenora
20 days ago
I’m leaning towards option B, but I’m a bit confused about how IaC tools specifically help with scaling.
upvoted 0 times
...
Norah
25 days ago
I feel like manual provisioning could lead to issues if traffic spikes unexpectedly. I’ve seen similar questions about this in practice exams.
upvoted 0 times
...
Angella
1 month ago
I think I remember that a declarative approach is often recommended for Kubernetes, but I'm not entirely sure if it's the best for scaling.
upvoted 0 times
...

Save Cancel