Amazon Redshift provides SQL data warehousing with provisioned and serverless options.
Redshift basics
Amazon Redshift is AWS’s data warehouseA store used to analyze data with SQL and business intelligence tools. for analytics on large datasets.
How it works
- Load data into Redshift or run Redshift Serverless.
- Run analytic SQL queries.
- Connect BI tools for reports.
Redshift ML supports model training and prediction with SQL. Redshift Spectrum queries files in S3 directly. SUPER columns can hold JSON data.
Exam cues
- If the question says data warehouse or OLAP analytics, think Redshift.
- If the question says train a model and predict with SQL in Redshift, think Redshift ML, because it supports both operations.
- If the question says query S3 files from Redshift without loading them, think Redshift Spectrum, because it reads the files directly.
Remember
- Petabyte-scale warehouse.
Trap: Redshift is for analytics; transactional apps use RDS or Aurora.
Da documentação da AWS (5)
- Amazon Redshift is a fully managed, petabyte-scale data warehouse service; Redshift Serverless runs it without managing capacity.
- Redshift ML can train machine learning models with SQL and invoke them in SQL queries for predictions.
- Redshift Spectrum can query files directly in Amazon S3.
- Amazon Redshift can load JSON data into columns of the SUPER data type.
- Amazon Redshift is a managed cloud data warehouse that supports SQL-based tools and business intelligence applications.
Data warehouse workloads
Atualizado em 23 de nov. de 2026, depois que você marcou como sabido. Releia e marque de novo: The card now covers exporting query results with UNLOAD.
Redshift warehouseA store used to analyze data with SQL and business intelligence tools. workloads build on the basics with capacity, processing, and recovery choices.
How it works
- Choose a provisioned cluster for manual resource management or Redshift Serverless for automatically provisioned and scaled warehouse capacity.
- Redshift uses massively parallel processing (MPP): compute nodes run query segments on parts of the data. Redshift ML lets analysts create, train and run models with SQL, using SageMaker AI to create the model.
- Redshift takes automated snapshots. Enable cross-Region snapshot copy to copy cluster snapshots to another Region for restoration if the primary Region fails.
Exam cues
- If the question says warehouse capacity without managing a cluster, think Redshift Serverless, because it provisions resources and scales capacity automatically.
- If the question says run machine learning models with SQL, think Redshift ML, because it lets analysts create, train and run models.
- If the question says recover a cluster after a Region failure, think cross-Region snapshot copy, because the copied snapshots can restore the cluster in another Region.
Remember
- A Spectrum cluster and its S3 files must be in the same Region.
- Enhanced VPC routingA Redshift setting that routes COPY and UNLOAD traffic through a VPC. supports clusters and Serverless workgroups, but not Spectrum.
- Automated snapshots are taken about every eight hours or after 5 GB per node of changed data, whichever comes first.
Trap: Enhanced VPC routing supports clusters and Serverless workgroups, but it cannot be used with Spectrum.
Enhanced VPC routing sends COPY or UNLOAD traffic through the VPC.
An S3 endpoint provides a path to a bucket in the same Region.
Da documentação da AWS (18)
- Amazon Redshift is a managed cloud data warehouse that supports SQL-based tools and business intelligence applications.
- Redshift Serverless automatically provisions resources and scales warehouse capacity.
- Provisioned Redshift clusters are an alternative for manual resource management.
- UNLOAD writes query results to files in S3.
- A Redshift Spectrum cluster and its S3 data files must be in the same AWS Region.
- A Redshift external schema references an external database in a data catalog; an external table contains metadata referring to data outside the cluster.
- The AWS Glue Data Catalog stores technical metadata, including table descriptions, for use by Redshift Spectrum.
- Redshift clusters and Serverless workgroups support enhanced VPC routing.
- Redshift Spectrum cannot use enhanced VPC routing.
- An S3 VPC endpoint can route traffic to an S3 bucket in the same Region as the Redshift cluster or workgroup.
- An S3 gateway endpoint allows access to S3 from a VPC without an internet gateway or NAT device.
- A VPC is a logically isolated virtual network for AWS resources.
- Redshift uses massively parallel processing: several compute nodes each run the same compiled query segments on part of the data, which makes complex queries on large datasets fast.
- Redshift ML lets analysts create, train and run models with SQL; Redshift creates the model in SageMaker AI from the data it is given.
- Amazon Redshift can automatically copy automated and manual snapshots of a cluster to another AWS Region, so the cluster can be restored there if the primary Region fails.
- A provisioned Redshift cluster has a leader node that receives queries and builds execution plans, and compute nodes that run them in parallel.
- Redshift automated snapshots are taken about every eight hours or every 5 GB per node of changed data, whichever comes first.
- Provisioned RA3 (and RG) clusters support Multi-AZ deployments that run compute in two Availability Zones to keep working through a zone failure.
Loading, routing and availability
Atualizado em 23 de nov. de 2026, depois que você marcou como sabido. Releia e marque de novo: The card now covers missing network paths with enhanced VPC routing.
Redshift loading and routing build on the basics with data access and network controls.
Redshift stores values by column, so queries that use only some columns need fewer disk reads.
How it works
- Use COPY to load data from sources such as Amazon S3 into Redshift tables in parallel. Redshift needs permission to access the source.
- To query S3 files directly, use Redshift Spectrum. Give the cluster an IAM role for the external data catalogA store of descriptions of data such as table definitions. and S3 files, then create an external schemaA collection of external tables that references a database in an external data catalog. and external tableA table definition that lets Redshift query data stored outside the warehouse. before querying.
- Enable enhanced VPC routingA Redshift setting that routes COPY and UNLOAD traffic through a VPC. to send COPY and UNLOAD traffic between the cluster and data repositories through its virtual private cloudA logically isolated virtual network for AWS resources. (VPC). Configure a network path to the data resource so the commands can reach it.
Exam cues
- If the question says analytics scans many records but needs only a few columns, think Redshift columnar storage, because it reduces the data read from disk.
- If the question says load S3 data into warehouseA store used to analyze data with SQL and business intelligence tools. tables in parallel, think COPY, because it reads and loads data in parallel.
- If the question says query S3 files directly, think Spectrum, because it uses an external schema and table to query those files.
- If the question says control COPY and UNLOAD traffic through the VPC, think enhanced VPC routing, because it sends that traffic through the VPC.
Remember
- Spectrum needs an IAM role with access to the external catalog and S3 files.
- Enhanced VPC routing allows VPC controls and flow logs, but COPY and UNLOAD can fail without a network path to the data resource.
Trap: COPY loads data into Redshift tables. Spectrum queries S3 files directly.
Da documentação da AWS (7)
- Redshift Spectrum queries data directly from files in S3.
- Spectrum setup includes an external schema and external table before querying S3 data.
- A cluster needs an IAM role authorizing access to the external data catalog and S3 files for Spectrum.
- Enhanced VPC routing forces COPY and UNLOAD traffic between a cluster and data repositories through its VPC, allowing VPC controls and flow logs.
- With enhanced VPC routing, COPY and UNLOAD can fail if the VPC lacks a network path to the data resource.
- COPY reads and loads data in parallel into Redshift tables from sources including S3, subject to resource permissions.
- Amazon Redshift stores table values by column, reducing disk reads for analytical queries that need only some columns.
Flashcards
Nada para revisar aqui agora. Escolha outros tópicos ou outro filtro.
Todos os 16 flashcards em lista
Which AWS analytics service provides a managed data warehouse for large datasets?
Amazon Redshift is a fully managed data warehouse. Redshift Serverless runs it without managing capacity.
How can an Amazon Redshift analyst train a machine learning model and run predictions using SQL?
Use Redshift ML to train the model and invoke it in SQL queries.
How can Amazon Redshift query files in S3 without loading them into warehouse tables?
Use Redshift Spectrum to query the files directly.
Which Amazon Redshift data type can store loaded JSON data?
SUPER.
Which AWS service provides a managed SQL data warehouse for analytics?
Amazon Redshift provides a managed cloud warehouse for SQL and business intelligence tools.
A team needs a data warehouse for SQL analytics without manually provisioning capacity. Which Amazon Redshift option fits?
Amazon Redshift Serverless automatically provisions resources and scales warehouse capacity.
Which Amazon Redshift command writes query results to files in S3?
UNLOAD writes query results to files in S3.
How does Amazon Redshift use massively parallel processing to run a query?
Compute nodes run the same compiled query segments on different parts of the data.
Analysts load S3 data into a warehouse each morning, need fast MPP queries without managing clusters, and want to run ML predictions in SQL. What fits?
A daily Glue job that loads Amazon Redshift Serverless, with Redshift ML for SQL-based models. Serverless keeps Redshift MPP query engine with automatic capacity.
A Redshift data warehouse must survive a full Region outage. What should be turned on?
Cross-Region snapshot copy, so snapshots are copied automatically to another Region and the cluster can be restored there.
A team wants to keep its Amazon Redshift data warehouse operating through an Availability Zone failure. What deployment option can help?
A supported provisioned Multi-AZ cluster runs compute in two Availability Zones.
How can Amazon Redshift query external files in S3 directly?
Use Redshift Spectrum with an external schema, an external table, and permission to access the catalog and S3.
A team must control Redshift COPY and UNLOAD network traffic through its VPC. What should it enable?
Enhanced VPC routing, then configure a network path to the data resource.
A Redshift cluster needs to load large S3 datasets into warehouse tables. Which command loads data in parallel?
COPY, with permission for Redshift to access the S3 data.
What can happen to Amazon Redshift COPY and UNLOAD when enhanced VPC routing has no network path to the data resource?
COPY and UNLOAD can fail because the VPC lacks a network path to the data resource.
An Amazon Redshift report scans millions of records but reads only a few columns. Which storage design reduces disk I/O?
Columnar storage. Redshift reads the needed columns without loading every field in each row.