Question 271 · 462 in bank
You are a developer for a SaaS company that offers many web services. All web services for the company must meet the following requirements: ✑ Use API Management to access the services ✑ Use OpenID Connect for authentication ✑ Prevent anonymous usage A recent security audit found that several web services can be called without any authentication. Which API Management policy should you implement?
Show answer
Answer: D
Explanation
The correct answer is D. validate-jwt. The validate-jwt policy in Azure API Management allows you to enforce validation of JSON Web Tokens (JWT) from the client as part of the API call. This can be used to ensure that the caller has authenticated with OpenID Connect, as OpenID Connect uses JWTs for its identity tokens. Option A, jsonp, is used for wrapping JSON responses in a JSONP callback function, and does not provide any authentication. Option B, authentication-certificate, is used for client certificate authentication, not OpenID Connect. Option C, check-header, is used for checking the existence of certain headers, and while it could be used to check for the existence of an Authorization header, it would not validate the JWT itself.
Source: Adapted from community discussion — Vichu_1607




