DEA-C01 exam dumps

DEA-C01 practice question 461 of 550

AWS Certified Data Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DEA-C01 Question 461

Select 3

A data engineering team is setting up an Amazon S3 bucket to store sensitive customer data. They want to ensure compliance with the principle of least privilege while granting access to a specific team of analysts to query the data using Amazon Athena. Which of the following actions should the team take to follow the principle of least privilege?

  1. A

    Create an IAM policy granting 's3:*' permissions on the bucket and attach it to the analysts' IAM group.

  2. B

    Create an IAM policy granting only 's3:GetObject' and 's3:ListBucket' permissions for the bucket and attach it to the analysts’ IAM group.

  3. C

    Use an S3 bucket policy to allow only specific analysts to access the bucket, and define the specific actions they are allowed to perform.

  4. D

    Enable public access to the bucket so that analysts can access the data without requiring additional IAM policies.

  5. E

    Create a specific IAM role with minimal permissions required for querying the bucket and allow analysts to assume the role when needed.

Show answer and explanation

Correct answers: B, C, E

Explanation

The principle of least privilege ensures that users or roles are only granted the permissions necessary to perform their tasks, minimizing security risks. In this scenario, granting minimal permissions ('s3:GetObject' and 's3:ListBucket'), using specific bucket policies, and leveraging IAM roles for temporary access ensure compliance with this principle while maintaining security for sensitive customer data.

  • A. Incorrect.

    Granting 's3:*' permissions violates the principle of least privilege because it provides excessive access beyond what is required.

  • B. Correct.

    Granting only 's3:GetObject' and 's3:ListBucket' permissions aligns with the principle of least privilege, as it restricts access to only the required actions.

  • C. Correct.

    Using an S3 bucket policy to explicitly allow only specific analysts and actions ensures that access is narrowly scoped, adhering to the principle of least privilege.

  • D. Incorrect.

    Enabling public access to the bucket violates security best practices and the principle of least privilege by allowing unrestricted access to sensitive data.

  • E. Correct.

    Creating and using a specific IAM role with minimal, necessary permissions is a best practice for implementing the principle of least privilege while securely granting access.

Timed practice exam

Take a DEA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam