🔥 3-day streak
AWS Certified Developer - Associate53 / 150
Question 53 of 150
A developer is building a user-registration microservice that stores user profiles in a DynamoDB table with 'userId' as the partition key. During registration, the service must create a new item only if a profile with the same userId does not already exist; if one exists, the operation must fail without overwriting the existing data. Which approach implements this requirement most efficiently?
Reviewed for accuracy · Report an issueNext question