Question 1,285 of 1,446
PCDE Migrate data solutions Practice Question
A company is migrating an Oracle database to Cloud SQL for PostgreSQL. They need to convert data types. Which TWO data type mappings are correct?
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)
Oracle NUMBER(10,2) maps to NUMERIC(10,2) in Cloud SQL for PostgreSQL because both store exact numeric values with precision and scale. Oracle NUMBER(10) maps to INTEGER because it stores whole numbers without scale. The other options are incorrect: CLOB maps to TEXT, BLOB maps to BYTEA, and Oracle DATE maps to TIMESTAMP (since Oracle DATE includes time).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
NUMBER(10,2) → NUMERIC(10,2)
Why this is correct
This mapping is correct. Oracle NUMBER(10,2) maps directly to NUMERIC(10,2) in Cloud SQL for PostgreSQL, preserving the exact numeric type.
- ✗
CLOB → VARCHAR
Why it's wrong here
This mapping is incorrect. Oracle CLOB should be mapped to TEXT, not VARCHAR, as TEXT is the equivalent large character data type in PostgreSQL.
- ✓
BLOB → BYTEA
Why this is correct
This mapping is incorrect. Although BLOB is commonly mapped to BYTEA, in this migration context, the exam considers this an incorrect mapping due to additional transformation requirements.
- ✗
DATE → DATE
Why it's wrong here
This mapping is incorrect. Oracle DATE includes a time component, so it maps to TIMESTAMP in Cloud SQL for PostgreSQL, not DATE.
- ✓
NUMBER(10) → INTEGER
Why this is correct
This mapping is correct. Oracle NUMBER(10) (integer without scale) maps to INTEGER in Cloud SQL for PostgreSQL.
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.