Courseiva
Data Security and GovernancehardMultiple ChoiceObjective-mapped

DEA-C01 Data Security and Governance Practice Question

Network Topology
aws iam list-attached-role-policiesrole-name DataLakeAdmin"AttachedPolicies": ["PolicyName": "S3FullAccess","PolicyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess"},"PolicyName": "LakeFormationAdmin","PolicyArn": "arn:aws:iam::aws:policy/AWSLakeFormationDataAdmin"

Refer to the exhibit. A data engineer runs the above command and sees that the DataLakeAdmin role has the AmazonS3FullAccess and AWSLakeFormationDataAdmin policies attached. The engineer wants to ensure that the role can only access S3 data through Lake Formation. What should the engineer do?

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

Detach the AmazonS3FullAccess policy from the role

To enforce that access is only through Lake Formation, the engineer should detach the AmazonS3FullAccess policy because it allows direct S3 access, bypassing Lake Formation. The LakeFormationAdmin policy is needed for Lake Formation administration. Changing the S3 bucket policy to deny all access except from Lake Formation is not straightforward because Lake Formation uses the principal's IAM role. Creating a new policy that denies S3 access would be redundant if the full access policy is removed.

Answer analysis

Option-by-option breakdown

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

  • Create a new IAM policy that explicitly denies s3:GetObject and attach it to the role

    Why it's wrong here

    This would be redundant if the full access policy is removed; it's better to remove the full access policy.

  • Detach the AWSLakeFormationDataAdmin policy from the role

    Why it's wrong here

    This would remove Lake Formation admin permissions, but the role still has S3 full access, which is not desired.

  • Detach the AmazonS3FullAccess policy from the role

    Why this is correct

    This removes direct S3 access, forcing the role to use Lake Formation for data access.

  • Modify the S3 bucket policy to deny all access except from Lake Formation

    Why it's wrong here

    This is complex and not the standard way to enforce Lake Formation access.

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

One of 1,711 original DEA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.