Stateful Sessions — Google Cloud Professional Cloud Architect Practice Questions
Stateful sessions occur when a server retains client-specific data, such as login state or shopping cart contents, between requests, creating a dependency between the client and a particular server instance. On the Professional Cloud Architect exam, understanding stateful sessions is critical because they complicate horizontal scaling and load balancing. Architects are expected to evaluate approaches such as sticky sessions, offloading session state to a shared store like Memorystore or Firestore, or redesigning applications to be stateless.
Free questions on stateful sessions
You need to deploy an application with stateful sessions that must survive VM restarts. What storage should you use?
Free question · medium · full answer + explanation