Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 343
Which action reduces latency in a microservices application?
Answer options
- A. Run microservices at the edge, on the periphery of the network.
- B. Merge microservices that communicate frequently with each other into a single microservice.
- C. Build the microservices to use a stateful design.
- D. Minimize HTTP header metadata on the request.
Correct answer: A
Explanation
Running microservices at the edge brings them closer to users, which minimizes the time it takes for data to travel, thereby reducing latency. Merging microservices can improve performance but does not inherently lower latency as it may introduce complexity. A stateful design can lead to higher latency due to the need for maintaining session information. Minimizing HTTP header metadata may slightly improve performance, but it is not as effective as deploying services at the edge.