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

Exam Professional Cloud Database Engineer All Questions

View all questions & answers for the Professional Cloud Database Engineer exam

Exam Professional Cloud Database Engineer topic 1 question 54 discussion

Actual exam question from Google's Professional Cloud Database Engineer
Question #: 54
Topic #: 1
[All Professional Cloud Database Engineer Questions]

You are responsible for designing a new database for an airline ticketing application in Google Cloud. This application must be able to:
Work with transactions and offer strong consistency.
Work with structured and semi-structured (JSON) data.
Scale transparently to multiple regions globally as the operation grows.
You need a Google Cloud database that meets all the requirements of the application. What should you do?

  • A. Use Cloud SQL for PostgreSQL with both cross-region read replicas.
  • B. Use Cloud Spanner in a multi-region configuration.
  • C. Use Firestore in Datastore mode.
  • D. Use a Bigtable instance with clusters in multiple regions.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
absero1609
Highly Voted 1 year, 7 months ago
Selected Answer: B
I'd choose B. To me, there is no totally true option. I agree with dynamic_dba that A and D are wrong. B. Spanner supports JSON, but not that good (as Pilot50 pointed out) C. Firestore Firestore in Datastore mode does provide some degree of consistency guarantees, specifically "eventual consistency" for global queries and strong consistency for ancestor queries. However, it does not provide strong consistency for non-ancestor queries. In contrast, Cloud Spanner provides strong consistency for all transactions, which is especially important for applications that require ACID transactions across multiple regions. So between B and C, I'll pick Spanner for strong consistency
upvoted 7 times
...
Alfred_Magno
Most Recent 2 months, 4 weeks ago
I choose option C. Spanner could work, but it would be very tight. Firestore is the best fit for the use case since it auto-scales transparently and works perfectly with semi-structured data
upvoted 1 times
...
Pime13
7 months ago
Selected Answer: B
b: https://cloud.google.com/spanner/docs/working-with-json#spanner_query_with_json_parameter-java
upvoted 1 times
...
AngieSoccerBall49
12 months ago
Selected Answer: B
A. Use Cloud SQL for PostgreSQL with both cross-region read replicas: This won't scale transparently or globally B. Use Cloud Spanner in a multi-region configuration: supports JSON, designed for mission critical workloads, can be scaled transparently with an autoscaler across the globe. C. Use Firestore in Datastore mode: Firestore can scale transparently in a multi-region; but it can't be scaled GLOBALLY. D. Use a Bigtable instance with clusters in multiple regions: This doesn't necesarily fit the supplied workload.
upvoted 2 times
...
Pilot50
1 year, 7 months ago
Selected Answer: C
Spanner can't support JSON and not scaling automatically
upvoted 2 times
Pilot50
1 year, 7 months ago
Correction: Spanner supports JSON but not scaling automatically https://cloud.google.com/blog/products/databases/manage-semi-structured-data-in-cloud-spanner-with-json
upvoted 2 times
...
Pilot50
1 year, 7 months ago
Correction: the correct answer is B, Firestore in Datastore mode dose not provided strong consistency
upvoted 3 times
...
...
dynamic_dba
1 year, 8 months ago
C. Cloud SQL is a regional service so cannot scale to multiple regions. Eliminate A. Spanner doesn’t support semi-structured data and doesn’t scale transparently. Eliminate B. Bigtable doesn’t work with JSON data. Eliminate D. That leaves C, Firestore in Datastore mode which satisfies all the requirements.
upvoted 2 times
bigdawg70
9 months, 2 weeks ago
Spanner definitely supports semi-structured data: https://console.cloud.google.com/marketplace/product/google-cloud-platform/cloud-spanner Cloud Spanner is ideal for relational, structured, and semi-structured data that requires high availability, strong consistency, and transactional reads and writes. It offers all the traditional benefits of a relational database – such as ACID transactions and SQL semantics
upvoted 1 times
...
...
H_S
1 year, 8 months ago
Selected Answer: C
Hello Team, I hope this comment helps Work with transactions and offer strong consistency Work with structured and semi-structured (JSON) data => NoSQL (cloud SQL + spanner are not suitable here ) Scale transparently to multiple regions globally as the operation grows => scale transparently => you don't manage anything Big Table is for time series, millisecond access and for JSON Referrence ; https://cloud.google.com/firestore#all-features
upvoted 3 times
H_S
1 year, 8 months ago
more reference ; https://cloud.google.com/firestore/docs/firestore-or-datastore#in_datastore_mode
upvoted 2 times
...
...
Ayush9596
1 year, 9 months ago
Why not bigtable ?
upvoted 1 times
...
orbo
1 year, 10 months ago
Selected Answer: B
Spanner is multiple region and can Scale transparently
upvoted 1 times
H_S
1 year, 8 months ago
no you scale spanner, it's not transparently, Firestore =>With automatic multi-region replication and strong consistency, your data is safe and has a 99.999% availability guarantee, even when disasters strike. https://cloud.google.com/firestore#all-features
upvoted 1 times
...
...
GCP72
1 year, 11 months ago
Selected Answer: B
A and B are correct answer but B looks best answer because of "Scale transparently to multiple regions globally as the operation grows."
upvoted 3 times
H_S
1 year, 8 months ago
what about JSON
upvoted 1 times
...
...
pk349
1 year, 11 months ago
A: Use Cloud SQL for PostgreSQL ***** with both cross-region read replicas.
upvoted 1 times
gabrielosluz
1 year, 9 months ago
Why Cloud SQL? You comment the worng answer in multiple question around here
upvoted 1 times
...
...
chelbsik
1 year, 11 months ago
Selected Answer: B
I'll go for Spanner because of 'Scale transparently to multiple regions globally as the operation grows'
upvoted 4 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 ...