Study essential database interview questions on SQL fundamentals, indexing strategies, transaction isolation levels, query optimization, normalization, and data modeling. Covers both relational and NoSQL concepts with practical examples and trade-off analysis.

Cassandra25 topics

Cassandra Architecture & Ring Topology

Understand how Cassandra's masterless, ring-based architecture achieves scalability and availability.

architecturedistributed-systemsring-topologyfundamentals

Partition Keys & Clustering Columns

Learn how partition keys determine data placement and clustering columns control sort order within a partition.

data-modelingpartition-keyclustering-columnsfundamentals

Query-First Data Modeling & Denormalization

Design Cassandra schemas by starting from query patterns rather than normalized entity relationships.

data-modelingdenormalizationquery-first-designschema-design

Consistency Levels (ONE, QUORUM, ALL, LOCAL_QUORUM)

Understand how consistency levels let developers tune the trade-off between consistency, availability, and latency per query.

consistencytunable-consistencyCAP-theoremquorum

Replication Strategies: SimpleStrategy vs NetworkTopologyStrategy

Learn how Cassandra places replicas across nodes and datacenters using pluggable replication strategies.

replicationnetwork-topologymulti-datacenterfault-tolerance

Gossip Protocol & Failure Detection

Understand how Cassandra nodes discover cluster state and detect failures without a central coordinator.

gossip-protocolfailure-detectioncluster-membershipinternals

Compaction Strategies: STCS, LCS, TWCS

Choose the right compaction strategy to balance read performance, write throughput, and space amplification for different workloads.

compactionstorage-engineperformance-tuningLSM-tree

CQL Fundamentals: CREATE, INSERT, SELECT, UPDATE, DELETE

Get comfortable with the basic syntax of the Cassandra Query Language for everyday CRUD operations.

CQLfundamentalsCRUDbeginner

Secondary Indexes & SASI Indexes

Understand when secondary indexes are appropriate in Cassandra and their significant performance limitations.

secondary-indexSASIindexingquery-patterns

Materialized Views

Learn how materialized views automate denormalization for alternate query patterns, and understand their operational risks.

materialized-viewsdenormalizationschema-designoperational-risk

Lightweight Transactions (LWT) & Compare-and-Set

Understand how Cassandra achieves linearizable compare-and-set semantics despite its eventually consistent design.

LWTPaxoscompare-and-setlinearizability

Tombstones & TTL

Understand how Cassandra handles deletes and expirations via tombstones, and the operational risks of tombstone accumulation.

tombstonesTTLdeletesperformance

Batch Operations: Logged vs Unlogged

Learn the correct use cases for CQL batches and why batching is not a general-purpose performance optimization in Cassandra.

batchlogged-batchunlogged-batchanti-patterns

Read Path & Write Path Internals

Understand the internal steps Cassandra takes to serve a read or write request, including memtables, SSTables, and the commit log.

read-pathwrite-pathinternalsmemtablesstable

Snitch Types & Topology Awareness

Understand how snitches inform Cassandra about network topology to optimize replica placement and request routing.

snitchtopologyreplicationmulti-datacenter

Anti-Entropy Repair

Learn how Cassandra reconciles replica divergence over time using repair, and why it's an essential operational task.

repairanti-entropymerkle-treeoperations

Tunable Consistency & Hinted Handoff

Understand how hinted handoff and read repair work alongside consistency levels to maintain data integrity during transient failures.

hinted-handoffread-repairtunable-consistencyfault-tolerance

Wide Rows & Time-Series Data Modeling

Learn techniques for modeling time-series data in Cassandra using wide partitions and time-bucketing to avoid unbounded partition growth.

time-serieswide-rowspartitioningdata-modeling

Collections (SET, LIST, MAP) & User-Defined Types

Learn how to model structured, multi-valued, and nested data using CQL collections and user-defined types.

collectionsUDTdata-modelingCQL

Counters

Understand Cassandra's specialized counter column type for distributed increment/decrement operations.

countersdistributed-countingaggregate-metricsCQL

Performance Tuning: Bloom Filters, Key Cache & Row Cache

Understand the caching and probabilistic data structures Cassandra uses to accelerate reads, and how to tune them.

performance-tuningbloom-filtercachinginternals

Multi-Datacenter Deployment

Understand the design considerations and configuration required to run Cassandra reliably across multiple datacenters or cloud regions.

multi-datacenterreplicationLOCAL_QUORUMdisaster-recovery

Cassandra vs RDBMS Trade-offs

Articulate the fundamental architectural and modeling trade-offs between Cassandra and traditional relational databases.

cassandra-vs-rdbmsarchitecturetrade-offssystem-design

Backup & Restore: Snapshots & Incremental Backups

Learn how Cassandra's snapshot and incremental backup mechanisms work, and how to restore data from them.

backuprestoresnapshotsoperations

Driver Policies: Load Balancing, Retry & Reconnection

Understand how Cassandra client drivers use pluggable policies to route requests, handle failures, and recover from outages.

driver-policiesload-balancingretry-policyresilience

Snowflake25 topics

Snowflake Architecture: Storage, Compute & Cloud Services

Understand Snowflake's unique multi-cluster shared data architecture and its three layers.

architecturefundamentalsconcurrencycloud-data-warehouse

Virtual Warehouses: Sizing, Auto-Suspend & Auto-Resume

Configure compute clusters efficiently to balance performance and cost.

virtual-warehousecost-optimizationcomputeperformance

Micro-Partitions & Automatic Data Clustering

Understand how Snowflake physically organizes data for efficient pruning.

micro-partitionsquery-optimizationstoragepruning

Clustering Keys for Large Table Optimization

Manually improve pruning efficiency on very large or poorly-ordered tables.

clustering-keysperformance-tuninglarge-tablescost-management

Time Travel & Fail-safe: Data Recovery Windows

Recover historical or accidentally-modified data using Snowflake's built-in versioning.

time-travelfail-safedisaster-recoverydata-governance

Zero-Copy Cloning

Instantly create full database, schema, or table copies without duplicating storage.

zero-copy-clonedev-environmentsstorage-efficiencytesting

Secure Data Sharing & Reader Accounts

Share live data across Snowflake accounts without copying or moving it.

data-sharingmarketplacereader-accountscross-account

Stages: Internal, External & Named Stages

Understand where and how files are staged before loading into Snowflake tables.

stagesdata-loadingfile-formatexternal-storage

COPY INTO & Snowpipe: Batch and Continuous Ingestion

Load data in bulk or continuously as files arrive, without manual intervention.

snowpipedata-ingestioncopy-intostreaming

Streams: Change Data Capture on Tables

Track row-level changes (inserts, updates, deletes) on a table for incremental processing.

streamscdcincremental-processingetl

Tasks: Scheduling & Orchestrating SQL Workflows

Automate recurring SQL execution and chain dependent steps into pipelines.

tasksorchestrationschedulingdag

Stored Procedures & UDFs (JavaScript, SQL, Python)

Encapsulate reusable logic and procedural workflows directly inside Snowflake.

stored-proceduresudfjavascriptpythonsnowpark

RBAC & Discretionary Access Control in Snowflake

Design a secure, scalable permission model using roles and grants.

rbacaccess-controlsecuritygovernance

Resource Monitors & Cost Management

Proactively control and cap credit spend across warehouses and the account.

resource-monitorscost-managementbudgetinggovernance

Semi-Structured Data: VARIANT & LATERAL FLATTEN

Query and shred nested JSON, Avro, Parquet, or XML data using native Snowflake types.

semi-structured-datavariantjsonlateral-flatten

External Tables & Data Lake Integration

Query data directly from a cloud data lake without loading it into Snowflake storage.

external-tablesdata-lakeicebergstorage-integration

Materialized Views for Precomputed Query Acceleration

Automatically maintain precomputed query results for faster repeated access.

materialized-viewsquery-accelerationaggregationperformance

Query Profile & Performance Optimization

Diagnose and resolve query performance bottlenecks using Snowflake's execution visualizations.

query-profileperformance-tuningspillingoptimization

Result Caching: Query, Metadata & Warehouse Caches

Leverage Snowflake's multi-layer caching to reduce cost and latency on repeated queries.

cachingresult-cacheperformancecost-optimization

Secure Views & Row Access Policies

Restrict which rows and query internals users can see based on their role or attributes.

secure-viewsrow-access-policyrow-level-securitygovernance

Dynamic Data Masking

Conditionally obscure sensitive column values based on the querying user's role.

data-maskingpiicompliancecolumn-security

Snowpark: DataFrame API & ML Workloads

Write Python/Java/Scala data pipelines and ML workflows that execute inside Snowflake's compute.

snowparkdataframe-apimachine-learningpython

Multi-Cluster Warehouses for Concurrency Scaling

Handle high query concurrency by automatically spinning up additional compute clusters.

multi-cluster-warehouseconcurrencyauto-scalingbi-workloads

Replication & Failover Across Regions

Maintain business continuity by replicating databases and account objects across regions or clouds.

replicationdisaster-recoveryfailoverbusiness-continuity

Network Policies, Private Connectivity & Transactions/Locking

Secure network-level access to Snowflake and understand its transactional concurrency model.

network-policyprivatelinktransactionslockingsecurity