exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 275 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 275
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company deploys a local news website on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The company wants to implement authentication for viewers through well-known social identity providers (IdPs). The company’s development team must use AWS native services in the solution.

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

  • A. Configure Amazon Cognito user pools with social IdPs
  • B. Configure OpenID Connect (OIDC)-compliant IdP endpoints
  • C. Create an AWS Lambda authorizer as a target in the ALB target group
  • D. Configure an ALB listener to add a rule for authentication
  • E. Use Lambda@Edge to authorize viewer requests in the ALB
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
Ankit1010
Highly Voted 2 years, 3 months ago
To implement authentication for viewers through social identity providers (IdPs) in an AWS-native solution, the following actions can be taken: Configure Amazon Cognito user pools with social IdPs: This enables the website to authenticate users against well-known social identity providers such as Facebook, Google, or Amazon. Amazon Cognito user pools provide a fully managed user directory that scales to hundreds of millions of users, and it can integrate with any IdP that supports the OpenID Connect (OIDC) or Security Assertion Markup Language (SAML) standards. Configure an ALB listener to add a rule for authentication: The ALB can be configured to authenticate viewer requests using the Amazon Cognito user pool as the authentication provider. This can be done by creating an authentication rule on the ALB listener. The rule can specify the Amazon Cognito user pool as the authentication provider, and it can redirect unauthenticated requests to a login page hosted by Amazon Cognito. Therefore, the correct combination of actions to meet these requirements is A and D
upvoted 11 times
jipark
1 year, 9 months ago
cognito works with ALB
upvoted 1 times
...
...
robotgeek
Most Recent 2 years, 3 months ago
Selected Answer: BD
Why would you use user pools when you are told to specifically "use AWS native services in the solution" and this link specifically says Identity Providers: https://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html
upvoted 2 times
...
fe2
2 years, 5 months ago
Selected Answer: AD
you can use cognito user pools together with ALB.
upvoted 1 times
...
xicomynor
2 years, 5 months ago
Selected Answer: AD
A&D. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html This article explains in the section "Configure user authentication " how a rule needs to be created for the listener for both "authenticate-cognito" and "authenticate-oidc". Because questions states to use aws native services cognito is more suitable as it already handles well-known social identity providers.
upvoted 3 times
...
BelloMio
2 years, 5 months ago
I think it's B and D. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html
upvoted 1 times
...
SoMaL69
2 years, 6 months ago
Selected Answer: AB
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html The following use cases are supported: Authenticate users through an identity provider (IdP) that is OpenID Connect (OIDC) compliant. Authenticate users through social IdPs, such as Amazon, Facebook, or Google, through the user pools supported by Amazon Cognito. Authenticate users through corporate identities, using SAML, LDAP, or Microsoft AD, through the user pools supported by Amazon Cognito.
upvoted 1 times
...
Oleg_gol
2 years, 6 months ago
Selected Answer: AB
You can configure an Application Load Balancer to securely authenticate users as they access your applications. This enables you to offload the work of authenticating users to your load balancer so that your applications can focus on their business logic. The following use cases are supported: Authenticate users through an identity provider (IdP) that is OpenID Connect (OIDC) compliant. Authenticate users through social IdPs, such as Amazon, Facebook, or Google, through the user pools supported by Amazon Cognito. Authenticate users through corporate identities, using SAML, LDAP, or Microsoft AD, through the user pools supported by Amazon Cognito.
upvoted 3 times
...
k1kavi1
2 years, 6 months ago
Selected Answer: AD
Going with A&D
upvoted 2 times
...
lrom
2 years, 6 months ago
Selected Answer: AD
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html
upvoted 2 times
Oleg_gol
2 years, 6 months ago
AB https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html ))
upvoted 1 times
...
...
michaldavid
2 years, 6 months ago
A is defo right but not sure about C
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 ...