AWS DevOps Engineer Professional DOP-C01 – Question220

A developer is building an application that must allow users to upload images to an Amazon S3 bucket. Users need to be able to sign in to the application using Facebook to upload images.
How can these requirements be met?

A.
Store a user’s Facebook user name and password in an Amazon DymanoDB table. Authenticate against those credentials the next time the user tries to log in.
B. Create an Amazon Cognito identity pool using Facebook as the identity provider. Obtain temporary AWS credentials so a user can access Amazon S3.
C. Create multiple AWS IAM users. Set the email and password to be the same as each user’s Facebook login credentials.
D. Create a new Facebook account and store its login credentials in an S3 bucket. Share that S3 bucket with a user. The user will log in to the application using those retrieved credentials.