AWS Certified Developer – Associate — Question 333
A company has a web application that uses an Amazon Cognito user pool for authentication. The company wants to create a login page that includes the company logo.
What should a developer do to meet these requirements?
Answer options
- A. Create a hosted user interface (UI) in Amazon Cognito. Customize the hosted UI with the company logo.
- B. Create a login page that includes the company logo. Upload the login page to Amazon Cognito,
- C. Create a login page that includes the company logo in Amazon API Gateway. Save the link in Amazon Cognito.
- D. Upload the company logo to an Amazon S3 bucket. Specify the S3 object path in app client settings in Amazon Cognito.
Correct answer: A
Explanation
Amazon Cognito provides a built-in hosted user interface (UI) that can be customized with company branding, including logos and CSS, to handle user sign-up and sign-in. You cannot upload custom HTML files directly to Amazon Cognito, nor can you link Cognito directly to login pages hosted in Amazon API Gateway or reference S3 paths in the app client settings for this purpose.