Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam MCPA - Level 1 All Questions

View all questions & answers for the MCPA - Level 1 exam

Exam MCPA - Level 1 topic 1 question 38 discussion

Actual exam question from Mulesoft's MCPA - Level 1
Question #: 38
Topic #: 1
[All MCPA - Level 1 Questions]

A new upstream API is being designed to offer an SLA of 500 ms median and 800 ms maximum (99th percentile) response time. The corresponding API implementation needs to sequentially invoke 3 downstream APIs of very similar complexity.
The first of these downstream APIs offers the following SLA for its response time: median: 100 ms, 80th percentile: 500 ms, 95th percentile: 1000 ms.
If possible, how can a timeout be set in the upstream API for the invocation of the first downstream API to meet the new upstream API's desired SLA?

  • A. Set a timeout of 50 ms; this times out more invocations of that API but gives additional room for retries.
  • B. Set a timeout of 100 ms; that leaves 400 ms for the other two downstream APIs to complete.
  • C. No timeout is possible to meet the upstream API's desired SLA; a different SLA must be negotiated with the first downstream API or invoke an alternative API.
  • D. Do not set a timeout; the invocation of this API is mandatory and so we must wait until it responds.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Freedox
8 months ago
Selected Answer: C
I think it's C. In the case of the first one finishing at 500ms, upstream will time out without even completing the 2nd and 3rd calls.
upvoted 1 times
...
calazans
2 years, 5 months ago
Selected Answer: B
Set a timeout of 100 ms; that leaves 400 ms for the other two downstream APIs to complete
upvoted 1 times
...
AB317
3 years, 3 months ago
Answer: B
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...