AWS Lake Formation Cross-Account Data Sharing and Governance

DEA-C01 By islever Editorial Last updated

Short answer

D Create an AWS Lake Formation data catalog and define tag-based access controls to allow cross-account querying while maintaining governance and lineage.

Question

A data engineer needs to share a dataset that contains customer transaction data with a machine learning (ML) team in another AWS account. The dataset is stored in Amazon S3 and contains sensitive information that requires governance controls. The data engineer wants to ensure that the ML team can discover and request access to the dataset. The solution must maintain appropriate security controls and track data lineage.
Which solution will meet these requirements?
  1. Create cross-account IAM roles that grant the ML team direct access to the S3 bucket where the data is stored. Use AWS CloudTrail to track data access.
  2. Configure an Amazon SageMaker Unified Studio data catalog project that contains the dataset with appropriate metadata and project-based access controls.
  3. Set up cross-account S3 bucket replication to copy the dataset to the ML team's account. Use S3 server access logging to monitor usage.
  4. Create an AWS Lake Formation data catalog. Define tag-based access controls that allow the ML team to query the data directly from the team's account. Correct Answer

Key Takeaways

Lake Formation provides centralized governance and lineage tracking for S3 data, enabling secure cross-account access via the Data Catalog without data duplication.

Learn how to securely share sensitive S3 datasets across AWS accounts using AWS Lake Formation for governance, discovery, and lineage tracking.

Common mistake: Choosing direct IAM roles (Option A) is a common mistake because it grants access but lacks the necessary governance, metadata discovery, and lineage tracking features required by the prompt.

Expert Analysis

The scenario requires a solution that facilitates cross-account data sharing while enforcing governance, discovery, and lineage tracking for sensitive data stored in Amazon S3. The key constraints are: the data remains in the source account (implied by 'share'), needs governance controls, must be discoverable, and lineage must be tracked.

Option D is the correct approach because AWS Lake Formation is specifically designed for building secure data lakes with centralized governance. By creating a Lake Formation data catalog, the dataset becomes discoverable across accounts via the Glue Data Catalog. Defining tag-based access controls (or column-level security) allows the data engineer to grant the ML team in another account permission to query the data directly from the source S3 bucket without copying it. Lake Formation automatically tracks data lineage, which satisfies the requirement to maintain appropriate security controls and track changes/access patterns for governance purposes.

Option A fails because direct IAM role sharing does not provide centralized governance, metadata discovery, or automatic lineage tracking; it only grants raw access. Option B is incorrect because SageMaker Unified Studio (often associated with Amazon DataZone in newer contexts) is a more complex platform for data product management, but Lake Formation is the foundational service for cataloging and securing S3-based data lakes with fine-grained access control as described. Option C involves copying data, which increases storage costs and complexity, and S3 server access logging does not provide the rich metadata, governance, or lineage features required for a governed data lake environment.

Exam Strategy

When questions emphasize 'governance', 'lineage', and 'secure sharing' for S3 data, prioritize AWS Lake Formation over simple IAM or replication solutions. Look for options that mention the Data Catalog and fine-grained access controls, as these indicate a centralized governance layer rather than just network or identity access.

Frequently Asked Questions

Why not use Amazon S3 replication for cross-account sharing?

Replication copies data, increasing storage costs and latency. It does not provide centralized governance, metadata discovery, or automatic lineage tracking, which are critical for sensitive datasets requiring strict controls.

How does Lake Formation track lineage?

Lake Formation automatically tracks data lineage by recording where data comes from, how it was transformed, and who accessed it. This metadata is stored in the Glue Data Catalog and can be queried for audit and governance purposes.

More DEA-C01 FAQ →

Discussion 1 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 1

  1. Max1948 👍 1 Answered D
    Option B is incorrect because Amazon SageMaker Unified Studio (a feature set evolving from SageMaker Canvas, Amazon DataZone, and Studio) is not a native cross-account governance, discovery, and direct S3-querying tool for general dataset sharing in the way AWS describes this specific architectural pattern.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All DEA-C01 Questions

Access 100 questions with complete answers and detailed explanations.

View Full DEA-C01 Practice Test →

← Back to DEA-C01 Study Guide