U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CNPA Exam - Topic 5 Question 12 Discussion

Which provisioning strategy ensures efficient resource scaling for an application on Kubernetes?
B) Using a declarative approach with Infrastructure as Code (IaC) tools to define resource requirements.
A) Implementing a fixed resource allocation that does not change regardless of demand.
C) Manual provisioning of resources based on predicted traffic.
D) Using an imperative approach to script resource changes in response to traffic spikes.

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
Hana
1 month ago
I think A is too rigid for modern apps.
upvoted 0 times
...
Evelynn
2 months ago
B is definitely the way to go!
upvoted 0 times
...
Laurel
2 months 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
2 months 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
3 months 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
3 months 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