Exam CAS-004 All QuestionsBrowse all questions from this exam
Question 125

A software house is developing a new application. The application has the following requirements:

✑ Reduce the number of credential requests as much as possible

✑ Integrate with social networks

✑ Authenticate users

Which of the following is the BEST federation method to use for the application?

    Correct Answer: B

    OpenID is an authentication protocol that allows users to authenticate using their existing accounts from social networks, effectively reducing the need for multiple credential requests. This integration with social networks and focus on user authentication makes it the best fit for the given application requirements.

Discussion
BreakOff874Option: B

OAuth is not the best choice for the given requirements because OAuth is an authorization framework rather than an authentication protocol. OAuth allows third-party applications to access a user's resources without sharing their credentials, focusing on providing access to resources and delegating permissions. While OAuth is often used for integrating with social networks, it does not inherently authenticate users. OpenID, on the other hand, is designed specifically for user authentication and can seamlessly integrate with social networks. In this case, OpenID would be a more suitable federation method for the application, as it meets all the specified requirements, including reducing the number of credential requests, integrating with social networks, and authenticating users. While SAML (Security Assertion Markup Language) is a widely used federation method for single sign-on (SSO) and can help reduce the number of credential requests, it is not the best choice for the given requirements, specifically for integrating with social networks.

BiteSizeOption: B

OpenID is about authentication (ie. proving who you are), OAuth is about authorization (ie. granting access to functionality/data/etc.. without having to deal with the original authentication). OAuth could be used in external partner sites to allow access to protected data without them having to re-authenticate a user. The blog post "OpenID versus OAuth from the user’s perspective" has a simple comparison of the two from the user's perspective and "OAuth-OpenID: You’re Barking Up the Wrong Tree if you Think They’re the Same Thing."

imatherOption: B

OAuth does NOT provide authentication on it's own, only authorization. Both SAML and OpenID provide authorization, reduce the amount of sign ins, and can integrate with social networks. Bit of a coin flip, but OPenID is more often used with social media than SAML. So B, OPenID. https://www.trelica.com/blog/what-sort-of-single-sign-on-should-i-use-openid-connect-or-saml2 https://jumpcloud.com/blog/saml-vs-openid https://cloudinfrastructureservices.co.uk/oauth2-vs-openid-whats-the-difference/ https://cloudinfrastructureservices.co.uk/saml-vs-openid-whats-the-difference-explained/

NnatechOption: B

OpenID is an open standard for authentication that allows users to log in to websites and applications using their existing identity provider, such as Google or Facebook. This eliminates the need for users to create new usernames and passwords for each website or application. OpenID is a popular authentication framework that is widely supported by websites and applications. It is a good choice for applications that need to provide a secure and convenient way for users to authenticate.

Sam1289Option: B

OpenID

lifeblood12005Option: B

SAML is typically used for SSO in government and enterprise applications (identity management), where backend system processing of XML is commonplace. Many government citizen ID schemes (e.g., UK Verify) are SAML based. OpenID Connect: If you’ve used your Google to sign in to applications like YouTube, or Facebook to log into an online shopping cart, then you’re familiar with this authentication option. OpenID Connect is an open standard that organisations use to authenticate users. IdPs use this so that users can sign in to the IdP, and then access other websites and apps without having to log in or share their sign-in information OAuth2 is widely used in consumer and enterprise applications, both in authorization and authentication roles. It is typically used to authorize access to RESTful APIs, where its use of access tokens makes it simple and attractive. The correct answer is: OpenID

last_resortOption: C

Another vote for OAuth. Side note guys, voting percentages are inaccurate due to other commenters not using voting comments.

javier051977Option: C

OAuth is a widely used standard for authorization and allows users to authenticate using their social network credentials. This satisfies the requirement to integrate with social networks and reduce the number of credential requests. OAuth also provides a secure way to grant access to resources without revealing credentials, which addresses the requirement to authenticate users.

ThatGuyOverThereOption: B

What BreakOff874 said.

joinedatthehopOption: B

CompTIA's CertMaster states: OpenID is a method of authenticating users with certain sites that participate in an OpenID system. This enables them to retain a single account for all participating sites. A user will register with an OpenID system in a given domain like they would with any other account. A site under this OpenID domain will then give the user the option to sign in using this system. The site then contacts its external OpenID provider in order to verify that the login credentials supplied by the user are correct. Large companies, such as Google and Amazon, use their own OpenID systems. OpenID Direct adds a layer of authentication to OAuth 2.0, the latest version of the protocol.

CXSSPOption: B

OpenID

p1s3cOption: C

C. OAuth. OAuth is an open standard for authorization that provides a way for users to authenticate and authorize applications without having to share their credentials. It enables the application to access resources on behalf of the user, without the user having to give out their password. This is done by obtaining an access token that is valid for a specific set of resources and a limited amount of time. In this case, the application needs to integrate with social networks and authenticate users without requiring them to enter their credentials every time they use the application. OAuth allows the application to authenticate the user with the social network provider and obtain an access token, which can be used to access the user's social network resources on their behalf. This reduces the number of credential requests needed and provides a seamless user experience.

23169fdOption: B

Purpose: OpenID is an authentication protocol that allows users to authenticate with a third-party service (like Google, Facebook, etc.) without creating a separate account for each service they use. Reduce Credential Requests: By using OpenID, users can log in with their existing credentials from their preferred social networks or identity providers, reducing the need to create and remember new credentials. Integration with Social Networks: OpenID is widely supported by major social networks and identity providers, making it easy to integrate social login functionality into the application. Authenticate Users: OpenID specifically handles user authentication, ensuring that the application can verify the identity of users without managing passwords directly.

23169fd

OAuth by itself does not handle user authentication; it is used for authorization.

23169fd

SAML is powerful for enterprise environments, it is less commonly used for integrating social logins and consumer-facing applications compared to OpenID

EAlonsoOption: B

Definitively is B.

Delab202Option: B

In summary, while OAuth focuses on authorization, OpenID Connect builds an authentication layer on top of OAuth, and SAML is a protocol primarily used for exchanging authentication and authorization data in a federated SSO environment. The choice between them depends on the specific requirements of the application and the use case at hand.

joschmoOption: B

"Additionally, SAML does not support single sign-on (SSO) across multiple domains or applications, which means that the user has to log in separately for each one. OpenID Connect allows the user to log in with their existing social media or email accounts, such as Google or Facebook."

SleezyglizzyOption: C

C only one that makes sense