nerdexam
AmazonAmazon

DVA-C02 · Question #457

DVA-C02 Question #457: Real Exam Question with Answer & Explanation

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #457. The question stem and answer options stay visible for context.

Submitted by asante_acc· Mar 5, 2026Identity and Access Management / Security - Implementing fine-grained access control for AWS DynamoDB using IAM policy conditions with web identity federation

Question

A gaming application stores scores for players in an Amazon DynamoDB table that has four attributes: user_id, user_name, user_score, and user_rank. The users are allowed to update their names only. A user is authenticated by web identity federation. Which set of conditions should be added in the policy attached to the role for the dynamodb:PutItem API call? A. B. C. D.

Options

  • A"Condition": { "ForAllValues:StringEquals": { "dynamodb:LeadingKeys": [ "${www.amazon.com:user_id}" ], "dynamodb:Attributes": [ "user_name" ] } }
  • B"Condition": { "ForAllValues:StringEquals": { "dynamodb:LeadingKeys": [ "${www.amazon.com:user_name}" ], "dynamodb:Attributes": [ "user_id" ] } }
  • C"Condition": { "ForAllValues:StringEquals": { "dynamodb:LeadingKeys": [ "${www.amazon.com:user_id}" ], "dynamodb:Attributes": [ "user_name", "user_id" ] } }
  • D"Condition": { "ForAllValues:StringEquals": { "dynamodb:LeadingKeys": [ "${www.amazon.com:user_name}" ], "dynamodb:Attributes": [ "user_name", "user_id" ] } }

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#DynamoDB Fine-Grained Access Control#IAM Policy Conditions#Web Identity Federation#Attribute-Level Security
Full DVA-C02 PracticeBrowse All DVA-C02 Questions