Exam KCNA Topic 3 Question 129 Discussion

Actual exam question for Linux Foundation's KCNA exam
Question #: 129
Topic #: 3
You're running a stateful application in Kubernetes with a HorizontalPodAutoscaler (HPA) configured. You want to ensure that scaling does not disrupt the application's state. What approach would you take to address this concern?

Suggested Answer: A,C,D Vote an answer

Several approaches can help maintain state during scaling for stateful applications: StatefulSets (A) manage stateful applications by providing persistent storage and stable network identities for Pods- Custom scaling logic (C) allows you to implement specific scaling strategies that preserve state, such as graceful shutdowns and data synchronization. Persistent volume claims (PVCs) (D) ensure that the application's data is stored on persistent volumes, preserving it even during scaling events. While options B and E might seem appealing, they are not practical solutions. Scaling during idle periods might not cover all scenarios, and disabling scaling altogether eliminates the benefits of autoscaling.

by Spencer at Jun 21, 2025, 01:56 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10