Courseiva
Database SecuritymediumMultiple SelectObjective-mapped

DBS-C01 Database Security Practice Question

A security engineer is designing access controls for an Amazon DynamoDB table containing customer data. Which TWO actions enforce least privilege 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

Use IAM conditions to restrict access to specific attributes.

Options A and C are correct. Using IAM conditions to restrict access to specific attributes (A) and implementing fine-grained access control using IAM policy conditions (C) both enforce least privilege by limiting the data and actions a user can access. Option B violates least privilege by granting all actions to all users. Option D is incorrect because Amazon DynamoDB does not support resource-based policies; access is controlled via identity-based IAM policies. Option E is incorrect because a VPC endpoint policy allowing all actions does not restrict 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.

  • Use IAM conditions to restrict access to specific attributes.

    Why this is correct

    Correct: IAM conditions can restrict access to specific DynamoDB attributes, enforcing least privilege.

  • Grant dynamodb:* action to all users.

    Why it's wrong here

    Incorrect: Granting dynamodb:* to all users violates least privilege.

  • Implement fine-grained access control using IAM policy conditions.

    Why this is correct

    Correct: Fine-grained access control using IAM policy conditions is the standard approach for attribute-level security in DynamoDB.

  • Use a resource-based policy on the DynamoDB table.

    Why it's wrong here

    Incorrect: DynamoDB does not support resource-based policies; identity-based IAM policies are used instead.

  • Attach a VPC endpoint policy that allows all actions.

    Why it's wrong here

    Incorrect: A VPC endpoint policy that allows all actions does not enforce least privilege.

About these practice questions

This DBS-C01 question is part of Courseiva's 1,663-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 DBS-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 DBS-C01 exam.