exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 2 question 96 discussion

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

You have an Azure subscription that contains an Azure SQL database named DB1 and a storage account named storage1. The storage1 account contains a file named File1.txt. File1.txt contains the names of selected tables in DB1.

You need to use an Azure Synapse pipeline to copy data from the selected tables in DB1 to the files in storage1. The solution must meet the following requirements:

• The Copy activity in the pipeline must be parameterized to use the data in File1.txt to identify the source and destination of the copy.
• Copy activities must occur in parallel as often as possible.

Which two pipeline activities should you include in the pipeline? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  • A. Get Metadata
  • B. Lookup
  • C. ForEach
  • D. If Condition
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
FRANCIS_A_M
Highly Voted 1 year, 8 months ago
Selected Answer: BC
It's BC. Use the LookUp Activity to read the .txt file. ForEach to Loop though making sure Sequential is off (which off by default) for parallelization
upvoted 13 times
ExamDestroyer69
11 months, 3 weeks ago
This is correct, Get Metadata doesn't directly retrieve the content of the file itself. If you want to obtain the content of a .txt file like File1.txt, specifically the table names contained within it, you'd typically use Lookup. Correct Anwser: BC
upvoted 1 times
...
...
aemilka
Highly Voted 1 year, 7 months ago
Selected Answer: BC
Lookup activity reads and returns the content of a configuration file or table. It also returns the result of executing a query or stored procedure. The output can be a singleton value or an array of attributes, which can be consumed in a subsequent copy, transformation, or control flow activities like ForEach activity. https://learn.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity
upvoted 6 times
...
kkk5566
Most Recent 1 year, 3 months ago
Selected Answer: BC
correct
upvoted 2 times
...
examtopicsofyannick
1 year, 4 months ago
Selected Answer: BC
BC - Lookup and ForEach. Lookup - reads .txt file ForEach - iteration through contents read in Lookup activity for COPY activity
upvoted 2 times
...
auwia
1 year, 5 months ago
Selected Answer: BC
Correct answers.
upvoted 2 times
...
vctrhugo
1 year, 5 months ago
Selected Answer: BC
B. Lookup: The Lookup activity can be used to read the contents of File1.txt from the storage account. It will retrieve the names of selected tables in DB1 as parameter values for the Copy activity. C. ForEach: The ForEach activity can be used to iterate over the retrieved table names from File1.txt. Inside the loop, you can configure the Copy activity with the source and destination information based on the current table name.
upvoted 2 times
...
shakes103
1 year, 8 months ago
Selected Answer: BC
Answer is B and C.
upvoted 4 times
...
Sibaprasad
1 year, 8 months ago
' Get Metadata' cannot read the content of the file. Its Lookup and ForEach. Refer to link : https://learn.microsoft.com/en-us/azure/data-factory/control-flow-get-metadata-activity and https://learn.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity
upvoted 4 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 ...