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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Professional Data Engineer topic 1 question 13 discussion

Actual exam question from Google's Professional Data Engineer
Question #: 13
Topic #: 1
[All Professional Data Engineer Questions]

You want to process payment transactions in a point-of-sale application that will run on Google Cloud Platform. Your user base could grow exponentially, but you do not want to manage infrastructure scaling.
Which Google database service should you use?

  • A. Cloud SQL
  • B. BigQuery
  • C. Cloud Bigtable
  • D. Cloud Datastore
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
DeepakKhattar
Highly Voted 3 years, 10 months ago
Initially, thinking D is the best answer but when question is re-re-read, A seems to be correct answer for following reasons 1. Is payment TRANSACTION -- DB should able to perform full blown transaction (updating inventory, sales info etc, though not specified) , not just ATOMIC which DataStore provides 2. Its point-of-sale application, not ONLINE STORE where HIGH number of concurrent users ordering stuff. 3. User Base could grow exponentially - again more users does mot mean concurrent users and more processing power. Its only about storage. 4. Do not want to Manage infrastructure scaling. - Cloud SQL can scale in terms of storage. 5. CloudStore is poor selection for OLTP application - Each property is index - so higher latency Not sure, during exam 2 min is enough to think on various point.. I may be wrong or wrong path ... lets brainstrom..
upvoted 73 times
canon123
2 years, 5 months ago
CloudSql does not auto scale.
upvoted 10 times
BigQuery
2 years, 4 months ago
https://cloud.google.com/architecture/elastically-scaling-your-mysql-environment#objectives Please read. It can be configured for autoscaling.
upvoted 3 times
hendrixlives
2 years, 4 months ago
That link explains how to set MySQL autoscaling with Google Compute Engine instances (you install and manage MySQL on the VM). This can not be applied to Cloud SQL (managed service). In Cloud SQL, only the storage can be automatically increased, and changing the Cloud SQL instance size requires a manual edit of the instance type.
upvoted 4 times
MisuLava
1 year, 5 months ago
yes. and that is ok since this is a point of sale. an exponential increase in number of clients still means reduced parallel processing (how many customers can buy in the very same time) so an increase in memory and CPU is very unlikely to be necessary. yes, an exponential increase in the number of customers means more memory, and more storage, which in cloud SQL increases automatically.
upvoted 3 times
...
...
nkunwar
1 year, 7 months ago
C SQL doesn't AUTO SCALE, you need to manually edit , Please show where does it says AUTO SCALING
upvoted 2 times
...
...
...
Blobby
2 years, 8 months ago
Can't online be considered PoS? CloudSQL does have constraints for scaling and Google seem to specifically be selling Datastore for transactional use cases so going with D: https://cloud.google.com/datastore/docs/concepts/transactions
upvoted 3 times
Blobby
2 years, 7 months ago
Based on a re-read of the above comments and other later questions agree with A. pls ignore my first answer.
upvoted 4 times
...
...
...
jvg637
Highly Voted 4 years, 1 month ago
D seems to be the right one. Cloud SQL doesn't automatically scale
upvoted 37 times
BigQuery
2 years, 4 months ago
Cloud SQL does scale automatically. THERE IS A SETTING WHERE YOU DEFINE INCREASE MEMORY SPACE WHEN IT REACHED 70%. https://cloud.google.com/sql/docs/features#features_3 Here it say's -> Fully managed SQL Server databases in the cloud. -> Custom machine types with up to 624 GB of RAM and 96 CPUs. -> Up to 64 TB of storage available, with the ability to automatically increase storage size as needed.
upvoted 2 times
hendrixlives
2 years, 4 months ago
Storage scale is automatic (e.g. you begin with a 50GB disk and it grows automatically as needed), but the instance size (CPU/memory) will be the same. The questions states that the user base may increase exponentially. Even if you have enough disk space to store all your user data, the increase in users will cause problems if your instance (CPU/memory) is too small, since the instance will not be able to process all the queries at the required speed.
upvoted 4 times
imsaikat50
1 year, 4 months ago
I believe the key point is it's a POS, not an e-commerce. Keeping that in mind, exponential user increase in POS might not mean concurrent user increase, which could be a huge consideration in case of it is being e-commerce. I would rather go with 'Cloud SQL' as the best answer.
upvoted 2 times
...
...
...
...
TVH_Data_Engineer
Most Recent 4 months, 1 week ago
Selected Answer: D
Cloud Datastore (now part of Google Cloud Firestore in Datastore mode) is designed for high scalability and ease of management for applications. It is a NoSQL document database built for automatic scaling, high performance, and ease of application development. It's serverless, meaning it handles the scaling, performance, and management automatically, fitting your requirement of not wanting to manage infrastructure scaling. Cloud SQL, while a fully-managed relational database service that makes it easy to set up, manage, and administer your SQL databases, is not as automatically scalable as Datastore. It's better suited for applications that require a traditional relational database.
upvoted 1 times
...
RT_G
5 months, 2 weeks ago
Selected Answer: D
D - Because DataStore supports massive scaling and ACID transactions which are two primary considerations in this scenario.
upvoted 1 times
...
rocky48
5 months, 3 weeks ago
Selected Answer: D
B - not an option C - lack of ACID transactions A - lack of resource automatic scalability D - (correct, IMHO) support ACID, suitable for OLPT and scalable enough
upvoted 2 times
...
axantroff
5 months, 4 weeks ago
Selected Answer: D
B - not an option C - lack of ACID transactions A - lack of resource automatic scalability D - (correct, IMHO) support ACID, suitable for OLPT and scalable enough
upvoted 1 times
...
imran79
6 months, 3 weeks ago
For a point-of-sale application where you anticipate exponential growth and want to ensure seamless scalability without managing the infrastructure scaling, the best choice among the provided options is: D. Cloud Datastore Cloud Datastore is a NoSQL database service that's built for web, mobile, and IoT applications. It provides automatic scaling, high performance, and ease of application development, making it a suitable choice for applications where the user base could grow exponentially and where you don't want to manually handle infrastructure scaling.
upvoted 2 times
...
gudguy1a
7 months, 3 weeks ago
Selected Answer: C
Bigtable is the better answer. Neither Cloud SQL & Datastore (Firestore) can scale to exponential level....
upvoted 1 times
...
GCP_PDE_AG
8 months, 3 weeks ago
A seems to be correct. Usecase here is "process payment transactions in a point-of-sale application". So this is OLTP. Datastore is not a relational database, and it is not an effective solution for analytic data. If you need a relational database with full SQL support for an online transaction processing (OLTP) system, consider Cloud SQL. https://cloud.google.com/datastore/docs/concepts/overview
upvoted 4 times
...
pulse008
8 months, 3 weeks ago
Selected Answer: D
D is correct because you do not want to manage scaling in this case. Cloud SQL can also scale but it needs involvement unlike Datastore which is completely automatic.
upvoted 2 times
bhavaneesh
8 months, 3 weeks ago
Do you by any chance have the contributor access - I need questions 205-209 :( Please
upvoted 1 times
...
...
alihabib
8 months, 3 weeks ago
Its D, though Datastore is NoSQL, but it supports ACID transaction concepts.
upvoted 1 times
...
yash12
9 months ago
Correct Answer is D, Cloud Datastore is used for PoS https://cloud.google.com/blog/topics/developers-practitioners/your-google-cloud-database-options-explained
upvoted 2 times
...
Vipul1600
9 months ago
Datastore automatically scales and is highly opted for ACID transactions.
upvoted 1 times
...
hpvb
10 months ago
cloud sql --> incorrect https://cloud.google.com/sql#section-8 --> you will need to manually do scalability Scalability --> Easily scale up as your data grows—add processor cores, RAM and storage, and scale out by adding read replicas to handle increasing read traffic. Read replicas support high availability, can have their own read replicas, and can be located across regions and platforms. big query , big table --> doesn't support ACID Cloud DataStore --> CORRECT ( https://cloud.google.com/datastore/) check features section ACID transactions Ensure the integrity of your data by executing multiple datastore operations in a single transaction with ACID characteristics, so all the grouped operations succeed or all fail. Fully managed Datastore is fully managed, which means Google automatically handles sharding and replication in order to provide you with a highly available and consistent database.
upvoted 3 times
...
hpvb
10 months ago
BigQuery --> OLAP , DataWareHouse Cloud BigTable --> NOSQL, Doesn't support ACID. Cloud DataStore --> NO SQL
upvoted 2 times
...
tal_
10 months, 2 weeks ago
Bard said it's cloud sql: "If Cloud Spanner is not an option, Cloud SQL is a good choice for your point-of-sale application. It offers a managed service, flexible pricing, security, and global availability."
upvoted 2 times
...
biswa_b
11 months ago
Selected Answer: A
It should be cloud SQL
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 ...