AWS Certified Developer Associate (#83)

A Developer is writing a mobile application that allows users to view images from an S3 bucket. The users must be able to log in with their Amazon login, as well as Facebook� and/or Google� accounts. How can the Developer provide this authentication functionality?

Use Amazon Cognito with web identity federation.
Use Amazon Cognito with SAML-based identity federation.
Use AWS IAM Access/Secret keys in the application code to allow
Get*
on the S3 bucket.
Use AWS STS
AssumeRole
in the application code and assume a role with
Get*
permissions on the S3 bucket.