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

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

You are migrating your on-premises PostgreSQL database to Spanner. You need to identify a solution for handling existing integer-based table primary keys. You want minimal changes to the applications while also following Google-recommended practices. What should you do?

  • A. Use application generated sequential integer values as primary keys.
  • B. Update default primary key values to max(primary_key) + 1.
  • C. Use a UUID function that generates UUID Version 4 values as primary keys.
  • D. Generate values by using BIT_REVERSED_POSITIVE sequences.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Sai_Vignesh
1 week, 1 day ago
Selected Answer: C
This is a tough one. My best educated guess is C.
upvoted 1 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 ...