Question 159 of 1,446
PCDE Migrate data solutions Practice Question
A data team is migrating an Oracle database to Cloud SQL for PostgreSQL. They have used Ora2Pg to convert the schema. After conversion, they notice several issues with data type mappings. Which THREE Oracle-to-PostgreSQL mappings are correct? (Choose 3)
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
✓
NUMBER(10,2) -> NUMERIC(10,2)
NUMBER(10) -> INTEGER, NUMBER(10,2) -> NUMERIC(10,2), DATE -> TIMESTAMP are correct. CLOB -> TEXT is also correct but only three needed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
VARCHAR2(10) -> TEXT
Why it's wrong here
VARCHAR2 should map to VARCHAR(10) to preserve length constraint.
- ✗
DATE -> DATE
Why it's wrong here
Oracle DATE includes time; PostgreSQL DATE is date-only. Should map to TIMESTAMP.
- ✓
NUMBER(10,2) -> NUMERIC(10,2)
Why this is correct
Correct mapping: same precision and scale.
- ✓
DATE -> TIMESTAMP
Why this is correct
Correct to preserve time component.
- ✓
NUMBER(10) -> INTEGER
Why this is correct
NUMBER(10) without scale maps to INTEGER in PostgreSQL if the value fits.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jul 4, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.