Courseiva
Data Security and GovernanceeasyMultiple ChoiceObjective-mapped

DEA-C01 Data Security and Governance Practice Question

A data engineer needs to share a dataset from an S3 bucket in Account A with users in Account B. The dataset must remain encrypted at rest with an S3-managed key. What is the MOST secure way to grant cross-account access?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Create a bucket policy that grants cross-account access to an IAM role in Account B.

A bucket policy granting access to the IAM role in Account B is the recommended secure method for cross-account access to S3 objects encrypted with S3-managed keys. Option A is insecure because it grants public access. Option C is incorrect because ACLs are legacy and less secure for cross-account scenarios. Option D is incorrect because while S3 VPC endpoints are a valid AWS feature that provides private connectivity to S3, they do not grant cross-account access; bucket policies are still required to authorize access.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Make the bucket public and use bucket policies to allow only Account B users.

    Why it's wrong here

    Making the bucket public grants public access, which is insecure and not recommended.

  • Create a bucket policy that grants cross-account access to an IAM role in Account B.

    Why this is correct

    A bucket policy granting cross-account access to an IAM role in Account B is the recommended secure method.

  • Use S3 object ACLs to grant access to Account B's root user.

    Why it's wrong here

    S3 object ACLs are legacy and less secure; bucket policies are preferred.

  • Use an S3 VPC endpoint to allow Account B users through private IPs.

    Why it's wrong here

    While S3 VPC endpoints are a valid AWS feature for private connectivity, they do not grant cross-account access. Access must still be authorized via IAM policies or bucket policies.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every DEA-C01 question from scratch — 1,711 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DEA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C01 exam.