Question 662 of 999
Design data storage solutionsmediumMultiple SelectObjective-mapped

Quick Answer

The correct answer is Azure SQL Managed Instance with Oracle compatibility mode and Azure Database for PostgreSQL with the Oracle compatibility extension. Azure SQL Managed Instance offers a dedicated Oracle compatibility mode that supports PL/SQL stored procedures, triggers, and functions with near-zero code changes, making it the primary choice for minimizing migration effort. Azure Database for PostgreSQL, when enhanced with the Oracle compatibility extension, also supports PL/SQL syntax and semantics, providing a secondary option for organizations already invested in the PostgreSQL ecosystem. On the AZ-305 exam, this question tests your ability to match legacy database workloads to Azure’s platform-as-a-service offerings, often appearing as a scenario where the company prioritizes code preservation over full re-architecture. A common trap is choosing Azure SQL Database alone, which lacks the same depth of PL/SQL compatibility. Remember the memory tip: “Managed Instance for minimal changes, PostgreSQL for open-source alignment”—both support Oracle PL/SQL, but Managed Instance is the closer fit for legacy Oracle migrations.

AZ-305 Design data storage solutions Practice Question

This AZ-305 practice question tests your understanding of design data storage solutions. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is migrating a legacy application that uses Oracle Database to Azure. They want to minimize code changes and maintain compatibility with Oracle PL/SQL. Which TWO Azure data services should they consider?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

Question 1mediummulti select
Read the full NAT/PAT explanation →

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

Azure SQL Managed Instance with Oracle compatibility

Azure SQL Managed Instance with Oracle compatibility (option B) provides a high degree of PL/SQL compatibility through its 'Oracle compatibility mode,' which supports stored procedures, triggers, and functions written in PL/SQL with minimal changes. This service also offers a fully managed SQL Server engine that can run Oracle workloads with near-zero code modifications, making it ideal for legacy application migration.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Azure SQL Database

    Why it's wrong here

    Not Oracle-compatible.

  • Azure SQL Managed Instance with Oracle compatibility

    Why this is correct

    Supports Oracle features like PL/SQL.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Azure Database for PostgreSQL with Oracle compatibility extension

    Why this is correct

    Supports PL/SQL via extension.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Azure Cosmos DB

    Why it's wrong here

    NoSQL, incompatible.

  • Azure Database for MySQL

    Why it's wrong here

    Different SQL dialect.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume only a single service can provide Oracle compatibility, but the question explicitly asks for TWO options, and the PostgreSQL extension is a valid second choice that many overlook because they focus solely on SQL Server-based solutions.

Detailed technical explanation

How to think about this question

Azure SQL Managed Instance's Oracle compatibility mode leverages a SQL Server engine with a custom parser that translates Oracle PL/SQL constructs (e.g., packages, cursors, and exception handling) into equivalent T-SQL at runtime, reducing migration effort. In contrast, the Oracle compatibility extension for Azure Database for PostgreSQL (option C) uses the 'orafce' extension to provide Oracle-like functions and data types, but it does not fully support complex PL/SQL blocks or Oracle-specific features like autonomous transactions. A real-world scenario involves migrating a financial application with hundreds of Oracle stored procedures; using SQL Managed Instance can cut migration time by 60% compared to rewriting for PostgreSQL.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-305 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-305 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-305 question test?

Design data storage solutions — This question tests Design data storage solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Azure SQL Managed Instance with Oracle compatibility — Azure SQL Managed Instance with Oracle compatibility (option B) provides a high degree of PL/SQL compatibility through its 'Oracle compatibility mode,' which supports stored procedures, triggers, and functions written in PL/SQL with minimal changes. This service also offers a fully managed SQL Server engine that can run Oracle workloads with near-zero code modifications, making it ideal for legacy application migration.

What should I do if I get this AZ-305 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

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.

Loading comments…

Sign in to join the discussion.

This AZ-305 practice question is part of Courseiva's free Microsoft 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 AZ-305 exam.