Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 306
An application is made up of multiple microservices, each communicating via APIs. One service is beginning to be a bottleneck for the application because it can take a lot of time to complete requests. An engineer tried adding additional instances of this service behind the load balancer, but it did not have any effect. Which application design change must be implemented in this scenario?
Answer options
- A. Deploy an API gateway to centralize all inbound communication requests and offload authentication.
- B. Vendor all dependencies into the service that is causing delays to remove external dependency checks.
- C. Move from synchronous to asynchronous interactions with the service and implement a message queue.
- D. Leverage serverless architecture instead of containers to gain the advantage of event driven APIs.
Correct answer: C
Explanation
The correct answer is C because moving to asynchronous interactions can help prevent the service from being a bottleneck, allowing for better handling of requests through a message queue. Option A, while beneficial for managing requests, does not directly address the bottleneck issue. Option B could create more complexity and doesn't solve the root cause of the delays. Option D may not be necessary and doesn't directly address the performance issues related to the specific service.