AWS Certified Data Engineer Associate DEA-C01 Practice Question

An AWS Glue ETL job running in Account A must write Parquet files to an Amazon S3 data lake owned by Account B. Security policy states that data must be encrypted at rest with a customer-managed KMS key that resides in Account B. Which approach meets the requirement while following the principle of least privilege?

  • Modify the Glue script to perform client-side encryption with the AWS Encryption SDK, upload objects with the x-amz-server-side-encryption: AES256 header, and store the data key in AWS Secrets Manager.

  • Configure the Glue job to use SSE-S3 for all writes, relying on Amazon S3 automatic encryption without additional KMS permissions.

  • Create a customer-managed KMS key in Account B, update the key policy to allow Account A's Glue execution role kms:Encrypt and kms:GenerateDataKey*, configure the job's security configuration for SSE-KMS with the key's full ARN, and grant the role PutObject permission on the bucket.

  • Enable default bucket encryption on the data-lake bucket with the AWS managed key aws/s3 and add a bucket policy that permits the Glue role to upload objects.

AWS Certified Data Engineer Associate DEA-C01
Data Security and Governance
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot