nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #129

PROFESSIONAL-CLOUD-DEVELOPER Question #129: Real Exam Question with Answer & Explanation

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #129. The question stem and answer options stay visible for context.

Designing data storage options for cloud-native applications

Question

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 30 minutes 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?

Options

  • AStore the session information in Pub/Sub, and store the shopping cart information in Cloud SQL.
  • BStore the shopping cart information in a file on Cloud Storage where the filename is the SESSION
  • CStore the session and shopping cart information in a MySQL database running on multiple
  • DStore the session information in Memorystore for Redis or Memorystore for Memcached, and

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Session Management#Memorystore#Database Selection#Application Design
Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions