For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 2Question 51
    Medium1 markMultiple Choice
    Domain 2.3: Security ControlsALBCognitoSecurity

    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
    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.
    Question 50All questionsQuestion 52

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

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A company is setting up a multi-account AWS environment using AWS Organizations. They need to ens...EasyQ02An enterprise needs to connect its on-premises data center to AWS. They require a dedicated, priv...EasyQ03A company wants to share a single AWS Transit Gateway across multiple AWS accounts within their A...EasyQ04An architect needs to design a highly available database architecture that spans multiple AWS Reg...EasyQ05A global financial institution is migrating its core banking application to AWS. The application ...Medium
    View all 75 questions →