Microsoft

PL-400 practice question 15

Microsoft Power Platform Developer · free question 15 of 20

Question

You are configuring a custom connector for a web service. The web service is hosted in two different regions. The web service URL includes a common domain name and a unique sub-domain for each region. The custom connector must allow the region to be entered for additional regions when creating the connection. You need to create a policy template. Which template type should you use?
  • A. Set HTTP header
  • B. Route request
  • C. Set host URL Correct
  • D. Set query string parameter

Explanation

The Set host URL policy template replaces the host of each request at runtime, and its value can reference a connection parameter, for example a region entered when the connection is created, so the regional sub-domain is built dynamically. Route request changes the path of the operation rather than the host, and Set HTTP header and Set query string parameter only change headers or query parameters, leaving the request going to the same host.

Need the theory? Learn it free in the PL-400 course on Godlike Academy

Practice the whole free set

Answer all 20 free PL-400 questions with instant feedback, or unlock all 426 questions with Learn and Exam modes.