exam questions

Exam DA0-001 All Questions

View all questions & answers for the DA0-001 exam

Exam DA0-001 topic 1 question 86 discussion

Actual exam question from CompTIA's DA0-001
Question #: 86
Topic #: 1
[All DA0-001 Questions]

Which of the following is a difference between a primary key and a unique key?

  • A. A unique key cannot take null values, whereas a primary key can take null values.
  • B. There can be only one primary key in a data set, whereas there can be multiple unique keys.
  • C. A primary key can take a value more than once, whereas a unique key cannot take a value more than once.
  • D. A primary key cannot be a date variable, whereas a unique key can be.
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
Swift_and_Quick
6 months, 3 weeks ago
B. In a given table, only one primary key can be defined, but multiple unique keys can be defined to enforce uniqueness on different columns.
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