APIGEE-API-ENGINEER practice question 9 of 25

What are the HTTPTargetConneclion properties to control network timeouts?

Full set: 126 questions
Answer options
A: response millis and connect.millis
B: target.timeout and proxy timeout
C: connect.timeout.millis and io.timeoutmillis Correct answer
D: connect timeout and network timeout
Correct Answer:
C. connect.timeout.millis and io.timeoutmillis
Explanation

In Apigee, network timeouts for backend services are configured within the HTTPTargetConnection element of a TargetEndpoint. The connect.timeout.millis property specifies the time Apigee waits to establish a connection with the target service. The io.timeout.millis property, also known as a socket read timeout, defines the time Apigee waits for data from the target after a connection has been established. If either of these timeout periods is exceeded, Apigee returns an HTTP 503 Service Unavailable error. These properties provide granular control over network reliability and performance.

Why Incorrect

A. response millis and connect.millis are not valid property names for the HTTPTargetConnection element in Apigee's configuration.
B. target.timeout and proxy timeout are general terms. While target.timeout.secs is a flow variable, it is not a static property set in the HTTPTargetConnection XML.
D. connect timeout and network timeout are descriptive phrases for the concepts but are not the actual property names used in the Apigee XML configuration.

References

1. Google Cloud

Apigee Documentation

"Endpoint properties reference". This document explicitly lists and describes the properties for HTTPTargetConnection.

connect.timeout.millis: "The time

in milliseconds

that the message processor waits to establish a connection to the target... If the timeout period is reached

an HTTP 503 Service Unavailable error is returned."

io.timeout.millis: "The time

in milliseconds

that the message processor waits for a response from the target (the socket read timeout)... If the timeout period is reached

an HTTP 503 Service Unavailable error is returned."

2. Google Cloud

Apigee Documentation

"TargetEndpoint configuration". This guide provides the schema and context for configuring a TargetEndpoint

showing where HTTPTargetConnection and its properties

including timeouts

are defined. It confirms that these properties are nested within the element.

Scroll to Top