SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is migrating a legacy application that uses Oracle stored procedures to Amazon Aurora PostgreSQL. Which TWO strategies minimize code changes and migration effort?
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
✓
Use the PostgreSQL oracle_fdw foreign data wrapper to access Oracle tables from Aurora PostgreSQL.
Options A and E are correct. Option A uses the PostgreSQL oracle_fdw foreign data wrapper to access Oracle tables from Aurora PostgreSQL, minimizing code changes by allowing direct access to Oracle data without full migration. Option E uses AWS Schema Conversion Tool (SCT) to convert Oracle PL/SQL stored procedures to PostgreSQL PL/pgSQL, automating schema conversion and reducing manual effort. Option B is incorrect because Amazon RDS for Oracle with cross-Region replication does not migrate to PostgreSQL. Option C is incorrect because AWS DMS replicates data but does not convert stored procedures. Option D is incorrect because migrating to DynamoDB (NoSQL) would require significant application rewrite.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use the PostgreSQL oracle_fdw foreign data wrapper to access Oracle tables from Aurora PostgreSQL.
Why this is correct
FDW can reduce migration effort by allowing access to Oracle data.
- ✗
Use Amazon RDS for Oracle with cross-Region replication.
Why it's wrong here
This does not migrate to PostgreSQL.
- ✗
Use AWS Database Migration Service (DMS) to replicate data continuously.
Why it's wrong here
DMS replicates data but does not convert stored procedures.
- ✗
Migrate the database to Amazon DynamoDB and rewrite all application logic.
Why it's wrong here
DynamoDB is NoSQL and requires significant code changes.
- ✓
Use AWS Schema Conversion Tool (SCT) to convert Oracle PL/SQL to PostgreSQL PL/pgSQL.
Why this is correct
SCT automates conversion of schema and code.
Go deeper
Related to this question
About these practice questions
One of 1,660 original SAP-C02 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-C02 practice question is part of Courseiva's free Amazon Web Services 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 SAP-C02 exam.