AWS Certified Developer Associate DVA-C02 Practice Question

A developer is working on enhancing the security of a serverless infrastructure where user authentication is handled by an OIDC-compliant external identity provider. Upon a user's successful sign-in, the external service issues a token. The developer needs to ensure that this token is validated before allowing access to the serverless function endpoint. Which approach should the developer implement to enforce token validation?

  • Configure a role with specified permissions that authenticates users based on the provided token.

  • Apply a resource-based policy directly on the function to check for the presence of the token in the request.

  • Deploy client-side certificates to secure the endpoint and validate the incoming tokens.

  • Utilize a Lambda function programmed to evaluate and verify the token before proceeding with the request.

AWS Certified Developer Associate DVA-C02
Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot