nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #324

You work for a multinational company and are migrating an Oracle database to a multi-region Spanner cluster. You have to plan the migration activities and the DBAs have told you that the migration wil

The correct answer is B. You have to change most of the primary keys. With traditional SQL databases, it is advisable to use numerical primary keys in sequence. Oracle DB, for example, has an object type that creates progressive values, called a sequence. Instead, it is important that distributed databases do not use progressive keys, because the t

Submitted by rania.sa· Mar 30, 2026Managing implementation

Question

You work for a multinational company and are migrating an Oracle database to a multi-region Spanner cluster. You have to plan the migration activities and the DBAs have told you that the migration will be almost immediate because no non-standard ISO / IEC features or stored procedures are used. But you know that there is an element that will necessarily require some maintenance work. Which is this element?

Options

  • AYou need to drop the secondary indexes
  • BYou have to change most of the primary keys
  • CYou need to manage table partitions
  • DYou have to change the schema design of many tables

How the community answered

(23 responses)
  • A
    13% (3)
  • B
    57% (13)
  • C
    26% (6)
  • D
    4% (1)

Explanation

With traditional SQL databases, it is advisable to use numerical primary keys in sequence. Oracle DB, for example, has an object type that creates progressive values, called a sequence. Instead, it is important that distributed databases do not use progressive keys, because the tables are split among the nodes in primary key order and therefore all the inserts would take place only at one point, degrading performance. This problem is called hotspotting. A is wrong because Spanner handles secondary indexes. C is wrong because Spanner automatically manages the distribution of data in the clusters. D is wrong because we already know that the structuring of the tables follows the standards.

Topics

#Cloud Spanner#Oracle migration#primary key design#schema migration

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice