MCPA - Level 1 Exam QuestionsBrowse all questions from this exam

MCPA - Level 1 Exam - Question 12


When designing an upstream API and its implementation, the development team has been advised to NOT set timeouts when invoking a downstream API, because that downstream API has no SLA that can be relied upon. This is the only downstream API dependency of that upstream API.

Assume the downstream API runs uninterrupted without crashing.

What is the impact of this advice?

Show Answer
Correct Answer: A

Without setting a timeout for the invocation of the downstream API, the upstream API cannot guarantee timely responses to its clients since it has no control over how long it might take to receive a response. This makes it impossible to provide a reliable SLA for the upstream API as it depends on the downstream API that has no defined SLA. Therefore, the correct answer is that an SLA for the upstream API cannot be provided.

Discussion

4 comments
Sign in to comment
Pavan_NagineniOption: A
Jul 24, 2021

A. An SLA for the upstream API CANNOT be provided.

calazansOption: A
Jun 10, 2022

A. An SLA for the upstream API CANNOT be provided.

AB317Option: A
Jul 31, 2021

Answer: A

thirstylionOption: A
May 2, 2021

Answer: A. A upstream API cannot wait on the downstream API longer than its SLA. If upstream response SLA is 500 ms, then it cannot wait longer than 500 ms for a response from downstream system.