• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 30 pages
Exam (elaborations)

DM 2 – Database Design and Development 7

Document preview thumbnail
Preview 3 out of 30 pages

DM 2 – Database Design and Development 7

Content preview

1. Which of the following is a constraint in a database?

A. Primary key

B. Data type

C. Foreign key

D. All of the above

Answer: D

Rationale: Primary keys, foreign keys, and data types are all types of constraints

that enforce data integrity rules within a database.




2. Which of the following is an example of a composite key?

A. A single column that uniquely identifies a record.

B. A combination of two or more columns that uniquely identify a record.

C. A key that contains duplicate values.

D. A key that relates to another table.

Answer: B

,Rationale: A composite key is made up of two or more columns in a table that

together uniquely identify a record.




3. The many-to-many relationship is typically resolved using:

A. A junction (or associative) table.

B. A foreign key constraint.

C. A unique constraint.

D. A subquery.

Answer: A

Rationale: A many-to-many relationship is resolved by introducing a junction table

that holds foreign keys referencing the two entities involved in the relationship.




4. Which of the following is not a characteristic of NoSQL databases?

A. Schema-less design

B. Horizontal scalability

C. Strong consistency

D. Non-relational data model

Answer: C

, Rationale: NoSQL databases are often designed for horizontal scalability and

flexibility with a schema-less structure. They may favor eventual consistency over

strict consistency.




5. Which of the following ensures that data integrity is maintained when modifying

data?

A. Referential integrity

B. Data independence

C. Data redundancy

D. Normalization

Answer: A

Rationale: Referential integrity ensures that relationships between tables are

maintained consistently, preventing orphaned records and ensuring that foreign key

constraints are respected.




6. Which of the following is not a typical use case for NoSQL databases?

A. High-volume, high-velocity data storage.

B. Storing unstructured or semi-structured data.

C. Complex transactions with ACID properties.

Document information

Uploaded on
March 17, 2025
Number of pages
30
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
douglasmugwe82
5.0
(1)
Sold
2
Followers
0
Items
4215
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions