AWS Certified Developer Associate (#16)

An application has hundreds of users. Each user may use multiple devices to access the application. The Developer wants to assign unique identifiers to these users regardless of the device they use. Which of the following methods should be used to obtain unique identifiers?

Create a user table in Amazon DynamoDB as key-value pairs of users and their devices. Use these keys as unique identifiers.
Use IAM-generated access key IDs for the users as the unique identifier, but do not store secret keys.
Implement developer-authenticated identities by using Amazon Cognito, and get credentials for these identities.
Assign IAM users and roles to the users. Use the unique IAM resource ID as the unique identifier.