Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 37 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 37
Topic #: 1
[All Professional Cloud Developer Questions]

Your existing application keeps user state information in a single MySQL database. This state information is very user-specific and depends heavily on how long a user has been using an application. The MySQL database is causing challenges to maintain and enhance the schema for various users.
Which storage option should you choose?

  • A. Cloud SQL
  • B. Cloud Storage
  • C. Cloud Spanner
  • D. Cloud Datastore/Firestore
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
emmet
Highly Voted 4 years, 6 months ago
Question sais that there are challenges to maintain and enhance schema, so schemaless DB is more preferable, moreover google mention that Datastore/Firestore is good for users profiles (https://cloud.google.com/datastore/docs/concepts/overview#what_its_good_for) Answer: D)
upvoted 19 times
syu31svc
3 years, 5 months ago
"Datastore is ideal for applications that rely on highly available structured data at scale. You can use Datastore to store and query all of the following types of data: Product catalogs that provide real-time inventory and product details for a retailer. User profiles that deliver a customized experience based on the user’s past activities and preferences. Transactions based on ACID properties, for example, transferring funds from one bank account to another."
upvoted 1 times
...
...
fbatag
Most Recent 5 months ago
Selected Answer: D
Resposta D
upvoted 1 times
...
santoshchauhan
8 months, 3 weeks ago
Selected Answer: D
D. Cloud Datastore/Firestore For user-specific state information that varies significantly and requires a schema that can evolve over time, a NoSQL database like Cloud Datastore or Firestore is typically more appropriate. These databases provide a flexible schema, which allows you to easily make changes as the application evolves and user requirements become more complex.
upvoted 1 times
...
theseawillclaim
9 months, 2 weeks ago
Selected Answer: D
The last sentence subtly implies a schema-enforced database is not the right solution for this use case.
upvoted 1 times
...
__rajan__
1 year, 2 months ago
Selected Answer: D
Since we need a flexible schema we can use Datastore/Firestore
upvoted 1 times
...
zevexWM
1 year, 10 months ago
Selected Answer: D
The question is a bit misleading. If its asking to keep a MySQL storage option then Cloud SQL or Spanner are the only options. However, assuming that they want to move away from schema and also the need for stateful DB I would go for Datastore/Firestore.
upvoted 3 times
...
omermahgoub
1 year, 10 months ago
Out of the options provided, Cloud Datastore or Cloud Firestore would be the best choice for storing user state information that is very user-specific and depends heavily on how long a user has been using an application. This is because both Cloud Datastore and Cloud Firestore are NoSQL document databases designed for storing, retrieving, and managing semi-structured data at scale. They are well-suited for storing complex, hierarchical data structures and can handle a high volume of read and write operations. Additionally, Cloud Datastore and Cloud Firestore offer strong consistency and automatic scaling, which can help your application handle a high volume of users without requiring significant manual effort to maintain and enhance the schema.
upvoted 1 times
omermahgoub
1 year, 10 months ago
Cloud Storage is not suitable for storing user state information as it is an object storage service that is not designed for storing structured data.
upvoted 1 times
...
omermahgoub
1 year, 10 months ago
Cloud Spanner is a highly scalable, distributed database system, but it may not be the most efficient solution for storing user state information that depends heavily on how long a user has been using the application.
upvoted 1 times
...
omermahgoub
1 year, 10 months ago
Cloud SQL (MySQL) is the current storage option that is causing challenges to maintain and enhance the schema, so it is not a suitable solution.
upvoted 1 times
...
...
subesingh
2 years, 2 months ago
Option D
upvoted 1 times
...
brunoguzzo18
2 years, 3 months ago
Selected Answer: D
https://cloud.google.com/datastore/docs/concepts/overview#what_its_good_for -> "User profiles that deliver a customized experience based on the user’s past activities and preferences". Answer id D.
upvoted 2 times
...
tomato123
2 years, 3 months ago
Selected Answer: D
D is correct
upvoted 3 times
...
crassio12
2 years, 7 months ago
D for sure
upvoted 1 times
...
herocc
2 years, 10 months ago
D is right one.
upvoted 3 times
...
ParagSanyashiv
2 years, 10 months ago
Selected Answer: D
D is the answer
upvoted 3 times
...
saurabh1805
4 years ago
D is correct answer
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...