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 Associate (SAA-C03)AWS SAA-C03 Practice Exam 4Question 15
    Medium1 markMultiple Choice
    Domain 1.1: Secure AccessSecurityAPI GatewayCognito

    AWS SAA-C03 · Question 15 · Domain 1.1: Secure Access

    An application uses Amazon API Gateway and AWS Lambda. The API is public, but the company wants to restrict access so that only users who have authenticated via a third-party OpenID Connect (OIDC) identity provider can call the API. <br/><br/>What is the MOST appropriate way to secure the API?

    Answer options:

    A.

    Use an Amazon Cognito User Pool as an authorizer for the API Gateway.

    B.

    Configure API Gateway to use AWS IAM authorization and create IAM users for each client.

    C.

    Implement the OIDC validation logic inside the backend Lambda function.

    D.

    Use AWS WAF to validate the OIDC tokens in the HTTP headers.

    How to approach this question

    Identify the service that handles third-party identity federation and integrates natively with API Gateway.

    Full Answer

    A.Use an Amazon Cognito User Pool as an authorizer for the API Gateway.✓ Correct
    Use an Amazon Cognito User Pool as an authorizer for the API Gateway.
    Amazon Cognito User Pools support federation with OIDC providers. You can configure an API Gateway method to use a Cognito User Pool authorizer, which validates the JWT token provided by the client before allowing the request to reach the backend.

    Common mistakes

    Choosing to implement validation in Lambda, which violates the best practice of offloading authorization to the API Gateway layer.
    Question 14All questionsQuestion 16

    Practice the full AWS SAA-C03 Practice Exam 4

    65 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A company has multiple AWS accounts in an AWS Organizations organization. The security team wants...MediumQ02An application running on Amazon EC2 instances needs to access an Amazon DynamoDB table. Both res...EasyQ03A company is designing a web application that will be hosted on AWS. The application will use an ...MediumQ04A company is building a mobile app that requires users to authenticate using their social media a...HardQ05A solutions architect is designing a VPC for a three-tier web application. The database tier must...Medium
    View all 65 questions →