• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 9 páginas
Examen

Mongodb Dba Exam

Document preview thumbnail
Vista previa 2 fuera de 9 páginas

What is the most important factor in choosing a shard key ? - Answer- knowledge of the read and write workloads of the application Where do all non-sharded collections get stored in a sharded cluster? - Answer- Primary shard What is sharding? - Answer- 1. a method of distributing data across multiple machines 2. a method to ensure data availability Where is the the $out stage ? - Answer- The $out stage must always be run on the primary shard for a sharded collection. Where is the the $lookup stage ? - Answer- The $lookup stage must always be run on the primary shard for a sharded collection. Upsert - Answer- Update call that inserts a new document if no update match is found. Allows the same code to be used for inserts as well as updates. Upsert is indicated by a third parameter which is a boolean in the update statement. ex: db.col.update({selector},{document},true); Multi-updates - Answer- Updates all matching documents, not just the first, that match the selector. This behavior is chosen by passing a boolean to the fourth update call parameter. ex: db.col.update({selector},{document},upsertBool,true}); What information can be obtained from running rStatus()['repl'] on a secondary replica set node? - Answer- 1. The name, port, and IP address of the primary node 2. The replica set name 3. Whether the node is a primary or a secondary The $size operator is used to check the size of: - Answer- an array field When creating an index on an array field, what type of index is created? - Answer- multikey index To parallelize IO throughput using symlinks - Answer- To parallelize IO throughput using symlinks You can use --directoryperdb and --wiredTigerDirectoryForIndexes and symlink those directories to separate volumes to horizontally scale IO. {"atype": "authCheck"} - Answer- Most DML operations fall under the authCheck action type.


Información del documento

Subido en
6 de septiembre de 2023
Número de páginas
9
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GEEKA
3.8
(379)
Vendido
2229
Seguidores
1451
Artículos
63073
Última venta
2 días hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes

Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.