nerdexam
Amazon

DVA-C02 · Question #707

A developer is using a user pool in Amazon Cognito to implement user sign-up functionality for an application. The developer wants to use an AWS Lambda function to automatically confirm known users du

The correct answer is B. Configure the Lambda function as a PreSignUp trigger to check whether a user exists in the. Using the PreSignUp trigger allows the Lambda function to automatically confirm users during the sign-up process before the user is created, minimizing operational overhead and avoiding additional confirmation steps after sign-up.

Submitted by jordan8· Mar 5, 2026Development with AWS Services

Question

A developer is using a user pool in Amazon Cognito to implement user sign-up functionality for an application. The developer wants to use an AWS Lambda function to automatically confirm known users during the sign-up process. The Lambda function will check users against existing user data. Which solution will meet these requirements with the LEAST operational overhead?

Options

  • AConfigure the Cognito user pool to invoke the Lambda function on the PostConfirmation event to
  • BConfigure the Lambda function as a PreSignUp trigger to check whether a user exists in the
  • CUse an AWS SDK in the Lambda function to confirm users by calling the AdminConfirmSignUp
  • DImplement a custom authentication flow that uses Lambda functions to validate user information

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    82% (23)
  • C
    4% (1)
  • D
    7% (2)

Explanation

Using the PreSignUp trigger allows the Lambda function to automatically confirm users during the sign-up process before the user is created, minimizing operational overhead and avoiding additional confirmation steps after sign-up.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice