Medium1 markMultiple Choice

AWS SAP-C02 · Question 51 · Domain 2.3: Security Controls

A company has a web application hosted on EC2 instances behind an Application Load Balancer (ALB). They want to authenticate users using their corporate Microsoft Active Directory (on-premises) before allowing access to the application. Which solution requires the LEAST custom code?

Answer options:

A.

Deploy a custom authentication service on EC2 to validate credentials against AD.

B.

Configure the ALB to authenticate users via Amazon Cognito User Pools, and federate Cognito with the on-premises AD using SAML.

C.

Use AWS IAM Identity Center to protect the ALB.

D.

Configure the ALB to use AWS Directory Service directly.

How to approach this question

Identify the native ALB authentication integration.

Full Answer

B.Configure the ALB to authenticate users via Amazon Cognito User Pools, and federate Cognito with the on-premises AD using SAML.✓ Correct
Configure the ALB to authenticate users via Amazon Cognito User Pools, and federate Cognito with the on-premises AD using SAML.
Application Load Balancers natively support authenticating users via Amazon Cognito. Cognito acts as an identity broker, federating with the corporate AD via SAML 2.0. The ALB handles the OIDC flow automatically.

Common mistakes

Assuming ALB can talk directly to Active Directory.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 2

75 questions · hints · full answers · grading

More questions from this exam