CompTIA DataSys+ (DS0-001)Database DeploymentEasy
A database administrator is planning to deploy a new database system that will primarily store unstructured documents, such as articles and user-generated content, and requires flexible schema capabilities. Which of the following database types is BEST suited for this requirement?
- ADocument Database
- BRelational Database
- CKey-Value Store
- DGraph Database
Show answer & explanationAnswer & explanation
Correct answer: A. Document Database
Document databases are designed to store and manage semi-structured or unstructured data in document-like formats, offering schema flexibility ideal for content like articles and user-generated posts.
Why the other options are wrong
- B. Relational databases require a predefined schema, which is not suitable for unstructured documents.
- C. Key-value stores are simple data stores and lack the rich querying capabilities and document structure needed for this use case.
- D. Graph databases are designed for data with complex relationships, not primarily for unstructured documents.
Document Database
A type of NoSQL database that stores data in flexible, semi-structured document formats, such as JSON or BSON.
- Ideal for unstructured or semi-structured data.
- Offers dynamic schemas, allowing data structure to evolve.
- Commonly used for content management, catalogs, and user profiles.
Memory trick: Documents are flexible, like a good book on a shelf.