Your company is building a personalized news portal. Users log in and receive news articles based on their preferences. Their preferences must persist across sessions and devices. Additionally, users must be logged out after 15 minutes of inactivity. How should you store the session and preference data to adhere to Google Cloud's best practices?