サービス · Analytics · SAA-C03 の発展
AWS Glue Data Catalog and AWS Lake Formation
One catalog of tables for every engine, and Lake Formation permissions down to columns and rows.
このレッスンはまだ翻訳されていないため、英語で表示しています。
Solutions Architect Associateで学んだこと
- A crawler scans data in S3 and writes table definitions to the Data Catalog.
- Athena, EMR and Redshift Spectrum read tables from the same catalog.
- Glue is serverless ETL with Data Catalog and DataBrew.
Table
- What it grants
- Whole table
- Example
- Analysts read orders
Column
- What it grants
- Some columns only
- Example
- Hide the email column
Row
- What it grants
- Rows that match a filter
- Example
- Only one region
Tag
- What it grants
- Everything with a tag
- Example
- All data tagged public
| Level | What it grants | Example |
|---|---|---|
| Table | Whole table | Analysts read orders |
| Column | Some columns only | Hide the email column |
| Row | Rows that match a filter | Only one region |
| Tag | Everything with a tag | All data tagged public |
概要
A crawler runs classifiers to guess the format of each file. Built-in classifiers cover CSV, JSON, Parquet and more, and you can add custom ones. The crawler writes the schema and the partitions to the catalog, and can run on a schedule or only on new folders. A connection stores how to reach a JDBC source. The Glue Schema Registry keeps versions of an Avro, JSON or Protobuf schema for streams and enforces a compatibility mode, so a producer cannot publish a breaking change.
概要
AWS Lake Formation sits on top of the catalog. You register an S3 location and then grant permissions on databases, tables, columns and rows: a data filter hides columns and rows from a principal. Tag-based access control grants by tags such as sensitivity. Athena, Redshift Spectrum, EMR and Glue enforce these grants. So an analyst can query a customer table without seeing the email column, and a data scientist sees only rows for one region.
Lake Formation governs engines that go through it. A principal with plain S3 permission on the files can still read them directly, so keep the bucket policy narrow for ML data under Lake Formation.
覚えること
- Crawlers detect format and partitions and fill the catalog. Classifiers help them.
- Connections store how to reach JDBC sources.
- Schema Registry versions stream schemas and blocks breaking changes.
- One catalog serves Athena, EMR, Redshift Spectrum and Glue.
覚えること
- Lake Formation grants table, column and row access, and tag-based access.
- Direct S3 permission bypasses Lake Formation: keep the bucket closed.
試験では
- “Hide the salary column from analysts but keep the table” points to Lake Formation column permissions.
- “Each team sees only its own rows in one table” points to a Lake Formation row filter.
- “Producers must not break consumers with a schema change” points to Glue Schema Registry compatibility.
このタスクの内容 · 1.1
- S3 as the ML data lake
- Choosing storage: S3, EFS, EBS, FSx and transfer tools
- Extracting data from databases and search
- Data formats: Parquet, ORC, Avro, CSV, JSON, RecordIO
Kinesis Data Streams
Firehose
Managed Flink
MSK
- Troubleshooting ingestion and storage capacity
Catalog and Lake Formation
- Merging data from multiple sources
- Choosing and configuring a vector store
OpenSearch
- Aurora and RDS PostgreSQL with pgvector
- Ingesting text, image, audio and video
- Ingesting data into SageMaker Feature Store