AWS Certified Developer – Associate — Question 221
A developer is deploying Amazon Cognito as part of a new application. The Amazon Cognito user pool domain's hosted UI must match the application's deployed domain. DNS records must be updated appropriately.
What should the developer do to meet these requirements?
Answer options
- A. Configure the application's domain DNS setting to use the predefined domain.
- B. Configure the prefix of the Amazon Cognito domain, amazoncognito.com, in the user pool app integration. Configure the application's domain DNS setting to use this new prefix.
- C. Create an AWS Certificate Manager (ACM) certificate in the us-east-1 Region. Configure the user pool's app integration domain name with the custom domain. Configure the application's domain DNS setting with the supplied alias target.
- D. Create an AWS Certificate Manager (ACM) certificate in the us-east-1 Region. Configure the user pool's domain app client settings with the custom domain. Configure the application's domain DNS setting with the supplied alias target.
Correct answer: C
Explanation
The correct answer is C because it involves creating an ACM certificate and configuring the user pool with a custom domain, which is necessary for the hosted UI to match the application's domain. Options A and B do not address the need for a custom domain and ACM certificate, while option D incorrectly mentions app client settings instead of the app integration domain name.