Showing posts with label Database. Show all posts
Showing posts with label Database. Show all posts

25 May 2024

#SQL_Server

#SQL_Server

Key Concepts


S.No Topic Sub-Topics
1 Introduction to Databases What is a database?, DBMS vs RDBMS, Types of databases, Use cases, Advantages
2 Database Architecture Three-tier architecture, Client-server model, Relational model, NoSQL model, Distributed databases
3 SQL Basics Data types, SELECT queries, WHERE clause, ORDER BY, GROUP BY
4 Data Definition Language (DDL) CREATE, ALTER, DROP, TRUNCATE, Constraints
5 Data Manipulation Language (DML) INSERT, UPDATE, DELETE, MERGE, Transactions
6 Data Control Language (DCL) GRANT, REVOKE, Privileges, Roles, Security
7 Transaction Management ACID properties, Commit, Rollback, Savepoints, Isolation levels
8 Indexes Primary index, Unique index, Composite index, Full-text index, Indexing strategies
9 Joins INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL OUTER JOIN, Self join
10 Subqueries Single-row subqueries, Multi-row subqueries, Correlated subqueries, EXISTS, IN
11 Views Creating views, Updating views, Materialized views, Security, Use cases
12 Stored Procedures Creating procedures, Parameters, Control statements, Error handling, Best practices
13 Functions Scalar functions, Aggregate functions, User-defined functions, System functions, Usage examples
14 Triggers BEFORE triggers, AFTER triggers, INSTEAD OF triggers, Event types, Use cases
15 Normalization 1NF, 2NF, 3NF, BCNF, Denormalization
16 Database Design ER diagrams, Tables and relationships, Keys, Constraints, Schema design best practices
17 Backup & Recovery Full backup, Incremental backup, Point-in-time recovery, Recovery strategies, Tools
18 Performance Tuning Query optimization, Index tuning, Execution plans, Caching, Monitoring tools
19 Replication Master-slave replication, Multi-master replication, Synchronous vs asynchronous, Failover, Use cases
20 Sharding & Partitioning Horizontal partitioning, Vertical partitioning, Range-based sharding, Hash-based sharding, Load balancing
21 NoSQL Databases Document store, Key-value store, Column-family store, Graph database, Use cases
22 MongoDB Basics Documents, Collections, CRUD operations, Indexing, Aggregation framework
23 Redis Basics Key-value data, Data types, Persistence, Pub/Sub, Use cases
24 Database Security Authentication, Authorization, Roles, Encryption, Auditing
25 Concurrency Control Locks, Deadlocks, Optimistic concurrency, Pessimistic concurrency, Isolation levels
26 Data Warehousing OLAP vs OLTP, Star schema, Snowflake schema, ETL process, Tools
27 Big Data Integration Hadoop, Spark, Hive, Data lakes, ETL pipelines
28 Database Testing Unit testing, Integration testing, Performance testing, Security testing, Automation tools
29 Cloud Databases AWS RDS, Azure SQL Database, Google Cloud SQL, MongoDB Atlas, Benefits
30 Database Projects & Labs ER modeling project, CRUD project, Aggregation project, Replication/sharding lab, Cloud deployment lab

Interview question

Basic Level

  1. What is SQL Server and how does it differ from other RDBMS?
  2. What are the main editions of SQL Server?
  3. How do you install SQL Server?
  4. What is SQL Server Management Studio (SSMS)?
  5. What are databases, tables, and schemas in SQL Server?
  6. How do you create a database in SQL Server?
  7. How do you create a table in SQL Server?
  8. What are the different data types in SQL Server?
  9. What is a primary key? How do you define it in SQL Server?
  10. What is a foreign key? How do you define it in SQL Server?
  11. What is the difference between CHAR, VARCHAR, and NVARCHAR?
  12. How do you insert data into a table?
  13. How do you update and delete records in SQL Server?
  14. What is the difference between DELETE, TRUNCATE, and DROP?
  15. What are constraints in SQL Server? Name a few types.
  16. How do you create indexes in SQL Server?
  17. What is a clustered index? How does it differ from a non-clustered index?
  18. How do you check the structure of a table in SQL Server?
  19. How do you retrieve all databases on a SQL Server instance?
  20. What is the difference between UNION and UNION ALL?
  21. How do you filter data using the WHERE clause?
  22. Explain the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
  23. What is the purpose of the TOP keyword in SQL Server?
  24. What is IDENTITY in SQL Server? How is it used?
  25. How do you back up and restore a SQL Server database?

Intermediate Level

  1. What are SQL Server system databases?
  2. Explain the purpose of master, msdb, model, and tempdb.
  3. What is tempdb used for?
  4. Explain the difference between a view and a materialized view.
  5. What are stored procedures in SQL Server?
  6. How do you create and execute a stored procedure?
  7. What are triggers in SQL Server?
  8. Explain the difference between AFTER and INSTEAD OF triggers.
  9. What are functions in SQL Server? Differentiate between scalar and table-valued functions.
  10. What is a common table expression (CTE)?
  11. How do you implement recursive queries in SQL Server?
  12. What are transactions in SQL Server?
  13. Explain ACID properties in SQL Server.
  14. What is the difference between COMMIT and ROLLBACK?
  15. How does SQL Server handle concurrency?
  16. What are isolation levels in SQL Server? List them.
  17. What is the difference between optimistic and pessimistic concurrency control?
  18. How do you use the EXCEPT and INTERSECT operators?
  19. What are SQL Server Operators like LIKE, BETWEEN, IN, and EXISTS?
  20. What is the CASE statement in SQL Server?
  21. How do you handle NULL values in SQL Server?
  22. What is the difference between ISNULL() and COALESCE()?
  23. How do you grant and revoke permissions in SQL Server?
  24. What are SQL Server logins and users? How do they differ?
  25. What is the SQL Server Agent? What is it used for?

Advanced Level

  1. What is indexing strategy in SQL Server?
  2. What are included columns in a non-clustered index?
  3. What is a filtered index in SQL Server?
  4. What are indexed views in SQL Server?
  5. What are statistics in SQL Server? Why are they important?
  6. How does SQL Server query optimizer work?
  7. What is the execution plan in SQL Server? How do you read it?
  8. What is parameter sniffing in SQL Server?
  9. How do you avoid parameter sniffing issues?
  10. What is a deadlock in SQL Server? How do you resolve it?
  11. How do you detect blocking in SQL Server?
  12. Explain difference between NOLOCK and other table hints.
  13. What is sp_who2 used for?
  14. How do you find the longest-running queries in SQL Server?
  15. What are Dynamic Management Views (DMVs)?
  16. How do you monitor performance using DMVs?
  17. What is partitioning in SQL Server?
  18. What are partitioned tables and partitioned indexes?
  19. What is replication in SQL Server? Types?
  20. What is the difference between snapshot, transactional, and merge replication?
  21. What is log shipping in SQL Server?
  22. What is database mirroring in SQL Server?
  23. What is AlwaysOn Availability Groups in SQL Server?
  24. How do you configure failover clustering in SQL Server?
  25. What is database sharding? Is it supported in SQL Server?

Expert Level

  1. Explain SQL Server architecture (SQL OS, storage engine, relational engine).
  2. What is the difference between SQL Server on-premises and Azure SQL Database?
  3. What are extended events in SQL Server?
  4. What is SQL Profiler? Why is it deprecated?
  5. How do you capture deadlock graphs in SQL Server?
  6. Explain tempdb contention and how to resolve it.
  7. How do you tune queries in SQL Server?
  8. What is Query Store in SQL Server?
  9. How do you use Query Store for performance troubleshooting?
  10. What are columnstore indexes? When should you use them?
  11. What is in-memory OLTP in SQL Server?
  12. How does SQL Server handle encryption (TDE, Always Encrypted)?
  13. What is row-level security (RLS) in SQL Server?
  14. What are dynamic data masking techniques in SQL Server?
  15. Explain PolyBase in SQL Server.
  16. How do you connect SQL Server to external data sources (linked servers)?
  17. What is Service Broker in SQL Server?
  18. What is Change Data Capture (CDC)?
  19. What is Change Tracking in SQL Server?
  20. What is the difference between CDC and Change Tracking?
  21. How do you implement auditing in SQL Server?
  22. What are best practices for SQL Server index maintenance?
  23. How do you configure high availability and disaster recovery (HADR)?
  24. What is the difference between synchronous and asynchronous replication in SQL Server?
  25. Compare SQL Server with PostgreSQL and Oracle in terms of scalability, features, and use cases.


Related Topics


   Index   
   Views   
   Stored Procedures   

12 November 2020

#Postgresql

Key Concepts


S.NoTopicSub Topic
1 PostgreSQL Architecture Server Architecture, Backend Processes, Shared Buffers, WAL, Background Workers
2 Advanced Data Types UUID, ENUM, ARRAY, Range Types, Composite Types, Custom Types
3 Advanced SQL Complex Queries, Correlated Subqueries, EXISTS, CASE, FILTER
4 Advanced Joins Self Join, Multiple Joins, LATERAL JOIN, Join Algorithms
5 CTE & Recursive Queries WITH, Multiple CTEs, Recursive CTE, CTE Materialization
6 Window Functions ROW_NUMBER, RANK, DENSE_RANK, LAG, LEAD, Window Frames
7 Advanced Aggregation STRING_AGG, ARRAY_AGG, JSON_AGG, GROUPING SETS, ROLLUP, CUBE
8 Transactions & MVCC MVCC Architecture, Tuple Visibility, Snapshots, Transaction IDs
9 Transaction Isolation Read Committed, Repeatable Read, Serializable, Serialization Failures
10 Locks & Concurrency Row Locks, Table Locks, Advisory Locks, Blocking, Lock Monitoring
11 Deadlocks Deadlock Detection, Prevention, Transaction Ordering, Retry Strategies
12 Indexing Internals B-Tree, Hash, Index Structure, Selectivity, Index Maintenance
13 Advanced Indexing Composite, Partial, Expression, Covering, GIN, GiST, BRIN
14 Query Execution EXPLAIN, EXPLAIN ANALYZE, Execution Plans, Cost Estimation
15 Query Optimization Sequential Scan, Index Scan, Bitmap Scan, Nested Loop, Hash Join, Merge Join
16 Planner & Statistics ANALYZE, Statistics Targets, Cardinality Estimation, Planner Parameters
17 VACUUM & Bloat VACUUM, VACUUM FULL, Autovacuum, Dead Tuples, Table Bloat
18 JSONB Performance JSONB Operators, JSON Path, GIN Indexes, Query Optimization
19 Partitioning Range, List, Hash, Partition Pruning, Partition-wise Joins
20 Large-Scale Data COPY, Bulk Loading, Batch Processing, High-Volume INSERT, Data Migration
21 PL/pgSQL Variables, Control Structures, Loops, Exceptions, Dynamic SQL
22 Functions, Procedures & Triggers Stored Procedures, Functions, Trigger Functions, Audit Triggers
23 Performance Tuning shared_buffers, work_mem, maintenance_work_mem, effective_cache_size
24 Connection Management max_connections, HikariCP, Connection Pooling, Pool Sizing, Timeouts
25 Monitoring & Troubleshooting pg_stat_activity, pg_stat_statements, Locks, Slow Queries, Wait Events
26 Backup & Recovery pg_dump, pg_restore, WAL Archiving, PITR, Recovery Strategies
27 Replication Streaming Replication, WAL Replication, Replication Slots, Replication Lag
28 High Availability Primary/Standby, Read Replicas, Failover, Switchover, Disaster Recovery
29 Enterprise Integration Spring Boot, JPA, JdbcTemplate, Kafka, Spark, CDC
30 Production Architecture Performance, Partitioning, HA, Security, Monitoring, Backup, Scaling, DR

Interview Question



What is PostgreSQL, and what are its key features?
What are the main differences between PostgreSQL and other relational databases?
What is the PostgreSQL architecture?
What is MVCC in PostgreSQL, and how does it work?
What are the different PostgreSQL data types?
What is the difference between VARCHAR, TEXT, and CHAR in PostgreSQL?
What is the difference between SERIAL and IDENTITY columns?
What are schemas in PostgreSQL?
What is the difference between a database and a schema in PostgreSQL?
What are primary keys and foreign keys in PostgreSQL?
What are the different types of constraints in PostgreSQL?
What is a composite key in PostgreSQL?
What is a self join, and when would you use it?
What is the difference between INNER JOIN and LEFT JOIN?
What is a LATERAL JOIN in PostgreSQL?
What is a CROSS JOIN, and when is it useful?
What are Common Table Expressions in PostgreSQL?
What is a recursive CTE, and where is it used?
What are window functions in PostgreSQL?
What is the difference between ROW_NUMBER, RANK, and DENSE_RANK?
How do LAG and LEAD functions work in PostgreSQL?
What are window frames in PostgreSQL?
What is the difference between WHERE and HAVING?
What is the difference between UNION and UNION ALL?
What are GROUPING SETS, ROLLUP, and CUBE?
What is the difference between EXISTS and IN?
What is a correlated subquery?
What is an index in PostgreSQL?
What types of indexes are supported by PostgreSQL?
What is a B-tree index?
What is a GIN index, and when should it be used?
What is a GiST index, and when should it be used?
What is a BRIN index?
What is a composite index?
What is a partial index?
What is an expression index?
What is a covering index in PostgreSQL?
How do you decide which columns should be indexed?
What is index selectivity?
What is EXPLAIN in PostgreSQL?
What is EXPLAIN ANALYZE?
How do you read a PostgreSQL execution plan?
What is a sequential scan?
What is an index scan?
What is a bitmap heap scan?
What is a nested loop join?
What is a hash join?
What is a merge join?
How does the PostgreSQL query planner choose an execution plan?
What are PostgreSQL planner statistics?
What is ANALYZE in PostgreSQL?
What is VACUUM, and why is it required?
What is the difference between VACUUM and VACUUM FULL?
What is autovacuum in PostgreSQL?
What is table bloat in PostgreSQL?
What is transaction isolation in PostgreSQL?
What are the PostgreSQL transaction isolation levels?
What is the difference between Read Committed and Repeatable Read?
What is Serializable isolation in PostgreSQL?
What are locks in PostgreSQL?
What is the difference between row-level and table-level locks?
What are advisory locks in PostgreSQL?
What causes deadlocks in PostgreSQL?
How do you detect and troubleshoot deadlocks in PostgreSQL?
What are transactions and savepoints in PostgreSQL?
What is JSONB in PostgreSQL?
What is the difference between JSON and JSONB?
How do you index JSONB data?
What are JSONB operators in PostgreSQL?
What is JSON path in PostgreSQL?
How are arrays handled in PostgreSQL?
What are PostgreSQL range types?
What are views in PostgreSQL?
What are materialized views in PostgreSQL?
What is the difference between a view and a materialized view?
What are functions in PostgreSQL?
What is PL/pgSQL?
What is the difference between a PostgreSQL function and procedure?
What are triggers in PostgreSQL?
What are BEFORE and AFTER triggers?
What are event triggers in PostgreSQL?
What is table partitioning in PostgreSQL?
What are the different partitioning strategies in PostgreSQL?
What is partition pruning?
When should you use range partitioning?
How do you handle millions or billions of rows in PostgreSQL?
What is the COPY command in PostgreSQL?
How do you perform bulk inserts efficiently in PostgreSQL?
What is connection pooling?
How do you configure HikariCP with PostgreSQL?
What PostgreSQL configuration parameters are important for performance?
What is shared_buffers?
What is work_mem?
What is maintenance_work_mem?
What is effective_cache_size?
How do you troubleshoot a slow PostgreSQL query?
How do you identify blocking queries in PostgreSQL?
What is pg_stat_activity?
What is pg_stat_statements?
How do you monitor PostgreSQL performance?
What are PostgreSQL roles and privileges?
What is Row-Level Security in PostgreSQL?
How do you implement least-privilege security in PostgreSQL?
How do you backup and restore a PostgreSQL database?
What is pg_dump?
What is pg_restore?
What is WAL in PostgreSQL?
What is Point-in-Time Recovery in PostgreSQL?
What is streaming replication in PostgreSQL?
What are replication slots?
What is replication lag?
How do you implement high availability in PostgreSQL?
How do you configure PostgreSQL read replicas?
How do you handle PostgreSQL failover?
How do you integrate PostgreSQL with Spring Boot?
What are the differences between JPA, Hibernate, and JdbcTemplate with PostgreSQL?
How do you optimize PostgreSQL queries from a Spring Boot application?
How do you handle PostgreSQL transactions in Spring Boot?
How do you configure PostgreSQL connection pooling in Spring Boot?
How do you integrate PostgreSQL with Apache Spark?
How do you optimize Spark JDBC reads and writes with PostgreSQL?
How do you implement CDC from PostgreSQL to Kafka?
How would you design a high-performance PostgreSQL database for a financial application?
How would you troubleshoot a PostgreSQL production performance issue?
How would you design PostgreSQL for high availability and disaster recovery?
Why is PostgreSQL preferred for enterprise applications?
Why does PostgreSQL use MVCC?
Why is MVCC important for PostgreSQL concurrency?
Why would you choose PostgreSQL over MySQL?
Why should you use a schema in PostgreSQL?
Why should you use UUID instead of sequential IDs in PostgreSQL?
Why is BIGINT preferred over INTEGER for high-volume tables?
Why should you use NUMERIC for financial calculations?
Why would you use JSONB instead of JSON?
Why should JSONB columns be indexed?
Why would you use a GIN index for JSONB data?
Why would you use a BRIN index instead of a B-tree index?
Why would you use a GiST index?
Why should you create a composite index?
Why does column order matter in a composite index?
Why would you use a partial index?
Why would you use an expression index?
Why can too many indexes reduce database performance?
Why might PostgreSQL ignore an existing index?
Why is index selectivity important?
Why should you use EXPLAIN ANALYZE?
Why might PostgreSQL choose a sequential scan instead of an index scan?
Why is EXPLAIN ANALYZE different from EXPLAIN?
Why does PostgreSQL use different join algorithms?
Why would PostgreSQL choose a nested loop join?
Why would PostgreSQL choose a hash join?
Why would PostgreSQL choose a merge join?
Why are PostgreSQL statistics important for query optimization?
Why should ANALYZE be run after significant data changes?
Why is VACUUM required in PostgreSQL?
Why does PostgreSQL need autovacuum?
Why does table bloat occur in PostgreSQL?
Why should VACUUM FULL be used carefully?
Why are CTEs useful in PostgreSQL?
Why would you use a recursive CTE?
Why would you use window functions instead of GROUP BY?
Why would you use ROW_NUMBER instead of RANK?
Why would you use LAG and LEAD functions?
Why are materialized views useful for reporting?
Why would you use a PostgreSQL function?
Why would you use a stored procedure instead of application logic?
Why would you use triggers in PostgreSQL?
Why should triggers be used carefully?
Why are transactions important in PostgreSQL?
Why are SAVEPOINTs useful?
Why does PostgreSQL provide multiple transaction isolation levels?
Why is Read Committed the default isolation level?
Why would you use Serializable isolation?
Why do serialization failures occur?
Why do deadlocks occur in PostgreSQL?
Why should transactions acquire locks in a consistent order?
Why would you use advisory locks?
Why can long-running transactions cause PostgreSQL performance problems?
Why is connection pooling important for PostgreSQL applications?
Why is HikariCP commonly used with PostgreSQL and Spring Boot?
Why can excessive database connections reduce performance?
Why is shared_buffers important for PostgreSQL performance?
Why is work_mem important for query performance?
Why should work_mem not be configured too aggressively?
Why is effective_cache_size important for the query planner?
Why is partitioning useful for very large PostgreSQL tables?
Why would you choose range partitioning?
Why would you choose list partitioning?
Why would you choose hash partitioning?
Why is partition pruning important?
Why can partitioning improve query performance?
Why should partition keys be selected carefully?
Why is COPY faster than individual INSERT statements?
Why should batch inserts be used for large data loads?
Why is WAL important in PostgreSQL?
Why does PostgreSQL use Write-Ahead Logging?
Why is WAL archiving required for point-in-time recovery?
Why is Point-in-Time Recovery important?
Why would you use streaming replication?
Why can replication lag occur?
Why are replication slots important?
Why can replication slots consume excessive disk space?
Why would you use read replicas?
Why is high availability important for PostgreSQL?
Why is failover required in a PostgreSQL HA architecture?
Why should PostgreSQL backups be tested regularly?
Why would you use pg_dump instead of physical backup?
Why would you use physical backups instead of logical backups?
Why is Row-Level Security useful in PostgreSQL?
Why should PostgreSQL roles follow the principle of least privilege?
Why should SSL/TLS be enabled for PostgreSQL connections?
Why would you use Flyway or Liquibase with PostgreSQL?
Why should database schema changes be version controlled?
Why can JPA-generated SQL cause PostgreSQL performance issues?
Why would you use JdbcTemplate instead of JPA for some PostgreSQL operations?
Why should PostgreSQL connection pools be tuned for Spring Boot applications?
Why would you use native SQL in a Spring Boot PostgreSQL application?
Why should PostgreSQL JDBC batch operations be used for large datasets?
Why would you integrate PostgreSQL with Apache Spark?
Why should Spark JDBC partitioning be configured for large PostgreSQL datasets?
Why would you integrate PostgreSQL with Kafka?
Why is CDC useful for PostgreSQL and Kafka architectures?
Why would PostgreSQL be suitable as a vector database for RAG applications?
Why would you use pgvector with PostgreSQL?
Why is PostgreSQL suitable for high-volume financial applications?
Why should PostgreSQL performance be monitored continuously in production?
Why is pg_stat_statements useful for production troubleshooting?
Why is pg_stat_activity useful for identifying database problems?
Why should blocking queries be monitored in production?
Why should PostgreSQL configuration be tuned according to workload?
Why is database scalability important when designing PostgreSQL systems?
Why should PostgreSQL architecture include disaster recovery planning?
When should you choose PostgreSQL over other relational databases?
When should you use JSONB instead of a normalized relational structure?
When should you use JSON instead of JSONB in PostgreSQL?
When should you use UUID instead of a sequential ID?
When should you use BIGINT instead of INTEGER?
When should you use NUMERIC instead of floating-point types?
When should you create a composite index?
When should you use a partial index?
When should you use an expression index?
When should you use a GIN index?
When should you use a GiST index?
When should you use a BRIN index?
When should you avoid creating an index?
When should PostgreSQL perform a sequential scan instead of an index scan?
When should you use EXPLAIN instead of EXPLAIN ANALYZE?
When should you use EXPLAIN ANALYZE in production?
When should you use a CTE instead of a subquery?
When should you use a recursive CTE?
When should you use a window function instead of GROUP BY?
When should you use LAG and LEAD functions?
When should you use a materialized view?
When should you use a PostgreSQL function?
When should you use a stored procedure?
When should you use a trigger?
When should you use a transaction?
When should you use SAVEPOINT?
When should you use Repeatable Read isolation?
When should you use Serializable isolation?
When should you use an advisory lock?
When should you investigate database locks?
When should you use VACUUM?
When should you use VACUUM FULL?
When should you manually run ANALYZE?
When should you tune autovacuum settings?
When should you partition a PostgreSQL table?
When should you use range partitioning?
When should you use list partitioning?
When should you use hash partitioning?
When should you use the COPY command?
When should you use batch INSERT operations?
When should you use connection pooling?
When should you increase the PostgreSQL connection pool size?
When should you use pg_stat_statements?
When should you use pg_stat_activity for troubleshooting?
When should you use logical backups instead of physical backups?
When should you use Point-in-Time Recovery?
When should you use streaming replication?
When should you use read replicas?
When should you use Row-Level Security?
When should you use PostgreSQL with pgvector for RAG applications?
Where are PostgreSQL configuration files located?
Where is PostgreSQL data physically stored?
Where are PostgreSQL Write-Ahead Log files stored?
Where can you find PostgreSQL server logs?
Where can you check active database connections in PostgreSQL?
Where can you identify long-running queries in PostgreSQL?
Where can you find blocking and blocked sessions in PostgreSQL?
Where can you monitor database locks in PostgreSQL?
Where can you view PostgreSQL query execution statistics?
Where can you find expensive or frequently executed queries in PostgreSQL?
Where can you check table and index sizes in PostgreSQL?
Where can you identify unused indexes in PostgreSQL?
Where can you check index usage statistics?
Where can you find table bloat information in PostgreSQL?
Where can you check autovacuum activity?
Where can you view database and table statistics in PostgreSQL?
Where can you find information about PostgreSQL roles and users?
Where can you check user privileges in PostgreSQL?
Where can you find schema information in PostgreSQL?
Where can you check table definitions and column metadata?
Where can you find information about indexes in PostgreSQL?
Where can you check foreign key relationships in PostgreSQL?
Where can you find information about constraints in PostgreSQL?
Where can you view active transactions in PostgreSQL?
Where can you identify idle transactions in PostgreSQL?
Where can you check transaction isolation settings?
Where can you find information about PostgreSQL extensions?
Where can you check replication status in PostgreSQL?
Where can you monitor replication lag?
Where can you find information about replication slots?
Where can you check the status of streaming replication?
Where can you find backup and recovery configuration details?
Where can you configure WAL archiving in PostgreSQL?
Where can you find Point-in-Time Recovery configuration?
Where can you configure PostgreSQL authentication rules?
Where can you configure client connection permissions?
Where can you configure SSL settings for PostgreSQL?
Where can you configure Row-Level Security policies?
Where can you check PostgreSQL memory configuration parameters?
Where can you configure shared_buffers and work_mem?
Where can you check PostgreSQL connection limits?
Where can you configure autovacuum parameters?
Where can you find query planner configuration parameters?
Where can you check partition information for a PostgreSQL table?
Where can you find information about materialized views?
Where can you check trigger definitions in PostgreSQL?
Where can you find PostgreSQL function and procedure definitions?
Where can you monitor PostgreSQL activity using pg_stat_activity?
Where can you analyze query performance using EXPLAIN ANALYZE?
Where can PostgreSQL be integrated in a high-availability enterprise architecture?
Who developed PostgreSQL?
Who originally developed the PostgreSQL database system?
Who maintains the PostgreSQL open-source project?
Who contributes code to the PostgreSQL project?
Who decides which features are added to PostgreSQL?
Who reviews PostgreSQL source code contributions?
Who manages PostgreSQL database roles?
Who should have PostgreSQL superuser privileges?
Who should be responsible for PostgreSQL database backups?
Who should monitor PostgreSQL production databases?
Who should manage PostgreSQL replication?
Who should handle PostgreSQL failover operations?
Who should configure PostgreSQL high availability?
Who should manage PostgreSQL database security?
Who should create PostgreSQL indexes?
Who should analyze PostgreSQL query performance?
Who should investigate PostgreSQL deadlocks?
Who should troubleshoot PostgreSQL blocking queries?
Who should configure PostgreSQL autovacuum?
Who should monitor PostgreSQL replication lag?
Who should manage PostgreSQL connection pools?
Who should configure PostgreSQL memory parameters?
Who should manage PostgreSQL WAL archiving?
Who should perform PostgreSQL point-in-time recovery?
Who should validate PostgreSQL backup and restore procedures?
Who should design PostgreSQL partitioning strategies?
Who should decide which PostgreSQL indexes are required?
Who should review PostgreSQL execution plans?
Who should optimize slow PostgreSQL queries?
Who should monitor PostgreSQL database health?
Who should manage PostgreSQL roles and privileges?
Who should configure PostgreSQL Row-Level Security?
Who should manage PostgreSQL SSL certificates?
Who should investigate PostgreSQL security incidents?
Who should manage PostgreSQL schema migrations?
Who should approve PostgreSQL production schema changes?
Who should manage PostgreSQL extensions?
Who should configure PostgreSQL monitoring tools?
Who should handle PostgreSQL production incidents?
Who should design PostgreSQL disaster recovery strategies?
Who should define PostgreSQL recovery objectives?
Who should manage PostgreSQL read replicas?
Who should monitor PostgreSQL connection usage?
Who should investigate PostgreSQL table bloat?
Who should tune PostgreSQL autovacuum settings?
Who should validate PostgreSQL performance after configuration changes?
Who should design PostgreSQL high-availability architecture?
Who should manage PostgreSQL databases in a Spring Boot application?
Who should be responsible for PostgreSQL production architecture?
How does PostgreSQL architecture work?
How does PostgreSQL handle concurrent transactions?
How does MVCC work in PostgreSQL?
How does PostgreSQL manage transaction isolation?
How does PostgreSQL handle row-level locking?
How does PostgreSQL detect and handle deadlocks?
How does PostgreSQL execute a SQL query?
How does the PostgreSQL query planner choose an execution plan?
How does PostgreSQL decide whether to use an index?
How does a B-tree index work in PostgreSQL?
How does a GIN index work in PostgreSQL?
How does a GiST index work in PostgreSQL?
How does a BRIN index work in PostgreSQL?
How does PostgreSQL handle composite indexes?
How does PostgreSQL use partial indexes?
How does PostgreSQL use expression indexes?
How does EXPLAIN ANALYZE help optimize queries?
How does PostgreSQL perform a sequential scan?
How does PostgreSQL perform an index scan?
How does PostgreSQL perform a bitmap heap scan?
How does PostgreSQL perform a nested loop join?
How does PostgreSQL perform a hash join?
How does PostgreSQL perform a merge join?
How does PostgreSQL collect and use table statistics?
How does ANALYZE improve query planning?
How does VACUUM work in PostgreSQL?
How does autovacuum work in PostgreSQL?
How does PostgreSQL manage table bloat?
How does PostgreSQL handle JSONB data?
How does PostgreSQL index JSONB columns?
How does PostgreSQL handle arrays?
How does PostgreSQL implement recursive CTEs?
How does PostgreSQL execute window functions?
How does PostgreSQL handle materialized views?
How does PostgreSQL execute functions and procedures?
How does PostgreSQL execute triggers?
How does PostgreSQL implement table partitioning?
How does partition pruning improve PostgreSQL query performance?
How does PostgreSQL handle large-scale bulk data loading?
How does the PostgreSQL COPY command improve data loading performance?
How does PostgreSQL use WAL for crash recovery?
How does PostgreSQL perform point-in-time recovery?
How does PostgreSQL streaming replication work?
How does PostgreSQL handle replication slots?
How does PostgreSQL manage replication lag?
How does PostgreSQL implement high availability?
How does PostgreSQL handle automatic failover?
How does PostgreSQL connection pooling work?
How does PostgreSQL integrate with Spring Boot?
How does PostgreSQL integrate with Kafka and CDC?

08 November 2020

#Hibernate

#Hibernate

Key Concepts


S.No Topic Sub-Topics
1 Introduction to Hibernate What is Hibernate?, Features, Advantages, ORM concept, Use cases
2 Hibernate Architecture Configuration, SessionFactory, Session, Transaction, Query Interface
3 Environment Setup Hibernate installation, IDE setup, Database setup, Maven/Gradle dependencies, Configuration files
4 Hibernate Configuration hibernate.cfg.xml, hibernate.properties, DataSource configuration, Dialects, Connection pooling
5 Entity Mapping @Entity annotation, @Table annotation, @Id annotation, @Column annotation, Mapping strategies
6 Primary Key Generation IDENTITY, SEQUENCE, TABLE, AUTO, Custom generators
7 Hibernate Session Opening session, Closing session, SessionFactory, Session methods, Best practices
8 CRUD Operations Save, Update, Delete, Load, Get
9 Hibernate Query Language (HQL) Basics of HQL, SELECT queries, WHERE clause, JOINs, Aggregation functions
10 Criteria API Creating Criteria, Restrictions, Projections, Ordering, Pagination
11 Native SQL Queries Executing SQL, Result mapping, Named queries, Parameters, Pagination
12 Associations in Hibernate One-to-One, One-to-Many, Many-to-One, Many-to-Many, Mapping strategies
13 Collection Mapping List, Set, Map, Bag, Array mapping
14 Inheritance Mapping Single Table strategy, Table per Class strategy, Joined strategy, Discriminator column, Annotations
15 Component Mapping Embedded objects, @Embeddable, @Embedded annotation, Reusability, Nested components
16 Hibernate Caching First-level cache, Second-level cache, Query cache, Cache providers, Configuration
17 Hibernate Transactions Transaction API, ACID properties, Commit, Rollback, Transaction propagation
18 Lazy vs Eager Loading Lazy loading, Eager loading, FetchType, Performance impact, Use cases
19 Hibernate Event Listeners PreInsert, PostInsert, PreUpdate, PostUpdate, Configuration
20 Hibernate Interceptors Session interceptor, Methods, Custom interceptors, Performance, Use cases
21 Hibernate Validator Bean validation, @NotNull, @Size, Custom constraints, Integration
22 Hibernate Filters Defining filters, Enabling filters, Parameters, Dynamic filtering, Use cases
23 Named Queries Defining queries, Using @NamedQuery, Using @NamedNativeQuery, Parameters, Reusability
24 Batch Processing Bulk insert, Bulk update, Stateless session, JDBC batch, Performance optimization
25 Optimistic & Pessimistic Locking Optimistic locking, Pessimistic locking, Versioning, Lock modes, Concurrency control
26 Hibernate with Spring Spring ORM, SessionFactory integration, Transaction management, DAO pattern, Configuration
27 Performance Tuning Query optimization, Fetch strategies, Caching strategies, Connection pooling, Monitoring tools
28 Logging & Monitoring Hibernate logging, SQL logging, Statistics, JMX monitoring, Tools
29 Projects & Hands-on Labs CRUD project, Association mapping project, Inheritance mapping project, Caching project, Spring integration project
30 Certification & Career Path Hibernate certification, Job roles, Learning resources, Real-time projects, Best practices

Interview question

Basic

  1. What is Hibernate?
  2. Difference between Hibernate and JDBC?
  3. What are the advantages of Hibernate ORM?
  4. What is JPA and how is it related to Hibernate?
  5. Explain ORM in simple terms.
  6. What is the role of hibernate.cfg.xml?
  7. What is the use of SessionFactory?
  8. What is the difference between Session and SessionFactory?
  9. Explain the lifecycle of a Hibernate Session.
  10. What are persistent objects in Hibernate?
  11. What is the difference between transient, persistent, and detached objects?
  12. Explain the role of @Entity annotation.
  13. How do you map a table to a class in Hibernate?
  14. What is @Id and @GeneratedValue annotation used for?
  15. How do you configure database connection in Hibernate?
  16. What is Hibernate Dialect?
  17. Explain HQL (Hibernate Query Language).
  18. What is the difference between HQL and SQL?
  19. How do you perform CRUD operations in Hibernate?
  20. What is the default fetching strategy in Hibernate?
  21. Difference between get() and load() methods?
  22. What are named queries in Hibernate?
  23. Explain the role of @Table annotation.
  24. What is the use of hibernate.properties file?
  25. Explain the difference between save(), persist(), and saveOrUpdate().

Intermediate

  1. What are the different types of entity mapping in Hibernate?
  2. How do you implement one-to-one mapping in Hibernate?
  3. How do you implement one-to-many mapping in Hibernate?
  4. How do you implement many-to-many mapping in Hibernate?
  5. Explain cascading in Hibernate.
  6. What is lazy loading in Hibernate?
  7. Difference between lazy and eager fetching?
  8. What is the N+1 select problem?
  9. How to solve N+1 problem in Hibernate?
  10. What are embedded objects in Hibernate?
  11. Explain inheritance mapping strategies in Hibernate.
  12. Difference between Single Table and Joined strategy?
  13. How do you configure table per class hierarchy?
  14. What is the role of @Inheritance annotation?
  15. Explain the role of @MappedSuperclass.
  16. What are Hibernate annotations used for composite keys?
  17. How do you handle versioning in Hibernate?
  18. Explain optimistic and pessimistic locking.
  19. What is Hibernate Criteria API?
  20. Difference between HQL and Criteria API?
  21. What are projections in Criteria API?
  22. How do you add restrictions in Criteria API?
  23. What is the use of CriteriaBuilder in JPA?
  24. How do you perform pagination in Hibernate?
  25. Difference between Query, TypedQuery, and CriteriaQuery?

Advanced

  1. What is the role of Session.flush()?
  2. What is the difference between flush() and commit()?
  3. Explain clear() and evict() methods.
  4. How do you detach an entity in Hibernate?
  5. What is the use of merge() in Hibernate?
  6. What is the difference between merge() and update()?
  7. What is the first-level cache in Hibernate?
  8. What is the second-level cache in Hibernate?
  9. What cache providers can be used with Hibernate?
  10. What is query-level cache in Hibernate?
  11. How do you configure Ehcache in Hibernate?
  12. Explain Hibernate?s integration with Spring.
  13. What is the role of LocalSessionFactoryBean in Spring?
  14. How do you configure transaction management in Spring + Hibernate?
  15. Difference between programmatic and declarative transactions?
  16. What are Interceptors in Hibernate?
  17. Difference between Interceptor and EventListener?
  18. Explain entity lifecycle events in Hibernate.
  19. How do you use Hibernate with stored procedures?
  20. How do you map native SQL queries in Hibernate?
  21. What are named native queries?
  22. How do you log SQL queries in Hibernate?
  23. Explain batch processing in Hibernate.
  24. How do you configure batch size in Hibernate?
  25. What is StatelessSession in Hibernate?

Expert

  1. What are best practices for Hibernate performance tuning?
  2. How do you optimize Hibernate for large datasets?
  3. How do you use Fetch Joins in Hibernate?
  4. Explain DTO projection using Hibernate.
  5. What is Hibernate Validator and how is it used?
  6. What is JSR-303 Bean Validation in Hibernate?
  7. How do you configure custom validators in Hibernate?
  8. What is a proxy object in Hibernate?
  9. What are bytecode enhancement techniques in Hibernate?
  10. Explain dirty checking in Hibernate.
  11. How does Hibernate detect changes in entities?
  12. What is Hibernate Envers?
  13. How do you implement auditing in Hibernate?
  14. Explain multi-tenancy support in Hibernate.
  15. Difference between schema, database, and discriminator-based multi-tenancy?
  16. How does Hibernate integrate with NoSQL databases?
  17. What is Hibernate OGM?
  18. Explain Hibernate Search and its use cases.
  19. How does Hibernate integrate with Elasticsearch?
  20. Explain polyglot persistence with Hibernate.
  21. How do you handle migration and versioning with Hibernate?
  22. How do you integrate Hibernate with Flyway or Liquibase?
  23. How do you debug Hibernate performance issues?
  24. How does Hibernate differ from JPA, MyBatis, and EclipseLink?
  25. Future of Hibernate: How does it fit into modern microservices and cloud-native architectures?

Related Topics


03 November 2020

#Redis

#Redis

Key Concepts


S.No Topic Sub-Topics
1 Introduction to Redis What is Redis?, Features, Use cases, Advantages, Key differences with other NoSQL DBs
2 Redis Architecture In-memory database, Single-threaded model, Persistence, Replication, Pub/Sub mechanism
3 Installation & Setup Installing on Linux/Windows/Mac, Configuration file, Starting Redis server, Redis CLI, Connecting clients
4 Data Types Overview Strings, Lists, Sets, Sorted Sets, Hashes
5 String Operations SET, GET, INCR, DECR, MGET/MSET
6 List Operations LPUSH, RPUSH, LPOP, RPOP, LRANGE
7 Set Operations SADD, SREM, SMEMBERS, SISMEMBER, SUNION/SINTER/SDIFF
8 Sorted Set Operations ZADD, ZREM, ZRANGE, ZREVRANGE, ZSCORE
9 Hash Operations HSET, HGET, HGETALL, HDEL, HEXISTS
10 Keys Management EXPIRE, TTL, PERSIST, DEL, RENAME
11 Persistence in Redis RDB snapshots, AOF (Append Only File), Hybrid persistence, Save configuration, Recovery
12 Redis Transactions MULTI, EXEC, DISCARD, WATCH, UNWATCH
13 Redis Pub/Sub PUBLISH, SUBSCRIBE, PSUBSCRIBE, UNSUBSCRIBE, Message patterns
14 Redis Lua Scripting Evaluating scripts, KEYS & ARGV, Atomic operations, EVALSHA, Best practices
15 Redis Cluster Sharding, Node types, Slot allocation, Cluster commands, High availability
16 Replication Master-slave setup, Asynchronous replication, Failover, Read scalability, Configuration
17 Redis Sentinel Monitoring, Automatic failover, Notification, Sentinel configuration, HA setup
18 Memory Management Max memory, Eviction policies, LRU/LFU, Fragmentation, Memory optimization
19 Performance Tuning Command optimization, Pipelining, Connection pooling, Latency monitoring, Benchmarking
20 Redis Modules RedisJSON, RediSearch, RedisGraph, RedisTimeSeries, Module integration
21 Redis Streams Creating streams, XADD, XREAD, XGROUP, Consumer groups
22 Redis Geo GEOADD, GEOPOS, GEODIST, GEORADIUS, GEOSEARCH
23 Redis Bitmaps SETBIT, GETBIT, BITCOUNT, BITOP, Use cases
24 Redis HyperLogLog PFADD, PFCOUNT, PFMERGE, Cardinality estimation, Use cases
25 Redis Key Expiration Strategies TTL monitoring, Key eviction, Lazy deletion, Active expiration, Best practices
26 Security & Authentication Password authentication, ACLs, TLS/SSL, IP whitelisting, Redis configuration
27 Monitoring & Logging Redis INFO, Slowlog, MONITOR command, Metrics, Integration with Prometheus
28 Backup & Recovery RDB snapshots, AOF rewrite, Disaster recovery, Manual backup, Cloud backup
29 Redis in Microservices Cache pattern, Session management, Message broker, Leaderboards, Real-time analytics
30 Projects & Labs CRUD with Redis, Pub/Sub project, Cache integration, Streams project, Cluster deployment project

Interview question

📘 Basic Level

  1. What is Redis and what are its key features?
  2. What is the difference between Redis and traditional RDBMS?
  3. What data structures are supported by Redis?
  4. What is an in-memory database?
  5. How do you install Redis on Linux/Windows?
  6. What is Redis CLI and how is it used?
  7. How do you set and get a key-value pair in Redis?
  8. What commands are used to delete keys?
  9. How do you check if a key exists in Redis?
  10. What is the difference between GET and MGET commands?
  11. What is the difference between SET and MSET commands?
  12. How do you increment or decrement a numeric value in Redis?
  13. How do you view all keys in Redis?
  14. What is TTL in Redis?
  15. How do you set an expiration for a key?
  16. What happens when a key expires?
  17. What is the difference between DEL and UNLINK?
  18. What is the difference between a string and hash in Redis?
  19. How do you store a list in Redis?
  20. How do you retrieve elements from a list?
  21. What is a set in Redis?
  22. How do you add and remove members from a set?
  23. What is a sorted set and how is it different from a set?
  24. What is the Redis default port?
  25. What are the persistence options in Redis?

📗 Intermediate Level

  1. What is RDB persistence and how does it work?
  2. What is AOF persistence and how does it work?
  3. What is the difference between RDB and AOF?
  4. How do you configure Redis persistence in redis.conf?
  5. What is a Redis transaction?
  6. What are the MULTI, EXEC, and WATCH commands?
  7. How do you execute Lua scripts in Redis?
  8. What is Redis pub/sub and how does it work?
  9. How do you subscribe to a channel?
  10. How do you publish a message to a channel?
  11. What is Redis replication?
  12. What is a master and a replica node in Redis?
  13. How do replicas synchronize with the master?
  14. What is Redis Sentinel?
  15. How does Sentinel handle failover?
  16. What are Redis eviction policies?
  17. What is LRU and LFU eviction policy?
  18. How do you monitor Redis performance?
  19. What are Redis slow logs and how do you use them?
  20. What is pipelining in Redis?
  21. How do you optimize Redis queries using pipelining?
  22. What is the difference between blocking and non-blocking commands?
  23. How do you manage memory usage in Redis?
  24. How do you flush all keys from a database?
  25. How do you monitor Redis memory usage?

📕 Advanced Level

  1. What is Redis clustering?
  2. How do Redis hash slots work?
  3. How do you add a node to a Redis cluster?
  4. How do you remove a node from a Redis cluster?
  5. What is key sharding in Redis?
  6. How does Redis handle rebalancing data across nodes?
  7. How do you implement high availability in Redis?
  8. How do Redis clusters handle failover?
  9. What is Redis sentinel monitoring architecture?
  10. How do you configure client read/write preferences in Redis clusters?
  11. What is Redis Streams?
  12. How do consumer groups work in Redis Streams?
  13. What is XREAD and XREADGROUP?
  14. How do you manage offsets in Redis Streams?
  15. How do Redis hyperloglogs work?
  16. How do you implement approximate counting with HyperLogLog?
  17. What is Redis Bitmaps and how is it used?
  18. What are Redis geospatial indexes?
  19. How do you perform geospatial queries in Redis?
  20. How does Redis handle large datasets in memory?
  21. What are the best practices for memory optimization in Redis?
  22. How do Redis modules extend functionality?
  23. What is RedisJSON?
  24. What is RediSearch and how is it used?
  25. How does Redis handle atomic operations with Lua scripts?

📓 Expert Level

  1. How do you design a Redis architecture for high-concurrency workloads?
  2. How do you design Redis for multi-region replication?
  3. How do you handle failover in distributed Redis systems?
  4. How do you tune Redis performance for low latency?
  5. How do you index Redis data for analytics queries?
  6. How do you monitor Redis clusters at scale?
  7. How do you handle Redis memory fragmentation?
  8. How do you configure Redis for persistence in cloud environments?
  9. How do you design Redis caching strategies for large applications?
  10. How do you use Redis with Kubernetes?
  11. How do Redis pipelining and transactions differ in high load?
  12. How do you implement distributed locks in Redis?
  13. How do you design Redis for session management at scale?
  14. How do you implement rate limiting using Redis?
  15. How do you secure Redis in production?
  16. How do you use ACLs in Redis 6+?
  17. How do you perform real-time analytics using Redis Streams?
  18. How do Redis Vector Search and AI modules work?
  19. How do you plan disaster recovery for Redis clusters?
  20. How do you migrate data between Redis clusters?
  21. How do you handle schema evolution in Redis?
  22. How do you implement multi-tenancy in Redis?
  23. How do you integrate Redis with machine learning pipelines?
  24. How do you optimize Redis for microservices architectures?
  25. What are emerging trends in Redis, such as Redis Stack and AI integration?

Related Topics


   Data Types   
   Redis Persistence Mechanisms   
   Replication   
   Cluster   
   Sharding   
   Memory Management   
   Eviction Policies   
   Pub/Sub & Streams   

#MongoDB


Key Concepts


S.No Topic Sub-Topics
1 MongoDB What is MongoDB?, NoSQL vs SQL, Use cases, Features, Advantages
2 MongoDB Architecture Documents, Collections, Databases, Replica sets, Sharding
3 Installation & Setup Installing MongoDB, Configuration, Mongo Shell, Compass GUI, Connecting to DB
4 CRUD Operations Insert, Find, Update, Delete, Bulk operations
5 Data Modeling Schema design, Embedding vs Referencing, Data types, Indexing strategies, Best practices
6 Indexes Single field index, Compound index, Unique index, TTL index, Text index
7 Aggregation Framework $match, $group, $project, $sort, $lookup
8 Data Validation Schema validation, Validation rules, Validators, Error handling, Update validation
9 MongoDB Security Authentication, Authorization, Role-based access, SSL/TLS, Auditing
10 Replication Replica set overview, Primary/Secondary, Failover, Election, Oplog
11 Sharding Sharding overview, Shard key, Config servers, Mongos, Balancing
12 Transactions Single document transactions, Multi-document transactions, Commit, Rollback, Best practices
13 MongoDB Backup & Restore mongodump, mongorestore, Cloud backups, Point-in-time restore, Scheduling backups
14 Monitoring & Performance Monitoring tools, Profiling, Query optimization, Index usage, Metrics
15 MongoDB Atlas Overview, Cluster setup, Security settings, Monitoring, Deployment options
16 Cloud Deployment AWS deployment, Azure deployment, GCP deployment, Atlas automation, Scaling
17 Aggregation Pipelines Advanced $facet, $bucket, $unwind, $replaceRoot, $graphLookup
18 Change Streams Real-time monitoring, Watch collections, Watch databases, Resume tokens, Integration
19 GridFS Storing large files, Chunking, Retrieving files, File metadata, Integration
20 MongoDB Drivers Java driver, Python driver, Node.js driver, CRUD operations, Connection management
21 Full Text Search Text index, Search queries, Scoring, Language support, Aggregation with search
22 TTL Collections Time-to-live index, Automatic deletion, Use cases, Monitoring, Best practices
23 Data Migration mongodump/mongorestore, mongoimport/mongoexport, Live migration, Schema mapping, Validation
24 MongoDB & Microservices Integration patterns, Database per service, Event sourcing, CQRS, Scaling
25 MongoDB & Big Data Integration with Spark, Hadoop connector, Analytics pipelines, Data lakes, ETL processes
26 MongoDB Caching In-memory storage, Redis integration, Query caching, Index optimization, TTL cache
27 Testing & Mocking Unit tests, Integration tests, Mocking MongoDB, Test containers, Data cleanup
28 Backup & Disaster Recovery Automated backups, Point-in-time recovery, Sharded cluster recovery, Replica set recovery, Testing DR
29 MongoDB Projects & Labs Hands-on CRUD project, Aggregation project, Replica set project, Sharding project, Atlas deployment project
30 Certification & Career Path MongoDB University, Developer certification, DBA certification, Real-time projects, Job opportunities

Interview question

What is MongoDB and what are its key features for AI applications?
What is a document in MongoDB?
What is a collection in MongoDB?
What is BSON and why does MongoDB use it?
What is the difference between MongoDB and relational databases?
What are the main use cases of MongoDB in AI applications?
What is a MongoDB database?
What is the MongoDB document model?
What is the MongoDB ObjectId?
What are embedded documents in MongoDB?
What are references in MongoDB?
What is schema design in MongoDB?
What is schema flexibility in MongoDB?
What are the advantages of embedding documents in MongoDB?
What are the advantages of referencing documents in MongoDB?
What is the difference between embedding and referencing in MongoDB?
What are MongoDB CRUD operations?
What is the syntax for inserting a document in MongoDB?
What is the difference between insertOne and insertMany?
What is the syntax for querying documents in MongoDB?
What are MongoDB query operators?
What are comparison operators in MongoDB?
What are logical operators in MongoDB?
What are array operators in MongoDB?
What are element operators in MongoDB?
What are evaluation operators in MongoDB?
What are MongoDB update operators?
What is the difference between $set and $unset?
What are $push and $addToSet operators?
What are $pull and $pop operators?
What is the MongoDB aggregation framework?
What are aggregation pipelines in MongoDB?
What is the $match stage in MongoDB aggregation?
What is the $group stage in MongoDB aggregation?
What is the $project stage in MongoDB aggregation?
What is the $lookup stage in MongoDB aggregation?
What is the $unwind stage in MongoDB aggregation?
What is the $sort stage in MongoDB aggregation?
What is the $facet stage in MongoDB aggregation?
What is the $setWindowFields stage in MongoDB aggregation?
What are MongoDB indexes?
What is the default index created by MongoDB?
What are compound indexes in MongoDB?
What are multikey indexes in MongoDB?
What are text indexes in MongoDB?
What are wildcard indexes in MongoDB?
What are partial indexes in MongoDB?
What are sparse indexes in MongoDB?
What are unique indexes in MongoDB?
What is index selectivity in MongoDB?
What is query optimization in MongoDB?
What is the explain() method in MongoDB?
What are MongoDB transactions?
What are multi-document transactions in MongoDB?
What is read concern in MongoDB?
What is write concern in MongoDB?
What is read preference in MongoDB?
What is MongoDB replication?
What is a MongoDB replica set?
What are primary and secondary nodes in MongoDB?
What is automatic failover in MongoDB?
What is MongoDB sharding?
What is a shard key in MongoDB?
What is range-based sharding in MongoDB?
What is hashed sharding in MongoDB?
What is zone sharding in MongoDB?
What is MongoDB load balancing?
What is MongoDB Atlas?
What are the advantages of MongoDB Atlas for AI applications?
What is MongoDB Atlas Vector Search?
What is a vector embedding in MongoDB?
What is a vector index in MongoDB?
What is semantic search in MongoDB?
What is approximate nearest neighbor search in MongoDB?
What is k-nearest neighbor search in MongoDB?
What is hybrid search in MongoDB?
What is MongoDB Atlas Search?
What is the difference between Atlas Search and Atlas Vector Search?
What are vector embeddings used for in RAG applications?
What is RAG and how can MongoDB support RAG applications?
What is a vector store and how does MongoDB act as one?
What is document chunking in a MongoDB-based RAG system?
What metadata should be stored with AI embeddings in MongoDB?
What is metadata filtering in MongoDB Vector Search?
What is the role of MongoDB in an AI knowledge base?
What is the role of MongoDB in a semantic search application?
What is the role of MongoDB in a chatbot with RAG?
What is the role of MongoDB in an AI agent architecture?
What is the role of MongoDB in storing AI agent memory?
What types of agent memory can be stored in MongoDB?
What is conversational memory in MongoDB?
What is long-term memory for AI agents in MongoDB?
What is short-term memory for AI agents in MongoDB?
What is MongoDB Change Streams and how can AI systems use them?
What is MongoDB GridFS and when is it useful for AI applications?
What is MongoDB time series support?
What are MongoDB time series collections used for in AI systems?
What is MongoDB aggregation-based feature engineering?
What is the role of MongoDB in machine learning pipelines?
What is the role of MongoDB in storing model metadata?
What is the role of MongoDB in storing AI inference results?
What is the role of MongoDB in an LLM application architecture?
What is the role of MongoDB in an Agentic AI architecture?
What security mechanisms does MongoDB provide for AI applications?
What authentication mechanisms does MongoDB support?
What authorization mechanisms does MongoDB support?
What encryption features does MongoDB provide?
What are MongoDB performance best practices for AI workloads?
What are MongoDB scalability best practices for high-volume AI applications?
What are the common MongoDB design challenges in RAG and Agentic AI systems?

Related Topics