Bird
0
0

What is the purpose of the Resource element in an IAM policy for DynamoDB?

easy🧠 Conceptual Q1 of 15
DynamoDB - Security and Access Control
What is the purpose of the Resource element in an IAM policy for DynamoDB?
AIt specifies which DynamoDB tables or indexes the policy applies to.
BIt defines the actions allowed on DynamoDB.
CIt sets the conditions for when the policy is active.
DIt describes the user or role the policy is attached to.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of the Resource element

    The Resource element in an IAM policy specifies the exact AWS resources the policy applies to, such as DynamoDB tables or indexes.
  2. Step 2: Differentiate from other elements

    The Action element defines what actions are allowed, Conditions specify when, and the Principal defines who. Resource is about which resources.
  3. Final Answer:

    It specifies which DynamoDB tables or indexes the policy applies to. -> Option A
  4. Quick Check:

    Resource element = Specifies resources [OK]
Quick Trick: Resource element points to tables or indexes targeted [OK]
Common Mistakes:
MISTAKES
  • Confusing Resource with Action element
  • Thinking Resource defines users or roles
  • Mixing Resource with Condition element

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes