exam questions

Exam 70-767 All Questions

View all questions & answers for the 70-767 exam

Exam 70-767 topic 1 question 28 discussion

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

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You are a database administrator for an e-commerce company that runs an online store. The company has the databases described in the following table.


Product prices are updated and are stored in a table named Products on DB1. The Products table is deleted and refreshed each night from MDS by using a
Microsoft SQL Server Integration Services (SSIS) package. None of the data sources are sorted.
You need to update the SSIS package to add current prices to the Products table.
What should you use?

  • A. Lookup transformation
  • B. Merge transformation
  • C. Merge Join transformation
  • D. MERGE statement
  • E. Union All transformation
  • F. Balanced Data Distributor transformation
  • G. Sequential container
  • H. Foreach Loop container
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
In the current release of SQL Server Integration Services, the SQL statement in an Execute SQL task can contain a MERGE statement. This MERGE statement enables you to accomplish multiple INSERT, UPDATE, and DELETE operations in a single statement.
References: https://docs.microsoft.com/en-us/sql/integration-services/control-flow/merge-in-integration-services-packages

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
Yuri1101
Highly Voted 5 years, 1 month ago
It should be Lookup Transformation since it is requiring update of the SSIS packages.
upvoted 9 times
MobeenAhadKhan
4 years, 10 months ago
Merge is correct as products can be discontinued/deleted
upvoted 2 times
...
...
DudeHere
Most Recent 4 years, 6 months ago
Look up is correct. The question specifically says NONE OF THE DATA SOURCES ARE SORTED. This negates the possibility of MERGE. a merge join requires both inputs to be sorted the same way lookup does not require either input to be sorted. https://stackoverflow.com/questions/6735733/what-are-the-differences-between-merge-join-and-lookup-transformations-in-ssis#:~:text=A%20Merge%20Join%20is%20designed,work%20like%20a%20SQL%20JOIN.&text=With%20a%20Merge%20Join%20you,rows%20exist%20in%20input%202.
upvoted 3 times
kimalto452
4 years, 5 months ago
merge join requires both inputs to be sorted. THE ANSWER IS NOT merge join is SQL TASK MERGE STATEMENT
upvoted 1 times
...
...
othman_ee
4 years, 9 months ago
It has to be a lookup as the SSIS package which takes the latest mds records need to have the correct prices.
upvoted 4 times
...
Voxy
4 years, 10 months ago
Lookup! Products are updated every night from MDS. Commonly used view. But prices need to be taken from another place through Lookup transformation.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago