06 December 2026

#Redshift

Key Concepts


S.NoTopicSub Topic
1Amazon RedshiftRedshift Architecture, Cluster Architecture, Serverless Architecture, Leader Node, Compute Node, Node Slices, Columnar Storage, MPP Architecture, RA3 Nodes, Redshift Serverless
2Cluster ManagementCluster Creation, Cluster Configuration, Node Types, Node Selection, Cluster Resizing, Elastic Resize, Classic Resize, Concurrency Scaling, Workload Management, Cluster Snapshots
3Redshift ServerlessWorkgroups, Namespaces, Base Capacity, RPUs, Auto Scaling, Usage Limits, Query Monitoring, Serverless Configuration
4Database AdministrationDatabase Creation, Schema Management, User Management, Role Management, Database Ownership, Privileges, System Catalogs, Database Parameters
5Data TypesNumeric Types, Character Types, Date and Time Types, Boolean Types, SUPER Data Type, VARBYTE, Data Type Conversion, Precision and Scale
6SQL QueryingSELECT, INSERT, UPDATE, DELETE, MERGE, CREATE TABLE AS, Common Table Expressions, Subqueries, Window Functions, Recursive Queries, Set Operations
7Table DesignColumn Definitions, Data Types Selection, Table Compression, Temporary Tables, External Tables, Views, Materialized Views, Late Binding Views
8Distribution StylesKEY Distribution, EVEN Distribution, ALL Distribution, AUTO Distribution, Distribution Key Selection, Data Redistribution, Data Skew, Collocated Joins
9Sort KeysCompound Sort Keys, Interleaved Sort Keys, Automatic Table Optimization, Sort Key Selection, Sort Key Maintenance, Zone Maps, Sort Order
10Data CompressionColumn Encoding, AZ64 Encoding, LZO Encoding, ZSTD Encoding, RAW Encoding, Automatic Compression, ANALYZE COMPRESSION, Storage Optimization
11Query PerformanceQuery Execution Plan, EXPLAIN, Query Optimization, Join Optimization, Predicate Pushdown, Filter Pushdown, Data Scanning, Query Compilation, Result Cache
12Workload ManagementAutomatic WLM, Manual WLM, Query Queues, Query Priorities, Query Groups, Query Monitoring Rules, Short Query Acceleration, Concurrency Scaling
13System Tables and ViewsSTL Tables, STV Tables, SVL Views, SVV Views, SYS Monitoring Views, Query History, Table Statistics, Session Monitoring, Lock Monitoring
14Data LoadingCOPY Command, INSERT Command, MERGE Command, S3 Data Loading, Parallel Loading, Manifest Files, Data Formats, Compression, Load Validation, Error Handling
15Data UnloadingUNLOAD Command, S3 Export, Parallel Unload, CSV Export, Parquet Export, JSON Export, Partitioned Unload, Manifest Files, Encryption
16Amazon S3 IntegrationS3 Buckets, IAM Roles, COPY from S3, UNLOAD to S3, External Data Access, S3 Lifecycle Policies, Cross Region Access, S3 Encryption
17Redshift SpectrumExternal Schemas, External Tables, AWS Glue Catalog, Data Lake Queries, Partition Pruning, Predicate Pushdown, Spectrum Scan, Spectrum Cost Optimization
18Data Lake IntegrationAmazon S3, AWS Glue, Lake Formation, Open Table Formats, Apache Iceberg, External Catalogs, Data Lake Security, Data Sharing
19ETL and ELT IntegrationAWS Glue, AWS DMS, AWS Data Pipeline, Amazon EMR, Apache Spark, dbt, Informatica, Talend, Airflow, Incremental Loading
20Data MigrationDatabase Migration Service, Schema Conversion, Full Load, CDC Migration, Parallel Migration, Data Validation, Migration Assessment, Zero Downtime Migration
21Data ReplicationChange Data Capture, AWS DMS Replication, Streaming Ingestion, Kinesis Integration, MSK Integration, Replication Monitoring, Data Consistency
22Streaming IngestionAmazon Kinesis Data Streams, Amazon MSK, Streaming Materialized Views, CREATE STREAM, Refresh Management, Streaming Monitoring, Data Latency
23Semi Structured DataSUPER Data Type, JSON Data, PartiQL, COPY JSON, Nested Objects, Arrays, Object Unnesting, Dynamic Data Access, Semi Structured Query Optimization
24Materialized ViewsMaterialized View Creation, Incremental Refresh, Automatic Refresh, Manual Refresh, Query Rewrite, Refresh Monitoring, Dependency Management, Performance Optimization
25Stored ProceduresPLpgSQL, Procedure Creation, Input Parameters, Output Parameters, Variables, Conditional Statements, Loops, Exception Handling, Dynamic SQL, Transaction Management
26User Defined FunctionsSQL UDF, Python UDF Migration Considerations, Function Parameters, Return Types, Function Permissions, Function Performance, Function Limitations
27Transactions and ConcurrencyTransaction Management, BEGIN, COMMIT, ROLLBACK, Isolation Levels, Locking, Deadlocks, Concurrent Queries, Serializable Isolation, Transaction Conflicts
28Security and Access ControlIAM Authentication, Database Users, Database Roles, Role Based Access Control, Object Permissions, Schema Permissions, Row Level Security, Column Level Security
29Encryption and ComplianceEncryption at Rest, Encryption in Transit, AWS KMS, Customer Managed Keys, SSL Connections, Audit Logging, Data Masking, Compliance Controls
30Network and ConnectivityVPC Configuration, Subnets, Security Groups, VPC Endpoints, PrivateLink, Public Accessibility, JDBC Connectivity, ODBC Connectivity, SSL Configuration
31Monitoring and LoggingCloudWatch Metrics, CloudWatch Logs, Audit Logging, User Activity Logging, Query Monitoring, Performance Metrics, Cluster Events, Alert Configuration
32Backup and RecoveryAutomated Snapshots, Manual Snapshots, Snapshot Retention, Point in Time Recovery, Cross Region Snapshots, Restore Operations, Recovery Planning
33High Availability and Disaster RecoveryMulti AZ Deployment, Recovery Objectives, Recovery Time Objective, Recovery Point Objective, Snapshot Replication, Cross Region Recovery, Failover Planning
34Data SharingDatashares, Producer Cluster, Consumer Cluster, Cross Database Queries, Cross Account Sharing, AWS Data Exchange, Secure Data Sharing, Usage Monitoring
35Cost OptimizationRA3 Storage Optimization, Managed Storage, Serverless Pricing, RPU Optimization, Concurrency Scaling Cost, Spectrum Cost, S3 Storage Cost, Reserved Pricing, Usage Monitoring
36Infrastructure as CodeAWS CloudFormation, Terraform, AWS CDK, Cluster Provisioning, Parameter Management, IAM Configuration, Automated Deployment
37DevOps and AutomationAWS CLI, Redshift Data API, JDBC Automation, Python Automation, Boto3, CI CD Pipelines, Schema Deployment, Database Version Control, Scheduled Workloads
38Data GovernanceAWS Glue Data Catalog, AWS Lake Formation, Data Lineage, Data Classification, Metadata Management, Data Quality, Data Retention, Access Auditing
39Performance TroubleshootingSlow Query Analysis, Query Queue Waits, Disk Spilling, Data Skew Detection, Table Bloat, Statistics Updates, Vacuum Operations, Analyze Operations, Lock Contention
40Advanced OptimizationAutomatic Table Optimization, Automatic Workload Management, Query Plan Analysis, Join Strategy, Distribution Optimization, Sort Optimization, Encoding Optimization, Materialized View Strategy
41Enterprise ArchitectureData Warehouse Architecture, Multi Cluster Design, Multi Tenant Architecture, Data Lakehouse Architecture, Workload Isolation, Data Domain Design, Cross Account Architecture
42Expert Production ScenariosLarge Scale Data Loading, Petabyte Scale Warehousing, High Concurrency Workloads, Near Real Time Analytics, Zero Downtime Migration, Cost Reduction, Query Performance Tuning, Disaster Recovery, Production Incident Management

Interview Question



What is Amazon Redshift and how does it differ from a traditional relational database
Explain the architecture of Amazon Redshift
What is Massively Parallel Processing in Redshift
What are the responsibilities of the leader node and compute nodes
What are node slices in Redshift
What is the difference between RA3 and DC2 node types
What is Redshift Serverless and when should it be used
What is the difference between a Redshift cluster and a workgroup
How does Redshift manage storage and compute separately
What are the key factors to consider when designing a Redshift data warehouse
What are distribution styles in Redshift
Explain KEY distribution and when should it be used
What is EVEN distribution and when is it appropriate
What is ALL distribution and what are its limitations
What is AUTO distribution and how does it work
How do you select an effective distribution key
What is data redistribution during query execution
How do you identify data skew in a Redshift table
How does distribution style affect join performance
What are sort keys in Redshift
What is the difference between compound and interleaved sort keys
How do you choose the right sort key for a large table
What is automatic table optimization
What are zone maps and how do they improve query performance
How do sort keys help with partition elimination
What is column encoding in Redshift
How do you select the appropriate compression encoding
What is the purpose of the ANALYZE COMPRESSION command
What is the difference between AZ64 and ZSTD encoding
How does columnar storage improve analytical query performance
How do you analyze a Redshift query execution plan
What is the purpose of the EXPLAIN command
How do you identify expensive operations in a query execution plan
What is the difference between a nested loop join and a hash join
How do you optimize joins between large fact and dimension tables
What is predicate pushdown and how does it improve performance
How do you identify queries that scan unnecessary data
What is result caching in Redshift
How do you troubleshoot a query that suddenly becomes slow
What is Workload Management in Redshift
What is the difference between automatic and manual WLM
How do query queues work in Redshift
What are Query Monitoring Rules
What is Short Query Acceleration
How does concurrency scaling work
How do you prioritize critical business queries
How do you monitor queue wait time and query execution time
What are STL STV SVL and SVV system tables and views
How do you find the top resource consuming queries
How do you identify long running queries using system views
What is the purpose of SYS monitoring views
How do you monitor table statistics and query performance
What is the COPY command in Redshift
Why is COPY preferred over multiple INSERT statements for bulk loading
How do you load data from Amazon S3 into Redshift
What is a manifest file in a COPY operation
How do you load compressed CSV and Parquet files
How do you handle invalid records during data loading
How do you troubleshoot COPY command failures
What is the difference between COPY and INSERT
What is the UNLOAD command and when should it be used
How do you export Redshift data to Amazon S3 in Parquet format
How do you implement incremental data loading in Redshift
How do you implement an upsert operation in Redshift
What is the MERGE statement and how is it used for incremental loads
How do you handle duplicate records during data ingestion
How do you design an idempotent ETL pipeline in Redshift
What is Redshift Spectrum
How do external schemas and external tables work
How does Redshift Spectrum query data stored in Amazon S3
How does partition pruning improve Spectrum query performance
How do you integrate Redshift with the AWS Glue Data Catalog
What is the SUPER data type in Redshift
How do you query nested JSON data using PartiQL
How do you load JSON data into a SUPER column
What are materialized views in Redshift
What is the difference between a regular view and a materialized view
How does incremental refresh work for materialized views
How do you monitor and optimize materialized view refresh operations
How do stored procedures work in Redshift
How do you implement exception handling in a Redshift stored procedure
How do you manage transactions in Redshift
How do locks and concurrency conflicts affect Redshift workloads
How do you troubleshoot deadlocks and serialization errors
How do you implement role based access control in Redshift
What is the difference between database users and database roles
How do you implement row level security and column level security
How do you configure IAM roles for Redshift and Amazon S3 access
How do you secure database credentials and application connections
How does encryption at rest work in Redshift
How do you configure encryption using AWS Key Management Service
How do you configure private connectivity to a Redshift cluster
How do you monitor Redshift using Amazon CloudWatch
How do you configure audit logging for database activity
How do automated and manual snapshots work
How do you design cross region disaster recovery for Redshift
How does data sharing work between Redshift clusters
How do you optimize Redshift costs for large analytical workloads
How do you migrate a large database from an on premises system to Redshift
How do you implement change data capture using AWS Database Migration Service
How do you integrate Redshift with AWS Glue and Apache Spark
How do you automate Redshift deployments using Terraform or CloudFormation
How do you use the Redshift Data API for application integration
How would you design a highly available and cost optimized enterprise Redshift architecture

