APIGEE-API-ENGINEER practice question 3 of 25
Which features are supported in the OAulhV2 policy'? Select all that are correct. Choose 3 answers
Full set: 126 questionsThe Apigee OAuthV2 policy is a versatile tool for implementing OAuth 2.0 authorization. It directly supports adding custom metadata to tokens using the element, which can be used by other policies. The policy also accommodates integrations with external identity providers by allowing the storage and management of externally generated tokens via the element. Furthermore, it provides granular control over token lifecycles, enabling the configuration of different expiration times for access tokens and refresh tokens through the and elements respectively. This is a common security practice to limit the exposure of short-lived access tokens while allowing for longer-lived refresh tokens.
C. credentials validation when password granttype is used: The OAuthV2 policy does not perform user credential validation. For the password grant type, validation must be explicitly handled by another policy (e.g., ServiceCallout) before the OAuthV2 policy executes.
1. Google Cloud
Apigee Documentation
"OAuthV2 policy": This document details the configuration elements of the policy.
For Answer A: Under the section "GenerateAccessToken > Attributes"
it states: "Use this element to add custom attributes to an access token... For example
you may want to embed a user ID or a session identifier in an access token."
For Answer B: Under the section "GenerateAccessToken > ExternalAccessToken"
it explains: "If you want to use an external token store... use this element to specify the external access token. The policy will skip the step of generating and storing an access token in the Apigee token store."
For Answer D: Under the section "GenerateAccessToken"
the elements and are described
allowing for separate time-to-live values for each token type.
For Incorrect Option C: Under the section "Flow variables"
in the note about the password grant type
it explicitly states: "Unlike other grant types
the Apigee policy does not validate the user's credentials. It is the responsibility of the API proxy developer to create a policy that takes the user's credentials and validates them against an identity store..."
Keep practicing
Take the free APIGEE-API-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other APIGEE-API-ENGINEER practice questions
- Question 1In your last release, there were unexpected errors uncovered by users within the first 24…
- Question 2Your company runs their internal services across two datacenters in a hot-warm configurat…
- Question 4Which is a benefit of three-legged OAuth (authonzation_code grant)'?
- Question 5Which Apigee product feature can be used to host and version your API documentation'?
- Question 6As an API Engineer your team would like to make sure you are simulating a user experience…
- Question 7Your API generates tokens to authenticate users. You have the following requirements 1. L…
