nerdexam
CompTIA

CAS-002 · Question #4

Which of the following is true about an unauthenticated SAMLv2 transaction?

The correct answer is A. The browser asks the SP for a resource. In the SAMLv2 flow, an unauthenticated transaction begins when the browser requests a resource from the Service Provider (SP), which then initiates the authentication redirect to the Identity Provider.

Technical Integration of Enterprise Components

Question

Which of the following is true about an unauthenticated SAMLv2 transaction?

Options

  • AThe browser asks the SP for a resource.
  • BThe browser asks the IdP for a resource.
  • CThe browser asks the IdP to validate the user.
  • DThe browser asks the SP to validate the user.

How the community answered

(49 responses)
  • A
    92% (45)
  • B
    4% (2)
  • C
    2% (1)
  • D
    2% (1)

Why each option

In the SAMLv2 flow, an unauthenticated transaction begins when the browser requests a resource from the Service Provider (SP), which then initiates the authentication redirect to the Identity Provider.

AThe browser asks the SP for a resource.Correct

In SAMLv2, the flow for an unauthenticated user starts with the browser sending a request to the Service Provider for a protected resource. Because the user has no active session, the SP cannot fulfill the request and instead redirects the browser to the Identity Provider (IdP) with an authentication request. This SP-initiated flow is the standard starting point for an unauthenticated SAMLv2 transaction.

BThe browser asks the IdP for a resource.

The browser does not ask the IdP directly for a resource; the IdP is an authentication authority, not a resource provider - it receives the browser only after the SP redirects it.

CThe browser asks the IdP to validate the user.

The browser does not proactively ask the IdP to validate the user; validation is triggered by the SP's redirect after the initial resource request.

DThe browser asks the SP to validate the user.

The SP does not validate users itself in SAML federation; it delegates authentication to the IdP, which is the entire purpose of the SAML trust relationship.

Concept tested: SAMLv2 SP-initiated unauthenticated transaction flow

Source: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf

Topics

#SAMLv2#federated identity#SP#IdP

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice