Courseiva
Migrate data solutionsmediumMultiple ChoiceObjective-mapped

PCDE Migrate data solutions Practice Question

An organization is planning a database migration from Oracle to PostgreSQL on Cloud SQL. They have a large number of stored procedures that use Oracle-specific PL/SQL features. Which tool should they use to automate the schema conversion, including conversion of PL/SQL to PL/pgSQL?

⚠ Common exam trap

A common misconception is that Database Migration Service (DMS) can handle all aspects of migration including PL/SQL conversion, but DMS primarily handles data transfer and schema creation, not procedural code conversion, which requires a specialized tool like Ora2Pg.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Ora2Pg

Ora2Pg is an open-source tool specifically designed to automate the migration of Oracle databases to PostgreSQL, including the conversion of Oracle-specific PL/SQL stored procedures into PL/pgSQL. It handles schema objects, data types, and procedural code, making it the correct choice for this scenario where PL/SQL conversion is a key requirement.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Ora2Pg

    Why this is correct

    Ora2Pg is designed to convert Oracle schemas and objects to PostgreSQL.

  • pglogical

    Why it's wrong here

    pglogical is a logical replication tool, not a schema conversion tool.

  • pg_dump

    Why it's wrong here

    pg_dump is for PostgreSQL backups, not for converting Oracle schemas.

  • Database Migration Service (DMS)

    Why it's wrong here

    DMS handles continuous migration and data replication but does not perform schema conversion for heterogeneous databases.

About these practice questions

One of 1,446 original PCDE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCDE exam.