Examtopics

AWS Certified DevOps Engineer - Professional
  • Topic 1 Question 233

    A company groups its AWS accounts in OUs in an organization in AWS Organizations. The company has deployed a set of Amazon API Gateway APIs in one of the Organizations accounts. The APIs are bound to the account's VPC and have no existing authentication mechanism. Only principals in a specific OU can have permissions to invoke the APIs.

    The company applies the following policy to the API Gateway interface VPC endpoint:

    The company also updates the API Gateway resource policies to deny invocations that do not come through the interface VPC endpoint. After the updates, the following error message appears during attempts to use the interface VPC endpoint URL to invoke an API: "User: anonymous is not authorized."

    Which combination of steps will solve this problem?

    2 つ選択
    • Enable IAM authentication on all API methods by setting AWS JAM as the authorization method.

    • Create a token-based AWS Lambda authorizer that passes the caller's identity in a bearer token.

    • Create a request parameter-based AWS Lambda authorizer that passes the caller's identity in a combination of headers, query string parameters, stage variables, and $cortext variables.

    • Use Amazon Cognito user pools as the authorizer to control access to the API.

    • Verify the identity of the requester by using Signature Version 4 to sign client requests by using AWS credentials.


    シャッフルモード