Courseiva
Design and implement data storagemediumMultiple ChoiceObjective-mapped

DP-203 Design and implement data storage Practice Question

Exhibit

Refer to the exhibit.

CREATE EXTERNAL DATA SOURCE myDataSource
WITH (
  LOCATION = 'abfss://container@storageaccount.dfs.core.windows.net',
  CREDENTIAL = myCredential
);

CREATE EXTERNAL FILE FORMAT myFileFormat
WITH (
  FORMAT_TYPE = PARQUET,
  DATA_COMPRESSION = 'org.apache.hadoop.io.compress.SnappyCodec'
);

CREATE EXTERNAL TABLE myExternalTable
(
  ProductID int,
  ProductName varchar(100),
  Price decimal(10,2)
)
WITH (
  LOCATION = 'sales/products/',
  DATA_SOURCE = myDataSource,
  FILE_FORMAT = myFileFormat
);

You execute the above T-SQL in a serverless SQL pool in Azure Synapse Analytics. The external table creation succeeds, but when you query the table, it returns zero rows. The folder 'sales/products/' exists in the container and contains multiple .parquet files. What is the most likely cause?

⚠ Common exam trap

Test-takers frequently assume the LOCATION must include the full container path, but it is relative to the external data source's root, so a mismatch in the relative subfolder (e.g., missing a slash or using an absolute path) leads to zero rows without an error.

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

The LOCATION path in the external table does not match the actual file path.

The external table's LOCATION parameter specifies a path relative to the external data source's root. Even though the folder 'sales/products/' exists, the LOCATION must exactly match the subfolder path within the container. A mismatch (e.g., missing a trailing slash, case sensitivity, or an extra prefix) causes the serverless SQL pool to scan no files, returning zero rows.

Answer analysis

Option-by-option breakdown

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

  • The file format is incorrect; should be DELIMITEDTEXT instead of PARQUET.

    Why it's wrong here

    The files are parquet, so format is correct.

  • The LOCATION path in the external table does not match the actual file path.

    Why this is correct

    If the files are in a subfolder or the path is incorrect, no files are read.

  • The external data source location uses the wrong endpoint; should use .blob.core.windows.net instead.

    Why it's wrong here

    abfss is correct for Data Lake Storage Gen2.

  • The credential used in the external data source does not have read permissions.

    Why it's wrong here

    Permission issues would cause an error, not zero rows.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

One of 760 original DP-203 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-203 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 DP-203 exam.