[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"me":3,"catalog:en:database\u002Fmongodb-transactions-consistency":4,"config":211},null,{"field_key":5,"field_name":6,"seniority":7,"topic_key":8,"topic_name":9,"spec_key":7,"spec_name":7,"locale":10,"cell_total":11,"field_total":12,"seniorities":13,"topics":17,"specs":115,"samples":129},"database","Database","","mongodb-transactions-consistency","Mongodb Transactions Consistency","en",75,2475,[14,15,16],"junior","mid","senior",[18,21,24,27,30,33,36,39,42,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112],{"key":19,"name":20,"count":11},"backup-recovery","Backup Recovery",{"key":22,"name":23,"count":11},"data-modeling","Data Modeling",{"key":25,"name":26,"count":11},"indexing","Indexing",{"key":28,"name":29,"count":11},"mongodb-aggregation","Mongodb Aggregation",{"key":31,"name":32,"count":11},"mongodb-indexes-queries","Mongodb Indexes Queries",{"key":34,"name":35,"count":11},"mongodb-operations","Mongodb Operations",{"key":37,"name":38,"count":11},"mongodb-replication-sharding","Mongodb Replication Sharding",{"key":40,"name":41,"count":11},"mongodb-schema-modeling","Mongodb Schema Modeling",{"key":8,"name":9,"count":11},{"key":44,"name":45,"count":11},"mysql-indexes","Mysql Indexes",{"key":47,"name":48,"count":11},"mysql-innodb-transactions","Mysql Innodb Transactions",{"key":50,"name":51,"count":11},"mysql-operations","Mysql Operations",{"key":53,"name":54,"count":11},"mysql-query-optimization","Mysql Query Optimization",{"key":56,"name":57,"count":11},"mysql-replication-scaling","Mysql Replication Scaling",{"key":59,"name":60,"count":11},"mysql-types-constraints","Mysql Types Constraints",{"key":62,"name":63,"count":11},"nosql-models","Nosql Models",{"key":65,"name":66,"count":11},"performance-tuning","Performance Tuning",{"key":68,"name":69,"count":11},"pg-indexes","Pg Indexes",{"key":71,"name":72,"count":11},"pg-mvcc-vacuum","Pg Mvcc Vacuum",{"key":74,"name":75,"count":11},"pg-operations","Pg Operations",{"key":77,"name":78,"count":11},"pg-query-planning","Pg Query Planning",{"key":80,"name":81,"count":11},"pg-transactions-locking","Pg Transactions Locking",{"key":83,"name":84,"count":11},"pg-types-constraints","Pg Types Constraints",{"key":86,"name":87,"count":11},"query-optimization","Query Optimization",{"key":89,"name":90,"count":11},"redis-cluster-sharding","Redis Cluster Sharding",{"key":92,"name":93,"count":11},"redis-data-structures","Redis Data Structures",{"key":95,"name":96,"count":11},"redis-expiration-eviction","Redis Expiration Eviction",{"key":98,"name":99,"count":11},"redis-persistence","Redis Persistence",{"key":101,"name":102,"count":11},"redis-replication-sentinel","Redis Replication Sentinel",{"key":104,"name":105,"count":11},"redis-transactions-scripting","Redis Transactions Scripting",{"key":107,"name":108,"count":11},"replication-scaling","Replication Scaling",{"key":110,"name":111,"count":11},"security-access","Security Access",{"key":113,"name":114,"count":11},"transactions-isolation","Transactions Isolation",[116,120,123,126],{"key":117,"name":118,"count":119},"mongodb","MongoDB",450,{"key":121,"name":122,"count":119},"mysql","MySQL",{"key":124,"name":125,"count":119},"postgresql","PostgreSQL",{"key":127,"name":128,"count":119},"redis","Redis",[130,148,158,172,185,198],{"id":131,"topic":9,"difficulty":132,"body":133,"options":134,"correct_key":139,"explanation":147},"019f87c2-bd53-71b6-b985-808087ea0021",1,"Starting from which MongoDB version can you run multi-document ACID transactions on a replica set?",[135,138,141,144],{"key":136,"text":137},"a","3.6",{"key":139,"text":140},"b","4.0",{"key":142,"text":143},"c","4.2",{"key":145,"text":146},"d","5.0","MongoDB 4.0 introduced multi-document ACID transactions for replica sets. Sharded cluster support followed in 4.2.",{"id":149,"topic":9,"difficulty":132,"body":150,"options":151,"correct_key":142,"explanation":157},"019f87c2-bd53-7afb-93c2-3d6fe8f496a7","From which MongoDB version can multi-document transactions span a sharded cluster (across multiple shards)?",[152,153,154,155],{"key":136,"text":137},{"key":139,"text":140},{"key":142,"text":143},{"key":145,"text":156},"6.0","MongoDB 4.2 extended multi-document transaction support to sharded clusters, involving multiple shards through a transaction coordinator.",{"id":159,"topic":9,"difficulty":160,"body":161,"options":162,"correct_key":136,"explanation":171},"019f87c2-bd54-7307-9990-dc2c46e70524",2,"Which mongosh snippet correctly opens, uses, and commits a multi-document transaction?",[163,165,167,169],{"key":136,"text":164},"s = db.getMongo().startSession(); s.startTransaction(); s.getDatabase(\"app\").orders.insertOne({sku:1}); s.commitTransaction();",{"key":139,"text":166},"db.orders.beginTransaction(); db.orders.insertOne({...}); db.orders.endTransaction();",{"key":142,"text":168},"db.runCommand({transaction: true}); db.orders.insertOne({...});",{"key":145,"text":170},"db.orders.insertOne({...}, {transaction: \"start\"});","MongoDB transactions are opened on a `ClientSession` with `startTransaction()`, operations run through that session's database handle, and `commitTransaction()` finalizes them. There is no per-collection `beginTransaction`\u002F`endTransaction` API.",{"id":173,"topic":9,"difficulty":160,"body":174,"options":175,"correct_key":139,"explanation":184},"019f87c2-bd54-7b70-9d63-70c08a0c773f","What read concern level is used when a query specifies none and no custom default is configured?",[176,178,180,182],{"key":136,"text":177},"majority",{"key":139,"text":179},"local",{"key":142,"text":181},"snapshot",{"key":145,"text":183},"linearizable","With no explicit or custom default read concern, the implicit default is `local`: it returns the most recent data available on the node the query hits, without guaranteeing majority acknowledgment.",{"id":186,"topic":9,"difficulty":160,"body":187,"options":188,"correct_key":145,"explanation":197},"019f87c2-bd55-73ee-ae55-0c0d7b5cfc6b","A read with read concern `majority` returns a document. What does that guarantee about the document?",[189,191,193,195],{"key":136,"text":190},"It was written with `w: 1` and is guaranteed durable on the primary only",{"key":139,"text":192},"It is always the very latest write, even ones not yet replicated anywhere",{"key":142,"text":194},"It was read directly from a secondary, bypassing the primary entirely",{"key":145,"text":196},"It reflects data that has reached the replica set's majority-commit point","Read concern `majority` returns majority-committed data, meaning it won't be rolled back by a later election. This does not mean the original write used `w: \"majority\"`; even a write acknowledged with `w: 1` can later reach the majority-commit point.",{"id":199,"topic":9,"difficulty":132,"body":200,"options":201,"correct_key":136,"explanation":210},"019f87c2-bd55-7cf7-806d-d6a4490a295b","Before MongoDB 5.0, what was the implicit default write concern for a standalone `insertOne()` against a replica set when no write concern was configured?",[202,204,206,208],{"key":136,"text":203},"`w: 1`",{"key":139,"text":205},"`w: majority`",{"key":142,"text":207},"`w: 0`",{"key":145,"text":209},"`w: all`","Before MongoDB 5.0, the implicit default was `w: 1`: acknowledgment did not wait for replication to secondaries. Starting in MongoDB 5.0, the implicit default is `w: \"majority\"` for most replica-set topologies (with an exception for certain arbiter-containing topologies), so the version qualifier matters.",{"fields":212,"seniorities":388,"interview_shapes":389,"locales":394,"oauth":396,"question_count":399,"coach_enabled":400,"jd_match_enabled":400},[213,238,258,275,299,312,321,340,362,369,375,382],{"key":214,"name_tr":215,"name_en":215,"sort":132,"specializations":216},"backend","Backend",[217,220,223,226,229,232,235],{"key":218,"name":219,"field":214},"general","Genel",{"key":221,"name":222,"field":214},"go","Go",{"key":224,"name":225,"field":214},"python","Python",{"key":227,"name":228,"field":214},"java","Java",{"key":230,"name":231,"field":214},"csharp","C#\u002F.NET",{"key":233,"name":234,"field":214},"nodejs","Node.js",{"key":236,"name":237,"field":214},"php","PHP",{"key":239,"name_tr":240,"name_en":240,"sort":160,"specializations":241},"frontend","Frontend",[242,243,246,249,252,255],{"key":218,"name":219,"field":239},{"key":244,"name":245,"field":239},"javascript","JavaScript",{"key":247,"name":248,"field":239},"typescript","TypeScript",{"key":250,"name":251,"field":239},"react","React",{"key":253,"name":254,"field":239},"vue","Vue",{"key":256,"name":257,"field":239},"angular","Angular",{"key":259,"name_tr":260,"name_en":260,"sort":261,"specializations":262},"fullstack","Fullstack",3,[263,264,265,266,267,268,269,270,271,272,273,274],{"key":218,"name":219,"field":259},{"key":221,"name":222,"field":214},{"key":224,"name":225,"field":214},{"key":227,"name":228,"field":214},{"key":230,"name":231,"field":214},{"key":233,"name":234,"field":214},{"key":236,"name":237,"field":214},{"key":244,"name":245,"field":239},{"key":247,"name":248,"field":239},{"key":250,"name":251,"field":239},{"key":253,"name":254,"field":239},{"key":256,"name":257,"field":239},{"key":276,"name_tr":277,"name_en":277,"sort":278,"specializations":279},"devops-cloud","DevOps \u002F Cloud",4,[280,281,284,287,290,293,296],{"key":218,"name":219,"field":276},{"key":282,"name":283,"field":276},"aws","AWS",{"key":285,"name":286,"field":276},"gcp","GCP",{"key":288,"name":289,"field":276},"azure","Azure",{"key":291,"name":292,"field":276},"kubernetes","Kubernetes",{"key":294,"name":295,"field":276},"terraform","Terraform",{"key":297,"name":298,"field":276},"linux","Linux",{"key":300,"name_tr":301,"name_en":301,"sort":302,"specializations":303},"ai-engineer","AI Engineer",5,[304,305,306,309],{"key":218,"name":219,"field":300},{"key":224,"name":225,"field":300},{"key":307,"name":308,"field":300},"llm-rag","LLM\u002FRAG",{"key":310,"name":311,"field":300},"mlops","MLOps",{"key":5,"name_tr":313,"name_en":6,"sort":314,"specializations":315},"Veritabanı",6,[316,317,318,319,320],{"key":218,"name":219,"field":5},{"key":124,"name":125,"field":5},{"key":121,"name":122,"field":5},{"key":117,"name":118,"field":5},{"key":127,"name":128,"field":5},{"key":322,"name_tr":323,"name_en":324,"sort":325,"specializations":326},"mobile","Mobil","Mobile",7,[327,328,331,334,337],{"key":218,"name":219,"field":322},{"key":329,"name":330,"field":322},"ios-swift","iOS (Swift)",{"key":332,"name":333,"field":322},"android-kotlin","Android (Kotlin)",{"key":335,"name":336,"field":322},"flutter","Flutter",{"key":338,"name":339,"field":322},"react-native","React Native",{"key":341,"name_tr":342,"name_en":343,"sort":344,"specializations":345},"security","Güvenlik","Security",8,[346,347,350,353,356,359],{"key":218,"name":219,"field":341},{"key":348,"name":349,"field":341},"appsec","AppSec",{"key":351,"name":352,"field":341},"offensive-pentest","Offensive \u002F Pentest",{"key":354,"name":355,"field":341},"cloud-security","Cloud Security",{"key":357,"name":358,"field":341},"devsecops","DevSecOps",{"key":360,"name":361,"field":341},"blue-team-incident","Blue Team \u002F Incident",{"key":363,"name_tr":364,"name_en":365,"sort":366,"specializations":367},"qa-test-automation","QA \u002F Test Otomasyonu","QA \u002F Test Automation",9,[368],{"key":218,"name":219,"field":363},{"key":370,"name_tr":371,"name_en":371,"sort":372,"specializations":373},"data-engineer","Data Engineer",10,[374],{"key":218,"name":219,"field":370},{"key":376,"name_tr":377,"name_en":378,"sort":379,"specializations":380},"game-dev","Oyun Geliştirme","Game Development",11,[381],{"key":218,"name":219,"field":376},{"key":383,"name_tr":384,"name_en":384,"sort":385,"specializations":386},"ml-engineer","ML Engineer",12,[387],{"key":218,"name":219,"field":383},[14,15,16],{"junior":390,"mid":392,"senior":393},{"questions":391,"median_sec":3},20,{"questions":391,"median_sec":3},{"questions":391,"median_sec":3},[395,10],"tr",[397,398],"google","github",21750,true]