Google Cloud Professional Database Engineer Exam Questions
Google Cloud Professional Database Engineer Exam Questions
Google Cloud
Professional Cloud
Database Engineer
<employees>
<employee> {"employees":[
<firstName>John</firstName> { "firstName":"John", "lastName":"Doe" },
<lastName>Doe</lastName> { "firstName":"Anna", "lastName":"Smith" },
</employee> { "firstName":"Peter", "lastName":"Jones" }
<employee> ]}
<firstName>Anna</firstName>
<lastName>Smith</lastName> No SQL Database
</employee> JSON, XML, Document DB – No Fixed
<employee> schema
<firstName>Peter</firstName>
MongoDB, Cassandra, Redis, Neo4j
<lastName>Jones</lastName>
</employee> In GCP, BigTable, DataStore, memoryStore
</employees>
© ANKIT MISTRY – GOOGLE CLOUD
Unstructured Data
No Fixed Schema
No Structure within data
occupies much more space for storage
Almost 80% of data
Video, Audio, Binary, Zip file kind of data are unstructured data
Google Cloud Storage, File store inside GCP to store Unstructured
data
8 VCPU - 16 GB
8 VCPU - 16 GB
Horizontal
Vertical Scaling
Scaling
12 VCPU - 24 GB
Disaster System
Last Backup happens Recovered
Key1 Val1
Key2 Val2
Key3 Val3
Key4 Val4
On-
premises
© ANKIT MISTRY – GOOGLE CLOUD
Zonal
Failover
ACID transactions support - so can be used for transactional Key Primary Key
app like Banking
For Query - SQL-like queries, GQL
Multiple indexes Support
Nicely integrated with App Engine
Use case
Session Info, Product catalog
© ANKIT MISTRY – GOOGLE CLOUD
[Hands-on] Cloud Datastore
Select Region
Create some kind & entity from Console
Execute GQL Query on top
Demo on indexing
Access Datastore Operation from Python
pip install google-cloud-Datastore
https://cloud.google.com/docs/samples?language=python&product=datastore
Personal_data_cf Professional_data_cf
Row Key
name age salary designation company
Professional_data_cf:salary