Bird
0
0

Which of the following best describes how the Ambassador pattern improves microservice communication?

easy📝 Conceptual Q2 of 15
Microservices - Advanced Patterns
Which of the following best describes how the Ambassador pattern improves microservice communication?
ABy centralizing all business logic in one place
BBy replacing the service with a monolithic application
CBy offloading communication tasks like retries and logging from the service
DBy directly exposing the service to external clients without any proxy
Step-by-Step Solution
Solution:
  1. Step 1: Identify communication improvements by Ambassador

    The Ambassador pattern helps by handling communication concerns such as retries, logging, and monitoring outside the main service.
  2. Step 2: Evaluate options for correctness

    By offloading communication tasks like retries and logging from the service correctly states this offloading of communication tasks. Other options describe unrelated or incorrect behaviors.
  3. Final Answer:

    By offloading communication tasks like retries and logging from the service -> Option C
  4. Quick Check:

    Ambassador offloads communication tasks = By offloading communication tasks like retries and logging from the service [OK]
Quick Trick: Ambassador handles communication helpers, not business logic [OK]
Common Mistakes:
  • Assuming Ambassador centralizes business logic
  • Thinking Ambassador removes the need for proxies

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes