Courseiva
Data Operations and Support →mediumMultiple Choice

DEA-C01 Data Operations and Support Practice Question

A data engineer is using Amazon Managed Workflows for Apache Airflow (Amazon MWAA) to orchestrate a data pipeline. The engineer needs to ensure that the Airflow environment can access an Amazon S3 bucket to read and write data. The S3 bucket is in the same AWS account and Region as the MWAA environment. Which configuration is required to allow MWAA to access the S3 bucket?

⚠ Common exam trap

The trap here is thinking that a bucket policy or Secrets Manager is needed, when the MWAA execution role's IAM policy is the primary mechanism.

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

✓

Attach an IAM policy to the MWAA execution role that grants the necessary S3 permissions.

MWAA environments use an execution role that is assumed by the Airflow components. To grant access to S3, you attach an IAM policy to this role with the necessary S3 permissions. This is the standard and recommended approach. The execution role must also have a trust policy that allows MWAA to assume it, but that is created automatically when you create the environment.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Attach an IAM policy to the MWAA execution role that grants the necessary S3 permissions.

    Why this is correct

    Amazon MWAA uses an execution role that grants the Airflow environment permissions to access AWS services. To allow MWAA to read and write to S3, you must attach an IAM policy to this execution role with the appropriate s3:GetObject, s3:PutObject, and s3:ListBucket permissions. This is the standard method for granting MWAA access to S3.

  • ✗

    Configure the S3 bucket policy to allow the MWAA service principal.

    Why it's wrong here

    While an S3 bucket policy can grant access, it is not the primary method for MWAA. The MWAA execution role's IAM policy is the recommended way. A bucket policy alone would not be sufficient if the execution role lacks permissions, and it is not required if the IAM policy is correctly attached. The question asks for the required configuration.

  • ✗

    Enable public access on the S3 bucket and use the S3 REST API with presigned URLs.

    Why it's wrong here

    Making the bucket public is a security risk and not required. MWAA can access S3 privately using IAM roles. Presigned URLs are used for temporary access to specific objects, not for general read/write access from a service. This method is insecure and impractical for a data pipeline.

  • ✗

    Store S3 credentials in AWS Secrets Manager and reference them in the Airflow connection.

    Why it's wrong here

    Using Secrets Manager to store credentials is not necessary for MWAA to access S3 within the same account. MWAA uses IAM roles for authentication, which is more secure and avoids managing long-term credentials. This approach adds complexity and is not the recommended way for same-account 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,321 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

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.