Quiz
Modern Scalable Databases
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (13)
1What is the primary purpose of a router in a scalable database design?
- ATo perform joins between shards.
- BTo route client requests to the appropriate shard.
- CTo store backup configurations for shards.
- DTo hash keys for partitioning data.
2What is a "shard" in the context of databases?
- AA method of encrypting sensitive data.
- BA backup server in a replica set.
- CA horizontal partition of a database.
- DA tool for monitoring database traffic.
3What is a major advantage of sharding in database systems?
- AIt eliminates the need for backups.
- BIt increases both scalability and redundancy.
- CIt simplifies complex SQL queries.
- DIt reduces the need for a router.
4What is a replica set in MongoDB?
- AA set of configuration servers.
- BA collection of shards distributed across regions.
- CA primary server and its associated secondary servers for redundancy.
- DA group of shards that handle write-heavy traffic.
5How does MongoDB ensure high availability when a primary server fails?
- ATraffic is rerouted to the config server.
- BSecondary servers automatically elect a new primary.
- CThe router assigns new shards dynamically.
- DThe primary server is rebooted automatically.
6What does "eventual consistency" mean in the context of Cassandra?
- AData is always immediately consistent across all nodes.
- BData might take time to propagate across nodes, leading to temporary inconsistencies.
- CData must be manually synchronized across nodes.
- DConsistency is not guaranteed due to system failures.
7What is the "celebrity problem" in sharded databases?
- AHigh traffic on specific shards causes uneven load distribution.
- BCelebrities’ data is stored differently for security reasons.
- CAll shards are overloaded with high read and write requests.
- DCertain shards fail to replicate data efficiently.
8What is re-sharding, and why is it challenging?
- ARedistributing data when adding or removing shards, which requires fault-tolerant methods.
- BCreating backups for new shards added to the system.
- CReplicating data across all shards during traffic spikes.
- DDistributing write-heavy traffic across existing shards.
9What is a key advantage of using a normalized database schema?
- AIt minimizes storage space and simplifies updates.
- BIt allows faster reads with fewer database hits.
- CIt duplicates data for high performance.
- DIt eliminates the need for joins between tables.
10Why might denormalized data be preferred in a NoSQL database?
- AIt reduces redundancy and improves update efficiency..
- BIt allows for single-query retrieval of all necessary data.
- CIt enforces strict schema rules.
- DIt is easier to scale horizontally.
11What should you prioritize when designing a horizontally scalable database?
- AUsing as many joins as possible for efficiency.
- BDesigning around simple key-value lookups to avoid joins.
- CAvoiding hash functions for data distribution.
- DRelying heavily on a single primary server for consistency.
12Which database systems are examples of NoSQL?
- APostgreSQL and MySQL.
- BMongoDB, Cassandra, and DynamoDB.
- COracle and SQLite.
- DRedis and HBase and SQLite
13In what scenarios might you choose to use normalized data over denormalized data in a NoSQL database?
- AWhen updates are frequent and space efficiency is important.
- BWhen scaling horizontally is a top priority.
- CWhen high traffic requires fewer database hits.
- DWhen you need to perform complex joins efficiently.
Informationen
- Beschreibung
- Test your knowledge of modern scalable databases, including sharding, NoSQL systems like MongoDB and Cassandra, and the trade-offs between normalized and denormalized data.
- Autor
- Eladio Rocha
- Sprache
- Español
- Aufrufe
- 57
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz