exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 1 question 70 discussion

Actual exam question from Microsoft's DP-203
Question #: 70
Topic #: 1
[All DP-203 Questions]

You are designing the folder structure for an Azure Data Lake Storage Gen2 account.

You identify the following usage patterns:

• Users will query data by using Azure Synapse Analytics serverless SQL pools and Azure Synapse Analytics serverless Apache Spark pools.
• Most queries will include a filter on the current year or week.
• Data will be secured by data source.

You need to recommend a folder structure that meets the following requirements:

• Supports the usage patterns
• Simplifies folder security
• Minimizes query times

Which folder structure should you recommend?

  • A. \DataSource\SubjectArea\YYYY\WW\FileData_YYYY_MM_DD.parquet
  • B. \DataSource\SubjectArea\YYYY-WW\FileData_YYYY_MM_DD.parquet
  • C. DataSource\SubjectArea\WW\YYYY\FileData_YYYY_MM_DD.parquet
  • D. \YYYY\WW\DataSource\SubjectArea\FileData_YYYY_MM_DD.parquet
  • E. WW\YYYY\SubjectArea\DataSource\FileData_YYYY_MM_DD.parquet
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nicky87654
Highly Voted 2 years, 4 months ago
Selected Answer: A
A. \DataSource\SubjectArea\YYYY\WW\FileData_YYYY_MM_DD.parquet The recommended folder structure that best meets the requirements is option A. It separates data by data source, year and week. It allows for easy filtering of data by year or week, which aligns with the usage pattern where most queries include a filter on the current year or week.
upvoted 16 times
...
EmnCours
Most Recent 5 months, 2 weeks ago
Selected Answer: A
Correct Answer: A
upvoted 1 times
...
Charley92
1 year, 3 months ago
Selected Answer: A
Based on the usage patterns and requirements, I recommend the following folder structure: \DataSource\SubjectArea\YYYY\WW\FileData_YYYY_MM_DD.parquet This structure is designed to support the usage patterns by organizing data by data source and subject area. The year and week folders will help optimize queries that filter by current year or week. This structure also simplifies folder security by grouping data by data source and subject area, making it easier to apply security policies. Finally, this structure minimizes query times by organizing data in a way that is optimized for the most common queries.
upvoted 2 times
...
ExamDestroyer69
1 year, 4 months ago
Selected Answer: B
I believe it would be B. "Minimises query time" and "Most queries will include a filter on the current year OR week." The "OR WEEK" suggests that we may filter by only week and not the year. In this event it would (to my knowledge) take longer to query through every single year to select the week you want as opposed to selecting all the folders containing the WW target value in their name. If someone with query optimisation knowledge could confirm this below it would be appreciated.
upvoted 1 times
...
kkk5566
1 year, 8 months ago
Selected Answer: B
Minimizes query times && Most queries will include a filter on the current year OR week. It is B.
upvoted 1 times
kkk5566
1 year, 8 months ago
forhot it ,Option A can set permissions at the year level or at the week, should be A.
upvoted 2 times
...
...
Deeksha1234
1 year, 9 months ago
my opinion it should be A, as it can clearly filter on year or on week , both the options will be available.
upvoted 2 times
...
auwia
1 year, 10 months ago
Selected Answer: B
We need to query by week too, so better YYYY-WWW.
upvoted 1 times
auwia
1 year, 10 months ago
I got another good point in favour of B from the question, look the requirement: "Most queries will include a filter on the current year OR week." (OR) let's suppose they ask you to give back the fourth week for example, you need to go year by year (folders) instead of have it in 1 page. Definitely for me it's option B.
upvoted 1 times
semauni
1 year, 9 months ago
But why is it YYY-WW for you then instead of YYYY\WW?
upvoted 2 times
...
...
...
VittalManikonda
1 year, 10 months ago
Option B seems right answer as we can directly access the given yyyy-ww .
upvoted 2 times
...
Rossana
2 years ago
chat GPT: Based on the given usage patterns and requirements, the recommended folder structure would be option B: \DataSource\SubjectArea\YYYY-WW\FileData_YYYY_MM_DD.parquet This structure allows for easy filtering of data by year and week, which aligns with the identified usage pattern of most queries filtering by the current year or week. It also organizes the data by data source and subject area, which simplifies folder security. By using a flat structure, with the data files directly under the year-week folder, query times can be minimized as the data is organized for efficient partition pruning. Option A is similar but includes an additional level of hierarchy for the year, which is unnecessary given the requirement to filter by year-week. Options C, D, and E do not follow a consistent hierarchy, making it difficult to navigate and locate specific data files.
upvoted 4 times
Rob77
1 year, 11 months ago
No, A it will give you additional separate column for week (WW).
upvoted 1 times
auwia
1 year, 10 months ago
"Most queries will include a filter on the current year OR week."
upvoted 1 times
...
...
DP203Cert2023
1 year, 11 months ago
I would not trust using Chat GPT for studying a certification...
upvoted 5 times
...
...
akshaynag95
2 years, 3 months ago
Selected Answer: A
A is correct answer
upvoted 1 times
...
vrodriguesp
2 years, 3 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
DindaS
2 years, 3 months ago
The answer A is correct
upvoted 1 times
...
[Removed]
2 years, 4 months ago
Selected Answer: A
Given answer is correct
upvoted 1 times
...
ZIMARAKI
2 years, 4 months ago
Selected Answer: A
Correct
upvoted 1 times
...
MrWood47
2 years, 4 months ago
Selected Answer: A
Answer is correct. The reason is that this folder structure allows for the data to be organized by data source and subject area, which can help with securing the data by data source. Additionally, it organizes the data by year and week, which can minimize query times for the queries that include a filter on the current year or week. And also the file name format is consistent with the folder structure, which makes it easy to understand where the data comes from.
upvoted 2 times
...
alexnicolita
2 years, 4 months ago
Selected Answer: A
My choice is A
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago