nerdexam
MicrosoftMicrosoft

PL-400 · Question #277

PL-400 Question #277: Real Exam Question with Answer & Explanation

The correct answer is C: Set host URL. Unique subdomain need to be constructed which is done using setHostURL. Same is explained in https://learn.microsoft.com/en-us/training/modules/policy-templates-custom-connectors/4- configure-host-url-routing. RouteRequest -> routes to specific end point and it is not used to con

Submitted by paula_co· Apr 18, 2026

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?

Options

  • ASet HTTP header
  • BRoute request
  • CSet host URL
  • DSet query string parameter

Explanation

Unique subdomain need to be constructed which is done using setHostURL. Same is explained in https://learn.microsoft.com/en-us/training/modules/policy-templates-custom-connectors/4- configure-host-url-routing. RouteRequest -> routes to specific end point and it is not used to construct URL. query string -> used to pass default values. header -> is used to keep tracking of variables such as correlation id, authentication information https://learn.microsoft.com/en-us/training/modules/policy-templates-custom-connectors/1- introduction has all details

Community Discussion

No community discussion yet for this question.

Full PL-400 PracticeBrowse All PL-400 Questions