#Apache Airflow

Key Concepts


S.NoTopicSub Topic
1 Airflow Architecture Scheduler, DAG Processor, Executor, Worker, Metadata Database, Triggerer
2 DAG Development DAG Definition, Start Date, Schedule, Catchup, Tags, Default Arguments
3 Scheduling Cron Expressions, Timetables, Logical Date, Data Interval, Backfill
4 TaskFlow API @dag , @task , Task Dependencies, Return Values, TaskFlow vs Operators
5 Operators PythonOperator, BashOperator, SQL Operators, BranchPythonOperator, ShortCircuitOperator
6 Task Dependencies Upstream, Downstream, Fan-In, Fan-Out, Dependency Chains
7 XCom Push and Pull, Automatic XCom, TaskFlow Return Values, Serialization, XCom Backend
8 Dynamic Task Mapping Runtime Task Expansion, expand() , partial() , Map and Reduce
9 Trigger Rules all_success , all_done , none_failed , one_success , Conditional Execution
10 Sensors FileSensor, ExternalTaskSensor, Poke Mode, Reschedule Mode, Deferrable Sensors
11 Task Groups TaskGroup, Nested Groups, Group Dependencies, Dynamic Task Mapping
12 ETL Pipeline Design Extract, Transform, Load, Incremental Loads, Full Loads, Batch Processing
13 SQL and Database Integration SQL Hooks, Database Connections, Transactions, Upserts, Bulk Loading
14 Java Batch Integration JAR Execution, Bash Integration, Exit Codes, Process Monitoring, Error Handling
15 Idempotency and Recovery Duplicate Prevention, Checkpoints, Atomic Writes, Reruns, Partial Failure Recovery
16 Error Handling and Retries Retry Count, Retry Delay, Exponential Backoff, Execution Timeout, Failure Callbacks
17 Connections and Variables Airflow Connections, Variables, Secrets Backend, Environment Variables, Credential Management
18 Jinja Templates Template Fields, Macros, Logical Date, Data Interval, Dynamic SQL
19 Executors and Workers LocalExecutor, CeleryExecutor, KubernetesExecutor, Worker Queues, Parallel Execution
20 Concurrency and Performance Parallelism, Pools, Task Concurrency, Max Active Runs, Scheduler Performance
21 Monitoring and Alerting Airflow UI, Task Logs, Email Alerts, Callbacks, Prometheus, Grafana
22 Troubleshooting DAG Import Errors, Stuck Tasks, Scheduler Failures, Zombie Tasks, Worker Failures
23 Data Quality Row Count Validation, Null Checks, Schema Validation, Business Rules, Data Reconciliation
24 Testing DAG Import Tests, Pytest, Task Unit Tests, Mocking Hooks, Integration Tests
25 CI/CD and Deployment Git, Automated Testing, Docker Images, Environment Promotion, Rollback
26 Security RBAC, Authentication, Authorization, Secrets Management, TLS, Least Privilege
27 Docker and Kubernetes Docker Compose, KubernetesPodOperator, Helm, Resource Limits, Worker Scaling
28 Airflow REST API Trigger DAG Runs, Monitor Tasks, API Authentication, External System Integration
29 Advanced Integrations Apache Spark, Kafka, dbt, Databricks, Object Storage, OpenLineage
30 Production Architecture High Availability, Disaster Recovery, Capacity Planning, Large-Scale DAGs, Airflow 2.x to 3.x Migration

Interview Question



What is Apache Airflow, and what are its primary features?
What are the main components of Apache Airflow architecture?
What is a DAG in Apache Airflow?
What are the key characteristics of a DAG?
What is an Operator in Apache Airflow?
What are the different types of Operators available in Airflow?
What is the difference between an Operator, Task, and DAG?
What is a Task Instance in Apache Airflow?
What is the role of the Airflow Scheduler?
What is the role of the Airflow Executor?
What is the role of the Airflow Webserver?
What is the purpose of the Airflow Metadata Database?
What is the role of the DAG Processor?
What are the different Executor types in Apache Airflow?
What is the difference between SequentialExecutor and LocalExecutor?
What is the difference between LocalExecutor and CeleryExecutor?
What is KubernetesExecutor in Apache Airflow?
How does Apache Airflow schedule DAG executions?
What is a DAG Run in Apache Airflow?
What is the difference between a DAG Run and a Task Instance?
What is the purpose of the start_date parameter in a DAG?
What is the purpose of the schedule parameter in Apache Airflow?
What is the difference between schedule_interval and timetable?
What is a cron expression, and how is it used in Airflow?
What is the difference between catchup and backfill?
What is the purpose of the catchup parameter?
What is the difference between logical date and execution date?
What is data interval in Apache Airflow?
What are the different task states in Apache Airflow?
What is the difference between success, failed, skipped, and upstream_failed states?
What are task dependencies in Apache Airflow?
How do you define task dependencies in a DAG?
What is the difference between set_upstream() and set_downstream()?
What are trigger rules in Apache Airflow?
What are the different trigger rules available in Airflow?
What is the difference between all_success and all_done trigger rules?
What is BranchPythonOperator, and when would you use it?
What is ShortCircuitOperator in Apache Airflow?
What is the difference between BranchPythonOperator and ShortCircuitOperator?
What is the purpose of DummyOperator or EmptyOperator?
What is PythonOperator, and how do you use it?
What is BashOperator, and when would you use it?
What is the purpose of the EmailOperator?
What is the difference between PythonOperator and BashOperator?
What is a Sensor in Apache Airflow?
What are the different types of Sensors available in Airflow?
What is the difference between a Sensor and an Operator?
What is the difference between poke mode and reschedule mode in Sensors?
What is the purpose of timeout and poke_interval in a Sensor?
What is ExternalTaskSensor, and how does it work?
What is FileSensor, and how do you use it?
What is HttpSensor in Apache Airflow?
What is the purpose of the PythonSensor?
What are TaskFlow API decorators in Apache Airflow?
What is the purpose of the @dag decorator?
What is the purpose of the @task decorator?
What is the difference between TaskFlow API and traditional Operators?
How do you pass data between tasks in Apache Airflow?
What is XCom in Apache Airflow?
How do you push and pull XCom values?
What are the limitations of XCom?
What is the difference between XCom and Variables?
What is the purpose of Airflow Variables?
What is the purpose of Airflow Connections?
What is the difference between Variables and Connections?
How do you configure database connections in Apache Airflow?
How do you securely store passwords and credentials in Airflow?
What are Airflow Hooks?
What is the difference between Hooks and Operators?
What is Jinja templating in Apache Airflow?
What are template fields in Airflow Operators?
What are macros in Apache Airflow?
How do you pass dynamic parameters to a DAG?
What is the purpose of DAG Params?
What is Dynamic Task Mapping in Apache Airflow?
What is the difference between Dynamic Task Mapping and Task Groups?
What are Task Groups in Apache Airflow?
How do you implement parallel task execution in Airflow?
What is the difference between parallelism, max_active_tasks, and max_active_runs?
How do you control the number of concurrent DAG and task executions?
What are Pools in Apache Airflow?
What is the purpose of task priority_weight?
What are retries and retry_delay in Apache Airflow?
How do you implement error handling and failure notifications in Airflow?
What are on_failure_callback and on_success_callback?
How do you configure task-level and DAG-level timeouts?
What is the difference between retries and rescheduling?
How do you clear and rerun failed tasks in Apache Airflow?
What is backfilling, and how do you execute it?
How do you monitor DAG and task execution in the Airflow UI?
How do you troubleshoot a DAG that is not getting scheduled?
How do you troubleshoot a task stuck in the queued state?
How do you troubleshoot a task stuck in the running state?
How do you manage and rotate Airflow logs?
What is the purpose of the Airflow CLI?
How do you test DAGs and tasks in Apache Airflow?
How do you implement unit testing for Python-based DAGs?
How do you deploy DAGs across development, testing, and production environments?
How do you integrate Apache Airflow with Apache Spark?
How do you orchestrate ETL and ELT pipelines using Apache Airflow?
How do you integrate Apache Airflow with databases such as PostgreSQL, MySQL, and Oracle?
How do you integrate Airflow with cloud platforms such as AWS, Azure, and Google Cloud?
What are the best practices for designing scalable and maintainable Airflow DAGs?
How do you secure, scale, and optimize Apache Airflow in a production environment?