Microservices · Question 7 of 12

Why should services in Kubernetes be stateless where possible?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • B Then every pod replica can serve every request

Explanation

If the state lives outside, for example in a database, Kubernetes can start, stop and move pods freely. StatefulSets exist for state, but they are more complex.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications