APIGEE-API-ENGINEER practice question 24 of 25
Which proxy endpoint configuration determines the target endpoint that will be used?
Full set: 126 questionsThe RouteRule is the specific configuration element within an API proxy's ProxyEndpoint that determines which TargetEndpoint will process the request. RouteRules are evaluated after all policies in the ProxyEndpoint's PostFlow. They can contain conditional logic, allowing a single ProxyEndpoint to dynamically route requests to different backend services (defined by different TargetEndpoints) based on headers, query parameters, or other variables in the request. If no conditional RouteRule evaluates to true, a default RouteRule (one without a condition) is executed.
A. Step: A Step is a container for a policy within a flow; it executes a specific action but does not handle routing between endpoints.
B. TargetConfiguration: This is not a valid XML element within the Apigee ProxyEndpoint configuration for defining routing logic.
D. Connection: The Connection element (or HTTPTargetConnection) is part of a TargetEndpoint's configuration and defines the backend service URL, not the routing rule itself.
E. Path: A Path is typically used in a flow's condition to match an incoming request URI, but the RouteRule makes the final routing decision to a TargetEndpoint.
1. Google Cloud Apigee Documentation, "API proxy configuration reference": Under the "ProxyEndpoint configuration" section, the RouteRule element is defined. The documentation states, "A RouteRule forwards a request to the TargetEndpoint of the API proxy... By creating more than one RouteRule, you can route requests to different TargetEndpoints based on... differences in the request message." This directly confirms that RouteRule determines the target.
2. Google Cloud Apigee Documentation, "Endpoint properties reference": This reference details the structure of ProxyEndpoint and TargetEndpoint. It shows that RouteRule is a child element of ProxyEndpoint and is used for "conditional routing to targets." Conversely, it shows that connection properties like URL are configured within the HTTPTargetConnection element of a TargetEndpoint, not the ProxyEndpoint.
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 3Which features are supported in the OAulhV2 policy'? Select all that are correct. Choose …
- 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…
