exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 5 question 4 discussion

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

You need to implement the surrogate key for the retail store table. The solution must meet the sales transaction dataset requirements.
What should you create?

  • A. a table that has an IDENTITY property
  • B. a system-versioned temporal table
  • C. a user-defined SEQUENCE object
  • D. a table that has a FOREIGN KEY constraint
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
vctrhugo
Highly Voted 1 year, 10 months ago
Selected Answer: A
A surrogate key is a system-generated unique identifier that is used as a substitute for a natural key. In this case, the surrogate key will be used to account for changes to the retail store addresses. By creating a table with an IDENTITY property, you can ensure that a unique surrogate key is automatically generated for each row inserted into the table. The IDENTITY property assigns a unique value to the column automatically, incrementing by one for each new row. Using an IDENTITY column as the surrogate key will provide an efficient way to join and filter sales transaction records based on product ID, as required by the sales transaction dataset requirements.
upvoted 6 times
...
evangelist
Most Recent 9 months, 3 weeks ago
Selected Answer: A
CREATE TABLE RetailStore ( StoreID INT IDENTITY(1,1) PRIMARY KEY, StoreName NVARCHAR(100), Location NVARCHAR(100) );
upvoted 1 times
...
kkk5566
1 year, 8 months ago
Selected Answer: A
is correct
upvoted 2 times
...
sntlkumar
2 years ago
Given answer is correct
upvoted 2 times
...
uira
2 years, 5 months ago
Selected Answer: A
Identity should be used.
upvoted 3 times
...
anks84
2 years, 8 months ago
Selected Answer: A
A is the correct Answer !
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