exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 471 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 471
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A company in France uses Amazon Cognito with the Cognito Hosted UI as an identity broker for sign-in and sign-up processes. The company is marketing an application and expects that all the application's users will come from France.

When the company launches the application, the company's security team observes fraudulent sign-ups for the application. Most of the fraudulent registrations are from users outside of France.

The security team needs a solution to perform custom validation at sign-up. Based on the results of the validation, the solution must accept or deny the registration request.

Which combination of steps will meet these requirements? (Choose two.)

  • A. Create a pre sign-up AWS Lambda trigger. Associate the Amazon Cognito function with the Amazon Cognito user pool.
  • B. Use a geographic match rule statement to configure an AWS WAF web ACL. Associate the web ACL with the Amazon Cognito user pool.
  • C. Configure an app client for the application's Amazon Cognito user pool. Use the app client ID to validate the requests in the hosted UI.
  • D. Update the application's Amazon Cognito user pool to configure a geographic restriction setting.
  • E. Use Amazon Cognito to configure a social identity provider (IdP) to validate the requests on the hosted UI.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ernestokoro
1 year, 8 months ago
@Noexperience, the link you provided speaks of B and not D instead. I guess you wanted to write AB? which is actually the answer. https://theburningmonk.com/2022/08/how-to-setup-geofencing-and-ip-allow-list-for-cognito-user-pool/
upvoted 1 times
...
Noexperience
1 year, 11 months ago
I go with AD for D https://theburningmonk.com/2022/08/how-to-setup-geofencing-and-ip-allow-list-for-cognito-user-pool/
upvoted 1 times
...
Green53
1 year, 11 months ago
Selected Answer: AB
A: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html Shortly before Amazon Cognito signs up a new user, it activates the pre sign-up AWS Lambda function. As part of the sign-up process, you can use this function to perform custom validation and, based on the results of your validation, accept or deny the registration request. B: https://aws.amazon.com/blogs/security/protect-your-amazon-cognito-user-pool-with-aws-waf/ A good way to protect these endpoints is to deploy rate-based AWS WAF rules. These rules will detect and block requests with high rates that could indicate an attempt to exceed your Amazon Cognito API request rate quotas and that could subsequently impact requests from legitimate users.
upvoted 1 times
...
6_8ftwin
1 year, 11 months ago
Selected Answer: AB
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-waf.html https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-geo-match.html https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html
upvoted 2 times
...
michele_scar
1 year, 12 months ago
Selected Answer: AB
Explanation of why B: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-waf.html A it's mandatory
upvoted 1 times
...
Tofu13
2 years ago
Selected Answer: AB
A https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html B https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-waf.html#user-pool-waf-setting-up
upvoted 2 times
...
Toptip
2 years ago
Selected Answer: AD
A,D for me
upvoted 1 times
...
kujin
2 years ago
AB: You can associate a Cognito user pool with a regional WAF web ACL. This can be done via CloudFormation, but you can also do it via the Cognito console (note: this only works in the “new” console experience for Cognito). https://theburningmonk.com/2022/08/how-to-setup-geofencing-and-ip-allow-list-for-cognito-user-pool/
upvoted 1 times
...
cloudenthusiast
2 years ago
Selected Answer: AD
A. Creating a pre sign-up AWS Lambda trigger (Option A) allows you to execute custom validation logic before the sign-up process is completed in Amazon Cognito. In the Lambda function, you can include code to validate the user's location and decide whether to accept or deny the registration request based on the country of origin. D. Updating the application's Amazon Cognito user pool to configure a geographic restriction setting (Option D) enables you to specify that only sign-ups from specific countries or regions are allowed. In this case, you would set the restriction to only allow sign-ups from France. This helps prevent fraudulent sign-ups from users outside of France. By combining these two steps, you can perform custom validation at sign-up, leveraging the Lambda trigger to validate the user's location and the geographic restriction setting to enforce that sign-ups are only allowed from France.
upvoted 1 times
michele_scar
1 year, 12 months ago
Where is this option D in aws?
upvoted 1 times
Noexperience
1 year, 11 months ago
https://theburningmonk.com/2022/08/how-to-setup-geofencing-and-ip-allow-list-for-cognito-user-pool/
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...