GCP Datastore Flashcards

1
Q

What is GCP Datastore?

A

It is a noSQL document database,

  • Terabyte capacity
  • Fully Managed,
  • NoSQL
  • Built For Scale
  • High Replication
  • High Availability
  • Has SQL like queries
  • Shards for scale
  • Transactions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is GCP Datastore Fully Managed?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

I need atomic transactions, is GCP Datastore an option?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

I need scalability for a database, will GCP Datastore provide this?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How long does a write take in GCP Datastore?

A

It takes about 1sec to complete a write

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

I have to write to some type of datastore, I need to be able to write 4 transactions per second, is GCP Datastore and option for me?

A

No GCP Datastore requires 1second per write.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In GCP Datastore Are Global Queries consistent?

A

No, they are eventual consistent because of the query more than a single key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In GCP Datastore, are Key Queries consistant?

A

Yes because the query is for a single key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What type of consistency does GCP Datastore give you?

A

It gives you both eventual and strong consistancy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Is GCP Datastore highly available?

A

Yes, 99.95% SLA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

I need to ensure GCP Datastore database can withatand a regional failure, what are my options.

A

Locate your database and its application in a regions supporting multi-region replication. Data is replicatited to zones with in a region but also to another region. There is currently only 2 regions with multiregion capabilities, us-centeral and europe-west.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When creating a GCP Datastore database, how do I selected the region.

A

GCP Datastore selects the region based on the projects region.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When using multi-region replication for GCP Datastore, how many regions is the data replicated to? and how many replicas in each region?

A

3, Region 1 has two full replicas, region 2 has two full replicas and region 3 has one replica.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

I need to export dat to Cloud Storage, is this possible?

A

Yes 100% you can export to CloudStorage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

I need to import data fromCloud Storage, is this possible?

A

Yes 100% you can import from CloudStorage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Can I conect to GCP Cloud Datastore form Cloud Copmpute Engine, what do i need to set up?

A

Yes, 100% you will need to set up a service account and use it to conect form code.

17
Q

Can I conect to GCP Cloud Datastore form Cloud App Engine?

A

Yes, 100% you will need to set up a service account and use it to conect form code.

18
Q

If I export data form GCP Datastore to Cloud Storage, is it possible to import the same format into BigQuery?

A

Yes you can export to Cloud Storage, BigQuery will be able to import same format.

19
Q

How is GCP datastore charged?

A

You are charged for what you use, if over the weekend your database is not accesses you are not charged,

20
Q

Can I use GCP Datastore across region?

A

Normally deployed to one region, but we now have the ability to select a a region that has a buddy region.

21
Q

What is the max limit for Cloud Datastore?

A

There is no limit but Datastore sis good for TB of data

22
Q

Has Datastore got strong consistency?

A

It has strong consistency where lookup are by key and ancestor, all others are eventual.

23
Q

I need Datastore in a zone, can I deploy Datastore to a zone?

A

No you can not deploy Datastoire to a zone. You can deploy Datastore to a region (multi-zone) or to multi-region in us-centeral and europe-wwest.

24
Q

In a multi zone Datastore, where is data stored?

A

Data is replicated to 3 or more zones in the region and also to another close region.

25
Q

Is multi-tenancy supported in Datastiore

A

Yes you can use separate partitions using ‘namespaces’

26
Q

Is data encrypted?

A

Yes Google uses server side encryption and will also mage you keys.