Practice Exam

Question 70 of 75

Hide Backend Information in API Responses

You work as an API Security Engineer for MDFT Pro, a well-known training agency that delivers certification courses to students worldwide. Mark, the API Strategy Director, is managing several Azure API Management (APIM) hosted APIs including the Course Catalog API, Student Enrollment API, and Certification Tracking API. These APIs expose training services to partners and students while connecting to various backend services including ASP.NET Core web apps, Node.js microservices, and Python data processing services. Security reviews have identified that API responses expose sensitive backend information such as server technology headers (X-Powered-By: ASP.NET, Server: Kestrel), error stack traces revealing framework versions, and other implementation details that could help attackers identify vulnerabilities. You need to transform all API responses to hide private backend information and obscure the technology stack details before responses reach external clients.

What should you configure to protect all APIs from exposing backend implementation details?

Choose the correct answer from the options below.

Explanations for each answer:

Learn more about API Management Policies:
API Management Policy Configuration
Next Question
Discuss this question on social media: