Question 1 of 30
In a microservices architecture, you are tasked with implementing a fault tolerance mechanism using Hystrix to manage service dependencies. You have a service that calls three different external APIs, each with varying response times and failure rates. The first API has a response time of 200ms with a failure rate of 5%, the second API has a response time of 500ms with a failure rate of 20%, and the third API has a response time of 300ms with a failure rate of 10%. If the circuit breaker for the service is configured to open after 50% of requests fail, what would be the optimal configuration for the Hystrix command to ensure that the overall system remains resilient while minimizing latency?
Set a timeout of 300ms and a fallback method that returns a cached response.
Set a timeout of 500ms and a fallback method that returns a default response.
Set a timeout of 200ms and a fallback method that retries the request once.
Set a timeout of 400ms and a fallback method that logs the error.

Preparing for VMWare 2V0-72.22 Professional Develop VMware Spring? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free