exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 15 question 2 discussion

Actual exam question from Microsoft's DP-300
Question #: 2
Topic #: 15
[All DP-300 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 a FOREIGN KEY constraint
  • B. a table the has an IDENTITY property
  • C. a user-defined SEQUENCE object
  • D. a system-versioned temporal table
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
bingomutant
7 months ago
B. A table that has an IDENTITY property Here’s why: A surrogate key is a unique identifier for a record, and in SQL Server, the IDENTITY property is the most commonly used method to create surrogate keys. It automatically generates unique, sequential numbers, which is ideal for a surrogate key. The requirement to account for changes to the retail store addresses suggests the need for a unique identifier that remains consistent even if store addresses change. An IDENTITY column is perfect for this because the values will not change as the data in the other columns (like the store address) changes.
upvoted 1 times
...
TheSwedishGuy
11 months, 3 weeks ago
DP-203 question.
upvoted 2 times
...
xegiwo9758
3 years, 4 months ago
Selected Answer: B
"a table the has an IDENTITY property" is the correct answer
upvoted 4 times
...
o2091
3 years, 6 months ago
it looks good, what do you think?
upvoted 2 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