Courseiva
Migrate data solutionshardMultiple ChoiceObjective-mapped

PCDE Migrate data solutions Practice Question

A company is migrating an Oracle database to Cloud SQL for PostgreSQL using Ora2Pg for schema conversion. After conversion, they want to test the correctness of converted stored procedures. Which tool should they use?

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

pgTAP

pgTAP is a unit testing framework for PostgreSQL that allows writing tests for functions, procedures, and other database objects.

Answer analysis

Option-by-option breakdown

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

  • Database Migration Service validation

    Why it's wrong here

    DMS provides basic data validation but not unit testing of code.

  • Ora2Pg --test flag

    Why it's wrong here

    Ora2Pg does not have a --test flag for unit testing.

  • pgTAP

    Why this is correct

    pgTAP is a testing framework that can validate stored procedures and functions.

  • Cloud SQL Insights

    Why it's wrong here

    Cloud SQL Insights provides performance monitoring, not unit testing.

About these practice questions

Courseiva writes every PCDE question from scratch — 1,446 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.