ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 236 - 350-901 discussion

Report
Export

Refer to the exhibit.

An engineer writes a script to retrieve data from a REST API and must build support for cases where the response that contains data from the server may take a longer time than normal Which code must be added to the snippet where the code is missing to catch such a timeout?

A.

request.exeception.ConnectTimeout

Answers
A.

request.exeception.ConnectTimeout

B.

request.executions.DataTimeout

Answers
B.

request.executions.DataTimeout

C.

request.exeception.HTTPError

Answers
C.

request.exeception.HTTPError

D.

request.exception.ReadTimeout

Answers
D.

request.exception.ReadTimeout

Suggested answer: A
asked 10/10/2024
Matteo Picchetti
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first