Your application currently use AWS Cognito for authenticating users. Your application consists of different types of users. Some users are only allowed read access to the application and others are given contributor access.
How wou you manage the access effectively?
A . Create different cognito endpoints, one for the readers and the other for the contributors.
B . Create different cognito groups, one for the readers and the other for the contributors.
C . You need to manage this within the application itself
D . This needs to be managed via Web security tokens
Answer: B
Explanation:
The AWS Documentation mentions the following
You can use groups to create a collection of users in a user pool, which is often done to set the permissions for those users. For example, you can create separate groups for users who are readers, contributors, and editors of your website and app.
Option A is incorrect since you need to create cognito groups and not endpoints Options C and D are incorrect since these would be overheads when you can use AWS Cognito
For more information on AWS Cognito user groups please refer to the below Link:
https://docs.aws.amazon.com/coenito/latest/developersuide/cognito-user-pools-user-groups.htmll
The correct answer is: Create different cognito groups, one for the readers and the other for the contributors. Submit your Feedback/Queries to our Experts
Leave a Reply