Exam KCNA Topic 3 Question 129 Discussion
Actual exam question for Linux Foundation's KCNA exam
Question #: 129
Topic #: 3
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
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).