Amazon Cognito User Pools Metrics for Successful Authentication | AWS Certified SysOps Administrator - Associate

Number of Users Successfully Authenticated in Amazon Cognito User Pool

Question

The Developer team has launched a new gaming application that uses the Amazon Cognito user pool to provide user authentication.

The team is looking for the number of users who are successfully authenticated and using this application. Which Amazon Cognito user pools metric can be checked to get the required details?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: C.

SignInSuccesses metric provides a total number of successful user authentication requests made to the Amazon Cognito user pool.

User authentication is considered successful when an authentication token is issued to the user.

A successful authentication produces a value of 1, whereas an unsuccessful request produces a value of 0

A throttled request is also considered as an unsuccessful request, and hence a throttled request will also produce a count of 0.

Option A is incorrect as the SignUpSuccesses metric can be used to get the total number of successful user registration requests made to the Amazon Cognito user pool.

But it will not provide the total number of successful user authentication requests made to the Amazon Cognito user pool.

Option B is incorrect as the SignUpThrottles metric can be used to get the total number of throttled user registration requests made to the Amazon Cognito user pool, which does not fulfill the requirement of the total number of successful user authentication requests.

Option D is incorrect as the SignInThrottles metric can be used to get the total number of throttled user authentication requests made to the Amazon Cognito user pool.

But it will not provide the total number of successful user authentication requests made to the Amazon Cognito user pool.

For more information on metrics for Amazon Cognito user pools, refer to the following URL,

https://docs.aws.amazon.com/cognito/latest/developerguide/metrics-for-cognito-user-pools.html

The correct answer is C. SignInSuccesses.

Amazon Cognito is a service that provides user authentication, authorization, and user management for web and mobile applications. It has a user pool feature that lets developers create and manage a user directory for their applications.

To monitor the usage of the Amazon Cognito user pool, developers can use CloudWatch Metrics. CloudWatch Metrics provides data and operational insights for AWS resources and applications. Developers can use CloudWatch Metrics to monitor various metrics related to Amazon Cognito user pools.

The question specifically asks for the metric that can be used to check the number of users who are successfully authenticated and using the application. The correct metric for this purpose is SignInSuccesses.

SignInSuccesses is a CloudWatch metric that represents the number of successful sign-in attempts for a user pool. This metric includes successful sign-ins using various authentication providers, such as Amazon Cognito User Pools, Amazon Cognito Identity Pools, and social identity providers.

SignUpSuccesses and SignUpThrottles metrics, as listed in the answer choices, are related to user registration rather than user authentication. SignUpSuccesses represents the number of successful user registrations, while SignUpThrottles represents the number of throttled user registration attempts.

SignInThrottles metric represents the number of throttled sign-in attempts, which is not the same as successful sign-in attempts, and therefore not the correct answer to the question.

Therefore, the correct answer to the question is C. SignInSuccesses.