nerdexam
Amazon

DVA-C02 · Question #776

A developer is writing a web application that will run on AWS Lambda. The application will give users the ability to log in to view private documents. All pages in the application must be designed to

The correct answer is D. Configure an Amazon Cognito user pool with an Amazon Cognito hosted UI for the sign-in pages.. Amazon Cognito user pools provide a fully managed hosted UI for user sign-in that requires minimal custom code. The hosted UI supports customization (such as logo, colors, and styling) so the sign-in experience can match the company’s branding while avoiding building and maintain

Submitted by ricky.ec· Mar 5, 2026Development with AWS Services

Question

A developer is writing a web application that will run on AWS Lambda. The application will give users the ability to log in to view private documents. All pages in the application must be designed to match the company's branding. How can the developer host the sign-in pages with the LEAST amount of custom code?

Options

  • AUpload files for the sign-in pages with the required branding to an Amazon S3 bucket. Configure
  • BCreate a Lambda function to serve the sign-in pages with the required branding. Configure
  • CCreate a Lambda@Edge function to serve the sign-in pages with the required branding.
  • DConfigure an Amazon Cognito user pool with an Amazon Cognito hosted UI for the sign-in pages.

How the community answered

(37 responses)
  • A
    14% (5)
  • B
    5% (2)
  • C
    8% (3)
  • D
    73% (27)

Explanation

Amazon Cognito user pools provide a fully managed hosted UI for user sign-in that requires minimal custom code. The hosted UI supports customization (such as logo, colors, and styling) so the sign-in experience can match the company’s branding while avoiding building and maintaining custom authentication pages and flows.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice