¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

CAP Theorem and Database Trade-offs

Eladio Rocha 8 preguntas

Hacer el test

Preguntas del test (8)

  1. 1What aspect of the CAP theorem does MongoDB trade off?
    1. AConsistency
    2. BAvailability
    3. CPartition tolerance
    4. DScalability
  2. 2Why does MongoDB experience a brief period of downtime during server failure?
    1. AThe entire database must reboot.
    2. BData replication halts temporarily.
    3. CThe system must detect the outage and elect a new primary host.
    4. DConfig servers need to reinitialize.
  3. 3Which part of the CAP theorem does Cassandra sacrifice?
    1. AConsistency
    2. BAvailability
    3. CPartition tolerance
    4. DFault tolerance
  4. 4Why is Cassandra highly available?
    1. AIt replicates data across all nodes in real time.
    2. BIt avoids having a single master node.
    3. CIt requires all nodes to stay online simultaneously.
    4. DIt partitions data only when a node fails.
  5. 5When designing a database system, what is a critical first step in choosing a database technology?
    1. APicking the most popular database solution.
    2. BEnsuring consistency at all costs.
    3. CUnderstanding the system’s specific requirements.
    4. DUsing a database that maximizes partition tolerance.
  6. 6In what scenario is it acceptable to choose a database that sacrifices availability?
    1. AWhen downtime longer than a few minutes is acceptable.
    2. BWhen the system requires eventual consistency.
    3. CWhen a few seconds of downtime is acceptable.
    4. DWhen the system does not need to scale horizontally.
  7. 7Which database technologies are examples of solutions that balance CAP trade-offs effectively for general-purpose use?
    1. ACassandra and PostgreSQL
    2. BMongoDB and DynamoDB
    3. COracle and SQLite
    4. DRedis and MySQL
  8. 8Why is it important to discuss database trade-offs in system design interviews?
    1. AIt shows familiarity with coding techniques.
    2. BIt demonstrates an understanding of scalability tools.
    3. CIt highlights an ability to make informed technical decisions.
    4. 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.
Idioma
Español
Visitas
77
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?