Test
CAP Theorem and Database Trade-offs
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (8)
1What aspect of the CAP theorem does MongoDB trade off?
- AConsistency
- BAvailability
- CPartition tolerance
- DScalability
2Why does MongoDB experience a brief period of downtime during server failure?
- AThe entire database must reboot.
- BData replication halts temporarily.
- CThe system must detect the outage and elect a new primary host.
- DConfig servers need to reinitialize.
3Which part of the CAP theorem does Cassandra sacrifice?
- AConsistency
- BAvailability
- CPartition tolerance
- DFault tolerance
4Why is Cassandra highly available?
- AIt replicates data across all nodes in real time.
- BIt avoids having a single master node.
- CIt requires all nodes to stay online simultaneously.
- DIt partitions data only when a node fails.
5When designing a database system, what is a critical first step in choosing a database technology?
- APicking the most popular database solution.
- BEnsuring consistency at all costs.
- CUnderstanding the system’s specific requirements.
- DUsing a database that maximizes partition tolerance.
6In what scenario is it acceptable to choose a database that sacrifices availability?
- AWhen downtime longer than a few minutes is acceptable.
- BWhen the system requires eventual consistency.
- CWhen a few seconds of downtime is acceptable.
- DWhen the system does not need to scale horizontally.
7Which database technologies are examples of solutions that balance CAP trade-offs effectively for general-purpose use?
- ACassandra and PostgreSQL
- BMongoDB and DynamoDB
- COracle and SQLite
- DRedis and MySQL
8Why is it important to discuss database trade-offs in system design interviews?
- AIt shows familiarity with coding techniques.
- BIt demonstrates an understanding of scalability tools.
- CIt highlights an ability to make informed technical decisions.
- DIt ensures the interviewer agrees with your database choice.
Información
- Descripción
- This quiz focuses on the CAP theorem and database trade-offs, covering MongoDB and Cassandra's approaches to consistency, availability, and partition tolerance. It emphasizes understanding system requirements to make informed database choices in design scenarios.
- Autor
- Eladio Rocha
- Idioma
- Español
- Visitas
- 77
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test