Courseiva
Data Operations and SupporteasyMultiple ChoiceObjective-mapped

DEA-C01 S3 bucket policy Practice Question

A data engineer notices that an Amazon S3 bucket policy is overly permissive. What is the best practice to restrict access while maintaining required permissions?

⚠ Common exam trap

Do not confuse IAM policies with bucket policies. Attaching an IAM policy to a user does not override an overly permissive bucket policy; both must be considered together.

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

Write a new bucket policy that denies all actions.

The bucket policy is overly permissive, so writing a new bucket policy that denies all actions immediately restricts all access. While this may temporarily block required permissions, it is the most direct way to address the bucket policy issue; you can then refine the policy to allow only necessary actions. Option D does not change the bucket policy and thus does not resolve the problem. Option A makes permissions even more permissive. Option C is not a standard AWS feature.

Answer analysis

Option-by-option breakdown

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

  • Grant full S3 access using a new IAM policy.

    Why it's wrong here

    Granting full S3 access via a new IAM policy makes permissions even more permissive, which is the opposite of the required restriction. It does not modify the bucket policy.

  • Write a new bucket policy that denies all actions.

    Why this is correct

    Writing a new bucket policy that denies all actions directly restricts the overly permissive bucket policy. While this may be too restrictive initially, it is the only option that modifies the bucket policy to immediately stop the over-permissive access. You can then add specific allows to maintain required permissions.

  • Use an S3 blocklist to restrict access.

    Why it's wrong here

    There is no such feature as an S3 blocklist in AWS. This is not a valid method to restrict access.

  • Attach the AWS managed policy AmazonS3ReadOnlyAccess to the IAM user.

    Why it's wrong here

    Attaching the AmazonS3ReadOnlyAccess managed policy to the IAM user does not change the bucket policy. If the bucket policy still grants full access, the user will still have full access despite having a read-only IAM policy. Therefore, this option does not restrict the overly permissive bucket policy.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

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.