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 109 discussion

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

You have an application that sends banking events to Bigtable cluster-a in us-east. You decide to add cluster-b in us-central1. Cluster-a replicates data to cluster-b. You need to ensure that Bigtable continues to accept read and write requests if one of the clusters becomes unavailable and that requests are routed automatically to the other cluster. What deployment strategy should you use?

  • A. Use the default app profile with single-cluster routing.
  • B. Use the default app profile with multi-cluster routing.
  • C. Create a custom app profile with multi-cluster routing.
  • D. Create a custom app profile with single-cluster routing.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
marpayer
Highly Voted 1 year, 11 months ago
C - Even the default profile can be single-cluster or multi-cluster "The settings in an instance's default app profile depend on the number of clusters the instance had when you first created it: If you created the instance with 1 cluster, the default app profile uses single-cluster routing, and it enables single-row transactions. This ensures that adding additional clusters later doesn't change the behavior of your existing applications."
upvoted 10 times
...
dynamic_dba
Highly Voted 1 year, 9 months ago
C. To ensure you still get connected when a Bigtable instance has 2 or more clusters, you must use multi-cluster routing. The question states that a single cluster existed first, then a second cluster was added. Google’s documentation states, “if you created the instance with one cluster, the default app profile uses single-cluster routing. This ensures that adding additional clusters later does not change the behavior of your existing applications”. Simply adding a second cluster does not change the default profile from single-cluster routing to multi-cluster routing. Since you need multi-cluster routing, you’re going to need a custom app profile. So C is correct. https://cloud.google.com/bigtable/docs/app-profiles#default-app-profile
upvoted 8 times
njda
1 year, 3 months ago
Per the link default profile can be updated for multi cloud routing. So answer should be B https://cloud.google.com/bigtable/docs/replication-settings#high-availability:~:text=To%20configure%20your%20instance%20for%20a%20high%20availability%20(HA)%20use%20case%2C%20create%20a%20new%20app%20profile%20that%20uses%20multi%2Dcluster%20routing%2C%20or%20update%20the%20default%20app%20profile%20to%20use%20multi%2Dcluster%20routing.
upvoted 2 times
...
...
atnafuadd
Most Recent 2 weeks, 5 days ago
Selected Answer: C
Option B: Default app profile with multi-cluster routing ❌ Default profile limitations - the default app profile typically uses single-cluster routing ❌ Cannot modify default profile - default profiles have fixed configurations ❌ Not the recommended approach for custom routing requirements Option C: Create a custom app profile with multi-cluster routing ✅ Automatic failover - multi-cluster routing automatically routes to available clusters ✅ High availability - continues serving requests even if one cluster fails ✅ Custom configuration - allows fine-tuning routing behavior for banking application ✅ Best practice - Google recommends custom app profiles for production workloads ✅ Load balancing - can distribute traffic across both clusters when available
upvoted 1 times
...
Pime13
7 months, 2 weeks ago
Selected Answer: C
https://cloud.google.com/bigtable/docs/replication-settings#high-availability To configure your instance for a high availability (HA) use case, create a new app profile that uses multi-cluster routing, or update the default app profile to use multi-cluster routing. This configuration provides eventual consistency. You won't be able to enable single-row transactions because single-row transactions can cause data conflicts when you use multi-cluster routing
upvoted 3 times
...
Alex0707
7 months, 3 weeks ago
Selected Answer: C
I think C is correct. To make B correct it should say "Update default app profile to use multi-cluster routing and then use it". But it says just "Use default app profile". So B is not complete in this case.
upvoted 2 times
...
PKookNN
10 months, 1 week ago
Selected Answer: B
https://cloud.google.com/bigtable/docs/replication-settings#high-availability said that To configure your instance for a high availability (HA) use case, create a new app profile that uses multi-cluster routing, or update the default app profile to use multi-cluster routing.
upvoted 1 times
...
PKookNN
10 months, 3 weeks ago
Selected Answer: B
The default app profile does not change when you add or remove clusters. You must manually update the default app profile to change its settings. However, as a best practice you should create and use a new app profile instead of changing the default app profile. Once the new default app with multi-cluster in place, the rest follows multi-cluster path.
upvoted 1 times
...
juliorevk
1 year, 2 months ago
Selected Answer: C
Since you created your cluster with only one cluster, the default app profile will have single-cluster routing. You want multi-cluster routing so that if one of the clusters is unavailable, requests are routed automatically to the other cluster. Because of this you need a custom app profile and multi-cluster routing.
upvoted 2 times
...
njda
1 year, 3 months ago
Selected Answer: B
Default profile can be updated to use multi-cluster routing https://cloud.google.com/bigtable/docs/replication-settings#high-availability:~:text=To%20configure%20your%20instance%20for%20a%20high%20availability%20(HA)%20use%20case%2C%20create%20a%20new%20app%20profile%20that%20uses%20multi%2Dcluster%20routing%2C%20or%20update%20the%20default%20app%20profile%20to%20use%20multi%2Dcluster%20routing.
upvoted 2 times
...
pico
1 year, 4 months ago
Selected Answer: C
C From https://cloud.google.com/bigtable/docs/app-profiles#default-app-profile The default app profile does not change when you add or remove clusters. You must manually update the default app profile to change its settings. However, as a best practice you should create and use a new app profile instead of changing the default app profile.
upvoted 2 times
...
sapsant
1 year, 4 months ago
Selected Answer: C
C. Create a custom app profile with multi-cluster routing. Default with multi-cluster won't work as the BigTable was created with a single cluster initially. Hence Custom with multi-cluster option.
upvoted 2 times
...
leroygordo
1 year, 9 months ago
Selected Answer: C
Check the documentation: The default app profile does not change when you add or remove clusters. You must manually update the default app profile to change its settings. However, as a best practice you should create and use a new app profile instead of changing the default app profile. https://cloud.google.com/bigtable/docs/app-profiles#how-they-work Best practice must be the C, a custom app profile.
upvoted 3 times
...
Nirca
1 year, 9 months ago
Selected Answer: C
might be better option
upvoted 2 times
...
SVGoogle89
1 year, 11 months ago
C If you created the instance with 1 cluster, the default app profile uses single-cluster routing, and it enables single-row transactions. This ensures that adding additional clusters later doesn't change the behavior of your existing applications.
upvoted 3 times
...
SVGoogle89
1 year, 11 months ago
C https://cloud.google.com/bigtable/docs/app-profiles#:~:text=Multi%2Dcluster%20routing%20automatically%20routes,they%20are%20in%20different%20zones.
upvoted 3 times
...
SandyZA
1 year, 11 months ago
A The default app profile does not change when you add or remove clusters. You must manually update the default app profile to change its settings. However, as a best practice you should create and use a new app profile instead of changing the default app profile.
upvoted 2 times
SandyZA
1 year, 11 months ago
Correction! I meant C not A.
upvoted 3 times
...
...
chelbsik
1 year, 11 months ago
Selected Answer: B
Default profile can be single-cluster or multi-cluster https://cloud.google.com/bigtable/docs/app-profiles#:~:text=Multi%2Dcluster%20routing%20automatically%20routes,they%20are%20in%20different%20zones.
upvoted 2 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 ...