ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 142 - Professional Cloud Developer discussion

Report
Export

Your team is developing an ecommerce platform for your company. Users will log in to the website and add items to their shopping cart. Users will be automatically logged out after 30minutes of inactivity. When users log back in, their shopping cart should be saved. How should you store users' session and shopping cart information while following Google-recommended best practices?

A.
Store the session information in Pub/Sub, and store the shopping cart information in Cloud SQL.
Answers
A.
Store the session information in Pub/Sub, and store the shopping cart information in Cloud SQL.
B.
Store the shopping cart information in a file on Cloud Storage where the filename is the SESSION ID.
Answers
B.
Store the shopping cart information in a file on Cloud Storage where the filename is the SESSION ID.
C.
Store the session and shopping cart information in a MySQL database running on multiple Compute Engine instances.
Answers
C.
Store the session and shopping cart information in a MySQL database running on multiple Compute Engine instances.
D.
Store the session information in Memorystore for Redis or Memorystore for Memcached, and store the shopping cart information in Firestore.
Answers
D.
Store the session information in Memorystore for Redis or Memorystore for Memcached, and store the shopping cart information in Firestore.
Suggested answer: D
asked 18/09/2024
William Dalgo
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first