What is the general recommendation when designing your row keys for a Cloud Bigtable schema?
Answer(s): C
A general guide is to, keep your row keys reasonably short. Long row keys take up additional memory and storage and increase the time it takes to get responses from the Cloud Bigtable server.
https://cloud.google.com/bigtable/docs/schema-design#row-keys
Which of the following statements is NOT true regarding Bigtable access roles?
Answer(s): B
For Cloud Bigtable, you can configure access control at the project level. For example, you can grant the ability to:Read from, but not write to, any table within the project.Read from and write to any table within the project, but not manage instances.Read from and write to any table within the project, and manage instances.
https://cloud.google.com/bigtable/docs/access-control
For the best possible performance, what is the recommended zone for your Compute Engine instance and Cloud Bigtable instance?
It is recommended to create your Compute Engine instance in the same zone as your Cloud Bigtable instance for the best possible performance,If it's not possible to create a instance in the same zone, you should create your instance in another zone within the same region. For example, if your Cloud Bigtable instance is located in us-central1-b, you could create your instance in us-central1-f. This change may result in several milliseconds of additional latency for each Cloud Bigtable request.It is recommended to avoid creating your Compute Engine instance in a different region from your Cloud Bigtable instance, which can add hundreds of milliseconds of latency to each Cloud Bigtable request.
https://cloud.google.com/bigtable/docs/creating-compute-instance
Which row keys are likely to cause a disproportionate number of reads and/or writes on a particular node in a Bigtable cluster (select 2 answers)?
Answer(s): A,B
...using a timestamp as the first element of a row key can cause a variety of problems.In brief, when a row key for a time series includes a timestamp, all of your writes will target a single node; fill that node; and then move onto the next node in the cluster, resulting in hotspotting.Suppose your system assigns a numeric ID to each of your application's users. You might be tempted to use the user's numeric ID as the row key for your table. However, since new users are more likely to be active users, this approach is likely to push most of your traffic to a small number of nodes. [https://cloud.google.com/bigtable/docs/schema-design]
https://cloud.google.com/bigtable/docs/schema-design-time- series#ensure_that_your_row_key_avoids_hotspotting
When a Cloud Bigtable node fails, ____ is lost.
A Cloud Bigtable table is sharded into blocks of contiguous rows, called tablets, to help balance the workload of queries. Tablets are stored on Colossus, Google's file system, in SSTable format. Each tablet is associated with a specific Cloud Bigtable node.Data is never stored in Cloud Bigtable nodes themselves; each node has pointers to a set of tablets that are stored on Colossus. As a result:Rebalancing tablets from one node to another is very fast, because the actual data is not copied. Cloud Bigtable simply updates the pointers for each node.Recovery from the failure of a Cloud Bigtable node is very fast, because only metadata needs to be migrated to the replacement node.When a Cloud Bigtable node fails, no data is lost
https://cloud.google.com/bigtable/docs/overview
Post your Comments and Discuss Google Professional Data Engineer exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Professional Data Engineer content, but please register or login to continue.