1Which database trend uses artificial intelligence to automate tasks such as tuning and optimization?
Current Trends and Future Directions in Database Technology
Easy
A.Manual databases
B.Desktop databases
C.Flat-file databases
D.Autonomous databases
Correct Answer: Autonomous databases
Explanation:
Autonomous databases use artificial intelligence and automation to perform tasks such as tuning, patching, and optimization.
Incorrect! Try again.
2What is a major goal of modern database technology?
Current Trends and Future Directions in Database Technology
Easy
A.Reducing all data
B.Improving scalability
C.Removing all networks
D.Avoiding data analysis
Correct Answer: Improving scalability
Explanation:
Modern databases aim to scale efficiently as the number of users and the volume of data increase.
Incorrect! Try again.
3Which technology allows database processing to occur closer to where data is generated?
Current Trends and Future Directions in Database Technology
Easy
A.Manual indexing
B.Edge computing
C.Tape archiving
D.Batch printing
Correct Answer: Edge computing
Explanation:
Edge computing processes data near its source, which can reduce latency and network traffic.
Incorrect! Try again.
4Which characteristic of Big Data refers to the enormous amount of data being generated?
Big Data and Databases
Easy
A.Velocity
B.Variety
C.Volume
D.Veracity
Correct Answer: Volume
Explanation:
Volume describes the large quantity of data that Big Data systems must store and process.
Incorrect! Try again.
5Which Big Data characteristic describes the speed at which data is generated and processed?
Big Data and Databases
Easy
A.Veracity
B.Volume
C.Variety
D.Velocity
Correct Answer: Velocity
Explanation:
Velocity refers to how quickly data arrives and how rapidly it must be processed.
Incorrect! Try again.
6Which Big Data characteristic refers to structured, semi-structured, and unstructured data formats?
Big Data and Databases
Easy
A.Volume
B.Veracity
C.Velocity
D.Variety
Correct Answer: Variety
Explanation:
Variety refers to the different forms of data, including tables, text, images, video, and logs.
Incorrect! Try again.
7Which framework is commonly associated with distributed storage and processing of Big Data?
Big Data and Databases
Easy
A.SQLite
B.Hadoop
C.FTP
D.HTML
Correct Answer: Hadoop
Explanation:
Hadoop supports distributed storage and processing of large datasets across clusters of computers.
Incorrect! Try again.
8What does OLAP stand for?
OLAP
Easy
A.Operational Application Processing
B.Online Application Programming
C.Online Analytical Processing
D.Offline Analytical Protocol
Correct Answer: Online Analytical Processing
Explanation:
OLAP stands for Online Analytical Processing and is used to analyze data from multiple perspectives.
Incorrect! Try again.
9What is the primary purpose of an OLAP system?
OLAP
Easy
A.Designing web pages
B.Analyzing business data
C.Managing network cables
D.Editing source code
Correct Answer: Analyzing business data
Explanation:
OLAP systems support complex queries and multidimensional analysis for reporting and decision-making.
Incorrect! Try again.
10Which OLAP operation selects a single value from one dimension of a data cube?
OLAP
Easy
A.Drill-down
B.Pivot
C.Roll-up
D.Slice
Correct Answer: Slice
Explanation:
A slice selects one value from a dimension, producing a smaller view of the data cube.
Incorrect! Try again.
11Which OLAP operation moves from summarized data to more detailed data?
OLAP
Easy
A.Rotate
B.Drill-down
C.Slice
D.Roll-up
Correct Answer: Drill-down
Explanation:
Drill-down reveals increasingly detailed data, such as moving from yearly sales to monthly sales.
Incorrect! Try again.
12Where is a cloud database typically hosted?
Cloud Databases
Easy
A.Inside a spreadsheet
B.Inside source code
C.On cloud infrastructure
D.On paper records
Correct Answer: On cloud infrastructure
Explanation:
A cloud database is deployed on infrastructure provided through a cloud computing environment.
Incorrect! Try again.
13Which is a common advantage of cloud databases?
Cloud Databases
Easy
A.Manual availability
B.Elastic scalability
C.Fixed capacity
D.Offline-only access
Correct Answer: Elastic scalability
Explanation:
Cloud databases can often increase or decrease resources according to changes in demand.
Incorrect! Try again.
14What does DBaaS stand for in cloud computing?
Cloud Databases
Easy
A.Data Backup as Storage
B.Database as a Service
C.Database as a System
D.Data Browser and Security
Correct Answer: Database as a Service
Explanation:
DBaaS means Database as a Service, where a provider manages database infrastructure and related operations.
Incorrect! Try again.
15What is a main goal of NewSQL databases?
NewSQL
Easy
A.Combining SQL with horizontal scalability
B.Replacing tables with paper files
C.Removing support for transactions
D.Restricting databases to one user
Correct Answer: Combining SQL with horizontal scalability
Explanation:
NewSQL databases retain relational features while providing the scalability associated with distributed systems.
Incorrect! Try again.
16Which property is commonly preserved by NewSQL databases?
NewSQL
Easy
A.Manual replication
B.Unverified records
C.Schema-free storage
D.ACID transactions
Correct Answer: ACID transactions
Explanation:
NewSQL databases generally preserve ACID transactions while supporting distributed and scalable processing.
Incorrect! Try again.
17NewSQL databases are most closely related to which traditional database model?
NewSQL
Easy
A.Key-value model
B.Document model
C.Graph model
D.Relational model
Correct Answer: Relational model
Explanation:
NewSQL databases use the relational model and SQL while adding modern distributed scalability.
Incorrect! Try again.
18What does NoSQL commonly mean?
NoSQL
Easy
A.No Structured Queries
B.Network-Oriented SQL
C.Not Only SQL
D.New Online SQL
Correct Answer: Not Only SQL
Explanation:
NoSQL commonly means Not Only SQL, emphasizing support for non-relational data models.
Incorrect! Try again.
19Which NoSQL database type stores information as pairs containing a key and its associated value?
NoSQL
Easy
A.Key-value database
B.Graph database
C.Document database
D.Column-family database
Correct Answer: Key-value database
Explanation:
A key-value database associates each unique key with a corresponding value.
Incorrect! Try again.
20Which NoSQL database type is especially suitable for representing relationships between entities?
NoSQL
Easy
A.Key-value database
B.Graph database
C.Column-family database
D.Document database
Correct Answer: Graph database
Explanation:
Graph databases represent entities as nodes and their relationships as edges.
Incorrect! Try again.
21A retailer wants its database to automatically identify unusual purchasing patterns and recommend indexes as workloads change. Which emerging trend best supports this requirement?
Current Trends and Future Directions in Database Technology
Medium
A.AI-assisted database management
B.Static query compilation
C.File-based data processing
D.Manual database normalization
Correct Answer: AI-assisted database management
Explanation:
AI-assisted systems can detect workload patterns, recommend indexes, identify anomalies, and automate database tuning.
Incorrect! Try again.
22An application must process data near thousands of industrial sensors because sending every event to a central server causes excessive delay. Which database trend is most appropriate?
Current Trends and Future Directions in Database Technology
Medium
A.Centralized batch processing
B.Edge database processing
C.Manual data archiving
D.Single-server warehousing
Correct Answer: Edge database processing
Explanation:
Edge databases process and store data closer to its source, reducing latency and dependence on centralized infrastructure.
Incorrect! Try again.
23A company needs to keep an auditable record that multiple organizations can verify without relying on one central database owner. Which technology is the best fit?
Current Trends and Future Directions in Database Technology
Medium
A.Distributed ledger database
B.Centralized document database
C.Local embedded database
D.In-memory relational database
Correct Answer: Distributed ledger database
Explanation:
A distributed ledger provides replicated, tamper-evident records that participating organizations can independently verify.
Incorrect! Try again.
24A streaming platform stores petabytes of click events across hundreds of machines. Adding more machines should increase storage and processing capacity. Which design principle is being applied?
Big Data and Databases
Medium
A.Transaction serialization
B.Schema normalization
C.Horizontal scalability
D.Vertical scalability
Correct Answer: Horizontal scalability
Explanation:
Horizontal scalability increases capacity by distributing data and workloads across additional machines.
Incorrect! Try again.
25A sensor platform receives millions of readings per second and must detect faults within seconds. Which big-data characteristic creates the main challenge?
Big Data and Databases
Medium
A.Volume
B.Veracity
C.Velocity
D.Variety
Correct Answer: Velocity
Explanation:
Velocity concerns how quickly data arrives and must be processed, which is central to near-real-time fault detection.
Incorrect! Try again.
26A data pipeline must combine relational sales tables, JSON web logs, images, and free-text reviews. Which big-data characteristic is most directly represented?
Big Data and Databases
Medium
A.Volatility
B.Velocity
C.Variety
D.Validity
Correct Answer: Variety
Explanation:
Variety refers to handling structured, semi-structured, and unstructured data in multiple formats.
Incorrect! Try again.
27A distributed analytics job performs the same calculation independently on many data partitions and then combines the partial results. Which processing pattern does this describe?
Big Data and Databases
Medium
A.Write-ahead logging
B.MapReduce
C.Referential integrity
D.Two-phase locking
Correct Answer: MapReduce
Explanation:
MapReduce applies computations to distributed partitions during the map phase and combines intermediate results during the reduce phase.
Incorrect! Try again.
28An analyst is viewing annual revenue by country and wants to display monthly revenue for individual cities. Which OLAP operation is required?
OLAP
Medium
A.Slice
B.Roll-up
C.Drill-down
D.Pivot
Correct Answer: Drill-down
Explanation:
Drill-down moves from summarized data to more detailed levels, such as year to month and country to city.
Incorrect! Try again.
29A sales cube contains the dimensions Product, Region, and Time. An analyst fixes Time to 2025 while examining all products and regions. Which OLAP operation is this?
OLAP
Medium
A.Dice
B.Drill-through
C.Slice
D.Roll-up
Correct Answer: Slice
Explanation:
A slice fixes one dimension to a single value, producing a smaller view of the cube.
Incorrect! Try again.
30A company frequently calculates total sales by month, product category, and region. Which schema is typically simplest for these OLAP queries?
OLAP
Medium
A.Document schema
B.Graph schema
C.Key-value schema
D.Star schema
Correct Answer: Star schema
Explanation:
A star schema places measures in a central fact table linked directly to dimension tables, simplifying common analytical queries.
Incorrect! Try again.
31An analyst changes a report from displaying regions as rows and years as columns to displaying years as rows and regions as columns. Which operation was performed?
OLAP
Medium
A.Roll-up
B.Slice
C.Pivot
D.Drill-down
Correct Answer: Pivot
Explanation:
Pivot rotates the multidimensional view to present the same data from a different orientation.
Incorrect! Try again.
32An online store experiences unpredictable traffic spikes and wants database capacity to increase and decrease automatically. Which cloud capability is most relevant?
Cloud Databases
Medium
A.Static partitioning
B.Manual replication
C.Elastic scaling
D.Schema denormalization
Correct Answer: Elastic scaling
Explanation:
Elastic scaling automatically adjusts database resources to match changing workload demand.
Incorrect! Try again.
33A development team wants the cloud provider to handle database patching, backups, and routine availability management. Which service model should it choose?
Cloud Databases
Medium
A.Self-hosted virtual machine
B.Managed database service
C.Local database server
D.Shared network storage
Correct Answer: Managed database service
Explanation:
A managed database service transfers routine administration tasks such as patching, backups, and availability management to the provider.
Incorrect! Try again.
34A company deploys database replicas in three cloud availability zones. What is the primary purpose of this design?
Cloud Databases
Medium
A.Simplified query syntax
B.Improved fault tolerance
C.Stronger data compression
D.Reduced schema complexity
Correct Answer: Improved fault tolerance
Explanation:
Replicas across availability zones allow the service to continue operating when one zone fails.
Incorrect! Try again.
35A payment platform requires SQL, ACID transactions, and horizontal scaling across many nodes. Which database category best matches these requirements?
NewSQL
Medium
A.NewSQL
B.Traditional file system
C.Single-node OLAP
D.Key-value NoSQL
Correct Answer: NewSQL
Explanation:
NewSQL systems combine relational SQL and ACID guarantees with distributed horizontal scalability.
Incorrect! Try again.
36A distributed SQL database partitions customer rows across nodes while preserving transactional consistency. Which NewSQL technique is primarily responsible for distributing the workload?
NewSQL
Medium
A.Column normalization
B.Local caching
C.Automatic sharding
D.Log compression
Correct Answer: Automatic sharding
Explanation:
Automatic sharding divides data among nodes so storage and query workloads can scale horizontally.
Incorrect! Try again.
37Why might a bank select NewSQL instead of a typical eventually consistent NoSQL database for account transfers?
NewSQL
Medium
A.It avoids transaction coordination
B.It stores only unstructured documents
C.It supports distributed ACID transactions
D.It eliminates all database schemas
Correct Answer: It supports distributed ACID transactions
Explanation:
Account transfers require strong consistency and atomic updates, which distributed ACID transactions are designed to provide.
Incorrect! Try again.
38A shopping application stores product records whose attributes differ widely by category and change frequently. Which NoSQL model is most suitable?
NoSQL
Medium
A.Graph database
B.Document database
C.Wide-column database
D.Key-value cache
Correct Answer: Document database
Explanation:
Document databases support flexible, nested records, making them suitable for products with varying attributes.
Incorrect! Try again.
39A social network must efficiently find friends of friends and the shortest connection path between users. Which NoSQL model is the best fit?
NoSQL
Medium
A.Document database
B.Key-value database
C.Graph database
D.Wide-column database
Correct Answer: Graph database
Explanation:
Graph databases represent users and relationships directly, enabling efficient traversal and path queries.
Incorrect! Try again.
40A distributed NoSQL system continues accepting updates during a network partition, but replicas may temporarily return different values. Which CAP trade-off does this illustrate?
NoSQL
Medium
A.Durability over isolation
B.Availability over consistency
C.Atomicity over partition tolerance
D.Consistency over availability
Correct Answer: Availability over consistency
Explanation:
During a partition, accepting requests despite temporarily inconsistent replicas prioritizes availability and partition tolerance over immediate consistency.
Incorrect! Try again.
41An HTAP system must run long analytical scans over rapidly changing operational data without blocking transactions, while keeping analytical results nearly current. Which design most directly satisfies both requirements?
Current Trends and Future Directions in Database Technology
Hard
A.Use MVCC snapshots with incremental propagation to an analytical execution engine
B.Copy the operational database nightly into a separate analytical database
C.Run all analytical queries under serializable locking on the primary engine
D.Replace transactional indexes with compressed column-oriented storage on the primary
Correct Answer: Use MVCC snapshots with incremental propagation to an analytical execution engine
Explanation:
MVCC gives analytics a consistent snapshot without blocking writers, while incremental propagation provides substantially lower data latency than periodic bulk copies.
Incorrect! Try again.
42A vector database searches 500 million embeddings, but every query also includes a highly selective tenant predicate matching only of rows. A global ANN search followed by predicate filtering often returns fewer than results. Which strategy best addresses the problem?
Current Trends and Future Directions in Database Technology
Hard
A.Increase embedding dimensionality before performing the global ANN search
B.Replace cosine similarity with Euclidean distance for all tenant searches
C.Apply the tenant predicate after ANN and reduce the requested value of
D.Use filter-aware ANN or prefilter candidates through tenant-partitioned indexes
Correct Answer: Use filter-aware ANN or prefilter candidates through tenant-partitioned indexes
Explanation:
Post-filtering can discard most ANN candidates. Filter-aware indexing or tenant partitioning constrains candidate generation while preserving useful recall.
Incorrect! Try again.
43A learned index models the cumulative distribution of sorted keys to predict record positions. Which mechanism is still necessary for exact lookup when the model has prediction error or encounters distribution drift?
Current Trends and Future Directions in Database Technology
Hard
A.A larger neural model that eliminates the need to compare stored keys
B.A periodic cache flush that restores the original key distribution
C.A Bloom filter that directly returns the exact position of every key
D.A bounded local search plus a fallback structure with correctness guarantees
Correct Answer: A bounded local search plus a fallback structure with correctness guarantees
Explanation:
A learned model predicts approximate positions. Exact lookup requires searching a certified error interval and retaining a conventional fallback for outliers or drift.
Incorrect! Try again.
44A distributed aggregation groups ten billion records by customer ID, but one customer owns of all records and causes a single reducer to dominate runtime. Which exact transformation best mitigates this skew?
Big Data and Databases
Hard
A.Salt the hot key, partially aggregate each salted group, then merge its partial results
B.Sort all records globally by customer ID before sending them to one reducer
C.Replicate every input partition to several reducers and retain the fastest result
D.Range-partition customer IDs and assign the hot customer to the first reducer
Correct Answer: Salt the hot key, partially aggregate each salted group, then merge its partial results
Explanation:
Salting splits the hot group across workers. A second aggregation removes the salt and combines partial values without changing the final result.
Incorrect! Try again.
45A stateful stream processor may fail after updating its state but before acknowledging source records. Which design provides end-to-end exactly-once effects when the sink supports transactions?
Big Data and Databases
Hard
A.Checkpoint operator state independently while committing every sink write immediately
B.Acknowledge source records before processing and asynchronously update the sink
C.Replay unacknowledged records and assume that duplicate sink writes are harmless
D.Atomically checkpoint source offsets and state, then transactionally commit sink output
Correct Answer: Atomically checkpoint source offsets and state, then transactionally commit sink output
Explanation:
Offsets and state must represent the same processing boundary, while sink transactions prevent outputs from becoming visible more than once during recovery.
Incorrect! Try again.
46A data lake stores clickstream events. Most queries select three of fifty columns and restrict event_date to a narrow range. Which physical design most effectively reduces both file scanning and column I/O?
Big Data and Databases
Hard
A.Store one globally sorted text file and build only an in-memory hash table
B.Partition by random event UUID and store each partition in row format
C.Partition by event_date and store each partition in a columnar format
D.Partition by every projected column and compress complete rows together
Correct Answer: Partition by event_date and store each partition in a columnar format
Explanation:
Date partitioning enables partition pruning, while columnar storage reads only the selected columns and usually improves analytical compression.
Incorrect! Try again.
47In a sales cube, a product may belong to multiple promotional categories simultaneously. Summing category totals therefore exceeds the product-level total. Which dimensional design preserves summarizability?
OLAP
Hard
A.Store each product under every category and apply ordinary additive aggregation
B.Use a bridge table with allocation weights whose per-product sum equals
C.Choose an arbitrary category during cube refresh and discard other memberships
D.Convert category membership into a degenerate dimension inside the fact table
Correct Answer: Use a bridge table with allocation weights whose per-product sum equals
Explanation:
A weighted bridge models the many-to-many hierarchy and allocates each fact across categories without double counting.
Incorrect! Try again.
48A cube has four dimensions containing respectively 3, 2, 4, and 1 non-ALL hierarchy levels. If a cuboid chooses exactly one level or ALL from each dimension, how many distinct cuboids are possible?
OLAP
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Each dimension offers one more choice than its non-ALL levels, so the count is .
Incorrect! Try again.
49A monthly snapshot fact table stores each account's end-of-day balance. Which aggregation is semantically valid for computing a month-end balance by branch?
OLAP
Hard
A.Average all account-day balances, then multiply by the number of accounts
B.Select each account's final daily balance, then sum those balances by branch
C.Select each branch's largest daily balance, then sum those branch maxima
D.Sum every daily balance for each account, then sum the results by branch
Correct Answer: Select each account's final daily balance, then sum those balances by branch
Explanation:
Balance is additive across accounts but not across time. The month-end value uses the final snapshot along time and then sums across accounts.
Incorrect! Try again.
50A warehouse uses a Type 2 slowly changing customer dimension. A late-arriving sale occurred before a customer's region changed but is loaded afterward. How should the fact be linked?
OLAP
Hard
A.Create a new customer version whose effective date equals the load timestamp
B.Link the sale to the customer's currently active dimension version
C.Link the sale to every historical customer version and divide its measure
D.Match the sale timestamp to the dimension version's effective interval
Correct Answer: Match the sale timestamp to the dimension version's effective interval
Explanation:
Type 2 dimensions preserve history. A late fact must use business event time to identify the version valid when the sale occurred.
Incorrect! Try again.
51A cloud analytical platform separates compute from shared object storage. Two departments require workload isolation but must query the same current tables without creating full data copies. Which approach best exploits this architecture?
Cloud Databases
Hard
A.Run independent compute warehouses over shared, versioned storage metadata
B.Replicate every table into department-specific local disks before each query
C.Assign separate object stores and synchronize them through nightly exports
D.Place both departments in one warehouse and prioritize queries by arrival time
Correct Answer: Run independent compute warehouses over shared, versioned storage metadata
Explanation:
Independent compute clusters isolate resources, while shared versioned storage lets them query consistent data without maintaining full physical copies.
Incorrect! Try again.
52A multi-region database acknowledges a write after storing it only in Region A. The requirement is to lose no acknowledged writes even if Region A is permanently destroyed immediately afterward. What change is necessary?
Cloud Databases
Hard
A.Increase the number of replicas within Region A before returning acknowledgment
B.Synchronously replicate the write to another failure-independent region before acknowledgment
C.Cache the acknowledged write at the client until the next regional backup
D.Asynchronously copy the write to another region after returning acknowledgment
Correct Answer: Synchronously replicate the write to another failure-independent region before acknowledgment
Explanation:
Surviving complete loss of Region A requires an acknowledged copy outside that failure domain. Synchronous cross-region replication adds latency but meets the durability requirement.
Incorrect! Try again.
53A managed database takes a full backup every 24 hours and durably archives transaction-log segments every 5 minutes. Assuming restoration can replay all archived logs, what is the worst-case recovery point objective after a database failure?
Cloud Databases
Hard
A.Approximately 5 minutes
B.Approximately 24 hours
C.Approximately 24 hours and 5 minutes
D.Approximately zero minutes
Correct Answer: Approximately 5 minutes
Explanation:
The full backup provides a base, and archived logs advance recovery. At failure time, transactions since the most recent archived segment—up to about five minutes—may be lost.
Incorrect! Try again.
54A deterministic NewSQL engine globally orders transactions before execution to reduce runtime coordination. Which workload characteristic most directly weakens the benefit of this approach?
NewSQL
Hard
A.Transactions whose keys and operations are declared before global sequencing
B.Transactions that execute stored procedures over known partitioning keys
C.Transactions whose read and write sets cannot be determined before execution
D.Transactions that perform conflict-free writes to disjoint record ranges
Correct Answer: Transactions whose read and write sets cannot be determined before execution
Explanation:
Deterministic scheduling works best when dependencies are known in advance. Data-dependent access patterns may require conservative locking, aborts, or extra sequencing.
Incorrect! Try again.
55A globally distributed NewSQL system assigns a commit timestamp using a bounded clock-uncertainty interval. Why might it delay acknowledging the commit until the uncertainty interval has passed?
NewSQL
Hard
A.To ensure that the transaction accessed records from only one physical shard
B.To ensure later transactions cannot appear to commit before this transaction
C.To eliminate the need for consensus when replicating the transaction log
D.To guarantee that every replica has compacted its complete storage history
Correct Answer: To ensure later transactions cannot appear to commit before this transaction
Explanation:
Commit waiting ensures the chosen timestamp is definitely in the past before acknowledgment, supporting external consistency despite bounded clock uncertainty.
Incorrect! Try again.
56A distributed SQL table is range-sharded by an ever-increasing timestamp. Nearly all inserts target the newest shard, producing a write hotspot. Which redesign best distributes writes, and what trade-off does it introduce?
NewSQL
Hard
A.Create smaller newest ranges; inserts remain localized but use fewer replicas
B.Add a hash-derived prefix; time-range queries may need to scan multiple shards
C.Replicate the newest shard; writes become local to every replica simultaneously
D.Use a larger timestamp type; time-range queries may require additional casting
Correct Answer: Add a hash-derived prefix; time-range queries may need to scan multiple shards
Explanation:
A hash prefix spreads sequential inserts across shards. Queries over time alone must then access several hash buckets, increasing fan-out.
Incorrect! Try again.
57A Dynamo-style store uses replication factor , read quorum , and write quorum . Which statement is most accurate?
NoSQL
Hard
A.Writes remain available under any three replica failures because
B.Read and write quorums cannot intersect unless is at least
C.Every read is linearizable because both and exceed half of
D.Ordinary quorums intersect because , but sloppy quorums can weaken that guarantee
Correct Answer: Ordinary quorums intersect because , but sloppy quorums can weaken that guarantee
Explanation:
Since , standard read and write replica sets overlap. Sloppy quorums may use substitute nodes, so quorum arithmetic alone does not guarantee linearizability.
Incorrect! Try again.
58An order and its bounded set of order lines are almost always read and updated together. Cross-order queries are rare. Which document-model design best matches this access pattern?
NoSQL
Hard
A.Store order lines as unrelated key-value entries with randomly generated keys
B.Store every line in a separate collection and join them during each order read
C.Embed order lines inside the order document and update them atomically
D.Embed all customer orders inside one customer document without size limits
Correct Answer: Embed order lines inside the order document and update them atomically
Explanation:
Embedding supports locality and single-document atomicity when the child collection is bounded and commonly accessed with its parent.
Incorrect! Try again.
59A fraud-detection workload repeatedly evaluates variable-length paths such as account → device → account → merchant, with predicates on intermediate relationships. Which database model most naturally supports this workload?
NoSQL
Hard
A.A property graph database with indexed starts and adjacency-based traversal
B.A key-value database that scans every key for each traversal step
C.A document database that duplicates the complete graph into every account
D.A wide-column database with one partition containing all global relationships
Correct Answer: A property graph database with indexed starts and adjacency-based traversal
Explanation:
Property graphs represent relationship properties and variable-length traversals directly, avoiding repeated global joins or scans from a known starting vertex.
Incorrect! Try again.
60In an eventually consistent LSM-tree store, a deleted value unexpectedly reappears after an offline replica rejoins. Which configuration error most plausibly caused this resurrection?
NoSQL
Hard
A.Compaction merged overlapping sorted tables while retaining the newest version
B.Tombstones were purged before all replicas received or repaired the deletion
C.Memtables were flushed before reaching their configured maximum capacity
D.Bloom filters produced a false positive while checking an immutable table
Correct Answer: Tombstones were purged before all replicas received or repaired the deletion
Explanation:
If a deletion marker is garbage-collected too early, an unrepaired replica can later present the old value as live data and propagate it during reconciliation.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →