Kcna Kubernetes And Cloud Native Associate · Free Practice Question Medium
Question 30
Your team is developing a cloud-native application that includes various types of microservices. One of these microservices is highly event-driven and requires rapid autoscaling. What would be the best architecture pattern for this specific microservice?
-
A
Use Kubernetes StatefulSets
-
B
Use Serverless Functions
-
C
Use Kubernetes DaemonSets
-
D
Use a monolithic architecture
Reveal correct answer
Correct answer: B
A.
Kubernetes StatefulSets are meant for stateful applications and are not specifically designed for rapid autoscaling of stateless, event-driven workloads.
B.
Serverless Functions are ideal for highly event-driven scenarios requiring rapid autoscaling without manual intervention.
C.
DaemonSets ensure that all (or some) nodes run a copy of a Pod, which doesn't fulfill the rapid autoscaling requirement.
D.
A monolithic architecture would not provide the isolation and independent scaling required for this specific microservice.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
