What does "CAP theorem" stand for in the context of NoSQL databases?

  • Centralized Architecture Paradigm
  • Common Access Protocol theorem
  • Concurrent Access Principle theorem
  • Consistency, Availability, Partition Tolerance
CAP theorem states that in a distributed system, it's impossible to achieve all three of Consistency, Availability, and Partition Tolerance simultaneously. Understanding CAP helps in making informed decisions when designing and selecting NoSQL databases for specific use cases.

A _______ dimension table in a Star Schema contains reference attributes.

  • Conformed
  • Degenerate
  • Fact
  • Slowly Changing
In a Star Schema, a Conformed dimension table contains reference attributes that are consistent and shared across multiple fact tables. This allows for uniformity in reporting and analysis, as the same dimension can be used across different parts of the data warehouse.

What are some common challenges faced during conceptual schema design?

  • Ambiguous requirements
  • Indexing complexities
  • Query optimization issues
  • Schema normalization challenges
Common challenges in conceptual schema design include dealing with ambiguous requirements, where clarity is lacking. Clearing up ambiguities is crucial to ensure the final schema accurately reflects business needs.

Scenario: A large e-commerce platform stores millions of product records in its database. To improve query performance, the database administrator decides to implement data partitioning based on product categories. What benefits can the company expect from this storage optimization strategy?

  • Enhanced data normalization
  • Improved data integrity
  • Increased data redundancy
  • Reduced query response time
By implementing data partitioning based on product categories, the e-commerce platform can expect reduced query response time. This is because data related to specific product categories is stored together, allowing for more efficient retrieval and improved overall system performance.

In data partitioning, _______ is the process of redistributing data across partitions to ensure balanced loads.

  • Data fragmentation
  • Data migration
  • Data reallocation
  • Data shuffling
In data partitioning, data reallocation is the process of redistributing data across partitions to maintain balanced loads. This ensures that no single partition becomes a bottleneck, optimizing performance in distributed systems.

Partitioning helps in _______ the data across different storage devices or servers.

  • Clustering
  • Distributing
  • Indexing
  • Normalizing
Partitioning helps in Distributing the data across different storage devices or servers. This distribution enhances parallel processing capabilities and can lead to better utilization of resources in a database system.

What is the difference between horizontal and vertical data partitioning?

  • Horizontal partitioning divides a table into columns based on a condition, while vertical partitioning divides a table into rows
  • Horizontal partitioning divides a table into rows based on a condition, while vertical partitioning divides a table into columns
  • Horizontal partitioning is suitable for OLAP systems, while vertical partitioning is suitable for OLTP systems
  • Horizontal partitioning is used for range-based data, while vertical partitioning is used for hash-based data
Horizontal data partitioning involves dividing a table into rows based on a condition, allowing for efficient storage and retrieval of specific subsets of data. Vertical partitioning, on the other hand, involves dividing a table into columns, typically based on the frequency of access, reducing I/O overhead.

In an ERD, what does a cardinality constraint of "1 to Many" indicate?

  • Each entity instance can be associated with multiple instances
  • Each entity instance can be associated with only one instance
  • Each entity instance can be associated with zero or one instance
  • Only one entity instance can be associated with only one instance
In an ERD, a cardinality constraint of "1 to Many" indicates that each instance of one entity can be associated with multiple instances of another entity. This means that for each occurrence of the first entity, there can be multiple occurrences of the second entity.

A relationship where each occurrence in one entity may or may not have a corresponding occurrence in another entity is called _______ relationship.

  • Binary
  • Quaternary
  • Ternary
  • Unary
A relationship where each occurrence in one entity may or may not have a corresponding occurrence in another entity is called a Binary relationship. It involves two entities and is a fundamental concept in data modeling.

Which feature in database design tools allows users to visually create Entity-Relationship Diagrams (ERDs)?

  • ERD Designer
  • Form Builder
  • Query Editor
  • Report Designer
The ERD Designer feature in database design tools allows users to visually create Entity-Relationship Diagrams (ERDs). ERDs are graphical representations of the entities and their relationships in a database schema. This feature helps in designing and understanding the relationships between different entities in the database.